Skip to content

Commit

Permalink
SELinux: fix comment to state filename_compute_type takes an objname …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Eric Paris committed Apr 28, 2011
1 parent 92f4250 commit 4742600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/selinux/ss/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4742600

Please sign in to comment.