Re: sysctl

From: Cal Peake
Date: Wed Oct 18 2006 - 14:52:44 EST


On Wed, 18 Oct 2006, Linus Torvalds wrote:

> There's apparently some library functions that has used it in the past,
> and I've seen a few effects of that:
>
> warning: process `wish' used the removed sysctl system call
>
> but the users all had fallback positions, so I don't think anything
> actually broke.

Agreed, nothing seems to have broken by removing it but the warnings sure
are ugly. Is there any reason to have them? If a program relies on sysctl
and the call fails the program should properly handle the error. That
should be all the warning that's needed (i.e. report the broken program
and get it fixed).

> (The situation may be different with older libraries, which is why it's
> still an option to compile in sysctl. None of the machines I had access
> to cared at all, though).

So leave it as is for now, default to off with option to compile in if
EMBEDDED and then remove it completely in a few months?

- C.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/