Searched refs:security_capable (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/kernel/ |
D | capability.c | 301 ret = security_capable(__task_cred(t), ns, cap); in has_ns_capability() 382 if (security_capable(current_cred(), ns, cap) == 0) { in ns_capable() 426 if (security_capable(file->f_cred, ns, cap) == 0) in file_ns_capable()
|
/linux-4.4.14/include/linux/ |
D | security.h | 202 int security_capable(const struct cred *cred, struct user_namespace *ns, 433 static inline int security_capable(const struct cred *cred, in security_capable() function
|
/linux-4.4.14/drivers/pci/ |
D | pci-sysfs.c | 640 if (security_capable(filp->f_cred, &init_user_ns, CAP_SYS_ADMIN) == 0) in pci_read_config()
|
/linux-4.4.14/security/ |
D | security.c | 184 int security_capable(const struct cred *cred, struct user_namespace *ns, in security_capable() function
|