Home
last modified time | relevance | path

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

/Linux-v5.15/security/selinux/
Dhooks.c1651 static int cred_has_capability(const struct cred *cred, in cred_has_capability() function
2195 return cred_has_capability(cred, cap, opts, ns == &init_user_ns); in selinux_capable()
2275 rc = cred_has_capability(current_cred(), CAP_SYS_ADMIN, in selinux_vm_enough_memory()
3263 if (cred_has_capability(cred, CAP_MAC_ADMIN, opts, true)) in has_cap_mac_admin()
3797 error = cred_has_capability(cred, CAP_SYS_TTY_CONFIG, in selinux_file_ioctl()