User: Password:
|
|
Subscribe / Log in / New account

Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space visible fashion.

From:  Andrew Morton <akpm-AT-linux-foundation.org>
To:  Christoph Hellwig <hch-AT-infradead.org>
Subject:  Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space visible fashion.
Date:  Tue, 28 Aug 2007 21:49:00 -0700
Message-ID:  <20070828214900.5d4b47ad.akpm@linux-foundation.org>
Cc:  "Eric W. Biederman" <ebiederm-AT-xmission.com>, linux-kernel-AT-vger.kernel.org

On Wed, 29 Aug 2007 00:04:59 +0100 Christoph Hellwig <hch@infradead.org> wrote:

> On Tue, Aug 28, 2007 at 04:40:15PM -0600, Eric W. Biederman wrote:
> > +When:	September 2010
> > +Option: CONFIG_SYSCTL_SYSCALL
> > +Why:	The same information is available in a more convenient from
> > +	/proc/sys, and none of the sysctl variables appear to be
> > +	important performance wise.
> > +
> > +	Binary sysctls are a long standing source of subtle kernel
> > +	bugs and security issues.
> > +
> > +	When I looked several months ago all I could find after
> > +	searching several distributions were 5 user space programs and
> > +	glibc (which falls back to /proc/sys) using this syscall.
> 
> Umm, no way we're ever going to remove a syscall like this.  Please
> stop this deprecration crap.  Just make sure no ones adds more binary
> sysctls.

I think it's worth a try.  It might take two, three or five years, who
knows?  If it turns out to be impractical then we we can just change our
minds later, no big loss.  It's just too early to say right now.


-
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/


(Log in to post comments)


Copyright © 2007, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds