diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c index c0acfa7177e5..346f21e0ec2c 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -163,7 +163,12 @@ void security_capset_set(struct task_struct *target, | |||
163 | 163 | ||
164 | int security_capable(struct task_struct *tsk, int cap) | 164 | int security_capable(struct task_struct *tsk, int cap) |
165 | { | 165 | { |
166 | return security_ops->capable(tsk, cap); | 166 | return security_ops->capable(tsk, cap, SECURITY_CAP_AUDIT); |
167 | } | ||
168 | |||
169 | int security_capable_noaudit(struct task_struct *tsk, int cap) | ||
170 | { | ||
171 | return security_ops->capable(tsk, cap, SECURITY_CAP_NOAUDIT); | ||
167 | } | 172 | } |
168 | 173 | ||
169 | int security_acct(struct file *file) | 174 | int security_acct(struct file *file) |