Home
last modified time | relevance | path

Searched refs:landlock_ruleset (Results 1 – 11 of 11) sorted by relevance

/security/landlock/
A Druleset.h119 struct landlock_ruleset { struct
192 struct landlock_ruleset *
197 void landlock_put_ruleset(struct landlock_ruleset *const ruleset);
200 DEFINE_FREE(landlock_put_ruleset, struct landlock_ruleset *,
203 int landlock_insert_rule(struct landlock_ruleset *const ruleset,
207 struct landlock_ruleset *
208 landlock_merge_ruleset(struct landlock_ruleset *const parent,
209 struct landlock_ruleset *const ruleset);
212 landlock_find_rule(const struct landlock_ruleset *const ruleset,
247 landlock_add_fs_access_mask(struct landlock_ruleset *const ruleset, in landlock_add_fs_access_mask()
[all …]
A Druleset.c34 struct landlock_ruleset *new_ruleset; in create_ruleset()
58 struct landlock_ruleset *
63 struct landlock_ruleset *new_ruleset; in landlock_create_ruleset()
176 const struct landlock_ruleset ruleset = { in build_check_ruleset()
313 struct landlock_ruleset *const src, in merge_tree()
355 struct landlock_ruleset *const src) in merge_ruleset()
398 struct landlock_ruleset *const child, in inherit_tree()
430 struct landlock_ruleset *const child) in inherit_ruleset()
503 struct landlock_ruleset *ruleset; in free_ruleset_work()
530 struct landlock_ruleset *
[all …]
A Dtask.c41 static bool domain_scope_le(const struct landlock_ruleset *const parent, in domain_scope_le()
42 const struct landlock_ruleset *const child) in domain_scope_le()
63 static int domain_ptrace(const struct landlock_ruleset *const parent, in domain_ptrace()
64 const struct landlock_ruleset *const child) in domain_ptrace()
89 const struct landlock_ruleset *child_dom; in hook_ptrace_access_check()
138 const struct landlock_ruleset *child_dom; in hook_ptrace_traceme()
179 static bool domain_is_scoped(const struct landlock_ruleset *const client, in domain_is_scoped()
180 const struct landlock_ruleset *const server, in domain_is_scoped()
236 const struct landlock_ruleset *const domain) in sock_is_scoped()
238 const struct landlock_ruleset *dom_other; in sock_is_scoped()
A Dcred.h34 struct landlock_ruleset *domain;
68 static inline struct landlock_ruleset *landlock_get_current_domain(void) in landlock_get_current_domain()
76 static inline const struct landlock_ruleset *
117 const struct landlock_ruleset *domain; in landlock_get_applicable_subject()
A Dsyscalls.c124 struct landlock_ruleset *ruleset = filp->private_data; in fop_ruleset_release()
200 struct landlock_ruleset *ruleset; in SYSCALL_DEFINE3()
263 static struct landlock_ruleset *get_ruleset_from_fd(const int fd, in get_ruleset_from_fd()
267 struct landlock_ruleset *ruleset; in get_ruleset_from_fd()
314 static int add_rule_path_beneath(struct landlock_ruleset *const ruleset, in add_rule_path_beneath()
352 static int add_rule_net_port(struct landlock_ruleset *ruleset, in add_rule_net_port()
422 struct landlock_ruleset *ruleset __free(landlock_put_ruleset) = NULL; in SYSCALL_DEFINE4()
481 struct landlock_ruleset *new_dom, in SYSCALL_DEFINE2()
A Dnet.h18 int landlock_append_net_rule(struct landlock_ruleset *const ruleset,
26 landlock_append_net_rule(struct landlock_ruleset *const ruleset, const u16 port, in landlock_append_net_rule()
A Daudit.c137 get_hierarchy(const struct landlock_ruleset *const domain, const size_t layer) in get_hierarchy()
170 struct landlock_ruleset dom2 = { in test_get_hierarchy()
183 static size_t get_denied_layer(const struct landlock_ruleset *const domain, in get_denied_layer()
221 const struct landlock_ruleset dom = { in test_get_denied_layer()
A Dfs.h127 int landlock_append_fs_rule(struct landlock_ruleset *const ruleset,
A Dcred.c40 struct landlock_ruleset *const dom = landlock_cred(cred)->domain; in hook_cred_free()
A Dfs.c323 int landlock_append_fs_rule(struct landlock_ruleset *const ruleset, in landlock_append_fs_rule()
364 find_rule(const struct landlock_ruleset *const domain, in find_rule()
755 const struct landlock_ruleset *const domain, in is_access_to_paths_allowed()
1033 const struct landlock_ruleset *const domain, in collect_domain_accesses()
1800 struct landlock_ruleset *prev_dom; in hook_file_set_fowner()
A Dnet.c22 int landlock_append_net_rule(struct landlock_ruleset *const ruleset, in landlock_append_net_rule()

Completed in 17 milliseconds