Home
last modified time | relevance | path

Searched refs:smack_privileged_cred (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/security/smack/
H A Dsmack_access.c650 bool smack_privileged_cred(int cap, const struct cred *cred) in smack_privileged_cred() function
695 return smack_privileged_cred(cap, current_cred()); in smack_privileged()
H A Dsmack.h290 bool smack_privileged_cred(int cap, const struct cred *cred);
H A Dsmack_lsm.c455 else if (smack_privileged_cred(CAP_SYS_PTRACE, tracercred)) in smk_ptrace_rule_check()
1929 if (rc != 0 && smack_privileged_cred(CAP_MAC_OVERRIDE, tcred)) in smack_file_send_sigiotask()
4558 if (smack_privileged_cred(CAP_MAC_OVERRIDE, current_cred())) in smack_watch_key()
4892 if (smack_privileged_cred(CAP_MAC_OVERRIDE, current_cred())) in smack_uring_override_creds()
4906 if (smack_privileged_cred(CAP_MAC_ADMIN, current_cred())) in smack_uring_sqpoll()