/linux-6.12.1/tools/testing/selftests/landlock/ |
D | base_test.c | 34 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, 0, 0)); in TEST() 37 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, 1, 0)); in TEST() 39 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, 7, 0)); in TEST() 42 ASSERT_EQ(-1, landlock_create_ruleset(NULL, 1, 0)); in TEST() 46 ASSERT_EQ(-1, landlock_create_ruleset( in TEST() 50 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, page_size + 1, 0)); in TEST() 54 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, 8, 0)); in TEST() 56 ASSERT_EQ(-1, landlock_create_ruleset( in TEST() 60 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, page_size, 0)); in TEST() 65 ASSERT_EQ(-1, landlock_create_ruleset(ruleset_attr, page_size, 0)); in TEST() [all …]
|
D | net_test.c | 559 ruleset_fd = landlock_create_ruleset(&ruleset_attr, in TEST_F() 609 ruleset_fd = landlock_create_ruleset(&ruleset_attr, in TEST_F() 649 const int ruleset_fd = landlock_create_ruleset( in TEST_F() 678 const int ruleset_fd = landlock_create_ruleset( in TEST_F() 758 const int ruleset_fd = landlock_create_ruleset( in TEST_F() 789 const int ruleset_fd = landlock_create_ruleset( in TEST_F() 905 ruleset_fd = landlock_create_ruleset(&ruleset_attr, in TEST_F() 1049 ruleset_fd = landlock_create_ruleset(&ruleset_attr, in TEST_F() 1069 ruleset_fd = landlock_create_ruleset(&ruleset_attr, in TEST_F() 1085 ruleset_fd = landlock_create_ruleset(&ruleset_attr, in TEST_F() [all …]
|
D | scoped_test.c | 27 ASSERT_EQ(-1, landlock_create_ruleset(&ruleset_attr, in TEST()
|
D | scoped_common.h | 21 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_scoped_domain()
|
D | common.h | 33 #ifndef landlock_create_ruleset 35 landlock_create_ruleset(const struct landlock_ruleset_attr *const attr, in landlock_create_ruleset() function
|
D | fs_test.c | 491 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 589 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 633 ASSERT_EQ(-1, landlock_create_ruleset(&ruleset_attr, in TEST_F_FORK() 647 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 676 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 759 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_ruleset() 1499 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 1506 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 1515 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK() 1733 landlock_create_ruleset(&ruleset_net, sizeof(ruleset_net), 0); in TEST_F_FORK() [all …]
|
D | ptrace_test.c | 36 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_domain()
|
/linux-6.12.1/samples/landlock/ |
D | sandboxer.c | 28 #ifndef landlock_create_ruleset 30 landlock_create_ruleset(const struct landlock_ruleset_attr *const attr, in landlock_create_ruleset() function 353 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION); in main() 453 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in main()
|
/linux-6.12.1/security/landlock/ |
D | syscalls.c | 179 SYSCALL_DEFINE3(landlock_create_ruleset, in SYSCALL_DEFINE3() argument 223 ruleset = landlock_create_ruleset(ruleset_attr.handled_access_fs, in SYSCALL_DEFINE3()
|
D | Kconfig | 15 dedicated system calls: landlock_create_ruleset(),
|
D | ruleset.h | 248 landlock_create_ruleset(const access_mask_t access_mask_fs,
|
D | ruleset.c | 54 landlock_create_ruleset(const access_mask_t fs_access_mask, in landlock_create_ruleset() function
|
/linux-6.12.1/kernel/ |
D | sys_ni.c | 167 COND_SYSCALL(landlock_create_ruleset);
|
/linux-6.12.1/Documentation/userspace-api/ |
D | landlock.rst | 101 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION); 138 ruleset_fd = landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); 419 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION);
|
/linux-6.12.1/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 361 444 n64 landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.12.1/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
|
/linux-6.12.1/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 370 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.12.1/arch/arm64/tools/ |
D | syscall_64.tbl | 387 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.12.1/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 370 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.12.1/scripts/ |
D | syscall.tbl | 387 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.12.1/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 417 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.12.1/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 445 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.12.1/arch/microblaze/kernel/syscalls/ |
D | syscall.tbl | 452 444 common landlock_create_ruleset sys_landlock_create_ruleset
|
/linux-6.12.1/arch/m68k/kernel/syscalls/ |
D | syscall.tbl | 446 444 common landlock_create_ruleset sys_landlock_create_ruleset
|