diff options
author | Joshua Roys <joshua.roys@gtri.gatech.edu> | 2010-02-25 00:52:44 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-02-25 07:49:20 +0100 |
commit | c36f74e67fa12202dbcb4ad92c5ac844f9d36b98 (patch) | |
tree | 13cf4be470470b32ce348202ab4ba6a342c39ed9 /Documentation/powerpc | |
parent | security: fix error return path in ima_inode_alloc (diff) | |
download | linux-c36f74e67fa12202dbcb4ad92c5ac844f9d36b98.tar.xz linux-c36f74e67fa12202dbcb4ad92c5ac844f9d36b98.zip |
netlabel: fix export of SELinux categories > 127
This fixes corrupted CIPSO packets when SELinux categories greater than 127
are used. The bug occured on the second (and later) loops through the
while; the inner for loop through the ebitmap->maps array used the same
index as the NetLabel catmap->bitmap array, even though the NetLabel bitmap
is twice as long as the SELinux bitmap.
Signed-off-by: Joshua Roys <joshua.roys@gtri.gatech.edu>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'Documentation/powerpc')
0 files changed, 0 insertions, 0 deletions