Re: [PATCH] error out on execve with no binfmts

From: Andrew Morton
Date: Wed Oct 27 2004 - 21:01:41 EST


Chris Wright <chrisw@xxxxxxxx> wrote:
>
> Early calls to userspace can invoke an execve() before any binfmt handlers
> are registered. Properly return an error in this case rather than 0.
> On at least one arch (x86_64) without this patch, the system will double
> fault on early attempts to call_usermodehelper. Suggestions on a better
> error?

These handlers are installed at core_initcall() time. Who is calling out
to userspace so early?

-
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/