Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/landlock/
H A Dbase_test.c260 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST()
272 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST()
287 EXPECT_EQ(-1, landlock_restrict_self(fd, 0)); in TEST()
302 EXPECT_EQ(-1, landlock_restrict_self( in TEST()
324 EXPECT_EQ(-1, landlock_restrict_self( in TEST()
329 landlock_restrict_self( in TEST()
336 landlock_restrict_self( in TEST()
342 EXPECT_EQ(-1, landlock_restrict_self( in TEST()
347 landlock_restrict_self( in TEST()
354 EXPECT_EQ(-1, landlock_restrict_self( in TEST()
[all …]
H A Dwrappers.h36 #ifndef landlock_restrict_self
37 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
H A Dwait-pipe-sandbox.c83 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
112 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
H A Daudit_test.c99 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST_F()
121 EXPECT_EQ(-1, landlock_restrict_self(ruleset_fd, 0)); in TEST_F()
178 if (landlock_restrict_self(data->ruleset_fd, 0)) { in thread_audit_test()
372 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, in TEST_F()
578 if (landlock_restrict_self(ruleset_fd, in TEST_F()
H A Dsandbox-and-launch.c51 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
H A Dcommon.h205 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)) in enforce_ruleset()
H A Dptrace_test.c42 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
/linux-6.15/samples/landlock/
H A Dsandboxer.c48 #ifndef landlock_restrict_self
49 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
517 if (landlock_restrict_self(ruleset_fd, set_restrict_flags)) { in main()
/linux-6.15/security/landlock/
H A DKconfig16 landlock_add_rule(), and landlock_restrict_self().
H A Dsyscalls.c479 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
/linux-6.15/kernel/
H A Dsys_ni.c169 COND_SYSCALL(landlock_restrict_self);
/linux-6.15/arch/mips/kernel/syscalls/
H A Dsyscall_n64.tbl363 446 n64 landlock_restrict_self sys_landlock_restrict_self
H A Dsyscall_n32.tbl387 446 n32 landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl363 446 n64 landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/tools/scripts/
H A Dsyscall.tbl389 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/tools/perf/arch/arm64/entry/syscalls/
H A Dsyscall_64.tbl389 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/arch/arm64/tools/
H A Dsyscall_64.tbl389 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/scripts/
H A Dsyscall.tbl389 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl372 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/tools/perf/arch/parisc/entry/syscalls/
H A Dsyscall.tbl447 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/arch/m68k/kernel/syscalls/
H A Dsyscall.tbl448 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl452 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/arch/xtensa/kernel/syscalls/
H A Dsyscall.tbl419 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/arch/sh/kernel/syscalls/
H A Dsyscall.tbl452 446 common landlock_restrict_self sys_landlock_restrict_self
/linux-6.15/arch/parisc/kernel/syscalls/
H A Dsyscall.tbl447 446 common landlock_restrict_self sys_landlock_restrict_self

12