[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87vbyvxojs.fsf@xmission.com>
Date: Wed, 11 Dec 2013 09:52:55 -0800
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Kees Cook <keescook@...omium.org>
Cc: linux-kernel@...r.kernel.org, Rik van Riel <riel@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Matthew Garrett <matthew.garrett@...ula.com>,
Vivek Goyal <vgoyal@...hat.com>, Rob Landley <rob@...dley.net>,
Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Mel Gorman <mgorman@...e.de>, linux-doc@...r.kernel.org,
kexec@...ts.infradead.org
Subject: Re: [PATCH v2] kexec: add sysctl to disable kexec
Kees Cook <keescook@...omium.org> writes:
> For general-purpose (i.e. distro) kernel builds it makes sense to build with
> CONFIG_KEXEC to allow end users to choose what kind of things they want to do
> with kexec. However, in the face of trying to lock down a system with such
> a kernel, there needs to be a way to disable kexec (much like module loading
> can be disabled). Without this, it is too easy for the root user to modify
> kernel memory even when CONFIG_STRICT_DEVMEM and modules_disabled are
> set.
So let me get this straight. You object to what happens in sys_reboot
so you patch sys_kexec_load?
You give someone the privilege to boot whatever they want and yet you
don't want to support them booting whatever they want?
I'm sorry my brain is hurting trying to understand the logic of this
patch.
Eric
--
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