Home
last modified time | relevance | path

Searched refs:landlock_restrict_self (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.15/samples/landlock/
Dsandboxer.c43 #ifndef landlock_restrict_self
44 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
220 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
/Linux-v5.15/tools/testing/selftests/landlock/
Dbase_test.c132 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST()
140 err = landlock_restrict_self(-1, 0); in TEST()
238 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd_rx, 0)); in TEST()
Dcommon.h98 #ifndef landlock_restrict_self
99 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
Dptrace_test.c35 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
Dfs_test.c374 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST_F_FORK()
495 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)) { in enforce_ruleset()
562 ASSERT_EQ(-1, landlock_restrict_self(ruleset_fd, 0)); in TEST_F_FORK()
1087 err = landlock_restrict_self(ruleset_fd, 0); in TEST_F_FORK()
/Linux-v5.15/security/landlock/
DKconfig15 landlock_add_rule(), and landlock_restrict_self().
Dsyscalls.c392 SYSCALL_DEFINE2(landlock_restrict_self, in SYSCALL_DEFINE2() argument
/Linux-v5.15/kernel/
Dsys_ni.c273 COND_SYSCALL(landlock_restrict_self);
/Linux-v5.15/Documentation/userspace-api/
Dlandlock.rst112 if (landlock_restrict_self(ruleset_fd, 0)) {
119 If the `landlock_restrict_self` system call succeeds, the current thread is now
/Linux-v5.15/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl363 446 n64 landlock_restrict_self sys_landlock_restrict_self
Dsyscall_n32.tbl387 446 n32 landlock_restrict_self sys_landlock_restrict_self
Dsyscall_o32.tbl436 446 o32 landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/ia64/kernel/syscalls/
Dsyscall.tbl369 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl363 446 n64 landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/xtensa/kernel/syscalls/
Dsyscall.tbl419 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl370 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/x86/entry/syscalls/
Dsyscall_64.tbl370 446 common landlock_restrict_self sys_landlock_restrict_self
Dsyscall_32.tbl453 446 i386 landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/arm/tools/
Dsyscall.tbl462 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/parisc/kernel/syscalls/
Dsyscall.tbl446 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/m68k/kernel/syscalls/
Dsyscall.tbl448 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/microblaze/kernel/syscalls/
Dsyscall.tbl454 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/sh/kernel/syscalls/
Dsyscall.tbl451 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/sparc/kernel/syscalls/
Dsyscall.tbl494 446 common landlock_restrict_self sys_landlock_restrict_self
/Linux-v5.15/arch/alpha/kernel/syscalls/
Dsyscall.tbl488 556 common landlock_restrict_self sys_landlock_restrict_self

12