Re: [PATCH] Undeprecate the sysctl system call

Alan Cox
2006-10-18T12:13:50Z

Ar Mer, 2006-10-18 am 13:33 +0200, ysgrifennodd Andi Kleen:
> You call that numerical name space neat? IMHO it was a totally bogus
> idea. There is already a perfectly fine file system name space, why
> add another one?

The sysctl number space came first and when it appeared it was neat

> Anyways, imho the right solution is to remove the numerical
> sysctl infrastructure (including most of sysctl.h), but keep
> sys_sysctl() with a small mapping table that maps the few
> numerical sysctls (mostly KERN_VERSION) that are actually used to
> path names internally. The rest should be ENOSYS.

More work for less compatibility, that doesn't sound very clever.

Alan