summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2006-11-29 19:18:18 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:31:36 +0100
commit02752760359db6b00a3ffb1acfc13ef8d9eb1e3f (patch)
tree796cd65fd4cd732b295e61dac194efbf36b78842 /mm
parent[NETFILTER]: remove the reference to ipchains from Kconfig (diff)
downloadlinux-02752760359db6b00a3ffb1acfc13ef8d9eb1e3f.tar.xz
linux-02752760359db6b00a3ffb1acfc13ef8d9eb1e3f.zip
NetLabel: convert to an extensibile/sparse category bitmap
The original NetLabel category bitmap was a straight char bitmap which worked fine for the initial release as it only supported 240 bits due to limitations in the CIPSO restricted bitmap tag (tag type 0x01). This patch converts that straight char bitmap into an extensibile/sparse bitmap in order to lay the foundation for other CIPSO tag types and protocols. This patch also has a nice side effect in that all of the security attributes passed by NetLabel into the LSM are now in a format which is in the host's native byte/bit ordering which makes the LSM specific code much simpler; look at the changes in security/selinux/ss/ebitmap.c as an example. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions