SELinux: fix comment to state filename_compute_type takes an objname not a qstr
authorEric Paris <eparis@redhat.com>
Thu, 28 Apr 2011 19:11:20 +0000 (15:11 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 28 Apr 2011 19:15:51 +0000 (15:15 -0400)
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>
security/selinux/ss/services.c

index 211c0ad..3e1ae85 100644 (file)
@@ -1478,7 +1478,7 @@ static int security_compute_sid(u32 ssid,
                newcontext.type = avdatum->data;
        }
 
-       /* if we have a qstr this is a file trans check so check those rules */
+       /* if we have a objname this is a file trans check so check those rules */
        if (objname)
                filename_compute_type(&policydb, &newcontext, scontext->type,
                                      tcontext->type, tclass, objname);