mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 11:55:53 +00:00
3e11217263
Much like we added a network node cache, this patch adds a network port cache. The design is taken almost completely from the network node cache which in turn was taken from the network interface cache. The basic idea is to cache entries in a hash table based on protocol/port information. The hash function only takes the port number into account since the number of different protocols in use at any one time is expected to be relatively small. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
23 lines
425 B
Makefile
23 lines
425 B
Makefile
#
|
|
# Makefile for building the SELinux module as part of the kernel tree.
|
|
#
|
|
|
|
obj-$(CONFIG_SECURITY_SELINUX) := selinux.o ss/
|
|
|
|
selinux-y := avc.o \
|
|
hooks.o \
|
|
selinuxfs.o \
|
|
netlink.o \
|
|
nlmsgtab.o \
|
|
netif.o \
|
|
netnode.o \
|
|
netport.o \
|
|
exports.o
|
|
|
|
selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
|
|
|
|
selinux-$(CONFIG_NETLABEL) += netlabel.o
|
|
|
|
EXTRA_CFLAGS += -Isecurity/selinux/include
|
|
|