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
ajrojas e0ab9d981e hurd: Do not fail kill (SIGKILL) on an exiting process [BZ #35083]
On the Hurd, kill (pid, SIGKILL) on a process that is already on its
way out can fail with EINVAL, where Linux just returns 0.  proc still
hands out the task port at that point, but GNU Mach has started
tearing the task down, so task_terminate says KERN_INVALID_ARGUMENT
(or KERN_FAILURE a bit earlier).

When that happens, keep our send right to the task and ask proc again.
If we get the same task back, it's the one that is dying and there's
nothing left to do.  If we get a different one, the process has execed,
so we terminate the new task.  No port at all means it's a zombie by
now.  Just retrying isn't enough, because on a single CPU the loop can
keep spinning on the same dying task for a long time.

This is where guix-daemon's "killing process N: Invalid argument" comes
from, see https://codeberg.org/guix/guix/issues/8638.

Signed-off-by: ajrojas <[email protected]>
Message-ID: <[email protected]>
2026-12-01 21:04:24 +01:00
advisories GLIBC-SA-2026-0030: update based on submitter feedback 2026-11-24 09:51:51 -05:00
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 rsqrt 2026-10-19 15:57:17 -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 conform: add ISO23 data for time.h 2026-11-24 12:45:51 +01: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 Makefile: Support installing scripts without building all of Glibc 2026-10-22 13:43:36 +01: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: Bound note parsing in ldconfig PT_GNU_PROPERTY handling [BZ #34954] 2026-11-24 08:54:56 -03:00
gmon misc: Fix typos in comments 2026-10-26 14:05:16 +00: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 htl: Fix pthread_once hang and qsort leak if callback throws [BZ #35066] 2026-11-29 15:10:54 +01:00
hurd add check to 2 GB limit in libc fd-write and fd-read 2026-11-29 22:12:08 +01:00
iconv iconv: Suppress intermediate errors with //TRANSLIT (bug 34236) 2026-06-09 07:28:02 +02:00
iconvdata iconvdata: IBM1390/IBM1399 encoders read past input bounds (bug 34914) 2026-11-23 13:06:07 +01:00
include Move internal err, error, and argp prototypes under !_ISOMAC 2026-11-02 13:32:11 -06:00
inet inet: Fix article typo in inet_ntop comment 2026-10-17 12:11:46 -04:00
intl intl: Restrict path traversal when using LANGUAGE env var [BZ #17142, CVE-2026-84243] 2026-11-03 08:50:27 -03:00
io io: Fix silent readdir failures in ftw/nftw (BZ 33085) 2026-11-09 14:40:37 -03:00
libio libio: Use __wunderflow in _IO_getwline_info 2026-10-07 07:43:12 -03:00
locale locale: Fix buffer overflow for long wide strings (bug 34904) 2026-11-18 12:15:56 -03:00
localedata localedata: Add en_BD locale 2026-12-01 11:19:07 +01: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 malloc: Improve realloc 2026-11-23 16:18:21 +00:00
manual Makefiles: Fix make check warnings 2026-11-23 09:17:33 +00:00
math math: Sync erfc with CORE-MATH ac1993d8 (BZ 35052) 2026-11-25 17:58:36 -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 htl: Fix pthread_once hang and qsort leak if callback throws [BZ #35066] 2026-11-29 15:10:54 +01: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: Fix NUL terminator handling in __nss_readline whitespace strip [BZ #34765] 2026-11-03 16:00:14 -03:00
po po: update (only line number changes) 2026-07-24 21:48:02 +09:00
posix posix: Fix double free after allocation failure in glob (BZ 34993) 2026-11-24 10:55:09 -03: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 Makefile: Fix elf/tst-trace tests 2026-11-03 10:56:37 +00: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: don't truncate return value in __wprintf_buffer_as_file_overflow (bug 35044) 2026-11-24 17:36:43 +01:00
stdlib stdlib: Avoid abort PLT from compiler-rt 2026-11-30 15:59:47 -03:00
string x86/string: Fix overflow issue in memrchr-evex [BZ #34771] 2026-10-30 09:39:47 -03:00
sunrpc sunrpc/Makefile: Split and sort tests 2026-05-27 08:15:34 -04:00
support support: test futex_time64 syscall instead of time32 one 2026-11-16 13:32:36 -03:00
sysdeps hurd: Do not fail kill (SIGKILL) on an exiting process [BZ #35083] 2026-12-01 21:04:24 +01: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 Makefile: Support installing scripts without building all of Glibc 2026-10-22 13:43:36 +01: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 Add *.pyc to .gitignore 2015-05-18 15:26:26 +05:30
abi-tags Remove the bulk of the NaCl port. 2017-05-20 08:09:10 -04:00
aclocal.m4 Regenerate configure with autoconf 2.73 2026-11-14 16:05:39 +01:00
config.h.in nss: Remove --enable-static-nss configure option 2026-06-25 10:20:24 -03:00
config.make.in configure: Fix have-no-error-execstack substitution 2026-10-27 08:41:20 -03:00
configure sparc64: Check whether the compiler supports -fcall-used-g6 2026-11-18 11:43:05 -03:00
configure.ac sparc64: Check whether the compiler supports -fcall-used-g6 2026-11-18 11:43:05 -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 manual: Document --enable-kernel=5.1 for CONFIG_COMPAT_32BIT_TIME=n 2026-11-16 14:12:32 -03:00
libc-abis riscv: support GNU indirect function 2021-01-10 21:25:13 -05:00
libof-iterator.mk Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
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 Makefiles: Fix make check warnings 2026-11-23 09:17:33 +00:00
Makefile.help Update copyright dates with scripts/update-copyrights 2026-01-01 13:42:29 -08:00
Makefile.in sparc64: Check whether the compiler supports -fcall-used-g6 2026-11-18 11:43:05 -03:00
Makerules Makerules: Remove the Clang tgmath.h dependency with a sysroot prefix 2026-11-30 10:32:03 -03:00
NEWS manual: Document --enable-kernel=5.1 for CONFIG_COMPAT_32BIT_TIME=n 2026-11-16 14:12:32 -03:00
o-iterator.mk
README README: fix stale bug-reporting URL [BZ #34094] 2026-04-28 15:15:50 -03:00
Rules Rules: Add check for test tunables in *-ENV 2026-11-26 12:57:13 +00:00
SECURITY.md SECURITY.md: Document trusted and untrusted inputs 2026-11-23 08:59:42 -03:00
SHARED-FILES math: Sync erfc with CORE-MATH ac1993d8 (BZ 35052) 2026-11-25 17:58:36 -03: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.