You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selinux: change security_compute_sid to return the ssid or tsid on match
If the end result of a security_compute_sid() computation matches the
ssid or tsid, return that SID rather than looking it up again. This
avoids the problem of multiple initial SIDs that map to the same
context.
Cc: [email protected]
Reported-by: Guido Trentalancia <[email protected]>
Fixes: ae25485 ("selinux: introduce an initial SID for early boot processes")
Signed-off-by: Stephen Smalley <[email protected]>
Tested-by: Guido Trentalancia <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
0 commit comments