| /linux-6.15/tools/testing/selftests/landlock/ |
| H A D | base_test.c | 260 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 D | wrappers.h | 36 #ifndef landlock_restrict_self 37 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
|
| H A D | wait-pipe-sandbox.c | 83 if (landlock_restrict_self(ruleset_fd, 0)) { in main() 112 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
|
| H A D | audit_test.c | 99 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 D | sandbox-and-launch.c | 51 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
|
| H A D | common.h | 205 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)) in enforce_ruleset()
|
| H A D | ptrace_test.c | 42 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
|
| /linux-6.15/samples/landlock/ |
| H A D | sandboxer.c | 48 #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 D | Kconfig | 16 landlock_add_rule(), and landlock_restrict_self().
|
| H A D | syscalls.c | 479 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
|
| /linux-6.15/kernel/ |
| H A D | sys_ni.c | 169 COND_SYSCALL(landlock_restrict_self);
|
| /linux-6.15/arch/mips/kernel/syscalls/ |
| H A D | syscall_n64.tbl | 363 446 n64 landlock_restrict_self sys_landlock_restrict_self
|
| H A D | syscall_n32.tbl | 387 446 n32 landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 363 446 n64 landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/tools/scripts/ |
| H A D | syscall.tbl | 389 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/tools/perf/arch/arm64/entry/syscalls/ |
| H A D | syscall_64.tbl | 389 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/arch/arm64/tools/ |
| H A D | syscall_64.tbl | 389 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/scripts/ |
| H A D | syscall.tbl | 389 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/tools/perf/arch/x86/entry/syscalls/ |
| H A D | syscall_64.tbl | 372 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/tools/perf/arch/parisc/entry/syscalls/ |
| H A D | syscall.tbl | 447 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/arch/m68k/kernel/syscalls/ |
| H A D | syscall.tbl | 448 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/tools/perf/arch/sh/entry/syscalls/ |
| H A D | syscall.tbl | 452 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/arch/xtensa/kernel/syscalls/ |
| H A D | syscall.tbl | 419 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/arch/sh/kernel/syscalls/ |
| H A D | syscall.tbl | 452 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux-6.15/arch/parisc/kernel/syscalls/ |
| H A D | syscall.tbl | 447 446 common landlock_restrict_self sys_landlock_restrict_self
|