projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
landlock: Reduce the maximum number of layers to 16
[platform/kernel/linux-rpi.git]
/
tools
/
testing
/
selftests
/
landlock
/
fs_test.c
diff --git
a/tools/testing/selftests/landlock/fs_test.c
b/tools/testing/selftests/landlock/fs_test.c
index
a8f54c4
..
e13f046
100644
(file)
--- a/
tools/testing/selftests/landlock/fs_test.c
+++ b/
tools/testing/selftests/landlock/fs_test.c
@@
-1159,7
+1159,7
@@
TEST_F_FORK(layout1, max_layers)
const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules);
ASSERT_LE(0, ruleset_fd);
- for (i = 0; i <
64
; i++)
+ for (i = 0; i <
16
; i++)
enforce_ruleset(_metadata, ruleset_fd);
for (i = 0; i < 2; i++) {