aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/selinux/ss/services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index 211c0ada594c..3e1ae85c0130 100644
--- a/security/selinux/ss/services.c
+++ b/security/selinux/ss/services.c
@@ -1478,7 +1478,7 @@ static int security_compute_sid(u32 ssid,
1478 newcontext.type = avdatum->data; 1478 newcontext.type = avdatum->data;
1479 } 1479 }
1480 1480
1481 /* if we have a qstr this is a file trans check so check those rules */ 1481 /* if we have a objname this is a file trans check so check those rules */
1482 if (objname) 1482 if (objname)
1483 filename_compute_type(&policydb, &newcontext, scontext->type, 1483 filename_compute_type(&policydb, &newcontext, scontext->type,
1484 tcontext->type, tclass, objname); 1484 tcontext->type, tclass, objname);