Lines Matching refs:dom
215 const struct landlock_ruleset *const dom = in hook_unix_stream_connect() local
220 if (!dom) in hook_unix_stream_connect()
223 if (is_abstract_socket(other) && sock_is_scoped(other, dom)) in hook_unix_stream_connect()
232 const struct landlock_ruleset *const dom = in hook_unix_may_send() local
236 if (!dom) in hook_unix_may_send()
246 if (is_abstract_socket(other->sk) && sock_is_scoped(other->sk, dom)) in hook_unix_may_send()
261 const struct landlock_ruleset *dom; in hook_task_kill() local
265 dom = landlock_cred(cred)->domain; in hook_task_kill()
267 dom = landlock_get_current_domain(); in hook_task_kill()
269 dom = landlock_get_applicable_domain(dom, signal_scope); in hook_task_kill()
272 if (!dom) in hook_task_kill()
276 is_scoped = domain_is_scoped(dom, landlock_get_task_domain(p), in hook_task_kill()
288 const struct landlock_ruleset *dom; in hook_file_send_sigiotask() local
293 dom = landlock_get_applicable_domain( in hook_file_send_sigiotask()
297 if (!dom) in hook_file_send_sigiotask()
301 is_scoped = domain_is_scoped(dom, landlock_get_task_domain(tsk), in hook_file_send_sigiotask()