From: Paul Moore <paul.moore@hp.com>
To: netdev@vger.kernel.org
Cc: James Morris <jmorris@namei.org>, David Miller <davem@davemloft.net>
Subject: Re: [PATCH] NetLabel: Verify sensitivity level has a valid CIPSO mapping
Date: Fri, 2 Mar 2007 11:12:12 -0500 [thread overview]
Message-ID: <200703021112.13063.paul.moore@hp.com> (raw)
In-Reply-To: <20070228200140.491071752@hp.com>
On Wednesday, February 28 2007 3:01:31 pm Paul Moore wrote:
> The current CIPSO engine has a problem where it does not verify that the
> given sensitivity level has a valid CIPSO mapping when the "std" CIPSO DOI
> type is used. The end result is that bad packets are sent on the wire
> which should have never been sent in the first place. This patch corrects
> this problem by verifying the sensitivity level mapping similar to what is
> done with the category mapping. This patch also changes the returned error
> code in this case to -EPERM to better match what the category mapping
> verification code returns.
>
> Signed-off-by: Paul Moore <paul.moore@hp.com>
> ---
> net/ipv4/cipso_ipv4.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
I probably should have been more clear in the original patch posting ... this
is a bugfix patch which I believe should go into 2.6.21 (as well as
the -stable tree, but I know they like to see it hit Linus' tree first).
--
paul moore
linux security @ hp
next prev parent reply other threads:[~2007-03-02 16:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-28 20:01 [PATCH] NetLabel: Verify sensitivity level has a valid CIPSO mapping Paul Moore
2007-02-28 20:45 ` James Morris
2007-03-02 21:19 ` David Miller
2007-03-02 16:12 ` Paul Moore [this message]
2007-03-02 19:23 ` David Miller
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=200703021112.13063.paul.moore@hp.com \
--to=paul.moore@hp.com \
--cc=davem@davemloft.net \
--cc=jmorris@namei.org \
--cc=netdev@vger.kernel.org \
/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.