lkml.org 
[lkml]   [2013]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] kexec: add sysctl to disable kexec
On Tue, Dec 10, 2013 at 10:54:00AM -0800, H. Peter Anvin wrote:
> On 12/10/2013 10:33 AM, Vivek Goyal wrote:
> > On Tue, Dec 10, 2013 at 08:32:38AM -0800, H. Peter Anvin wrote:
> >> Of course it isn't.
> >
> > I am not sure what are you trying to say. This is too brief.
> >
> > Thanks
> > Vivek
> >
>
> Of course it is not sufficient. Once you can get arbitrary code into
> kernel space (CPL 0) you can do anything, and "disabling jump back" is
> just a speed bump.

Agreed that disabling jump back is only a speed bump.

Kees, so how would be use this knob?

- If I put it in some init script, then root will permission to modify
and remove it.

- Can one specify sysctl parameters on command line? If yes, then one
can disable this using kernel command line and in that case kdump will
be disabled too.

Thanks
Vivek


\
 
 \ /
  Last update: 2013-12-10 20:41    [W:0.042 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site