aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/hooks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 9f0384493009..d79762946c6e 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -1429,7 +1429,6 @@ static int cred_has_capability(const struct cred *cred,
1429 1429
1430 COMMON_AUDIT_DATA_INIT(&ad, LSM_AUDIT_DATA_CAP); 1430 COMMON_AUDIT_DATA_INIT(&ad, LSM_AUDIT_DATA_CAP);
1431 ad.selinux_audit_data = &sad; 1431 ad.selinux_audit_data = &sad;
1432 ad.tsk = current;
1433 ad.u.cap = cap; 1432 ad.u.cap = cap;
1434 1433
1435 switch (CAP_TO_INDEX(cap)) { 1434 switch (CAP_TO_INDEX(cap)) {