Messages in this thread | | | Date | Fri, 27 May 2011 15:38:04 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC][PATCH] Randomize kernel base address on boot |
| |
* Vivek Goyal <vgoyal@redhat.com> wrote:
> On Fri, May 27, 2011 at 11:38:53AM +0200, Ingo Molnar wrote: > > > > * Vivek Goyal <vgoyal@redhat.com> wrote: > > > > > > Is it common to run kexec-tools as non-root? It may be necessary > > > > to restrict this interface to root when randomization is used > > > > (keep in mind nobody's going to force you to turn this on by > > > > default, at least for the foreseeable future). > > > > > > kexec-tools runs as root. And I see that /proc/iomem permissions > > > are also for root only. So it probably is a non-issue. > > > > it might be an issue to keep in mind for later projects that try to > > lock down root itself from being able to patch the kernel (other than > > rebooting the box), using signed modules, disabled direct-ioport > > access, and other hardened facilities. > > For such environments, Eric Paris had posted a patch to be able to > disable loading of kexec/kdump kernel, similar to disabling module > loading. > > https://lkml.org/lkml/2011/1/19/412 > > I don't see that in Linus's tree. So looks like it never got > committed.
That patch looks sane enough. Ping akpm about it please?
Thanks,
Ingo
| |