Searched defs:ruleset_fd (Results 1 – 13 of 13) sorted by relevance
| /external/linux-kselftest/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
|
| /external/minijail/ |
| D | landlock_util.c | 23 int landlock_add_rule(const int ruleset_fd, in landlock_add_rule() 31 int landlock_restrict_self(const int ruleset_fd, const __u32 flags) in landlock_restrict_self() 36 bool populate_ruleset_internal(const char *const path, const int ruleset_fd, in populate_ruleset_internal()
|
| D | libminijail.c | 2629 int ruleset_fd = j->fs_rules_fd; in apply_landlock_restrictions() local
|
| /external/ltp/testcases/kernel/syscalls/landlock/ |
| D | landlock_common.h | 48 const int ruleset_fd, in apply_landlock_fs_rule() 66 const int ruleset_fd, in apply_landlock_net_rule() 80 static inline void enforce_ruleset(const int ruleset_fd) in enforce_ruleset() 92 int ruleset_fd; in apply_landlock_fs_layer() local 108 int ruleset_fd; in apply_landlock_net_layer() local
|
| D | landlock04.c | 20 static int ruleset_fd = -1; variable 97 static void enable_exec_libs(const int ruleset_fd) in enable_exec_libs()
|
| D | landlock07.c | 29 static int ruleset_fd; variable
|
| D | landlock05.c | 52 int ruleset_fd; in setup() local
|
| D | landlock03.c | 25 static int ruleset_fd = -1; variable
|
| D | landlock02.c | 28 static int ruleset_fd; variable
|
| /external/ltp/include/lapi/ |
| D | landlock.h | 149 int ruleset_fd, int rule_type, const void *rule_attr, uint32_t flags) in safe_landlock_add_rule() 170 int ruleset_fd, int flags) in safe_landlock_restrict_self() 191 #define SAFE_LANDLOCK_ADD_RULE(ruleset_fd, rule_type, rule_attr, flags) \ argument 195 #define SAFE_LANDLOCK_RESTRICT_SELF(ruleset_fd, flags) \ argument
|