[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110304224225.GA23936@elf.ucw.cz>
Date: Fri, 4 Mar 2011 23:42:25 +0100
From: Pavel Machek <pavel@....cz>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Vasiliy Kulikov <segoon@...nwall.com>,
linux-kernel@...r.kernel.org, security@...nel.org,
Len Brown <len.brown@...el.com>,
linux-pm@...ts.linux-foundation.org
Subject: Re: [PATCH] power: disable hibernation if module loading is
disabled
> > 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists