Searched refs:landlock_restrict_self (Results 1 – 25 of 29) sorted by relevance
12
/linux/samples/landlock/ |
A D | sandboxer.c | 43 #ifndef landlock_restrict_self 44 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function 220 if (landlock_restrict_self(ruleset_fd, 0)) { in main()
|
/linux/tools/testing/selftests/landlock/ |
A D | base_test.c | 132 ASSERT_EQ(-1, landlock_restrict_self(-1, 0)); in TEST() 140 err = landlock_restrict_self(-1, 0); in TEST() 238 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd_rx, 0)); in TEST()
|
A D | common.h | 98 #ifndef landlock_restrict_self 99 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() function
|
A D | ptrace_test.c | 35 EXPECT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in create_domain()
|
A D | fs_test.c | 374 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)); in TEST_F_FORK() 495 ASSERT_EQ(0, landlock_restrict_self(ruleset_fd, 0)) { in enforce_ruleset() 562 ASSERT_EQ(-1, landlock_restrict_self(ruleset_fd, 0)); in TEST_F_FORK() 1087 err = landlock_restrict_self(ruleset_fd, 0); in TEST_F_FORK()
|
/linux/security/landlock/ |
A D | Kconfig | 15 landlock_add_rule(), and landlock_restrict_self().
|
A D | syscalls.c | 392 SYSCALL_DEFINE2(landlock_restrict_self, in SYSCALL_DEFINE2() argument
|
/linux/kernel/ |
A D | sys_ni.c | 274 COND_SYSCALL(landlock_restrict_self);
|
/linux/Documentation/userspace-api/ |
A D | landlock.rst | 112 if (landlock_restrict_self(ruleset_fd, 0)) { 119 If the `landlock_restrict_self` system call succeeds, the current thread is now
|
/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/arch/ia64/kernel/syscalls/ |
A D | syscall.tbl | 369 446 common landlock_restrict_self sys_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/xtensa/kernel/syscalls/ |
A D | syscall.tbl | 419 446 common landlock_restrict_self sys_landlock_restrict_self
|
/linux/arch/x86/entry/syscalls/ |
A D | syscall_64.tbl | 370 446 common landlock_restrict_self sys_landlock_restrict_self
|
A D | syscall_32.tbl | 453 446 i386 landlock_restrict_self sys_landlock_restrict_self
|
/linux/tools/perf/arch/x86/entry/syscalls/ |
A D | syscall_64.tbl | 370 446 common landlock_restrict_self sys_landlock_restrict_self
|
/linux/arch/sh/kernel/syscalls/ |
A D | syscall.tbl | 451 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/arm/tools/ |
A D | syscall.tbl | 462 446 common landlock_restrict_self sys_landlock_restrict_self
|
/linux/arch/parisc/kernel/syscalls/ |
A D | syscall.tbl | 446 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/sparc/kernel/syscalls/ |
A D | syscall.tbl | 494 446 common landlock_restrict_self sys_landlock_restrict_self
|
/linux/arch/alpha/kernel/syscalls/ |
A D | syscall.tbl | 488 556 common landlock_restrict_self sys_landlock_restrict_self
|
Completed in 21 milliseconds
12