linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kexec loading fails without kernel code address in /proc/iomem
@ 2016-04-14 12:03 Dave Young
  0 siblings, 0 replies; only message in thread
From: Dave Young @ 2016-04-14 12:03 UTC (permalink / raw)
  To: torvalds; +Cc: kexec, linux-kernel, zhezhang, ebiederm, vgoyal

Hi, Linus

Zhengyu Zhang <zhezhang@redhat.com> found a kexec failure caused by below commit:

commit c4004b02f8e5b9ce357a0bb1641756cc86962664
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Apr 6 13:45:07 2016 -0700

    x86: remove the kernel code/data/bss resources from /proc/iomem
    
    Let's see if anybody even notices.  I doubt anybody uses this, and it
    does expose addresses that should be randomized, so let's just remove
    the code.  It's old and traditional, and it used to be cute, but we
    should have removed this long ago.
    
    If it turns out anybody notices and this breaks something, we'll have to
    revert this, and maybe we'll end up using other approaches instead
    (using %pK or similar).  But removing unnecessary code is always the
    preferred option.
    
    Noted-by: Emrah Demir <ed@abdsec.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>


Probably we should revert the commit and do it in other way ..

Thanks
Dave

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-14 12:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-14 12:03 kexec loading fails without kernel code address in /proc/iomem Dave Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).