commit | 5dbe1eb0cfc144a2b0cb1466e22bcb6fc34229a8 | [log] [tgz] |
---|---|---|
author | Paul Moore <paul.moore@hp.com> | Tue Jan 29 08:44:18 2008 -0500 |
committer | James Morris <jmorris@namei.org> | Wed Jan 30 08:17:27 2008 +1100 |
tree | e1e028acaf0dd08cbcacd2c125f60230f820b442 | |
parent | d621d35e576aa20a0ddae8022c3810f38357c8ff [diff] |
SELinux: Allow NetLabel to directly cache SIDs Now that the SELinux NetLabel "base SID" is always the netmsg initial SID we can do a big optimization - caching the SID and not just the MLS attributes. This not only saves a lot of per-packet memory allocations and copies but it has a nice side effect of removing a chunk of code. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>