From: David Miller <davem@davemloft.net>
To: penguin-kernel@I-love.SAKURA.ne.jp
Cc: kuznet@ms2.inr.ac.ru, pekkas@netcore.fi, jmorris@namei.org,
yoshfuji@linux-ipv6.org, kaber@trash.net, paul.moore@hp.com,
netdev@vger.kernel.org, linux-security-module@vger.kernel.org
Subject: Re: [PATCH] LSM: Add post recvmsg() hook.
Date: Wed, 21 Jul 2010 21:45:17 -0700 (PDT) [thread overview]
Message-ID: <20100721.214517.236270570.davem@davemloft.net> (raw)
In-Reply-To: <201007220441.o6M4fcmC093106@www262.sakura.ne.jp>
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: Thu, 22 Jul 2010 13:41:38 +0900
> Excuse me, below check is made inside recvmsg() and may return error if
> SELinux's policy has changed after the select() said "ready" and before
> security_socket_recvmsg() is called. No?
It does this before pulling the packet out of the receive queue of the
socket. It's like signalling a parameter error to the process, no
socket state is changed.
next prev parent reply other threads:[~2010-07-22 4:45 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-16 16:14 [RFC] LSM hook for post recvmsg Tetsuo Handa
2010-07-16 19:35 ` David Miller
2010-07-17 1:17 ` [PATCH] LSM: Add post recvmsg() hook Tetsuo Handa
2010-07-17 20:34 ` Paul Moore
2010-07-18 8:33 ` Eric Dumazet
2010-07-18 10:49 ` Tetsuo Handa
2010-07-18 21:25 ` David Miller
2010-07-19 4:25 ` [PATCH] LSM: Add post accept() hook Tetsuo Handa
2010-07-19 22:15 ` Paul Moore
2010-07-20 1:36 ` Tetsuo Handa
2010-07-20 19:52 ` Paul Moore
2010-07-21 2:00 ` Tetsuo Handa
2010-07-21 16:06 ` Paul Moore
2010-07-21 18:45 ` [PATCH] LSM: Add post recvmsg() hook David Miller
2010-07-22 3:38 ` Tetsuo Handa
2010-07-22 4:06 ` David Miller
2010-07-22 4:41 ` Tetsuo Handa
2010-07-22 4:45 ` David Miller [this message]
2010-07-22 5:02 ` Tetsuo Handa
2010-07-22 5:06 ` David Miller
2010-07-22 12:46 ` Tetsuo Handa
2010-07-22 17:22 ` David Miller
2010-07-22 17:26 ` David Miller
2010-07-23 0:22 ` Tetsuo Handa
2010-07-23 5:44 ` David Miller
2010-07-23 7:21 ` Tetsuo Handa
2010-07-23 7:29 ` David Miller
2010-07-23 12:37 ` Tetsuo Handa
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=20100721.214517.236270570.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jmorris@namei.org \
--cc=kaber@trash.net \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-security-module@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=paul.moore@hp.com \
--cc=pekkas@netcore.fi \
--cc=penguin-kernel@I-love.SAKURA.ne.jp \
--cc=yoshfuji@linux-ipv6.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).