[PATCH v3] Linux: Remove <sys/sysctl.h> and the sysctl function
Florian Weimer
fw@deneb.enyo.de
Wed Apr 15 15:15:03 GMT 2020
* Andreas Schwab:
> On Apr 15 2020, Florian Weimer wrote:
>
>> Changes to v2: Reworded commit message (git describe says
>> v5.4-rc1-1-g61a47c1ad3a4 for the commit hash, but it's really 5.5.)
>
> That's because it's the first commit after v5.4-rc1.
Yes, but there was a v5.4-rc2 too. It's a reflection of the heavily
parallel development reflected in the history, I guess.
>> diff --git a/NEWS b/NEWS
>> index 3cf738adfb..1449391664 100644
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -16,7 +16,10 @@ Major new features:
>>
>> Deprecated and removed features, and other changes affecting compatibility:
>>
>> - [Add deprecations, removals and changes affecting compatibility here]
>> +* The deprecated <sys/sysctl.h> header and the sysctl function have been
>> + removed. For compatibility with old binaries, the sysctl function
>> + continues to exist (on thos architectures which had it), but always
> +e
>> + fails with ENOSYS.
>
> I think that should say "as a compatiblity symbol", since you cannot
> relink it (so the function doesn't really exist any more).
Thanks.
What about this?
* The deprecated <sys/sysctl.h> header and the sysctl function have been
removed. To support old binaries, the sysctl function continues to
exist as a compatibility symbol (on those architectures which had it),
but always fails with ENOSYS. This reflects the removal of the system
call from all architectures, starting with Linux 5.5.
More information about the Libc-alpha
mailing list