Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/landlock/
A Dbase_test.c214 ASSERT_EQ(-1, landlock_restrict_self(-1, -1)); in TEST()
216 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST()
218 ASSERT_EQ(-1, landlock_restrict_self(ruleset_fd, 0)); in TEST()
224 ASSERT_EQ(-1, landlock_restrict_self(-1, -1)); in TEST()
228 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST()
232 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST()
302 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd_rx, 0)); in TEST()
350 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST()
A Dcommon.h53 #ifndef landlock_restrict_self
54 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
228 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)) in enforce_ruleset()
A Dptrace_test.c42 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
/linux/samples/landlock/
A Dsandboxer.c48 #ifndef landlock_restrict_self
49 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
479 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
/linux/security/landlock/
A DKconfig16 landlock_add_rule(), and landlock_restrict_self().
A Dsyscalls.c473 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
/linux/kernel/
A Dsys_ni.c169 COND_SYSCALL(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/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/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl372 446 common landlock_restrict_self sys_landlock_restrict_self
A Dsyscall_32.tbl454 446 i386 landlock_restrict_self sys_landlock_restrict_self
/linux/scripts/
A Dsyscall.tbl389 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/x86/entry/syscalls/
A Dsyscall_64.tbl372 446 common landlock_restrict_self sys_landlock_restrict_self
A Dsyscall_32.tbl454 446 i386 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/arm64/tools/
A Dsyscall_64.tbl389 446 common landlock_restrict_self sys_landlock_restrict_self
A Dsyscall_32.tbl460 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/sh/kernel/syscalls/
A Dsyscall.tbl452 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/microblaze/kernel/syscalls/
A Dsyscall.tbl454 446 common landlock_restrict_self sys_landlock_restrict_self
/linux/arch/parisc/kernel/syscalls/
A Dsyscall.tbl447 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/arm/tools/
A Dsyscall.tbl463 446 common landlock_restrict_self sys_landlock_restrict_self

Completed in 49 milliseconds

12