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

From: Pavel Machek
Date: Fri Mar 04 2011 - 17:42:34 EST



> > If one may change kernel memory via swap then it is another problem with
> > modules_disabled.
>
> If you want an interface to disable _any_ kind of writes into the kernel
> memory by any means, then please add it and don't call it modules_disabled,
> because it's a hell of a confusing name and no amount of documentation
> can help that.

...and that interface should be CAP_SYS_something, I'd say...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/