diff options
author | Paul Moore <[email protected]> | 2008-02-25 11:40:33 -0500 |
---|---|---|
committer | James Morris <[email protected]> | 2008-04-18 20:26:03 +1000 |
commit | f74af6e816c940c678c235d49486fe40d7e49ce9 (patch) | |
tree | 06f2fa54bd7ceabac2ad29a6ab0aca1deb87c032 /lib/debugobjects.c | |
parent | 4b119e21d0c66c22e8ca03df05d9de623d0eb50f (diff) |
SELinux: Correct the NetLabel locking for the sk_security_struct
The RCU/spinlock locking approach for the nlbl_state in the sk_security_struct
was almost certainly overkill. This patch removes both the RCU and spinlock
locking, relying on the existing socket locks to handle the case of multiple
writers. This change also makes several code reductions possible.
Less locking, less code - it's a Good Thing.
Signed-off-by: Paul Moore <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions