Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477953

Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist information

From Anshuman Khandual <khandual@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist information
Date 2016-09-07 06:10 +0200
Message-ID <seClr-39J-3@gated-at.bofh.it> (permalink)
References <sehh0-64g-23@gated-at.bofh.it> <sek5c-7Zs-13@gated-at.bofh.it> <sevjY-6Pj-39@gated-at.bofh.it> <seBpn-2Ay-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/07/2016 08:38 AM, Kees Cook wrote:
> On Tue, Sep 6, 2016 at 1:36 PM, Dave Hansen <dave.hansen@intel.com> wrote:
>> On 09/06/2016 01:31 AM, Anshuman Khandual wrote:
>>> [NODE (0)]
>>>         ZONELIST_FALLBACK
>>>         (0) (node 0) (zone DMA c00000000140c000)
>>>         (1) (node 1) (zone DMA c000000100000000)
>>>         (2) (node 2) (zone DMA c000000200000000)
>>>         (3) (node 3) (zone DMA c000000300000000)
>>>         ZONELIST_NOFALLBACK
>>>         (0) (node 0) (zone DMA c00000000140c000)
>>
>> Don't we have some prohibition on dumping out kernel addresses like this
>> so that attackers can't trivially defeat kernel layout randomization?
> 
> Anything printing memory addresses should be using %pK (not %lx as done here).

Learned about the significance of %pK coupled with kptr_restrict
interface. Will change this. Thanks for pointing out.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V2 1/2] mm: Export definition of 'zone_names' array through mmzone.h Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-09-06 07:40 +0200
  [PATCH V2 2/2] mm: Add sysfs interface to dump each node's zonelist information Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-09-06 07:40 +0200
    Re: [PATCH V2 2/2] mm: Add sysfs interface to dump each node's  zonelist information kbuild test robot <lkp@intel.com> - 2016-09-06 08:20 +0200
      Re: [PATCH V2 2/2] mm: Add sysfs interface to dump each node's zonelist  information Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-09-06 08:50 +0200
    [PATCH V3] mm: Add sysfs interface to dump each node's zonelist information Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-09-06 10:40 +0200
      Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist  information kbuild test robot <lkp@intel.com> - 2016-09-06 11:10 +0200
        Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist  information Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-09-07 14:40 +0200
      Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist  information Dave Hansen <dave.hansen@intel.com> - 2016-09-06 22:40 +0200
        Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist information Kees Cook <keescook@chromium.org> - 2016-09-07 05:10 +0200
          Re: [PATCH V3] mm: Add sysfs interface to dump each node's zonelist  information Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-09-07 06:10 +0200
      [PATCH V4] mm: Add sysfs interface to dump each node's zonelist information Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2016-09-08 04:50 +0200
        Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist  information kbuild test robot <lkp@intel.com> - 2016-09-08 09:50 +0200
        Re: [PATCH V4] mm: Add sysfs interface to dump each node's zonelist  information Dave Hansen <dave.hansen@intel.com> - 2016-09-08 22:30 +0200

csiph-web