Re: 2.6.10-rc1-mm2: `key_init' multiple definition

From: Andrew Morton
Date: Fri Oct 29 2004 - 15:38:10 EST


Chris Wright <chrisw@xxxxxxxx> wrote:
>
> * Adrian Bunk (bunk@xxxxxxxxx) wrote:
> > On Fri, Oct 29, 2004 at 01:49:30AM -0700, Andrew Morton wrote:
> > >...
> > > Changes since 2.6.10-rc1-mm1:
> > >...
> > > +key_init-ordering-fix.patch
>
> I don't think this is needed. The fix in Linus's tree should be
> sufficient, which was simply:
>
> -subsys_initcall(key_init);
> +security_initcall(key_init);

Problem is with CONFIG_SECURITY=n, CONFIG_KEYS=y. security_init() is a
no-op and we go oops during the first usermodehelper call under
driver_init().

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