[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1199293771.3716.21.camel@localhost.localdomain>
Date: Wed, 02 Jan 2008 12:09:31 -0500
From: Eric Paris <eparis@...hat.com>
To: Jan Engelhardt <jengelh@...putergmbh.de>
Cc: Greg KH <greg@...ah.com>, Willy Tarreau <w@....eu>,
linux-kernel@...r.kernel.org, jmorris@...ei.org, alan@...hat.com,
chrisw@...hat.com, akpm@...ux-foundation.org,
linux-security-module@...r.kernel.org, solar@...nwall.com,
wtarreau@...a.kernel.org
Subject: Re: [PATCH] Allow Kconfig to set default mmap_min_addr protection
On Fri, 2007-12-21 at 23:59 +0100, Jan Engelhardt wrote:
> On Dec 21 2007 14:35, Greg KH wrote:
> >> >> >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...
> >
> Argh... :) Just shows that /proc is the wrong place for system variables.
>
> Well, module_params(integer) are autobase, and that's all I needed so
> far :-D
So in the end we are all happy with the original patch I sent?
-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists