Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/landlock/
A Druleset.h95 struct landlock_ruleset { struct
156 struct landlock_ruleset *
159 void landlock_put_ruleset(struct landlock_ruleset *const ruleset);
160 void landlock_put_ruleset_deferred(struct landlock_ruleset *const ruleset);
162 int landlock_insert_rule(struct landlock_ruleset *const ruleset,
166 struct landlock_ruleset *
167 landlock_merge_ruleset(struct landlock_ruleset *const parent,
168 struct landlock_ruleset *const ruleset);
171 landlock_find_rule(const struct landlock_ruleset *const ruleset,
174 static inline void landlock_get_ruleset(struct landlock_ruleset *const ruleset) in landlock_get_ruleset()
A Druleset.c29 struct landlock_ruleset *new_ruleset; in create_ruleset()
48 struct landlock_ruleset *
51 struct landlock_ruleset *new_ruleset; in landlock_create_ruleset()
116 const struct landlock_ruleset ruleset = { in build_check_ruleset()
261 static int merge_ruleset(struct landlock_ruleset *const dst, in merge_ruleset()
262 struct landlock_ruleset *const src) in merge_ruleset()
315 struct landlock_ruleset *const child) in inherit_ruleset()
379 struct landlock_ruleset *ruleset; in free_ruleset_work()
402 struct landlock_ruleset *
404 struct landlock_ruleset *const ruleset) in landlock_merge_ruleset()
[all …]
A Dcred.h20 struct landlock_ruleset *domain;
29 static inline const struct landlock_ruleset *landlock_get_current_domain(void) in landlock_get_current_domain()
37 static inline const struct landlock_ruleset *
A Dptrace.c32 static bool domain_scope_le(const struct landlock_ruleset *const parent, in domain_scope_le()
33 const struct landlock_ruleset *const child) in domain_scope_le()
54 const struct landlock_ruleset *dom_parent, *dom_child; in task_is_scoped()
A Dsyscalls.c99 struct landlock_ruleset *ruleset = filp->private_data; in fop_ruleset_release()
162 struct landlock_ruleset *ruleset; in SYSCALL_DEFINE3()
208 static struct landlock_ruleset *get_ruleset_from_fd(const int fd, in get_ruleset_from_fd()
212 struct landlock_ruleset *ruleset; in get_ruleset_from_fd()
311 struct landlock_ruleset *ruleset; in SYSCALL_DEFINE4()
400 struct landlock_ruleset *new_dom, *ruleset; in SYSCALL_DEFINE2()
A Dfs.c166 int landlock_append_fs_rule(struct landlock_ruleset *const ruleset, in landlock_append_fs_rule()
206 find_rule(const struct landlock_ruleset *const domain, in find_rule()
291 get_handled_accesses(const struct landlock_ruleset *const domain) in get_handled_accesses()
315 init_layer_masks(const struct landlock_ruleset *const domain, in init_layer_masks()
486 const struct landlock_ruleset *const domain, in is_access_to_paths_allowed()
638 static inline int check_access_path(const struct landlock_ruleset *const domain, in check_access_path()
654 const struct landlock_ruleset *const dom = in current_check_access_path()
718 const struct landlock_ruleset *const domain, in collect_domain_accesses()
818 const struct landlock_ruleset *const dom = in current_check_refer_path()
1131 const struct landlock_ruleset *const dom = in hook_path_mknod()
[all …]
A Dcred.c20 struct landlock_ruleset *const old_dom = landlock_cred(old)->domain; in hook_cred_prepare()
31 struct landlock_ruleset *const dom = landlock_cred(cred)->domain; in hook_cred_free()
A Dfs.h91 int landlock_append_fs_rule(struct landlock_ruleset *const ruleset,

Completed in 12 milliseconds