Commit 4742600cf536c0c115b6f769eda82ee377d199c9

Authored by Eric Paris
1 parent 92f4250901

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

security/selinux/ss/services.c
... ... @@ -1478,7 +1478,7 @@
1478 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 1482 if (objname)
1483 1483 filename_compute_type(&policydb, &newcontext, scontext->type,
1484 1484 tcontext->type, tclass, objname);