aboutsummaryrefslogtreecommitdiff
path: root/security/selinux/netport.c
AgeCommit message (Collapse)Author
2008-04-28SELinux: Fix a RCU free problem with the netport cachePaul Moore
The netport cache doesn't free resources in a manner which is safe or orderly. This patch fixes this by adding in a missing call to rcu_dereference() in sel_netport_insert() as well as some general cleanup throughout the file. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
2008-04-18SELinux: add netport.[ch]James Morris
Thank you, git. Signed-off-by: James Morris <jmorris@namei.org>