Smack: Local IPv6 port based controls
authorCasey Schaufler <casey@schaufler-ca.com>
Thu, 23 May 2013 01:42:56 +0000 (18:42 -0700)
committerJan Cybulski <j.cybulski@samsung.com>
Mon, 7 Oct 2013 13:46:07 +0000 (15:46 +0200)
commit9733a5a969dcb8b3a39d53c8f841b9fcbe5bed56
tree596e65a4b3584b472e86fa77c91f7e7d409c3d7e
parent3e78c6e58671224526e521cb93ee6b5ba3f93375
Smack: Local IPv6 port based controls

Smack does not provide access controls on IPv6 communications.
This patch introduces a mechanism for maintaining Smack lables
for local IPv6 communications. It is based on labeling local ports.
The behavior should be compatible with any future "real" IPv6
support as it provides no interfaces for users to manipulate
the labeling. Remote IPv6 connections use the ambient label
the same way that unlabeled IPv4 packets are treated.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Conflicts:

security/smack/smack_lsm.c

Change-Id: I11fa939f26986afce8b7eaa92a6cb388e0c8c8db
security/smack/smack.h
security/smack/smack_lsm.c