Searched refs:landlock_restrict_self (Results 1 – 25 of 29) sorted by relevance
12
/Linux-v6.6/tools/testing/selftests/landlock/ |
D | base_test.c | 213 ASSERT_EQ(-1, landlock_restrict_self(-1, -1)); in TEST() 215 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST() 217 ASSERT_EQ(-1, landlock_restrict_self(ruleset_fd, 0)); in TEST() 223 ASSERT_EQ(-1, landlock_restrict_self(-1, -1)); in TEST() 227 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST() 231 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST() 301 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd_rx, 0)); in TEST()
|
D | common.h | 102 #ifndef landlock_restrict_self 103 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
|
D | ptrace_test.c | 42 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
|
/Linux-v6.6/samples/landlock/ |
D | sandboxer.c | 44 #ifndef landlock_restrict_self 45 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function 293 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
|
/Linux-v6.6/security/landlock/ |
D | Kconfig | 15 landlock_add_rule(), and landlock_restrict_self().
|
D | syscalls.c | 397 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
|
/Linux-v6.6/kernel/ |
D | sys_ni.c | 170 COND_SYSCALL(landlock_restrict_self);
|
/Linux-v6.6/arch/mips/kernel/syscalls/ |
D | syscall_n64.tbl | 363 446 n64 landlock_restrict_self sys_landlock_restrict_self
|
D | syscall_n32.tbl | 387 446 n32 landlock_restrict_self sys_landlock_restrict_self
|
D | syscall_o32.tbl | 436 446 o32 landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/ia64/kernel/syscalls/ |
D | syscall.tbl | 369 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/tools/perf/arch/mips/entry/syscalls/ |
D | syscall_n64.tbl | 363 446 n64 landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/xtensa/kernel/syscalls/ |
D | syscall.tbl | 419 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 370 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 370 446 common landlock_restrict_self sys_landlock_restrict_self
|
D | syscall_32.tbl | 453 446 i386 landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/Documentation/userspace-api/ |
D | landlock.rst | 163 if (landlock_restrict_self(ruleset_fd, 0)) { 170 If the ``landlock_restrict_self`` system call succeeds, the current thread is
|
/Linux-v6.6/arch/arm/tools/ |
D | syscall.tbl | 462 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/parisc/kernel/syscalls/ |
D | syscall.tbl | 447 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/sh/kernel/syscalls/ |
D | syscall.tbl | 451 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/m68k/kernel/syscalls/ |
D | syscall.tbl | 448 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/microblaze/kernel/syscalls/ |
D | syscall.tbl | 454 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/sparc/kernel/syscalls/ |
D | syscall.tbl | 494 446 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/alpha/kernel/syscalls/ |
D | syscall.tbl | 488 556 common landlock_restrict_self sys_landlock_restrict_self
|
/Linux-v6.6/arch/s390/kernel/syscalls/ |
D | syscall.tbl | 451 446 common landlock_restrict_self sys_landlock_restrict_self sys_landlock_restrict_self
|
12