OpenVZ Forum


Home » Mailing lists » Devel » Re: [PATCH 0/59] Cleanup sysctl
Re: [PATCH 0/59] Cleanup sysctl [message #17146] Tue, 16 January 2007 16:53 Go to previous message
hpa is currently offline  hpa
Messages: 38
Registered: January 2007
Member
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
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: [PATCH] Fix NULL ->nsproxy dereference in /proc/*/mounts
Next Topic: [PATCHSET] 2.6.20-rc4-mm1-lxc2
Goto Forum:
  


Current Time: Tue Sep 09 08:18:18 GMT 2025

Total time taken to generate the page: 0.12498 seconds