+17
−16
security/selinux/include/netnode.h
0 → 100644
+32
−0
security/selinux/netnode.c
0 → 100644
+350
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This patch adds a SELinux IP address/node SID caching mechanism similar to the sel_netif_*() functions. The node SID queries in the SELinux hooks files are also modified to take advantage of this new functionality. In addition, remove the address length information from the sk_buff parsing routines as it is redundant since we already have the address family. Signed-off-by:Paul Moore <paul.moore@hp.com> Signed-off-by:
James Morris <jmorris@namei.org>