Searched defs:ruleset_fd (Results 1 – 11 of 11) sorted by relevance
/linux-6.14.4/tools/testing/selftests/landlock/ |
D | fs_test.c | 485 int ruleset_fd; in TEST_F_FORK() local 606 const int ruleset_fd = in TEST_F_FORK() local 664 const int ruleset_fd = in TEST_F_FORK() local 690 int ruleset_fd; in TEST_F_FORK() local 719 const int ruleset_fd, const __u64 allowed_access, in add_path_beneath() 762 int ruleset_fd, i; in create_ruleset() local 804 const int ruleset_fd = create_ruleset( in TEST_F_FORK() local 851 int ruleset_fd; in TEST_F_FORK() local 879 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RW, rules); in TEST_F_FORK() local 933 const int ruleset_fd = create_ruleset(_metadata, ACCESS_RO, rules); in TEST_F_FORK() local [all …]
|
D | net_test.c | 653 int ruleset_fd; in TEST_F() local 703 int ruleset_fd; in TEST_F() local 745 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local 774 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local 854 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local 885 const int ruleset_fd = landlock_create_ruleset( in TEST_F() local 998 int ruleset_fd; in TEST_F() local 1143 int ruleset_fd; in TEST_F() local 1162 int ruleset_fd; in TEST_F() local 1178 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 285 int ruleset_fd; in TEST() local 379 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 | 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 | ptrace_test.c | 28 int ruleset_fd; in create_domain() local
|
D | common.h | 199 enforce_ruleset(struct __test_metadata *const _metadata, const int ruleset_fd) in enforce_ruleset()
|
D | scoped_abstract_unix_test.c | 31 int ruleset_fd; in create_fs_domain() local
|
/linux-6.14.4/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() 114 static int populate_ruleset_fs(const char *const env_var, const int ruleset_fd, in populate_ruleset_fs() 182 static int populate_ruleset_net(const char *const env_var, const int ruleset_fd, in populate_ruleset_net() 342 int ruleset_fd, abi; in main() local
|
/linux-6.14.4/security/landlock/ |
D | syscalls.c | 192 int err, ruleset_fd; in SYSCALL_DEFINE3() local 412 SYSCALL_DEFINE4(landlock_add_rule, const int, ruleset_fd, in SYSCALL_DEFINE4() argument 465 SYSCALL_DEFINE2(landlock_restrict_self, const int, ruleset_fd, const __u32, in SYSCALL_DEFINE2() argument
|