Re: [PATCH 2/2] sysctl: remove sysctl syscall
From: Cong Wang
Date: Wed Oct 20 2010 - 01:37:22 EST
On 10/19/10 23:05, Andi Kleen wrote:
On 10/19/2010 4:10 PM, Andreas Schwab wrote:
On 10/19/2010 10:22 AM, Amerigo Wang wrote:
Remove the obsolete sysctl syscall. It was scheduled
to be removed in Sept.
I thought at least older glibc was still using it? Did anyone check
what happens if it sees no sysctl(2)?
It will fall back reading from /proc/sys.
First that's slow (but ok), but that will fail if there is no /proc.
I strongly doubt glibc will work if there is no /proc,
a quick grep shows lots of "/proc" strings in glibc code.
--
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/