Go to file
Carlos O'Donell 2ec0e7eade Revert Intel CET changes to __jmp_buf_tag (Bug 22743)
In commit cba595c350 and commit
f81ddabffd, ABI compatibility with
applications was broken by increasing the size of the on-stack
allocated __pthread_unwind_buf_t beyond the oringal size.
Applications only have the origianl space available for
__pthread_unwind_register, and __pthread_unwind_next to use,
any increase in the size of __pthread_unwind_buf_t causes these
functions to write beyond the original structure into other
on-stack variables leading to segmentation faults in common
applications like vlc. The only workaround is to version those
functions which operate on the old sized objects, but this must
happen in glibc 2.28.

Thank you to Andrew Senkevich, H.J. Lu, and Aurelien Jarno, for
submitting reports and tracking the issue down.

The commit reverts the above mentioned commits and testing on
x86_64 shows that the ABI compatibility is restored. A tst-cleanup1
regression test linked with an older glibc now passes when run
with the newly built glibc. Previously a tst-cleanup1 linked with
an older glibc would segfault when run with an affected glibc build.

Tested on x86_64 with no regressions.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2018-01-25 23:43:46 -08:00
ChangeLog.old Add missing reference to bug 21654 2017-10-07 13:14:36 +02:00
argp Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
assert Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
benchtests Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
bits Revert Intel CET changes to __jmp_buf_tag (Bug 22743) 2018-01-25 23:43:46 -08:00
catgets Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
conform Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
crypt Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
csu Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
ctype Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
debug Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
dirent Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dlfcn Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
elf Add support for the RISC-V-specific ELF flags 2018-01-25 10:06:19 -08:00
gmon Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gnulib Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
grp Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gshadow Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hesiod Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hurd hurd: Implement faccessat without AT_EACCESS flag 2018-01-10 02:03:28 +01:00
iconv Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
iconvdata Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
include hurd: Implement faccessat without AT_EACCESS flag 2018-01-10 02:03:28 +01:00
inet Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
intl Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
io linux: make getcwd(3) fail if it cannot obtain an absolute path [BZ #22679] 2018-01-12 14:49:49 +00:00
libidn Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
libio Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
locale Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
localedata uk_UA: Add alternative month names (bug 10871). 2018-01-25 14:01:43 +01:00
login Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
mach Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
malloc Fix integer overflows in internal memalign and malloc functions [BZ #22343] 2018-01-18 17:55:45 +01:00
manual manual: Fix spelling of "Auxiliary." 2018-01-23 11:40:44 -08:00
math Improve math_errhandling 2018-01-03 13:14:10 +00:00
mathvec Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
misc misc/tst-pselect.c: Add copyright header 2018-01-02 22:07:59 +01:00
nis libnsl: Do not install libnsl.so, libnsl.a if NIS is disabled [BZ #22701] 2018-01-12 08:42:56 +01:00
nptl Revert Intel CET changes to __jmp_buf_tag (Bug 22743) 2018-01-25 23:43:46 -08:00
nptl_db Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
nss Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
po Update translations from the Translation Project 2018-01-17 22:00:50 +00:00
posix hurd: Fix posix glob test 2018-01-06 22:19:13 +01:00
pwd Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
resolv resolv: Support binary labels in test framework 2018-01-08 20:07:24 +01:00
resource resource/tst-getrlimit.c: Add copyright header 2018-01-05 20:34:10 +01:00
rt Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
scripts hurd build-many-glibcs.py: use hurd mainline for now 2018-01-26 02:35:10 +01:00
setjmp Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
shadow Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
signal Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
socket Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
soft-fp Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
stdio-common Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
stdlib i386: In makecontext, align the stack before calling exit [BZ #22667] 2018-01-04 18:47:35 +01:00
streams Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
string Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sunrpc Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
support support: Preserve errno in write_message, TEST_VERIFY and other checks 2018-01-12 13:35:01 +01:00
sysdeps Revert Intel CET changes to __jmp_buf_tag (Bug 22743) 2018-01-25 23:43:46 -08:00
sysvipc Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
termios Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
time pl_PL: Add alternative month names (bug 10871). 2018-01-22 11:27:09 +01:00
timezone Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wcsmbs Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wctype Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
.gitattributes Assume __NR_openat is always defined 2016-03-23 23:35:08 +01:00
.gitignore Add *.pyc to .gitignore 2015-05-18 15:26:26 +05:30
COPYING Update to latest versions of GPL-2.0 and LGPL-2.1 2013-09-09 12:52:48 +10:00
COPYING.LIB Update to latest versions of GPL-2.0 and LGPL-2.1 2013-09-09 12:52:48 +10:00
ChangeLog Revert Intel CET changes to __jmp_buf_tag (Bug 22743) 2018-01-25 23:43:46 -08:00
INSTALL Document that --enable-static-pie implies PIE 2017-12-19 13:51:16 -08:00
LICENSES
MAINTAINERS Add MAINTAINERS 2017-05-11 13:38:30 -04:00
Makeconfig Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile.in New make target to only build benchmark binaries 2016-04-20 10:23:28 +05:30
Makerules Allow make-link-multidir to make subdirectories 2018-01-06 23:35:46 -08:00
NEWS NEWS: Fix spelling mistake: "%ob" -> "%Ob". 2018-01-23 22:52:39 +01:00
README Remove tilepro-*-linux-gnu support 2017-12-20 16:55:24 -02:00
Rules Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
abi-tags Remove the bulk of the NaCl port. 2017-05-20 08:09:10 -04:00
aclocal.m4 LIBC_SLIBDIR_RTLDDIR: substitute arguments in single quotes 2018-01-25 17:20:28 +01:00
config.h.in Add --enable-static-pie configure option to build static PIE [BZ #19574] 2017-12-15 17:12:14 -08:00
config.make.in Pass -no-pie to GCC only if GCC defaults to PIE [BZ #22614] 2017-12-18 12:24:38 -08:00
configure Pass -no-pie to GCC only if GCC defaults to PIE [BZ #22614] 2017-12-18 12:24:38 -08:00
configure.ac Pass -no-pie to GCC only if GCC defaults to PIE [BZ #22614] 2017-12-18 12:24:38 -08:00
extra-lib.mk Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
gen-locales.mk Split locale generation snippet into a separate file 2015-05-13 13:05:28 +05:30
libc-abis
libof-iterator.mk Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
o-iterator.mk
shlib-versions Extend NSS test suite 2017-07-17 15:52:44 -04:00
test-skeleton.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
version.h version.h: Switch to ".9000" as the suffix for the development version 2017-10-16 21:39:18 +02:00

README

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu.  The current
GNU/Hurd support requires out-of-tree patches that will eventually be
incorporated into an official GNU C Library release.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arm-*-linux-gnueabi
	hppa-*-linux-gnu	Not currently functional without patches.
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu
	tilegx-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see http://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at http://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see http://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.