android_kernel_xiaomi_sm8350/security
Paul Moore 7979512006 NetLabel: correct locking in selinux_netlbl_socket_setsid()
The spinlock protecting the update of the "sksec->nlbl_state" variable is not
currently softirq safe which can lead to problems.  This patch fixes this by
changing the spin_{un}lock() functions into spin_{un}lock_bh() functions.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
2007-01-09 00:30:00 -08:00
..
keys [PATCH] lockdep: name some old style locks 2006-12-07 08:39:36 -08:00
selinux NetLabel: correct locking in selinux_netlbl_socket_setsid() 2007-01-09 00:30:00 -08:00
capability.c
commoncap.c
dummy.c
inode.c
Kconfig
Makefile
root_plug.c
security.c