aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorPaul Moore <[email protected]>2008-01-29 13:37:57 +0000
committerJames Morris <[email protected]>2008-01-29 21:17:18 +0000
commit1c3fad936acaf87b75055b95be781437e97d787f (patch)
tree43fe24b08a605db020c0a93fb5ceec1e7744822d /security/selinux/hooks.c
parentNetLabel: Cleanup the LSM domain hash functions (diff)
downloadkernel-1c3fad936acaf87b75055b95be781437e97d787f.tar.gz
kernel-1c3fad936acaf87b75055b95be781437e97d787f.zip
NetLabel: Consolidate the LSM domain mapping/hashing locks
Currently we use two separate spinlocks to protect both the hash/mapping table and the default entry. This could be considered a bit foolish because it adds complexity without offering any real performance advantage. This patch removes the dedicated default spinlock and protects the default entry with the hash/mapping table spinlock. Signed-off-by: Paul Moore <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions