1 Mar 2010 02:01
Re: [PATCH] netlabel: fix export of SELinux categories > 127
On Friday 26 February 2010 01:08:03 pm Joshua Roys wrote: > On 02/24/2010 06:52 PM, Paul Moore wrote: > > On Wednesday 24 February 2010 11:52:37 am Joshua Roys wrote: > >> 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@...> > > > > Ha! I came to the same conclusion and sent you a similar patch a few > > hours ago (should have checked my SELinux email folder first it seems). > > > > Acked-by: Paul Moore<paul.moore@...> > > > > This should also be sent to stable - James or Josh do one of you guys > > want to do that? > > Cool! I'm glad we came to the same solution, although next time I'll CC > you directly to avoid doing duplicate work. Okay, no problem either way - the important part is that the problem is now fixed. > Thanks for your help, Thanks to you as well, it's always nice to see others get involved. -- --(Continue reading)
RSS Feed