Searched defs:ruleset_fd (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/tools/testing/selftests/landlock/ |
D | fs_test.c | 319 int ruleset_fd; in TEST_F_FORK() local 438 const int ruleset_fd = in TEST_F_FORK() local 490 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath() 533 int ruleset_fd, i; in create_ruleset() local 562 const int ruleset_fd) in enforce_ruleset() 582 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local 629 int ruleset_fd; in TEST_F_FORK() local 657 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local 711 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local 744 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local [all …]
|
D | base_test.c | 105 int ruleset_fd; in TEST() local 153 const int ruleset_fd = in TEST() local 200 const int ruleset_fd = in TEST() local 240 int ruleset_fd; in TEST() local
|
D | common.h | 87 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() 98 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
|
D | ptrace_test.c | 24 int ruleset_fd; in create_domain() local
|
/Linux-v6.1/samples/landlock/ |
D | sandboxer.c | 34 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() 45 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() 83 static int populate_ruleset(const char *const env_var, const int ruleset_fd, in populate_ruleset() 173 int ruleset_fd, abi; in main() local
|
/Linux-v6.1/security/landlock/ |
D | syscalls.c | 163 int err, ruleset_fd; in SYSCALL_DEFINE3() local 305 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument 397 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
|