diff options
author | Eric Paris <eparis@redhat.com> | 2011-04-28 15:11:20 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2011-04-28 15:15:51 -0400 |
commit | 4742600cf536c0c115b6f769eda82ee377d199c9 (patch) | |
tree | 599922c770c628c3d484ee7460fe1fc361c3c509 /security/selinux | |
parent | 92f4250901476fcadc4f52ace36e453c61f5591d (diff) |
SELinux: fix comment to state filename_compute_type takes an objname not a qstr
filename_compute_type used to take a qstr, but it now takes just a name.
Fix the comments to indicate it is an objname, not a qstr.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux')
-rw-r--r-- | security/selinux/ss/services.c | 2 |
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); |