Messages in this thread | | | Date | Fri, 21 Dec 2007 23:04:19 +0100 (CET) | From | Jan Engelhardt <> | Subject | Re: [PATCH] Allow Kconfig to set default mmap_min_addr protection |
| |
On Dec 21 2007 22:16, Willy Tarreau wrote: >Hi Jan, > >> >> >+config SECURITY_DEFAULT_MMAP_MIN_ADDR >> >> >+ int "Low address space to protect from user allocation" >> >> >> >> Hm, should not this be 'hex'? >> > >> >I guess it could be, but the input for /proc/sys/vm/mmap_min_addr is >> >base 10 as well >> >> sysfs is autobase, i.e. echo "0xb000" >/sys/foo will Do The Right Thing. > >yes but if you cat /proc/sys/vm/mmap_min_addr, it returns in base 10.
sysfs should probably be tuned to output it in a preferred base.
| |