aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2018-02-07 15:45:58 -0500
committerFangrui Song <i@maskray.me>2021-08-27 17:26:00 -0700
commitb930ad424b81a11296a87ff068ef92dfb6118901 (patch)
treeeaa5897b0d6db0c42f5079d1eeb29fefe614f235 /NEWS
parentc4c787ff1b1f33defe1da576fa3f83321e5c1555 (diff)
downloadglibc-b930ad424b81a11296a87ff068ef92dfb6118901.zip
glibc-b930ad424b81a11296a87ff068ef92dfb6118901.tar.gz
glibc-b930ad424b81a11296a87ff068ef92dfb6118901.tar.bz2
[BZ #19239] Don't include sys/sysmacros.h from sys/types.h.
This completes the deprecation and removal of this inclusion, which was begun in the 2.25 release. * posix/sys/types.h: Don't include sys/sysmacros.h. * misc/sys/sysmacros.h: Remove the conditional deprecation warnings for the macros defined by this header.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS13
1 files changed, 13 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2c58d07..4be0b98 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,19 @@ Major new features:
Czech languages. The Catalan and Greek languages now support abbreviated
alternative month names.
+Deprecated and removed features, and other changes affecting compatibility:
+
+ * The macros 'major', 'minor', and 'makedev' are now only available from
+ the header <sys/sysmacros.h>; not from <sys/types.h> or various other
+ headers that happen to include <sys/types.h>. These macros are rarely
+ used, not part of POSIX nor XSI, and their names frequently collide with
+ user code; see https://sourceware.org/bugzilla/show_bug.cgi?id=19239 for
+ further explanation.
+
+ <sys/sysmacros.h> is a GNU extension. Portable programs that require
+ these macros should first include <sys/types.h>, and then include
+ <sys/sysmacros.h> if __GNU_LIBRARY__ is defined.
+
Security related changes:
CVE-2017-18269: An SSE2-based memmove implementation for the i386