diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/security/security.c b/security/security.c index b9e57f4fc44a..b7edaae77d1d 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -160,6 +160,12 @@ int security_capable(const struct cred *cred, struct user_namespace *ns, | |||
160 | return security_ops->capable(cred, ns, cap, SECURITY_CAP_AUDIT); | 160 | return security_ops->capable(cred, ns, cap, SECURITY_CAP_AUDIT); |
161 | } | 161 | } |
162 | 162 | ||
163 | int security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, | ||
164 | int cap) | ||
165 | { | ||
166 | return security_ops->capable(cred, ns, cap, SECURITY_CAP_NOAUDIT); | ||
167 | } | ||
168 | |||
163 | int security_real_capable(struct task_struct *tsk, struct user_namespace *ns, | 169 | int security_real_capable(struct task_struct *tsk, struct user_namespace *ns, |
164 | int cap) | 170 | int cap) |
165 | { | 171 | { |