Home
last modified time | relevance | path

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

12

/linux/samples/landlock/
A 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/tools/testing/selftests/landlock/
A 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()
A Dcommon.h98 #ifndef landlock_restrict_self
99 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
A Dptrace_test.c35 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
A 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/security/landlock/
A DKconfig15 landlock_add_rule(), and landlock_restrict_self().
A Dsyscalls.c392 SYSCALL_DEFINE2(landlock_restrict_self, in SYSCALL_DEFINE2() argument
/linux/kernel/
A Dsys_ni.c274 COND_SYSCALL(landlock_restrict_self);
/linux/Documentation/userspace-api/
A Dlandlock.rst112 if (landlock_restrict_self(ruleset_fd, 0)) {
119 If the `landlock_restrict_self` system call succeeds, the current thread is now
/linux/arch/mips/kernel/syscalls/
A Dsyscall_n64.tbl363 446 n64 landlock_restrict_self sys_landlock_restrict_self
A Dsyscall_n32.tbl387 446 n32 landlock_restrict_self sys_landlock_restrict_self
A Dsyscall_o32.tbl436 446 o32 landlock_restrict_self sys_landlock_restrict_self
/linux/arch/ia64/kernel/syscalls/
A Dsyscall.tbl369 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl363 446 n64 landlock_restrict_self sys_landlock_restrict_self
/linux/arch/xtensa/kernel/syscalls/
A Dsyscall.tbl419 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/x86/entry/syscalls/
A Dsyscall_64.tbl370 446 common landlock_restrict_self sys_landlock_restrict_self
A Dsyscall_32.tbl453 446 i386 landlock_restrict_self sys_landlock_restrict_self
/linux/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl370 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/sh/kernel/syscalls/
A Dsyscall.tbl451 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/m68k/kernel/syscalls/
A Dsyscall.tbl448 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/arm/tools/
A Dsyscall.tbl462 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/parisc/kernel/syscalls/
A Dsyscall.tbl446 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/microblaze/kernel/syscalls/
A Dsyscall.tbl454 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/sparc/kernel/syscalls/
A Dsyscall.tbl494 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/alpha/kernel/syscalls/
A Dsyscall.tbl488 556 common landlock_restrict_self sys_landlock_restrict_self

Completed in 23 milliseconds

12