aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorJoshua Roys <joshua.roys@gtri.gatech.edu>2010-02-24 18:52:44 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-15 08:49:34 -0700
commit15bd3e21f0b4b12aca0f016cb2d962fc227182e2 (patch)
tree8add13fad5215da4c06bf591027250e04d251ed3 /drivers/ata
parent44af042e42f2231579ea8ef7586d3789d198f609 (diff)
netlabel: fix export of SELinux categories > 127
commit c36f74e67fa12202dbcb4ad92c5ac844f9d36b98 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions