lkml.org 
[lkml]   [2007]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Allow Kconfig to set default mmap_min_addr protection
On Fri, Dec 21, 2007 at 11:04:19PM +0100, Jan Engelhardt wrote:
>
> 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.

Again, this is sysctl, not sysfs. two very different things...


\
 
 \ /
  Last update: 2007-12-21 23:39    [W:0.507 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site