lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <58201A93.70309@huawei.com>
Date:   Mon, 7 Nov 2016 14:09:23 +0800
From:   "Chenjie (K)" <chenjie6@...wei.com>
To:     <catalin.marinas@....com>, <will.deacon@....com>
CC:     <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
        <panxuesong@...wei.com>, <caojiayin@...wei.com>
Subject: arm: why set MIN_GAP to 128M size

Hi everyone
     arm:

/* gap between mmap and stack */
#define MIN_GAP (128*1024*1024UL)

The min_gap is 128M,
in the mmap_base function
unsigned long gap = rlimit(RLIMIT_STACK);

     if (gap < MIN_GAP)
         gap = MIN_GAP;
     else if (gap > MAX_GAP)
         gap = MAX_GAP;

I can not use the "128-stack_size"(M)

can i modify it to 64M?


Thanks,
jie chen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ