From: Paul Moore <paul.moore@hp.com>
To: Joshua Roys <joshua.roys@gtri.gatech.edu>
Cc: "selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>
Subject: Re: [PATCH] netlabel: fix export of SELinux categories > 127
Date: Sun, 28 Feb 2010 20:01:44 -0500 [thread overview]
Message-ID: <201002282001.45034.paul.moore@hp.com> (raw)
In-Reply-To: <4B880E03.1040903@gtri.gatech.edu>
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@gtri.gatech.edu>
> >
> > 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@hp.com>
> >
> > 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.
--
paul moore
linux @ hp
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
prev parent reply other threads:[~2010-03-01 1:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-24 16:52 [PATCH] netlabel: fix export of SELinux categories > 127 Joshua Roys
2010-02-24 23:52 ` Paul Moore
2010-02-26 18:08 ` Joshua Roys
2010-03-01 1:01 ` Paul Moore [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201002282001.45034.paul.moore@hp.com \
--to=paul.moore@hp.com \
--cc=joshua.roys@gtri.gatech.edu \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.