lkml.org 
[lkml]   [2006]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2] Undeprecate the sysctl system call
On Wed, 18 Oct 2006 17:41:01 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> Ar Mer, 2006-10-18 am 12:20 -0400, ysgrifennodd Cal Peake:
> > Until something better comes along this'll get us back to the status quo.
> >
> > @Andrew, this patch is a replacement for the one from yesterday.
> >
> > From: Cal Peake <cp@absolutedigital.net>
> >
> > Undeprecate the sysctl system call and default to always include it with
> > the option for embedded folks to exclude it. Also, remove it's entry from
> > the feature removal file and fixup the comment in it's header file.
> >
> > Signed-off-by: Cal Peake <cp@absolutedigital.net>
>
> Acked-by: Alan Cox <alan@redhat.com>
>
> Maybe also add "Do not add new entries to these tables" to address
> Andi's concern about people updating them.

I agree that those tables in sysctl.h are a right royal pita to maintain.
And there sure is a lot of gunk in there which it would be nice to scrap.

So Andi's plan sounds reasonable to me - it'd only take a few lines to
implement sysctl(CTL_KERN/KERN_VERSION) as a back-compat thing (and it'll
be faster!). And we add a printk so we find out which other sysctls (if
any) are being used in the wild.

?

-
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 21:33    [W:0.039 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site