[PATCH] Linux: Remove <sys/sysctl.h> and the sysctl function

Vineet Gupta vineetg76@gmail.com
Thu Mar 12 03:49:35 GMT 2020


On 3/11/20 1:19 PM, Zack Weinberg wrote:
> So I withdraw my objections to your original patch.  We can always put
> sys/sysctl.h back in the future if someone does the work to write the
> emulation.

My 2 cents. Can we _not_ remove the header per-se. This can certainly cause
arbitrary packages to build time fail (vs. runtime failure from sysctl returning
-1 or some such). Propagation of such fixes in build systems it may take a while.
Consider my personal woe with stime removal in context of Buildroot/busybox.
Despite them fixed in busybox not all moving parts are aligned still and we have
to carry such patches locally to be able to even build glibc 2.31+ there.

ofcourse I'm ignorant to how such things work in glibc in general and in case of
kernel such breakages (of userspace) is considered absolute evil.

Thx,
-Vineet


More information about the Libc-alpha mailing list