Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/landlock/
Dbase_test.c33 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 …]
Dcommon.h82 #ifndef landlock_create_ruleset
84 landlock_create_ruleset(const struct landlock_ruleset_attr *const attr, in landlock_create_ruleset() function
Dptrace_test.c36 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_domain()
Dfs_test.c463 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/
Dsandboxer.c24 #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/
Druleset.h157 landlock_create_ruleset(const access_mask_t fs_access_mask);
Dsyscalls.c157 SYSCALL_DEFINE3(landlock_create_ruleset, in SYSCALL_DEFINE3() argument
192 ruleset = landlock_create_ruleset(ruleset_attr.handled_access_fs); in SYSCALL_DEFINE3()
DKconfig14 dedicated system calls: landlock_create_ruleset(),
Druleset.c49 landlock_create_ruleset(const access_mask_t fs_access_mask) in landlock_create_ruleset() function
/linux-6.6.21/kernel/
Dsys_ni.c168 COND_SYSCALL(landlock_create_ruleset);
/linux-6.6.21/Documentation/userspace-api/
Dlandlock.rst81 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/
Dsyscall_n64.tbl361 444 n64 landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/ia64/kernel/syscalls/
Dsyscall.tbl367 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/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
Dsyscall_o32.tbl434 444 o32 landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl368 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/xtensa/kernel/syscalls/
Dsyscall.tbl417 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/x86/entry/syscalls/
Dsyscall_64.tbl368 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/m68k/kernel/syscalls/
Dsyscall.tbl446 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/parisc/kernel/syscalls/
Dsyscall.tbl445 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/microblaze/kernel/syscalls/
Dsyscall.tbl452 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/sh/kernel/syscalls/
Dsyscall.tbl449 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/arm/tools/
Dsyscall.tbl460 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-6.6.21/arch/alpha/kernel/syscalls/
Dsyscall.tbl486 554 common landlock_create_ruleset sys_landlock_create_ruleset

12