/linux-6.6.21/tools/testing/selftests/landlock/ |
D | base_test.c | 33 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, 0, 0)); in TEST() 36 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, 1, 0)); in TEST() 38 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, 7, 0)); in TEST() 41 ASSERT_EQ(-1, landlock_create_ruleset(NULL, 1, 0)); in TEST() 45 ASSERT_EQ(-1, landlock_create_ruleset( in TEST() 49 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, page_size + 1, 0)); in TEST() 53 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, 8, 0)); in TEST() 55 ASSERT_EQ(-1, landlock_create_ruleset( in TEST() 59 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, page_size, 0)); in TEST() 64 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, page_size, 0)); in TEST() [all …]
|
D | common.h | 82 #ifndef landlock_create_ruleset 84 landlock_create_ruleset(const struct landlock_ruleset_attr *const attr, in landlock_create_ruleset() function
|
D | ptrace_test.c | 36 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_domain()
|
D | fs_test.c | 463 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 560 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 604 ASSERT_EQ(-1, landlock_create_ruleset(&ruleset_attr, in TEST_F_FORK() 669 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_ruleset() 1416 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 1423 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 1432 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 4692 landlock_create_ruleset(&layer2_deny_everything_attr, in layer3_fs_tag_inode()
|
/linux-6.6.21/samples/landlock/ |
D | sandboxer.c | 24 #ifndef landlock_create_ruleset 26 landlock_create_ruleset(const struct landlock_ruleset_attr *const attr, in landlock_create_ruleset() function 209 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION); in main() 278 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in main()
|
/linux-6.6.21/security/landlock/ |
D | ruleset.h | 157 landlock_create_ruleset(const access_mask_t fs_access_mask);
|
D | syscalls.c | 157 SYSCALL_DEFINE3(landlock_create_ruleset, in SYSCALL_DEFINE3() argument 192 ruleset = landlock_create_ruleset(ruleset_attr.handled_access_fs); in SYSCALL_DEFINE3()
|
D | Kconfig | 14 dedicated system calls: landlock_create_ruleset(),
|
D | ruleset.c | 49 landlock_create_ruleset(const access_mask_t fs_access_mask) in landlock_create_ruleset() function
|
/linux-6.6.21/kernel/ |
D | sys_ni.c | 168 COND_SYSCALL(landlock_create_ruleset);
|
/linux-6.6.21/Documentation/userspace-api/ |
D | landlock.rst | 81 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION); 103 ruleset_fd = landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); 331 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION);
|
/linux-6.6.21/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 361 444 n64 landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/ia64/kernel/syscalls/ |
D | syscall.tbl | 367 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 361 444 n64 landlock_create_ruleset sys_landlock_create_ruleset
|
D | syscall_n32.tbl | 385 444 n32 landlock_create_ruleset sys_landlock_create_ruleset
|
D | syscall_o32.tbl | 434 444 o32 landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 368 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 417 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 368 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/m68k/kernel/syscalls/ |
D | syscall.tbl | 446 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 445 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/microblaze/kernel/syscalls/ |
D | syscall.tbl | 452 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/sh/kernel/syscalls/ |
D | syscall.tbl | 449 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/arm/tools/ |
D | syscall.tbl | 460 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.6.21/arch/alpha/kernel/syscalls/ |
D | syscall.tbl | 486 554 common landlock_create_ruleset sys_landlock_create_ruleset
|