mirror of https://github.com/torvalds/linux.git
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: stable@vger.kernel.org
Reported-by: Guido Trentalancia <guido@trentalancia.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| include | ||
| ss | ||
| .gitignore | ||
| Kconfig | ||
| Makefile | ||
| avc.c | ||
| genheaders.c | ||
| hooks.c | ||
| ibpkey.c | ||
| ima.c | ||
| netif.c | ||
| netlabel.c | ||
| netlink.c | ||
| netnode.c | ||
| netport.c | ||
| nlmsgtab.c | ||
| selinuxfs.c | ||
| status.c | ||
| xfrm.c | ||