diff options
| author | Paul Moore <[email protected]> | 2008-01-29 13:44:18 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2008-01-29 21:17:27 +0000 |
| commit | 5dbe1eb0cfc144a2b0cb1466e22bcb6fc34229a8 (patch) | |
| tree | e1e028acaf0dd08cbcacd2c125f60230f820b442 /security/selinux/netnode.c | |
| parent | SELinux: Enable dynamic enable/disable of the network access checks (diff) | |
| download | kernel-5dbe1eb0cfc144a2b0cb1466e22bcb6fc34229a8.tar.gz kernel-5dbe1eb0cfc144a2b0cb1466e22bcb6fc34229a8.zip | |
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 <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions
