[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45AD02FF.605@zytor.com>
Date: Tue, 16 Jan 2007 08:53:19 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
CC: Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org,
Linux Containers <containers@...ts.osdl.org>,
netdev@...r.kernel.org, xfs-masters@....sgi.com, xfs@....sgi.com,
linux-scsi@...r.kernel.org, James.Bottomley@...elEye.com,
minyard@....org, openipmi-developer@...ts.sourceforge.net,
tony.luck@...el.com, linux-mips@...ux-mips.org,
ralf@...ux-mips.org, schwidefsky@...ibm.com,
heiko.carstens@...ibm.com, linux390@...ibm.com,
linux-390@...marist.edu, paulus@...ba.org, linuxppc-dev@...abs.org,
lethal@...ux-sh.org, linuxsh-shmedia-dev@...ts.sourceforge.net,
ak@...e.de, vojtech@...e.cz, clemens@...isch.de,
a.zummo@...ertech.it, rtc-linux@...glegroups.com,
linux-parport@...ts.infradead.org, andrea@...e.de,
tim@...erelk.net, philb@....org, aharkes@...cmu.edu,
coda@...cmu.edu, codalist@...EMANN.coda.cs.cmu.edu,
aia21@...tab.net, linux-ntfs-dev@...ts.sourceforge.net,
mark.fasheh@...cle.com, kurt.hackel@...cle.com
Subject: Re: [PATCH 0/59] Cleanup sysctl
Eric W. Biederman wrote:
>
> - Removal of sys_sysctl support where people had used conflicting sysctl
> numbers. Trying to break glibc or other applications by changing the
> ABI is not cool. 9 instances of this in the kernel seems a little
> extreme.
>
It would be highly advantageous if we could have a file that acts as a
central registry of architectural sysctl numbers *and have the numbers
in the kernel derived from there*. As I've said before, I don't really
think sys_sysctl is any worse than ad hoc system calls (sys_mips and the
like), but the real problem is that there are architectural and
non-archtectural numbers, and they're mixed in all over the place.
I think it would be fair to say that if they're not in <linux/sysctl.h>
they're not architectural, but that doesn't resolve the counterpositive
(are there sysctls in <linux/sysctl.h> which aren't architectural? From
the looks of it, I would say yes.) Non-architectural sysctl numbers
should not be exported to userspace, and should eventually be rejected
by sys_sysctl.
-hpa
-
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