Home
last modified time | relevance | path

Searched refs:landlock_add_rule (Results 1 – 25 of 28) sorted by relevance

12

/linux-5.19.10/tools/testing/selftests/landlock/
Dbase_test.c159 ASSERT_EQ(-1, landlock_add_rule(-1, 0, NULL, 1)); in TEST()
163 ASSERT_EQ(-1, landlock_add_rule(-1, 0, NULL, 0)); in TEST()
167 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, 0, NULL, 0)); in TEST()
171 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST()
176 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST()
184 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST()
207 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST()
297 landlock_add_rule(ruleset_fd_tx, LANDLOCK_RULE_PATH_BENEATH, in TEST()
Dcommon.h86 #ifndef landlock_add_rule
87 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() function
Dfs_test.c327 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
335 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
345 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
352 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
358 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
369 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
376 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
383 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
390 ASSERT_EQ(-1, landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in TEST_F_FORK()
454 ASSERT_EQ(0, landlock_add_rule(ruleset_fd, in TEST_F_FORK()
[all …]
/linux-5.19.10/samples/landlock/
Dsandboxer.c33 #ifndef landlock_add_rule
34 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() function
127 if (landlock_add_rule(ruleset_fd, LANDLOCK_RULE_PATH_BENEATH, in populate_ruleset()
/linux-5.19.10/security/landlock/
DKconfig15 landlock_add_rule(), and landlock_restrict_self().
Dsyscalls.c305 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument
/linux-5.19.10/kernel/
Dsys_ni.c273 COND_SYSCALL(landlock_add_rule);
/linux-5.19.10/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl362 445 n64 landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/ia64/kernel/syscalls/
Dsyscall.tbl368 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl362 445 n64 landlock_add_rule sys_landlock_add_rule
Dsyscall_n32.tbl386 445 n32 landlock_add_rule sys_landlock_add_rule
Dsyscall_o32.tbl435 445 o32 landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl369 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/xtensa/kernel/syscalls/
Dsyscall.tbl418 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/x86/entry/syscalls/
Dsyscall_64.tbl369 445 common landlock_add_rule sys_landlock_add_rule
Dsyscall_32.tbl452 445 i386 landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/sh/kernel/syscalls/
Dsyscall.tbl450 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/microblaze/kernel/syscalls/
Dsyscall.tbl453 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/arm/tools/
Dsyscall.tbl461 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/parisc/kernel/syscalls/
Dsyscall.tbl445 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/m68k/kernel/syscalls/
Dsyscall.tbl447 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/sparc/kernel/syscalls/
Dsyscall.tbl493 445 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/alpha/kernel/syscalls/
Dsyscall.tbl487 555 common landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/arch/s390/kernel/syscalls/
Dsyscall.tbl450 445 common landlock_add_rule sys_landlock_add_rule sys_landlock_add_rule
/linux-5.19.10/tools/perf/arch/powerpc/entry/syscalls/
Dsyscall.tbl527 445 common landlock_add_rule sys_landlock_add_rule

12