Home
last modified time | relevance | path

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

12

/linux-5.19.10/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.h77 #ifndef landlock_create_ruleset
79 landlock_create_ruleset(const struct landlock_ruleset_attr *const attr, in landlock_create_ruleset() function
Dptrace_test.c30 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_domain()
Dfs_test.c343 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK()
439 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK()
483 ASSERT_EQ(-1, landlock_create_ruleset(&ruleset_attr, in TEST_F_FORK()
548 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in create_ruleset()
1295 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK()
1302 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK()
1311 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in TEST_F_FORK()
/linux-5.19.10/samples/landlock/
Dsandboxer.c24 #ifndef landlock_create_ruleset
26 landlock_create_ruleset(const struct landlock_ruleset_attr *const attr, in landlock_create_ruleset() function
204 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION); in main()
236 landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0); in main()
/linux-5.19.10/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-5.19.10/kernel/
Dsys_ni.c272 COND_SYSCALL(landlock_create_ruleset);
/linux-5.19.10/Documentation/userspace-api/
Dlandlock.rst79 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION);
90 ruleset_fd = landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0);
286 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION);
/linux-5.19.10/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl361 444 n64 landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/ia64/kernel/syscalls/
Dsyscall.tbl367 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/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-5.19.10/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl368 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/xtensa/kernel/syscalls/
Dsyscall.tbl417 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/x86/entry/syscalls/
Dsyscall_64.tbl368 444 common landlock_create_ruleset sys_landlock_create_ruleset
Dsyscall_32.tbl451 444 i386 landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/sh/kernel/syscalls/
Dsyscall.tbl449 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/microblaze/kernel/syscalls/
Dsyscall.tbl452 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/arm/tools/
Dsyscall.tbl460 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/parisc/kernel/syscalls/
Dsyscall.tbl444 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/m68k/kernel/syscalls/
Dsyscall.tbl446 444 common landlock_create_ruleset sys_landlock_create_ruleset
/linux-5.19.10/arch/sparc/kernel/syscalls/
Dsyscall.tbl492 444 common landlock_create_ruleset sys_landlock_create_ruleset

12