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


Groups > linux.kernel > #1262540

Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR.

From Daniel Cashman <dcashman@android.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR.
Date 2015-11-04 20:40 +0100
Message-ID <qrc4y-4EN-7@gated-at.bofh.it> (permalink)
References <qqOlA-6kC-27@gated-at.bofh.it> <qr2RA-78t-9@gated-at.bofh.it> <qrc4x-4EN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/4/15 11:21 AM, Eric W. Biederman wrote:
> Michal Hocko <mhocko@kernel.org> writes:
> 
>> On Tue 03-11-15 10:10:03, Daniel Cashman wrote:
>> [...]
>>> +This value can be changed after boot using the
>>> +/proc/sys/kernel/mmap_rnd_bits tunable
>>
>> Why is this not sitting in /proc/sys/vm/ where we already have
>> mmap_min_addr. These two sound like they should sit together, no?
> 
> Ugh.  Yes.  Moving that file before it becomes part of the ABI sounds
> like a good idea.  Daniel when you get around to v3 please move the
> file.

To answer the first question: it was put there because that's where
randomize_va_space is located, which seemed to me to be the
most-related/similar option.  That being said, moving it under vm works
too.  Will change for patch-set 3.

Thank You,
Dan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR. Daniel Cashman <dcashman@android.com> - 2015-11-03 19:20 +0100
  [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Daniel Cashman <dcashman@android.com> - 2015-11-03 19:20 +0100
    Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Kees Cook <keescook@chromium.org> - 2015-11-03 20:30 +0100
      Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-03 23:40 +0100
        Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Kees Cook <keescook@chromium.org> - 2015-11-04 00:20 +0100
          Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Daniel Cashman <dcashman@android.com> - 2015-11-04 19:30 +0100
      Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Daniel Cashman <dcashman@android.com> - 2015-11-04 00:20 +0100
        Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Kees Cook <keescook@chromium.org> - 2015-11-04 00:30 +0100
          Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Daniel Cashman <dcashman@android.com> - 2015-11-04 19:40 +0100
            Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Daniel Cashman <dcashman@android.com> - 2015-11-05 19:50 +0100
              Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Kees Cook <keescook@chromium.org> - 2015-11-06 22:00 +0100
                Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Michael Ellerman <mpe@ellerman.id.au> - 2015-11-09 04:50 +0100
                Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Daniel Cashman <dcashman@android.com> - 2015-11-09 20:00 +0100
                Re: [PATCH v2 2/2] arm: mm: support ARCH_MMAP_RND_BITS. Kees Cook <keescook@chromium.org> - 2015-11-09 22:30 +0100
  Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR. Kees Cook <keescook@chromium.org> - 2015-11-03 20:20 +0100
  Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base  ASLR. Andrew Morton <akpm@linux-foundation.org> - 2015-11-04 01:10 +0100
    Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR. ebiederm@xmission.com (Eric W. Biederman) - 2015-11-04 01:50 +0100
      Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base  ASLR. Andrew Morton <akpm@linux-foundation.org> - 2015-11-04 02:30 +0100
        Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base  ASLR. Daniel Cashman <dcashman@android.com> - 2015-11-04 20:40 +0100
          Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base  ASLR. Andrew Morton <akpm@linux-foundation.org> - 2015-11-04 23:10 +0100
          Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR. ebiederm@xmission.com (Eric W. Biederman) - 2015-11-04 23:30 +0100
            Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR. Kees Cook <keescook@chromium.org> - 2015-11-04 23:40 +0100
  Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base  ASLR. Michal Hocko <mhocko@kernel.org> - 2015-11-04 10:50 +0100
    Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR. ebiederm@xmission.com (Eric W. Biederman) - 2015-11-04 20:40 +0100
      Re: [PATCH v2 1/2] mm: mmap: Add new /proc tunable for mmap_base  ASLR. Daniel Cashman <dcashman@android.com> - 2015-11-04 20:40 +0100

csiph-web