Re: patch to exec_domain

Paul Larson (plars@austin.ibm.com)
24 Oct 2001 10:12:41 +0000


On Wed, 2001-10-24 at 14:34, Kjohn Sasitorn wrote:
> Currently, the personality(2) system call always returns the previous
> persona. However, according to the manpage, it should return the previous
> persona when successful and -1 otherwise. The following patch to
> lookup_exec_domain() should remedy this behavior:

Actually I think that problem was already fixed. However, this looks
like it fixes another problem I've seen though where personality doesn't
return EINVAL if you pass it a bad personality. Right fix, wrong bug :)

Thanks,
Paul Larson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/