Searched refs:landlock_restrict_self (Results 1 – 25 of 33) sorted by relevance
12
| /linux/tools/testing/selftests/landlock/ |
| A D | base_test.c | 214 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 D | common.h | 53 #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 D | ptrace_test.c | 42 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
|
| /linux/samples/landlock/ |
| 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 479 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
|
| /linux/security/landlock/ |
| A D | Kconfig | 16 landlock_add_rule(), and landlock_restrict_self().
|
| A D | syscalls.c | 473 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
|
| /linux/kernel/ |
| A D | sys_ni.c | 169 COND_SYSCALL(landlock_restrict_self);
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| A D | syscall_n64.tbl | 363 446 n64 landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/mips/kernel/syscalls/ |
| A D | syscall_n64.tbl | 363 446 n64 landlock_restrict_self sys_landlock_restrict_self
|
| A D | syscall_n32.tbl | 387 446 n32 landlock_restrict_self sys_landlock_restrict_self
|
| A D | syscall_o32.tbl | 436 446 o32 landlock_restrict_self sys_landlock_restrict_self
|
| /linux/tools/perf/arch/x86/entry/syscalls/ |
| A D | syscall_64.tbl | 372 446 common landlock_restrict_self sys_landlock_restrict_self
|
| A D | syscall_32.tbl | 454 446 i386 landlock_restrict_self sys_landlock_restrict_self
|
| /linux/scripts/ |
| A D | syscall.tbl | 389 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/x86/entry/syscalls/ |
| A D | syscall_64.tbl | 372 446 common landlock_restrict_self sys_landlock_restrict_self
|
| A D | syscall_32.tbl | 454 446 i386 landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/xtensa/kernel/syscalls/ |
| A D | syscall.tbl | 419 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/arm64/tools/ |
| A D | syscall_64.tbl | 389 446 common landlock_restrict_self sys_landlock_restrict_self
|
| A D | syscall_32.tbl | 460 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/sh/kernel/syscalls/ |
| A D | syscall.tbl | 452 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/m68k/kernel/syscalls/ |
| A D | syscall.tbl | 448 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/microblaze/kernel/syscalls/ |
| A D | syscall.tbl | 454 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/parisc/kernel/syscalls/ |
| A D | syscall.tbl | 447 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/sparc/kernel/syscalls/ |
| A D | syscall.tbl | 494 446 common landlock_restrict_self sys_landlock_restrict_self
|
| /linux/arch/arm/tools/ |
| A D | syscall.tbl | 463 446 common landlock_restrict_self sys_landlock_restrict_self
|
Completed in 49 milliseconds
12