/linux-6.15/tools/testing/selftests/landlock/ |
D | fs_test.c | 486 int ruleset_fd; in TEST_F_FORK() local 607 const int ruleset_fd = in TEST_F_FORK() local 665 const int ruleset_fd = in TEST_F_FORK() local 691 int ruleset_fd; in TEST_F_FORK() local 720 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath() 763 int ruleset_fd, i; in create_ruleset() local 805 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local 852 int ruleset_fd; in TEST_F_FORK() local 880 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local 934 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local [all …]
|
D | net_test.c | 654 int ruleset_fd; in TEST_F() local 704 int ruleset_fd; in TEST_F() local 746 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local 775 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local 855 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local 886 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local 999 int ruleset_fd; in TEST_F() local 1144 int ruleset_fd; in TEST_F() local 1163 int ruleset_fd; in TEST_F() local 1179 int ruleset_fd; in TEST_F() local [all …]
|
D | base_test.c | 150 int ruleset_fd; in TEST() local 198 const int ruleset_fd = in TEST() local 245 const int ruleset_fd = in TEST() local 367 int ruleset_fd; in TEST() local 461 int ruleset_fd, dir_fd; in TEST() local
|
D | wrappers.h | 26 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() 37 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self()
|
D | audit_test.c | 77 int status, ruleset_fd, i; in TEST_F() local 163 int ruleset_fd, pipe_child, pipe_parent; member 365 int ruleset_fd; in TEST_F() local 561 int ruleset_fd; in TEST_F() local
|
D | scoped_common.h | 15 int ruleset_fd; in create_scoped_domain() local
|
D | sandbox-and-launch.c | 24 int pipe_child, pipe_parent, ruleset_fd; in main() local
|
D | wait-pipe-sandbox.c | 49 int err, pipe_child, pipe_parent, ruleset_fd; in main() local
|
D | common.h | 202 enforce_ruleset(struct __test_metadata *const _metadata, const int ruleset_fd) in enforce_ruleset() 215 int ruleset_fd; in drop_access_rights() local
|
D | ptrace_test.c | 30 int ruleset_fd; in create_domain() local
|
D | scoped_abstract_unix_test.c | 32 int ruleset_fd; in create_fs_domain() local
|
/linux-6.15/samples/landlock/ |
D | sandboxer.c | 38 static inline int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() 49 static inline int landlock_restrict_self(const int ruleset_fd, in landlock_restrict_self() 115 static int populate_ruleset_fs(const char *const env_var, const int ruleset_fd, in populate_ruleset_fs() 183 static int populate_ruleset_net(const char *const env_var, const int ruleset_fd, in populate_ruleset_net() 346 int ruleset_fd, abi; in main() local
|
/linux-6.15/security/landlock/ |
D | syscalls.c | 201 int err, ruleset_fd; in SYSCALL_DEFINE3() local 419 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument 479 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
|