android_kernel_xiaomi_sm8350/security/selinux
paul.moore@hp.com ffb733c650 NetLabel: fix a cache race condition
Testing revealed a problem with the NetLabel cache where a cached entry could
be freed while in use by the LSM layer causing an oops and other problems.
This patch fixes that problem by introducing a reference counter to the cache
entry so that it is only freed when it is no longer in use.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
2006-10-11 23:59:29 -07:00
..
include [PATCH] SELinux: convert sbsec semaphore to a mutex 2006-09-26 08:48:53 -07:00
ss NetLabel: fix a cache race condition 2006-10-11 23:59:29 -07:00
avc.c [PATCH] support for context based audit filtering 2006-05-01 06:06:24 -04:00
exports.c [PATCH] selinux: rename selinux_ctxid_to_string 2006-09-26 08:48:52 -07:00
hooks.c [PATCH] MLSXFRM: fix mis-labelling of child sockets 2006-09-29 15:58:21 -07:00
Kconfig Still more typo fixes 2006-10-03 22:36:44 +02:00
Makefile [PATCH] support for context based audit filtering 2006-05-01 06:06:24 -04:00
netif.c
netlink.c
nlmsgtab.c
selinuxfs.c [PATCH] r/o bind mount prepwork: inc_nlink() helper 2006-10-01 00:39:30 -07:00
xfrm.c [MLSXFRM]: Auto-labeling of child sockets 2006-09-22 14:53:29 -07:00