/openbmc/linux/tools/testing/selftests/landlock/ |
H 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()
|
H A D | common.h | 102 #ifndef landlock_restrict_self 103 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
|
H A D | ptrace_test.c | 42 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
|
/openbmc/linux/samples/landlock/ |
H A 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()
|
/openbmc/linux/security/landlock/ |
H A D | Kconfig | 15 landlock_add_rule(), and landlock_restrict_self().
|
H A D | syscalls.c | 409 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
|
/openbmc/linux/kernel/ |
H A D | sys_ni.c | 170 COND_SYSCALL(landlock_restrict_self);
|
/openbmc/qemu/linux-user/mips64/ |
H A D | syscall_n32.tbl | 387 446 n32 landlock_restrict_self sys_landlock_restrict_self
|
H A D | syscall_n64.tbl | 363 446 n64 landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/linux/tools/perf/arch/mips/entry/syscalls/ |
H A D | syscall_n64.tbl | 363 446 n64 landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/linux/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
|
/openbmc/linux/arch/ia64/kernel/syscalls/ |
H A D | syscall.tbl | 369 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/qemu/linux-user/x86_64/ |
H A D | syscall_64.tbl | 370 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/qemu/linux-user/xtensa/ |
H A D | syscall.tbl | 419 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/linux/tools/perf/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 370 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/linux/arch/xtensa/kernel/syscalls/ |
H A D | syscall.tbl | 419 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/linux/arch/x86/entry/syscalls/ |
H A D | syscall_64.tbl | 370 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/linux/Documentation/userspace-api/ |
H A D | landlock.rst | 163 if (landlock_restrict_self(ruleset_fd, 0)) { 170 If the ``landlock_restrict_self`` system call succeeds, the current thread is
|
/openbmc/qemu/linux-user/sh4/ |
H A D | syscall.tbl | 451 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/qemu/linux-user/microblaze/ |
H A D | syscall.tbl | 454 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/qemu/linux-user/arm/ |
H A D | syscall.tbl | 462 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/qemu/linux-user/m68k/ |
H A D | syscall.tbl | 448 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/qemu/linux-user/hppa/ |
H A D | syscall.tbl | 446 446 common landlock_restrict_self sys_landlock_restrict_self
|
/openbmc/linux/arch/m68k/kernel/syscalls/ |
H A D | syscall.tbl | 448 446 common landlock_restrict_self sys_landlock_restrict_self
|