From 744e829637162bb7d5029632aacf341c64b86990 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 12 Jun 2019 14:32:08 +0200 Subject: Linux: Deprecate and sysctl Now that there are no internal users of __sysctl left, it is possible to add an unconditional deprecation warning to . To avoid a test failure due this warning in check-install-headers, skip the test for sys/sysctl.h. Reviewed-by: Adhemerval Zanella --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b2aa19a58d..865fcec63d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2019-06-12 Florian Weimer + + Linux: Deprecate sysctl. + * include/sysctl.h (__sysctl): Remove declaration. + * scripts/check-installed-headers.sh (sys/sysctl.h): Disable + check. + * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning. + (sysctl): Add deprecation attribute. + * sysdeps/unix/sysv/linux/sysctl.c: Include + directly, to avoid the deprecation warning. Do not include + . + (__sysctl): Remove hidden alias. + 2019-06-12 Florian Weimer Linux: Use kernel headers for statx definitions if available. -- cgit 1.4.1