Home
last modified time | relevance | path

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

/linux/security/landlock/
A Druleset.h174 struct landlock_ruleset { struct
247 struct landlock_ruleset *
252 void landlock_put_ruleset(struct landlock_ruleset *const ruleset);
255 int landlock_insert_rule(struct landlock_ruleset *const ruleset,
259 struct landlock_ruleset *
260 landlock_merge_ruleset(struct landlock_ruleset *const parent,
261 struct landlock_ruleset *const ruleset);
264 landlock_find_rule(const struct landlock_ruleset *const ruleset,
309 static inline const struct landlock_ruleset *
329 landlock_add_fs_access_mask(struct landlock_ruleset *const ruleset, in landlock_add_fs_access_mask()
[all …]
A Druleset.c29 struct landlock_ruleset *new_ruleset; in create_ruleset()
53 struct landlock_ruleset *
58 struct landlock_ruleset *new_ruleset; in landlock_create_ruleset()
171 const struct landlock_ruleset ruleset = { in build_check_ruleset()
324 struct landlock_ruleset *const src, in merge_tree()
366 struct landlock_ruleset *const src) in merge_ruleset()
408 struct landlock_ruleset *const child, in inherit_tree()
440 struct landlock_ruleset *const child) in inherit_ruleset()
513 struct landlock_ruleset *ruleset; in free_ruleset_work()
536 struct landlock_ruleset *
[all …]
A Dtask.c35 static bool domain_scope_le(const struct landlock_ruleset *const parent, in domain_scope_le()
36 const struct landlock_ruleset *const child) in domain_scope_le()
57 const struct landlock_ruleset *dom_parent, *dom_child; in task_is_scoped()
125 static bool domain_is_scoped(const struct landlock_ruleset *const client, in domain_is_scoped()
126 const struct landlock_ruleset *const server, in domain_is_scoped()
182 const struct landlock_ruleset *const domain) in sock_is_scoped()
184 const struct landlock_ruleset *dom_other; in sock_is_scoped()
215 const struct landlock_ruleset *const dom = in hook_unix_stream_connect()
232 const struct landlock_ruleset *const dom = in hook_unix_may_send()
261 const struct landlock_ruleset *dom; in hook_task_kill()
[all …]
A Dsyscalls.c120 struct landlock_ruleset *ruleset = filp->private_data; in fop_ruleset_release()
184 struct landlock_ruleset *ruleset; in SYSCALL_DEFINE3()
241 static struct landlock_ruleset *get_ruleset_from_fd(const int fd, in get_ruleset_from_fd()
245 struct landlock_ruleset *ruleset; in get_ruleset_from_fd()
310 static int add_rule_path_beneath(struct landlock_ruleset *const ruleset, in add_rule_path_beneath()
348 static int add_rule_net_port(struct landlock_ruleset *ruleset, in add_rule_net_port()
418 struct landlock_ruleset *ruleset; in SYSCALL_DEFINE4()
476 struct landlock_ruleset *new_dom, *ruleset; in SYSCALL_DEFINE2()
A Dcred.h20 struct landlock_ruleset *domain;
29 static inline struct landlock_ruleset *landlock_get_current_domain(void) in landlock_get_current_domain()
37 static inline const struct landlock_ruleset *
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 Dfs.h61 struct landlock_ruleset *fown_domain;
98 int landlock_append_fs_rule(struct landlock_ruleset *const ruleset,
A Dcred.c20 struct landlock_ruleset *const old_dom = landlock_cred(old)->domain; in hook_cred_transfer()
37 struct landlock_ruleset *const dom = landlock_cred(cred)->domain; in hook_cred_free()
A Dfs.c317 int landlock_append_fs_rule(struct landlock_ruleset *const ruleset, in landlock_append_fs_rule()
358 find_rule(const struct landlock_ruleset *const domain, in find_rule()
392 get_handled_fs_accesses(const struct landlock_ruleset *const domain) in get_handled_fs_accesses()
403 static const struct landlock_ruleset *get_current_fs_domain(void) in get_current_fs_domain()
754 const struct landlock_ruleset *const domain, in is_access_to_paths_allowed()
928 const struct landlock_ruleset *const dom = get_current_fs_domain(); in current_check_access_path()
991 const struct landlock_ruleset *const domain, in collect_domain_accesses()
1093 const struct landlock_ruleset *const dom = get_current_fs_domain(); in current_check_refer_path()
1417 const struct landlock_ruleset *const dom = get_current_fs_domain(); in hook_path_mknod()
1503 const struct landlock_ruleset *const dom = in hook_file_open()
[all …]
A Dnet.c20 int landlock_append_net_rule(struct landlock_ruleset *const ruleset, in landlock_append_net_rule()
57 const struct landlock_ruleset *const dom = in current_check_access_socket()

Completed in 19 milliseconds