NetLabel: Add secid token support to the NetLabel secattr struct
authorPaul Moore <paul.moore@hp.com>
Tue, 29 Jan 2008 13:37:59 +0000 (08:37 -0500)
committerJames Morris <jmorris@namei.org>
Tue, 29 Jan 2008 21:17:19 +0000 (08:17 +1100)
commit16efd45435fa695b501b7f73c3259bd7c77cc12c
treef26eb84f65192eb0a17aca399fd405100e4be974
parent1c3fad936acaf87b75055b95be781437e97d787f
NetLabel: Add secid token support to the NetLabel secattr struct

This patch adds support to the NetLabel LSM secattr struct for a secid token
and a type field, paving the way for full LSM/SELinux context support and
"static" or "fallback" labels.  In addition, this patch adds a fair amount
of documentation to the core NetLabel structures used as part of the
NetLabel kernel API.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
include/net/netlabel.h
net/ipv4/cipso_ipv4.c
net/netlabel/netlabel_unlabeled.c
security/selinux/ss/mls.c
security/selinux/ss/services.c