diff options
author | Mickaël Salaün <mic@digikod.net> | 2022-05-06 18:08:20 +0200 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2022-05-23 13:27:55 +0200 |
commit | 6533d0c3a86ee1cc74ff37ac92ca597deb87015c (patch) | |
tree | 57a03a943445f6f374730de279809e4c326dec86 /security/landlock/fs.h | |
parent | eba39ca4b155c54adf471a69e91799cc1727873f (diff) | |
download | lwn-6533d0c3a86ee1cc74ff37ac92ca597deb87015c.tar.gz lwn-6533d0c3a86ee1cc74ff37ac92ca597deb87015c.zip |
selftests/landlock: Test landlock_create_ruleset(2) argument check ordering
Add inval_create_ruleset_arguments, extension of
inval_create_ruleset_flags, to also check error ordering for
landlock_create_ruleset(2).
This is similar to the previous commit checking landlock_add_rule(2).
Test coverage for security/landlock is 94.4% of 504 lines accorging to
gcc/gcov-11.
Link: https://lore.kernel.org/r/20220506160820.524344-11-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'security/landlock/fs.h')
0 files changed, 0 insertions, 0 deletions