lkml.org 
[lkml]   [2006]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Undeprecate the sysctl system call
From
Date
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:
>
> Its very simple: sysctl was a neat BSD syscall that turned out to be
> less ideal than using the fs for it. We added it, we supported it, we
> get to keep it. We just stick notes in the docs saying "please use /proc
> instead".

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?

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.

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

\
 
 \ /
  Last update: 2006-10-18 13:37    [W:0.087 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site