Lines Matching full:subject
270 const struct landlock_cred_security *const subject = in hook_unix_stream_connect() local
275 if (!subject) in hook_unix_stream_connect()
281 if (!sock_is_scoped(other, subject->domain)) in hook_unix_stream_connect()
284 landlock_log_denial(subject, &(struct landlock_request) { in hook_unix_stream_connect()
301 const struct landlock_cred_security *const subject = in hook_unix_may_send() local
305 if (!subject) in hook_unix_may_send()
318 if (!sock_is_scoped(other->sk, subject->domain)) in hook_unix_may_send()
321 landlock_log_denial(subject, &(struct landlock_request) { in hook_unix_may_send()
344 const struct landlock_cred_security *subject; in hook_task_kill() local
362 subject = landlock_get_applicable_subject(cred, signal_scope, in hook_task_kill()
366 if (!subject) in hook_task_kill()
371 is_scoped = domain_is_scoped(subject->domain, in hook_task_kill()
379 landlock_log_denial(subject, &(struct landlock_request) { in hook_task_kill()
393 const struct landlock_cred_security *subject; in hook_file_send_sigiotask() local
398 subject = &landlock_file(fown->file)->fown_subject; in hook_file_send_sigiotask()
403 * subject->domain has already been filtered when saved by in hook_file_send_sigiotask()
407 if (!subject->domain) in hook_file_send_sigiotask()
412 is_scoped = domain_is_scoped(subject->domain, in hook_file_send_sigiotask()
420 landlock_log_denial(subject, &(struct landlock_request) { in hook_file_send_sigiotask()