[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070424002641.5FB061801A4@magilla.sf.frob.com>
Date: Mon, 23 Apr 2007 17:26:41 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: James Morris <jmorris@...ei.org>
Cc: linux-kernel@...r.kernel.org, Stephen Smalley <sds@...ho.nsa.gov>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] Return EPERM not ECHILD on security_task_wait failure
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists