From: Chris Wright <chrisw@osdl.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Chris Wright <chrisw@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] error out on execve with no binfmts
Date: Wed, 27 Oct 2004 21:29:03 -0700 [thread overview]
Message-ID: <20041027212903.N2357@build.pdx.osdl.net> (raw)
In-Reply-To: <20041027185617.3b44eb6a.akpm@osdl.org>; from akpm@osdl.org on Wed, Oct 27, 2004 at 06:56:17PM -0700
* Andrew Morton (akpm@osdl.org) wrote:
> Chris Wright <chrisw@osdl.org> 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?
kobject_add()->kobject_hotplug() stuff during driver_init(), like platform bus
initialization, etc.
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
prev parent reply other threads:[~2004-10-28 4:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-28 1:43 [PATCH] error out on execve with no binfmts Chris Wright
2004-10-28 1:56 ` Andrew Morton
2004-10-28 4:29 ` Chris Wright [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041027212903.N2357@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox