summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/landlock/base_test.c
diff options
context:
space:
mode:
authorKonstantin Meskhidze <konstantin.meskhidze@huawei.com>2023-10-26 09:47:45 +0800
committerMickaël Salaün <mic@digikod.net>2023-10-26 21:07:13 +0200
commit7a11275c378753fbdf00f2cfc80bc86a119ca67d (patch)
tree5c58772181e5e4fa565a848252255d23d55079bd /tools/testing/selftests/landlock/base_test.c
parent0e7410112964168a65578002269ae3b80b207936 (diff)
downloadlinux-7a11275c378753fbdf00f2cfc80bc86a119ca67d.tar.gz
linux-7a11275c378753fbdf00f2cfc80bc86a119ca67d.tar.bz2
linux-7a11275c378753fbdf00f2cfc80bc86a119ca67d.zip
landlock: Refactor layer helpers
Add a new key_type argument to the landlock_init_layer_masks() helper. Add a masks_array_size argument to the landlock_unmask_layers() helper. These modifications support implementing new rule types in the next Landlock versions. Signed-off-by: Konstantin Meskhidze <konstantin.meskhidze@huawei.com> Link: https://lore.kernel.org/r/20231026014751.414649-7-konstantin.meskhidze@huawei.com Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/testing/selftests/landlock/base_test.c')
0 files changed, 0 insertions, 0 deletions