Searched defs:ruleset_fd (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/testing/selftests/landlock/ |
D | fs_test.c | 439 int ruleset_fd; in TEST_F_FORK() local 559 const int ruleset_fd = in TEST_F_FORK() local 611 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath() 654 int ruleset_fd, i; in create_ruleset() local 683 const int ruleset_fd) in enforce_ruleset() 703 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local 750 int ruleset_fd; in TEST_F_FORK() local 778 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local 832 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local 865 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 | 92 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() 103 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
|
D | ptrace_test.c | 30 int ruleset_fd; in create_domain() local
|
/linux-6.6.21/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() 84 static int populate_ruleset(const char *const env_var, const int ruleset_fd, in populate_ruleset() 175 int ruleset_fd, abi; in main() local
|
/linux-6.6.21/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
|