Searched refs:security_capable (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | capability.c | 300 ret = security_capable(__task_cred(t), ns, cap, CAP_OPT_NONE); in has_ns_capability() 341 ret = security_capable(__task_cred(t), ns, cap, CAP_OPT_NOAUDIT); in has_ns_capability_noaudit() 375 capable = security_capable(current_cred(), ns, cap, opts); in ns_capable_common() 473 if (security_capable(file->f_cred, ns, cap, CAP_OPT_NONE) == 0) in file_ns_capable() 526 ret = security_capable(cred, ns, CAP_SYS_PTRACE, in ptracer_capable()
|
| H A D | kallsyms.c | 733 if (security_capable(cred, &init_user_ns, CAP_SYSLOG, in kallsyms_show_value()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | security.h | 274 int security_capable(const struct cred *cred, 551 static inline int security_capable(const struct cred *cred, in security_capable() function
|
| /OK3568_Linux_fs/kernel/security/ |
| H A D | security.c | 743 int security_capable(const struct cred *cred, in security_capable() function
|