BACKPORT: Smack: IPv6 host labeling
authorCasey Schaufler <casey@schaufler-ca.com>
Wed, 22 Jul 2015 21:25:31 +0000 (14:25 -0700)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 21 Nov 2016 16:02:04 +0000 (17:02 +0100)
commit9015f3f654316f97164f7269511e43ae2b982c0e
tree365e4f978869a73021567c3bf1581542b29ad279
parent6c33fea8d10fe5083b5078dd7678d05a54dc5cc1
BACKPORT: Smack: IPv6 host labeling

IPv6 appears to be (finally) coming of age with the
influx of autonomous devices. In support of this, add
the ability to associate a Smack label with IPv6 addresses.

This patch also cleans up some of the conditional
compilation associated with the introduction of
secmark processing. It's now more obvious which bit
of code goes with which feature.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
(cherry-picked from upstream 21abb1ec414c75abe32c3854848ff30e2b4a6113)
Documentation/security/Smack.txt
security/smack/smack.h
security/smack/smack_lsm.c
security/smack/smackfs.c