Home
last modified time | relevance | path

Searched hist:"589172 e5" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/landlock/
H A Dbase_test.c589172e5 Fri May 06 11:08:18 CDT 2022 Mickaël Salaün <mic@digikod.net> landlock: Change landlock_add_rule(2) argument check ordering

This makes more sense to first check the ruleset FD and then the rule
attribute. It will be useful to factor out code for other rule types.

Add inval_add_rule_arguments tests, extension of empty_path_beneath_attr
tests, to also check error ordering for landlock_add_rule(2).

Link: https://lore.kernel.org/r/20220506160820.524344-9-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
/openbmc/linux/security/landlock/
H A Dsyscalls.c589172e5 Fri May 06 11:08:18 CDT 2022 Mickaël Salaün <mic@digikod.net> landlock: Change landlock_add_rule(2) argument check ordering

This makes more sense to first check the ruleset FD and then the rule
attribute. It will be useful to factor out code for other rule types.

Add inval_add_rule_arguments tests, extension of empty_path_beneath_attr
tests, to also check error ordering for landlock_add_rule(2).

Link: https://lore.kernel.org/r/20220506160820.524344-9-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>