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

From: James Morris
Date: Mon Apr 23 2007 - 19:43:34 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) ?


- James
--
James Morris
<jmorris@xxxxxxxxx>
-
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/