From: Roland McGrath <roland@redhat.com>
To: James Morris <jmorris@namei.org>
Cc: linux-kernel@vger.kernel.org, Stephen Smalley <sds@tycho.nsa.gov>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] Return EPERM not ECHILD on security_task_wait failure
Date: Mon, 23 Apr 2007 17:26:41 -0700 (PDT) [thread overview]
Message-ID: <20070424002641.5FB061801A4@magilla.sf.frob.com> (raw)
In-Reply-To: James Morris's message of Monday, 23 April 2007 19:43:15 -0400 <Line.LNX.4.64.0704231940560.5763@d.namei>
> On Thu, 15 Mar 2007, Roland McGrath wrote:
>
> > This patch makes do_wait return -EPERM instead of -ECHILD if some
> > children were ruled out solely because security_task_wait failed.
>
> What about using the return value from the security_task_wait hook (which
> should be -EACCES) ?
As I said in some earlier discussion following my original patch, that
would be fine with me. I haven't coded up that variant, but it's simple
enough. Would you like to do it?
Thanks,
Roland
next prev parent reply other threads:[~2007-04-24 0:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-23 23:43 James Morris
2007-04-24 0:26 ` Roland McGrath [this message]
2007-04-24 0:38 ` James Morris
2007-04-24 1:19 ` [PATCH try #2] Return access error " James Morris
2007-04-24 4:28 ` Roland McGrath
-- strict thread matches above, loose matches on Subject: below --
2007-03-16 1:17 [PATCH] Return EPERM " Roland McGrath
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=20070424002641.5FB061801A4@magilla.sf.frob.com \
--to=roland@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sds@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®