Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4742600c authored by Eric Paris's avatar Eric Paris
Browse files

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: default avatarEric Paris <eparis@redhat.com>
parent 92f42509
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);