Home
last modified time | relevance | path

Searched refs:landlock_create_ruleset (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.12.1/tools/testing/selftests/landlock/
Dbase_test.c34 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 …]
Dnet_test.c559 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 …]
Dscoped_test.c27 ASSERT_EQ(-1, landlock_create_ruleset(&ruleset_attr, in TEST()
Dscoped_common.h21 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_scoped_domain()
Dcommon.h33 #ifndef landlock_create_ruleset
35 landlock_create_ruleset(const struct landlock_ruleset_attr *const attr, in landlock_create_ruleset() function
Dfs_test.c491 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 …]
Dptrace_test.c36 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_domain()
/linux-6.12.1/samples/landlock/
Dsandboxer.c28 #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/
Dsyscalls.c179 SYSCALL_DEFINE3(landlock_create_ruleset, in SYSCALL_DEFINE3() argument
223 ruleset = landlock_create_ruleset(ruleset_attr.handled_access_fs, in SYSCALL_DEFINE3()
DKconfig15 dedicated system calls: landlock_create_ruleset(),
Druleset.h248 landlock_create_ruleset(const access_mask_t access_mask_fs,
Druleset.c54 landlock_create_ruleset(const access_mask_t fs_access_mask, in landlock_create_ruleset() function
/linux-6.12.1/kernel/
Dsys_ni.c167 COND_SYSCALL(landlock_create_ruleset);
/linux-6.12.1/Documentation/userspace-api/
Dlandlock.rst101 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/
Dsyscall_n64.tbl361 444 n64 landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl361 444 n64 landlock_create_ruleset sys_landlock_create_ruleset
Dsyscall_n32.tbl385 444 n32 landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/arch/x86/entry/syscalls/
Dsyscall_64.tbl370 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/arch/arm64/tools/
Dsyscall_64.tbl387 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl370 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/scripts/
Dsyscall.tbl387 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/arch/xtensa/kernel/syscalls/
Dsyscall.tbl417 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/arch/parisc/kernel/syscalls/
Dsyscall.tbl445 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/arch/microblaze/kernel/syscalls/
Dsyscall.tbl452 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.12.1/arch/m68k/kernel/syscalls/
Dsyscall.tbl446 444 common landlock_create_ruleset sys_landlock_create_ruleset

12