From: Arnaldo Carvalho de Melo <acme@infradead.org>
To: Eric Paris <eparis@redhat.com>
Cc: netdev@vger.kernel.org, nhorman@redhat.com, dwalsh@redhat.com,
davem@davemloft.net, linux-security-module@vger.kernel.org
Subject: Re: [PATCH 3/3] net: check kern before calling security subsystem
Date: Wed, 4 Nov 2009 15:32:20 -0200 [thread overview]
Message-ID: <20091104173220.GH2603@ghostprotocols.net> (raw)
In-Reply-To: <20091104163224.27133.88570.stgit@paris.rdu.redhat.com>
Em Wed, Nov 04, 2009 at 11:32:24AM -0500, Eric Paris escreveu:
> Before calling capable(CAP_NET_RAW) check if this operations is on behalf
> of the kernel or on behalf of userspace. Do not do the security check if
> it is on behalf of the kernel.
>
> Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
next prev parent reply other threads:[~2009-11-04 17:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 16:32 [PATCH 1/3] net: drop capability from protocol definitions Eric Paris
2009-11-04 16:32 ` [PATCH 2/3] net: pass kern to net_proto_family create function Eric Paris
2009-11-04 16:54 ` Joe Perches
2009-11-04 17:31 ` Arnaldo Carvalho de Melo
2009-11-06 5:08 ` David Miller
2009-11-06 5:39 ` David Miller
2009-11-04 16:32 ` [PATCH 3/3] net: check kern before calling security subsystem Eric Paris
2009-11-04 17:32 ` Arnaldo Carvalho de Melo [this message]
2009-11-06 5:08 ` David Miller
2009-11-04 21:42 ` James Morris
2009-11-04 17:31 ` [PATCH 1/3] net: drop capability from protocol definitions Arnaldo Carvalho de Melo
2009-11-06 5:07 ` 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=20091104173220.GH2603@ghostprotocols.net \
--to=acme@infradead.org \
--cc=davem@davemloft.net \
--cc=dwalsh@redhat.com \
--cc=eparis@redhat.com \
--cc=linux-security-module@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nhorman@redhat.com \
/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.