mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Morris <jmorris@namei.org>
To: Roland McGrath <roland@redhat.com>
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 19:43:15 -0400 (EDT)	[thread overview]
Message-ID: <Line.LNX.4.64.0704231940560.5763@d.namei> (raw)

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) ?


- James
-- 
James Morris
<jmorris@namei.org>

             reply	other threads:[~2007-04-23 23:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 23:43 James Morris [this message]
2007-04-24  0:26 ` Roland McGrath
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=Line.LNX.4.64.0704231940560.5763@d.namei \
    --to=jmorris@namei.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@redhat.com \
    --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®