Messages in this thread |  | | | Date | Wed, 27 Oct 2004 21:29:03 -0700 | | From | Chris Wright <> | | Subject | Re: [PATCH] error out on execve with no binfmts |
| |
* 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 - 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/
|  |