Re: [PATCH] power: disable hibernation if module loading isdisabled

From: Vasiliy Kulikov
Date: Fri Mar 04 2011 - 16:52:30 EST


On Fri, Mar 04, 2011 at 21:32 +0100, Pavel Machek wrote:
> > + if (modules_disabled)
> > + return -EPERM;
> > +
> > error = platform_begin(platform_mode);
>
> Hmm. How is this supposed to work with CONFIG_MODULES off?

Good catch, thank you. I'll fix this.

--
Vasiliy Kulikov
http://www.openwall.com - bringing security into open computing environments
--
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/