netlabel: Add network address selectors to the NetLabel/LSM domain mapping
commit63c41688743760631188cf0f4ae986a6793ccb0a
authorPaul Moore <paul.moore@hp.com>
Fri, 10 Oct 2008 14:16:32 +0000 (10 10:16 -0400)
committerPaul Moore <paul.moore@hp.com>
Fri, 10 Oct 2008 14:16:32 +0000 (10 10:16 -0400)
treeb270091d7b763e8b6c5073d4ca618f0d36065188
parent61e1068219950c672ce979719ad2be3aadb00d7d
netlabel: Add network address selectors to the NetLabel/LSM domain mapping

This patch extends the NetLabel traffic labeling capabilities to individual
packets based not only on the LSM domain but the by the destination address
as well.  The changes here only affect the core NetLabel infrastructre,
changes to the NetLabel KAPI and individial protocol engines are also
required but are split out into a different patch to ease review.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Reviewed-by: James Morris <jmorris@namei.org>
include/net/netlabel.h
net/netlabel/netlabel_addrlist.c
net/netlabel/netlabel_addrlist.h
net/netlabel/netlabel_domainhash.c
net/netlabel/netlabel_domainhash.h
net/netlabel/netlabel_kapi.c
net/netlabel/netlabel_mgmt.c
net/netlabel/netlabel_mgmt.h
net/netlabel/netlabel_unlabeled.c