Home
last modified time | relevance | path

Searched defs:ruleset_fd (Results 1 – 13 of 13) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/landlock/
Dfs_test.c319 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 …]
Dbase_test.c105 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
Dcommon.h87 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()
Dptrace_test.c24 int ruleset_fd; in create_domain() local
/external/minijail/
Dlandlock_util.c23 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()
Dlibminijail.c2629 int ruleset_fd = j->fs_rules_fd; in apply_landlock_restrictions() local
/external/ltp/testcases/kernel/syscalls/landlock/
Dlandlock_common.h48 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
Dlandlock04.c20 static int ruleset_fd = -1; variable
97 static void enable_exec_libs(const int ruleset_fd) in enable_exec_libs()
Dlandlock07.c29 static int ruleset_fd; variable
Dlandlock05.c52 int ruleset_fd; in setup() local
Dlandlock03.c25 static int ruleset_fd = -1; variable
Dlandlock02.c28 static int ruleset_fd; variable
/external/ltp/include/lapi/
Dlandlock.h149 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