Re: [PATCH] Return EPERM not ECHILD on security_task_wait failure

From: Roland McGrath
Date: Mon Apr 23 2007 - 20:27:10 EST


> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/