No description
  • C 77.1%
  • Assembly 13.2%
  • Pawn 5.6%
  • Makefile 1.2%
  • Python 1.1%
  • Other 1.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Matt Turner 7b24791c70 Remove gethostname from sysdeps/unix/syscalls.list
Commit 9d7d648088 ("alpha: Use the generic gethostname") removed the
alpha gethostname.c to use sysdeps/posix/gethostname.c, but
sysdeps/unix precedes sysdeps/posix and its syscalls.list has a
gethostname entry. alpha is the only Linux target defining
__NR_gethostname, so it now gets a raw syscall wrapper. The kernel
truncates the name and returns 0, so a too-small buffer is no longer
an error:

  tst-gethostname.c:95: not true: gethostname (hostname, HOST_NAME_MAX) == -1

nss/test-netdb crashes because gethostname (NULL, 0) now succeeds.
qemu-user does not show this; it implements the syscall with the
host's gethostname.

No other target uses the entry: other Linux targets lack
__NR_gethostname and Hurd has its own gethostname.c.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2026-10-08 09:08:58 -05:00
advisories advisories: Fix GLIBC-SA-2026-0024 (CVE-2026-97399) 2026-10-05 14:48:15 +05:30
argp Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
assert Fix assert during static startup (BZ 33326) 2026-08-31 15:43:44 -03:00
benchtests benchtests: Add workloads to cbrt 2026-09-28 12:57:23 -03:00
bits Mark swapcontext returns_twice by default [BZ #23130] 2026-09-16 08:57:56 -03:00
catgets Makefile: Run the subdirectory recursion in parallel 2026-07-03 12:46:47 -03:00
ChangeLog.old ChangeLog.old/ChangeLog.33: add 2026-07-24 22:16:45 +09:00
conform posix: Add POSIX posix_spawn_file_actions_add{,f}chdir 2026-09-28 12:57:36 -03:00
csu elf: Make string tunables startup-only 2026-08-24 13:49:12 -03:00
ctype Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
debug tst-backtrace5: split long line 2026-08-31 20:06:38 +02:00
dirent io: Use gnulib fts implementation (BZ 22944, BZ 20331) 2026-04-03 07:50:18 -03:00
dlfcn dlfcn: Deprecate dlinfo request type RTLD_DI_ORIGIN (bug #24298) 2026-07-30 12:48:36 +02:00
elf elf: Consume hex arguments in _dl_exception_create_format length pass 2026-09-28 12:57:31 -03:00
gmon tests: gmon: Use new tunable handling 2026-04-27 10:45:20 +01:00
gnulib gnulib: Fix tst-gcc.c build with clang-23 2026-08-12 15:08:02 -03:00
hesiod hesiod: use booleans in parser macro calls 2026-05-29 13:58:58 -03:00
htl Makerules: add 'make check-parallel' to run tests without serialization 2026-07-03 13:01:13 -03:00
hurd hurd: Make __file_name_lookup_at apply upmask for O_TMPFILE (BZ 34493) 2026-09-02 02:14:24 +02:00
iconv iconv: Suppress intermediate errors with //TRANSLIT (bug 34236) 2026-06-09 07:28:02 +02:00
iconvdata iconvdata: Test case for bug 34556, bug 34568 2026-08-28 10:26:07 +02:00
include elf: Remove dead l_need_tls_init static-TLS init path 2026-08-31 15:43:44 -03:00
inet inet/arpa/inet.h: Fix typo in documentation of inet_ntop 2026-08-12 15:08:02 -03:00
intl intl: create correct directory in tst-translit.sh 2026-07-03 12:10:24 +01:00
io io: Reject an empty path list on fts_open [BZ #25434] [BZ #34610] 2026-09-14 08:05:08 -05:00
libio libio: Use __wunderflow in _IO_getwline_info 2026-10-07 07:43:12 -03:00
locale locale: fix memory leaks in write_locales and write_charmaps 2026-09-07 20:11:52 +02:00
localedata Update to Unicode 18.0.0 [BZ #34648] 2026-09-25 10:57:12 +02:00
login hurd: Set _TIME_BITS=32 for installed programs on i386/Hurd 2026-08-27 11:41:22 +02:00
mach Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
malloc realloc: Fix mmap non-mremap reallocation case [BZ #34697] 2026-10-01 00:32:08 +02:00
manual aarch64: Add MTE mode tunable 2026-09-14 10:07:08 +01:00
math math: Use cbrt from CORE-MATH 2026-09-28 12:57:26 -03:00
mathvec Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
misc misc: Fix out-of-bounds array write in tdelete (bug 34506) 2026-08-14 13:41:16 +02:00
nis nis: Fix a memory leak in nis_creategroup when malloc fails 2026-06-25 11:21:14 -03:00
nptl nptl: Release robust mutex after trylock returns ENOTRECOVERABLE (BZ #27458) 2026-10-08 09:08:53 -05:00
nptl_db Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
nscd CVE-2026-89092: nscd: replace alloca with malloc in aicache, hstcache 2026-09-28 19:33:28 +02:00
nss nss: Use test resolver for tst-getaddrinfo4 2026-08-07 15:01:47 -03:00
po po: update (only line number changes) 2026-07-24 21:48:02 +09:00
posix posix: Use PROT_READ for tst-mmap address probe 2026-10-08 09:08:58 -05:00
resolv resolv: Fix assertion failure on search list truncation [BZ 31026, CVE-2026-8674] 2026-09-15 16:26:56 -03:00
resource getrusage: Add smoke test for getrusage 2026-09-03 16:29:35 -03:00
rt Use FAIL_UNSUPPORTED more 2026-08-28 12:54:02 +01:00
scripts test-installation: skip libnsl 2026-10-08 08:51:19 -05:00
setjmp Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
signal Fix Makefile alphabetical ordering 2026-03-05 14:28:26 +01:00
socket Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
soft-fp soft-fp: fix sticky bit in _FP_MUL_MEAT_2_120_240_double [BZ #34640] 2026-09-25 06:13:43 -05:00
stdio-common stdio-common: Skip the a and A conversions for the IBM extended format 2026-09-02 12:37:51 -05:00
stdlib stdlib: Don't call clearenv from __libc_setenv_freemem 2026-09-18 16:15:51 +02:00
string powerpc: Fix one byte overread in strncasecmp (bug 34683, CVE-2026-97399) 2026-10-01 00:52:07 +05:30
sunrpc sunrpc/Makefile: Split and sort tests 2026-05-27 08:15:34 -04:00
support hurd: Set _TIME_BITS=32 for installed programs on i386/Hurd 2026-08-27 11:41:22 +02:00
sysdeps Remove gethostname from sysdeps/unix/syscalls.list 2026-10-08 09:08:58 -05:00
sysvipc Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
termios Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
time time: handle ^ and # modifiers with %Z in wcsftime (bug 34611) 2026-09-09 18:53:54 +02:00
timezone Fix hurd bootstrap after 4c6f92daea 2026-05-20 14:55:00 -03:00
wcsmbs <wchar.h>: Define __CORRECT_ISO_CPP_WCHAR_H_PROTO for Clang [BZ #34692] 2026-10-07 07:43:20 -03:00
wctype Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
.b4-config Add .b4-config file 2024-10-21 14:26:42 +01:00
.clang-format Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
.gitattributes Assume __NR_openat is always defined 2016-03-23 23:35:08 +01:00
.gitignore
abi-tags Remove the bulk of the NaCl port. 2017-05-20 08:09:10 -04:00
aclocal.m4 configure: use TEST_CC to check for --no-error-execstack 2025-12-11 08:27:16 -03:00
config.h.in nss: Remove --enable-static-nss configure option 2026-06-25 10:20:24 -03:00
config.make.in nss: Remove --enable-static-nss configure option 2026-06-25 10:20:24 -03:00
configure nss: Remove --enable-static-nss configure option 2026-06-25 10:20:24 -03:00
configure.ac nss: Remove --enable-static-nss configure option 2026-06-25 10:20:24 -03:00
CONTRIBUTED-BY CONTRIBUTED-BY: Adjustments regarding s390-32, s390-64 2026-04-20 13:54:14 +02:00
COPYING.LESSERv2 Update COPYING, COPYING.LIB from gnulib, using gnulib file names 2025-11-17 11:15:13 +01:00
COPYING.LIB Update COPYING, COPYING.LIB from gnulib, using gnulib file names 2025-11-17 11:15:13 +01:00
COPYINGv2 Update COPYING, COPYING.LIB from gnulib, using gnulib file names 2025-11-17 11:15:13 +01:00
COPYINGv3 Add COPYINGv3 with the GPL version 3 text 2025-11-17 11:15:13 +01: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-gconv-modules.mk test: Fix and stabilize tst-wcsmbs-clone-overflow test 2026-05-29 11:34:20 +02:00
gen-locales.mk locale: Handle loading a missing locale twice (Bug 14247) 2024-04-22 16:03:00 -04:00
INSTALL stdio-common: Verify printf format tests with Python rather than AWK 2026-09-02 12:37:19 -05:00
libc-abis riscv: support GNU indirect function 2021-01-10 21:25:13 -05:00
libof-iterator.mk
LICENSES LICENSES: update CORE-MATH copyright 2025-01-24 23:21:49 +01:00
MAINTAINERS Add MAINTAINERS 2017-05-11 13:38:30 -04:00
Makeconfig hurd: Set _TIME_BITS=32 for installed programs on i386/Hurd 2026-08-27 11:41:22 +02:00
Makefile Makefile: Order the top-level stamp files before the subdirectory fan-out 2026-08-07 08:43:02 -03:00
Makefile.help Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
Makefile.in Handle clang -Wignored-attributes on weak aliases 2025-12-09 08:58:10 -03:00
Makerules hurd: Set _TIME_BITS=32 for installed programs on i386/Hurd 2026-08-27 11:41:22 +02:00
NEWS posix: Add POSIX posix_spawn_file_actions_add{,f}chdir 2026-09-28 12:57:36 -03:00
o-iterator.mk
README README: fix stale bug-reporting URL [BZ #34094] 2026-04-28 15:15:50 -03:00
Rules nptl: Skip pretty-printer tests without python3 [BZ #34507] 2026-09-07 11:38:18 -03:00
SECURITY.md Update link in SECURITY.md. 2026-04-29 19:01:13 -07:00
SHARED-FILES AArch64: Add SVE2 strlen 2026-10-08 13:40:06 +00:00
shlib-versions treewide: remove remnants of libnss_ldap 2026-10-08 08:51:19 -05:00
test-skeleton.c Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
version.h version.h: bump to 2.44.9000 / development 2026-07-25 09:10:58 +09:00

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 and x86_64-gnu.

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
	arc*-*-linux-gnu
	arm-*-linux-gnueabi
	csky-*-linux-gnuabiv2
	hppa-*-linux-gnu
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	loongarch64-*-linux-gnu Hardware floating point, LE only.
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	or1k-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390x-*-linux-gnu
	riscv32-*-linux-gnu
	riscv64-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see https://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 https://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 https://sourceware.org/glibc/wiki/Bugzilla%20Procedures 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.