Home
last modified time | relevance | path

Searched hist:f74af6e816c940c678c235d49486fe40d7e49ce9 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/security/selinux/include/
H A Dnetlabel.hdiff f74af6e816c940c678c235d49486fe40d7e49ce9 Mon Feb 25 10:40:33 CST 2008 Paul Moore <paul.moore@hp.com> 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 <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
H A Dobjsec.hdiff f74af6e816c940c678c235d49486fe40d7e49ce9 Mon Feb 25 10:40:33 CST 2008 Paul Moore <paul.moore@hp.com> 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 <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
/openbmc/linux/security/selinux/
H A Dnetlabel.cdiff f74af6e816c940c678c235d49486fe40d7e49ce9 Mon Feb 25 10:40:33 CST 2008 Paul Moore <paul.moore@hp.com> 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 <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
H A Dhooks.cdiff f74af6e816c940c678c235d49486fe40d7e49ce9 Mon Feb 25 10:40:33 CST 2008 Paul Moore <paul.moore@hp.com> 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 <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>