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>
Showing
- include/net/netlabel.h 73 additions, 18 deletionsinclude/net/netlabel.h
- net/ipv4/cipso_ipv4.c 37 additions, 22 deletionsnet/ipv4/cipso_ipv4.c
- net/netlabel/netlabel_unlabeled.c 1 addition, 0 deletionsnet/netlabel/netlabel_unlabeled.c
- security/selinux/ss/mls.c 5 additions, 5 deletionssecurity/selinux/ss/mls.c
- security/selinux/ss/services.c 4 additions, 1 deletionsecurity/selinux/ss/services.c
Loading
Please register or sign in to comment