From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjtI1-0002TA-9Z for kexec@lists.infradead.org; Fri, 22 Nov 2013 16:09:06 +0000 Date: Fri, 22 Nov 2013 11:08:37 -0500 From: Vivek Goyal Subject: Re: [PATCH 0/6] kexec: A new system call to allow in kernel loading Message-ID: <20131122160837.GJ4046@redhat.com> References: <1384969851-7251-1-git-send-email-vgoyal@redhat.com> <8761rl73s7.fsf@xmission.com> <20131122015518.GA31921@redhat.com> <20131122134317.GA4046@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Jiri Kosina Cc: Matthew Garrett , Greg Kroah-Hartman , kexec@lists.infradead.org, "linux-kernel@vger.kernel.org" , Geert Uytterhoeven , "Eric W. Biederman" , "H. Peter Anvin" , Eric Paris On Fri, Nov 22, 2013 at 05:04:04PM +0100, Jiri Kosina wrote: > On Fri, 22 Nov 2013, Eric Paris wrote: > > > Consider a cloud provider who gives their customer a machine where > > they, the cloud provider, is specifying the kernel and initrd. This > > is a real thing that people do today. Root on the machine has ZERO > > control over the kernel, bootloader, and initrd. Check it out, > > qemu/kvm can do this. But, there is no way to disable kexec if the > > distro configures it in (well, there is in RHEL at least). > > If that root can load LKMs, access /dev/mem, or whatever else, there is > not really a point disabling kexec anyway, is the same thing can be > implemented (although with more hassle, of course) through these channels > as well. I am assuming that in above scenario, kernel will run in locked down mode (something what matthew implemented for secureboot). Where /dev/mem write access will be disabled and only signed modules will be loaded. Thanks Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec