summaryrefslogtreecommitdiff
path: root/security/landlock/fs.h
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2022-05-06 18:08:20 +0200
committerMickaël Salaün <mic@digikod.net>2022-05-23 13:27:55 +0200
commit6533d0c3a86ee1cc74ff37ac92ca597deb87015c (patch)
tree57a03a943445f6f374730de279809e4c326dec86 /security/landlock/fs.h
parenteba39ca4b155c54adf471a69e91799cc1727873f (diff)
downloadlwn-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