Home
last modified time | relevance | path

Searched refs:landlock_cred (Results 1 – 6 of 6) sorted by relevance

/linux/security/landlock/
H A Dcred.h65 landlock_cred(const struct cred *cred) in landlock_cred() function
82 return landlock_cred(current_cred())->domain; in landlock_get_current_domain()
91 return landlock_cred(__task_cred(task))->domain; in landlock_get_task_domain()
135 domain = landlock_cred(cred)->domain; in landlock_get_applicable_subject()
149 return landlock_cred(cred); in landlock_get_applicable_subject()
H A Dcred.c23 landlock_cred(old); in hook_cred_transfer()
26 *landlock_cred(new) = *old_llcred; in hook_cred_transfer()
38 struct landlock_ruleset *const dom = landlock_cred(cred)->domain; in hook_cred_free()
49 landlock_cred(bprm->cred)->domain_exec = 0; in hook_bprm_creds_for_exec()
H A Dtask.c94 parent_subject = landlock_cred(current_cred()); in hook_ptrace_access_check()
145 parent_subject = landlock_cred(__task_cred(parent)); in hook_ptrace_traceme()
246 dom_other = landlock_cred(other->sk_socket->file->f_cred)->domain; in sock_is_scoped()
H A Dtsync.c115 landlock_cred_copy(landlock_cred(cred), in restrict_one_thread()
116 landlock_cred(ctx->new_cred)); in restrict_one_thread()
H A Dsyscalls.c538 new_llcred = landlock_cred(new_cred); in SYSCALL_DEFINE2()
H A Dfs.c1673 dom_other = landlock_cred(other->sk_socket->file->f_cred)->domain; in hook_unix_find()
1823 landlock_log_denial(landlock_cred(file->f_cred), &(struct landlock_request) { in hook_file_truncate()
1859 landlock_log_denial(landlock_cred(file->f_cred), &(struct landlock_request) { in hook_file_ioctl_common()