summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Marcus Brinkmann [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
[PATCH] Implement SysV shared memory for GNU/Hurd.
2005-07-11 Marcus Brinkmann <marcus@gnu.org>
* hurd/Makefile (routines): Add sysvshm.
(distribute): Add sysvshm.h.
* hurd/sysvshm.h: New file.
* hurd/sysvshm.c: New file.
* sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.
(S_ISPARE): Unset the S_IMMAP0 flag.
* sysdeps/mach/hurd/ftok.c: New file.
* sysdeps/mach/hurd/shmat.c: New file.
* sysdeps/mach/hurd/shmctl.c: New file.
* sysdeps/mach/hurd/shmdt.c: New file.
* sysdeps/mach/hurd/bits/posix_opt.h: Define _XOPEN_SHM to 1.
TODO:
“
> + char filename[sizeof (SHM_DIR) - 1 + SHM_NAMEMAX];
> + struct stat statbuf;
> +
> + sprintf (filename, SHM_DIR SHM_NAMEPRI, id);
> + /* SysV requires read access for IPC_STAT. */
> + fd = __open (filename, O_NORW);
> + if (fd < 0)
> + {
> + if (errno == ENOENT)
> + errno = EINVAL;
> + return -1;
> + }
Since this is repeated in more than one function, put it into an
internal subroutine. Then we have only one place doing the
name-generation logic.
”
“
> + case IPC_RMID:
> + res = __unlink (filename);
> + /* FIXME: Check error (mapping ENOENT to EINVAL). */
Fix it.
”
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-sysvshm.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-enable-ldconfig
# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# DP: Related Bugs: #309489
# DP: Upstream status: Not submitted
# DP: Status Details: Upstream disagrees with this patch, but I'm
# DP: putting it in so that we have expected Debian behaviour on the
# DP: Hurd. We should review this when the ELF standard supports runpath.
# DP: Date: 08 Apr 2003
# DP: Description: Enable ldconfig and such on hurd-i386
# DP: Author: Jeff Bailey <jbailey@nisa.net>
# DP: Related Bugs: #309489
# DP: Upstream status: Not submitted
# DP: Status Details: Upstream disagrees with this patch, but I'm
# DP: putting it in so that we have expected Debian behaviour on the
# DP: Hurd. We should review this when the ELF standard supports runpath.
# DP: Date: 08 Apr 2003
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-enable-ldconfig.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-msync
commit
60dfb30976761c9b20a22f18356e0c3e581f5394
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Aug 31 19:41:02 2021 +0200
hurd msync: Drop bogus test
MS_SYNC is actually 0, so we cannot test that both MS_SYNC and MS_ASYNC
are set.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-msync.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-get_errlist
Committed for 2.35
commit
5eb3e2c794c3fdd553833af5342740051221479c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Aug 23 19:06:49 2021 +0200
hurd: Fix errlist error mapping
On the Hurd, the errno values don't start at 0, so _sys_errlist_internal
needs index remapping. The _sys_errlist_internal definition already properly
uses ERR_MAP, but __get_errlist and __get_errname were not.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-get_errlist.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-AT_NO_AUTOMOUNT
Committed for glibc 2.35
commit
13710e7e6af6c8965cc9a63a0660cb4ce1966557
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Aug 10 17:16:54 2021 +0200
hurd: Add support for AT_NO_AUTOMOUNT
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-AT_NO_AUTOMOUNT.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-drop-rmh
Committed for 2.35
commit
cbb2aa337bc3a5f1cb9936781c3a7f5036d4262e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Aug 16 11:20:38 2021 +0200
hurd: Drop fmh kludge
Gnumach's
0650a4ee30e3 implements support for high bits being set in the
mask parameter of vm_map. This allows to remove the fmh kludge that was
masking away the address range by mapping a dumb area there.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-drop-rmh.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-eintr
Committed for glibc 2.34
commit
1ecc5307a84d34c25dc026aec02d9276cd569561
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Mar 22 22:44:36 2021 +0100
hurd: handle EINTR during critical sections
During critical sections, signal handling is deferred and thus RPCs return
EINTR, even if SA_RESTART is set. We thus have to restart the whole critical
section in that case.
This also adds HURD_CRITICAL_UNLOCK in the cases where one wants to
break the section in the middle.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-eintr.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-tiocflush
Committed for 2.34
commit
36231bee7ab36d59dd121ea85b91411ae86945f3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Feb 1 19:39:48 2021 +0100
hurd TIOCFLUSH: Cope BSD 4.1 semantic
BSD 4.1 did not have an argument for TIOCFLUSH, BSD 4.2 added it. There
are still a lot of applications out there that pass a NULL argument to
TIOCFLUSH, so we should rather cope with it.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-tiocflush.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-ELF_MACHINE_USER_ADDRESS_MASK
Committed for 2.33
commit
407765e9f24f5a82f318a9e069a977710ac99ee0
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 20 01:47:47 2020 +0100
hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value
x86 binaries are linked at 0x08000000, so we need to let them get mapped
there.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-ELF_MACHINE_USER_ADDRESS_MASK.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-mmap_addr
Committed for 2.33
commit
b47b07c92d82df497ad4e3abebfdab51be5d0546
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Jan 4 20:22:59 2021 +0100
hurd: Fix mmap(!MAP_FIXED) on bogus address
In the !MAP_FIXED case, when a bogus address is given mmap should pick up a
valide address rather than returning EINVAL: Posix only talks about
EINVAL for the MAP_FIXED case.
This fixes long-running ghc processes.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-mmap_addr.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-hurd-version
Committed for 2.33
commit
016c64236dee6e28f09c10ba38f274aad7205f95
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Dec 29 03:26:12 2020 +0100
hurd: Accept including hurd/version.h
We need it to get the RPC API version.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-hurd-version.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-waitid
Committed for 2.33
commit
f6abd970284a06380cd9d905f43da104bd49fc95
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Dec 28 23:37:04 2020 +0100
hurd: Add WSTOPPED/WCONTINUED/WEXITED/WNOWAIT support [BZ #23091]
The new __proc_waitid RPC now expects WEXITED to be passed, allowing to
properly implement waitid, and thus define the missing W* macros
(according to FreeBSD values).
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-waitid.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-mmap-EINVAL
Committed for 2.33
commit
b74233d0092c9ee6a2faee5adb375b3151bdc99c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sat Dec 19 18:57:47 2020 +0100
hurd: Also turn KERN_INVALID_ADDRESS to EINVAL
When e.g. mmap is passed an invalid address we would return
KERN_INVALID_ADDRESS, while POSIX applications would expect EINVAL.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-mmap-EINVAL.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-siginfo_uesp
Committed for 2.33
commit
e0aec6c83374286ffac44ee1b0e628894b7102e3
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Dec 21 03:15:38 2020 +0100
hurd: Make trampoline fill siginfo ss_sp from sc_uesp
Mach actually rather fills the uesp field, not esp.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-siginfo_uesp.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sem-open
Submitted for 2.33
commit
257e4e7b576d54ab943d73dcda64c9a62c15b907
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 15:20:32 2020 +0000
htl: Get sem_open/sem_close/sem_unlink support
This just moves the existing nptl implementation to reuse as it is in
htl.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sem-open.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sem-open-init
Submitted for 2.33
commit
e453b54b02204e0bc4a36a865ecc0c82058f4f9d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 15:18:16 2020 +0000
pthread: Move semaphore initialization for open to semaphoreP.h
This allows to easily reuse all of the sem_open/sem_close/sem_unlink
implementations in the various ports.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sem-open-init.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sem-pshared
Commited for 2.33
commit
4702ba8c1726ef5b692fbca1255b632b8e81e8c7
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 15:14:40 2020 +0000
htl: Add pshared semaphore support
The implementation is extremely similar to the nptl implementation, but
with slight differences in the futex interface. This fixes some of BZ
25521.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sem-pshared.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-libc-open
Commited for 2.33
commit
a6c9f54a3471a527ff502f26e3a1c1b03ab39d6e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 13:29:25 2020 +0000
hurd: Add __libc_open and __libc_close
Needed by libpthread for sem_open and sem_close
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-libc-open.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-futex-internal
Commited for 2.33
commit
65e43d5ad22ff527fd534679d357245f515bf308
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 11:06:27 2020 +0000
htl: Add futex-internal.h
That provides futex_supports_pshared
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-futex-internal.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-lll-private
Commited for 2.33
commit
bcbabb9e6c14db9f35ed83862e88a6d986fc7a69
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 13:31:22 2020 +0000
hurd: Add LLL_PRIVATE and LLL_SHARED
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-lll-private.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-lll-wait-intr
Commited for 2.33
commit
1c3c8e342a3973fc5e1ddcba7d3e9b68dfe9a25b
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 11:01:52 2020 +0000
hurd: Add __lll_abstimed_wait_intr
For semaphores, we need an interruptible version of low-level locks.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-lll-wait-intr.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-ld-library-path-checks
Commited for 2.33
commit
3dbbd2ff92b1a0a2465461ee049e3e2813b73fa4
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Fri Nov 13 19:37:41 2020 +0000
Add {,sysdep-}ld-library-path make variable
On GNU/Hurd we not only need $(common-objpfx) in LD_LIBRARY_PATH when loading
dynamic objects, but also $(common-objpfx)/mach and $(common-objpfx)/hurd. This
adds an ld-library-path variable to be used as LD_LIBRARY_PATH basis in
Makefiles, and a sysdep-ld-library-path variable for sysdeps to add some
more paths, here mach/ and hurd/.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-ld-library-path-checks.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-lll-ptr
Commited for 2.33
commit
bec412424e949c900b01767ce32b6743bdaaac93
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 10:37:24 2020 +0000
hurd: make lll_* take a variable instead of a ptr
To be coherent with other ports, let's make lll_* take a variable, and
rename those that keep taking a ptr into __lll_*.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-lll-ptr.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-lll-initializer
Commited for 2.33
commit
059e60887b3244eb7ec0d764defe515fd525f513
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Dec 13 10:16:55 2020 +0000
hurd: Rename LLL_INITIALIZER to LLL_LOCK_INITIALIZER
To get coherent with other ports.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-lll-initializer.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-libpthread_plt
Commited for 2.33
commit
7c331116971d38e57703af4097ed13ab6bef91d0
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Thu Dec 3 12:21:47 2020 +0100
htl: Add hidden def for __pthread_create/detach
to avoid a PLT.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-libpthread_plt.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-cthreads-symbols
Commited for 2.33
commit
f9ba73d056721ff61160a46438fd8ebf11d9aeee
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Thu Dec 3 10:48:27 2020 +0100
htl: Add missing symbols
hurd/hurdsig.c needs to detect whether __pthread_detach and
__pthread_create are available, so they need to be exposed.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-cthreads-symbols.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-cthreads
Commited for 2.33
commit
9446e02b0d2e94da4ebe9df6e2c5d23adc0f1d7d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sat Nov 14 23:35:35 2020 +0000
hurd: Remove some remnants of cthreads
Libc has actually been using mach's lock-internal.h mutex for a long
time already.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-cthreads.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-WAIT
Committed for 2.33
commit
c57fe5462ba5eb7331a223bbb7abd8ae273747c1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Nov 23 00:24:03 2020 +0000
hurd S_msg_report_wait: Fix reporting ports
This fixes the parameter order of MSG_EXAMINE, thus fixing the detection
of e.g. fd ports for nicer output in ps WAIT output.
commit
dba88fb3ed3e70d2ad797f447a2a894b0891a5d7
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Nov 23 00:25:26 2020 +0000
hurd S_msg_report_wait: Fix detecting fd ports
_hurd_init_dtable stays set to non-NULL, so we have to run through both
_hurd_init_dtable and _hurd_dtable.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-WAIT.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-clock-cputime
Committed for glibc 2.33
commit
5a619c1f46c49dbb9706beeb74f4a466696394fc
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Sun Oct 11 13:59:01 2020 +0000
hurd: support clock_gettime(CLOCK_PROCESS/THREAD_CPUTIME_ID)
* sysdeps/mach/clock_gettime.c (__clock_gettime): Add support for
CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-clock-cputime.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-bsd4.3-ioctls
Committed for glibc 2.33
commit
cd41ffeb0bbca641a02e1030e13ab317ce7d645c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Thu Aug 27 13:35:58 2020 +0200
hurd: define BSD 4.3 ioctls only under __USE_MISC
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-bsd4.3-ioctls.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sched_gets_hidden
Committed for glibc 2.33
commit
4ebd73d43f73702301640baecca35458a327996d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Thu Aug 6 20:10:58 2020 +0200
hurd: Add missing hidden def
* sysdeps/mach/hurd/sched_gets.c (__sched_getscheduler): Add hidden def.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sched_gets_hidden.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sched_sets
Committed for glibc 2.33
commit
ce625044886da0a6e348f4def83f746e28587a0c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Aug 5 23:46:14 2020 +0200
hurd: Implement basic sched_get/setscheduler
* sysdeps/mach/hurd/sched_gets.c: New file.
* sysdeps/mach/hurd/sched_sets.c: New file.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sched_sets.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sigstate_thread_reference
Committed for 2.33
From: Richard Braun <rbraun@sceen.net>
Subject: [PATCH] Hurd: make sigstates hold a reference on thread ports
This change is required in order to correctly release per-thread
resources. Directly reusing the threading library reference isn't
possible since the sigstate is also used early in the main thread,
before threading is initialized.
* hurd/hurd/signal.h (_hurd_self_sigstate): Drop thread reference after
calling _hurd_thread_sigstate.
(_hurd_critical_section_lock): Likewise.
* hurd/hurdsig.c (_hurd_thread_sigstate): Add a reference on the thread.
(_hurd_sigstate_delete): Drop thread reference.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sigstate_thread_reference.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-sbrk-end
Committed for glibc 2.33
commit
8c6beab4e1c03ac57150241015486e3f497c17cc
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Aug 5 23:48:58 2020 +0200
hurd: Rework sbrk
Making the brk start exactly at the end of the main application binary was
requiring to get it through the _end symbol, which does not work any more
with recent toolchains, and actually produces in libc.so a confusing
external _end symbol that produces odd results, see
https://sourceware.org/bugzilla/show_bug.cgi?id=23499
Trying to do so is quite outdated anyway with the tendency for address
randomization.
Using _end was also allowing to include the main binary data within
the RLIMIT_DATA, but this also seems outdated with dynamic library
loading, and nowadays' memory consumption via malloc and mmap rather than
statically-allocated data.
This adds a BRK_START macro in <vm_param.h> that just tells where we
want to start the brk, and thus removes the _end symbol.
* sysdeps/mach/hurd/i386/vm_param.h: New file.
* sysdeps/mach/hurd/brk.c: Use BRK_START as brk start instead of _end.
Also ignore __data_start.
* hurd/Versions: Remove _end symbol.
* sysdeps/mach/hurd/i386/libc.abilist: Remove _end symbol.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-sbrk-end.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-hurdsig-SA_SIGINFO
Committed for 2.33
From: Jeremie Koenig <jk@jk.fr.eu.org>
Subject: [PATCH] implement SA_SIGINFO signal handlers.
52baaca Hurd signals: Copy bits/sigaction.h
4232c66 Hurd signals: SA_SIGINFO support
1831cfe Hurd signals: Use POSIX sigcodes
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-hurdsig-SA_SIGINFO.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-posix_openpt
https://sourceware.org/ml/libc-alpha/2019-12/msg00799.html
Committed for 2.33
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Rearrange bsd_getpt vs bsd_openpt and implement posix_openpt on BSD
* sysdeps/unix/bsd/getpt.c (__getpt): Add oflag parameter, pass
it to the _open call and rename to...
(__bsd_openpt): ... new function.
[!HAVE_GETPT] (__getpt): Reimplement on top of __bsd_openpt.
(__posix_openpt): Replace stub with implementation on top of __bsd_openpt.
(posix_openpt): Remove stub warning.
* sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Replace prototype with
__bsd_openpt prototype.
(__getpt): Use __bsd_openpt instead of __bsd_getpt (as fallback when
_posix_openpt fails).
(getpt): Add alias
(__getpt): Do not define.
(HAVE_GETPT): Define.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-posix_openpt.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-fcntl.h-update
===================================================================
Gbp-Pq: Topic hppa
Gbp-Pq: Name git-fcntl.h-update.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-inlining
Increase the maximal overall growth of the compilation unit caused
by inlining for dl-reloc.c on hppa. This remove some warnings and
strangely it reduces the size of the final binary.
Gbp-Pq: Topic hppa
Gbp-Pq: Name local-inlining.diff
Adam Conrad [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
Lie about futex_atomic_cmpxchg_inatomic kernel support.
Bug-Ubuntu: https://launchpad.net/bugs/
1436162
Bug-Debian: https://bugs.debian.org/788799
Last-Update: 2015-03-25
In past versions of glibc, we incorrectly assumed all ARM kernels
in all configurations supported futex_atomic_cmpxchg_inatomic. This
was clearly a lie, however it was a lie that we relied on, because
the fallback implementation appears to not play nicely with certain
applications like pulseaudio. Restore the lie for kernels > 2.6.32
and plug our ears and scream "LA LA LA" about how wrong this is.
Gbp-Pq: Topic arm
Gbp-Pq: Name local-arm-futex.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
unsubmitted-ldso-multilib
Gbp-Pq: Topic arm
Gbp-Pq: Name unsubmitted-ldso-multilib.diff
Adam Conrad [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
Work around broken compilers (like fpc) on armhf
Forwarded: no
patches/arm/local-vfp-sysdeps.diff: Force the Tag_ABI_HardFP_use
and Tag_ABI_VFP_args EABI tags when building for armhf, so compilers
only linking crti.o will generate what appear to be armhf binaries.
Gbp-Pq: Topic arm
Gbp-Pq: Name local-vfp-sysdeps.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-sigaction
Gbp-Pq: Topic arm
Gbp-Pq: Name local-sigaction.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-makecontext
2018-03-01 Aurelien Jarno <aurelien@aurel32.net>
[BZ #22910]
* sysdeps/unix/sysv/linux/alpha/setcontext.S (__startcontext): Set
up CFI directive to forbid further backtracing.
Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-makecontext.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-fts64
2016-03-22 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/alpha/fts.c: New file.
* sysdeps/unix/sysv/linux/alpha/fts64.c: New file.
Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-fts64.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-string-functions
The alpha assembly version of various string functions do not work
correctly on some corner cases, and thus doesn't pass the testsuite.
This patch removes them.
Gbp-Pq: Topic alpha
Gbp-Pq: Name local-string-functions.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-dl-support
older versions of glibc would build dl-sysdep as shared-only and dl-support as
static-only. alpha hooks in a cache variable via dl-auxv.h. newer versions of
glibc build dl-sysdep as both shared and static which means we now have symbol
duplication for static builds with dl-sysdep and dl-support. since dl-sysdep
is both shared/static, there is no point in hooking dl-support anymore, so we
can punt it.
Gbp-Pq: Topic alpha
Gbp-Pq: Name submitted-dl-support.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
local-gcc4.1
2006-05-30 Falk Hueffner <falk@debian.org>
* sysdeps/unix/sysv/linux/alpha/ioperm.c: force the architecture
to ev6 in assembly code.
{standard input}: Assembler messages:
{standard input}:341: Error: macro requires $at register while noat in effect
{standard input}:374: Error: macro requires $at register while noat in effect
{standard input}:438: Error: macro requires $at register while noat in effect
{standard input}:471: Error: macro requires $at register while noat in effect
make[3]: *** [/tmp/buildd/glibc-2.3.6/build-tree/alpha-libc/misc/ioperm.o] Error 1
Hrm. gcc puts .arch ev4 into the .s, and this overrides -mev6 for as.
I cannot really think of anything better than
Gbp-Pq: Topic alpha
Gbp-Pq: Name local-gcc4.1.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
submitted-es_MX-decimal_point
2012-06-06 Aurelien Jarno <aurelien@aurel32.net>
* locales/es_MX (LC_MONETARY): Set mon_thousands_sep to space
( ).
Gbp-Pq: Topic localedata
Gbp-Pq: Name submitted-es_MX-decimal_point.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
locale-C
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-C.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
tailor-iso14651_t1
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Rewrite collation rules to include iso14651_t1
# DP: ar_SA cs_CZ et_EE hr_HR lt_LT pl_PL sl_SI tr_TR: not
# DP: submitted yet.
# DP: Related bugs: BZ664 BZ672
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier, Pablo Saratxaga
# DP: Upstream status: BZ664 BZ672
# DP: Date: 2006-01-18
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Rewrite collation rules to include iso14651_t1
# DP: ar_SA cs_CZ et_EE hr_HR lt_LT pl_PL sl_SI tr_TR: not
# DP: submitted yet.
# DP: Related bugs: BZ664 BZ672
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier, Pablo Saratxaga
# DP: Upstream status: BZ664 BZ672
# DP: Date: 2006-01-18
2008-08-08 Aurelien Jarno <aurel32@debian.org>
Loosy update for glibc 2.8.
2007-05-25 Pierre Habouzit <madcoder@debian.org>
Loosy update for glibc 2.6.
2005-01-16 Denis Barbier <barbier@linuxfr.org>
[BZ #672]
Replace current collation rules by including iso14651_t1 and adding
extra rules if needed. There should be no noticeable changes in
sorted text. only ligatures and ignoreable characters have modified
weights.
* locales/da_DK: Likewise.
Gbp-Pq: Topic localedata
Gbp-Pq: Name tailor-iso14651_t1.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
locale-zh_TW
See BTS #352600.
Not submitted yet.
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-zh_TW.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
locale-en_DK
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Improve en_DK and add en_DK.ISO-8859-15 to SUPPORTED
# DP: This locale is only useful to provide ISO8601 date formats.
# DP: Related bugs: #323159
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jakob Bohm <jbj@image.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-16
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Improve en_DK and add en_DK.ISO-8859-15 to SUPPORTED
# DP: This locale is only useful to provide ISO8601 date formats.
# DP: Related bugs: #323159
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jakob Bohm <jbj@image.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-16
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-en_DK.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
locales-fr
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Various fixes for all French locales
# DP: Related bugs: #248377 #351786 #345481
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Various fixes for all French locales
# DP: Related bugs: #248377 #351786 #345481
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
Gbp-Pq: Topic localedata
Gbp-Pq: Name locales-fr.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
fo_FO-date_fmt
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Fix d_t_fmt and date_fmt in fo_FO
# DP: Related bugs: #307194
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jacob Sparre Andersen <sparre@nbi.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Fix d_t_fmt and date_fmt in fo_FO
# DP: Related bugs: #307194
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Jacob Sparre Andersen <sparre@nbi.dk>
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
Gbp-Pq: Topic localedata
Gbp-Pq: Name fo_FO-date_fmt.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
locale-ku_TR
# DP: Description: Please add Kurdish locale
# DP: Related bugs: BZ870
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Kader DILSIZ, Pablo Saratxaga
# DP: Upstream status: Version 0.1 submitted in the original bugreport
# DP: has been committed, this new version has been sent just after.
# DP: Date: 2006-01-06
# DP: Description: Please add Kurdish locale
# DP: Related bugs: BZ870
# DP: Dpatch author: Denis Barbier <barbier@debian.org>
# DP: Patch author: Kader DILSIZ, Pablo Saratxaga
# DP: Upstream status: Version 0.1 submitted in the original bugreport
# DP: has been committed, this new version has been sent just after.
# DP: Date: 2006-01-06
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-ku_TR.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
locale-eu_FR
# DP: Description: #257840: locales: Please add the eu_FR locale
# DP: Related bugs: #257840
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: Christian Perrier <bubulle@debian.org>
# DP: Upstream status: Not submitted
# DP: Status Details: sending upstream
# DP: Date: 2004-07-31
# DP: Description: #257840: locales: Please add the eu_FR locale
# DP: Related bugs: #257840
# DP: Dpatch author: GOTO Masanori <gotom@debian.org>
# DP: Patch author: Christian Perrier <bubulle@debian.org>
# DP: Upstream status: Not submitted
# DP: Status Details: sending upstream
# DP: Date: 2004-07-31
Gbp-Pq: Topic localedata
Gbp-Pq: Name locale-eu_FR.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
supported
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Add several locales to localedata.SUPPORTED
# DP: - ru_RU.CP1251 was requested in #225516
# DP: - uz_UZ.UTF-8 was clearly missing, uz_UZ had no UTF-8 variant
# DP: - da_DK.ISO-8859-15, en_GB.ISO-8859-15, en_US.ISO-8859-15, no_NO.UTF-8,
# DP: no_NO and sv_SE.ISO-8859-15 are found in fedora-branch CVS branch.
# DP: Related bugs: #225516 (ru_RU.CP1251)
# DP: Dpatch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Add several locales to localedata.SUPPORTED
# DP: - ru_RU.CP1251 was requested in #225516
# DP: - uz_UZ.UTF-8 was clearly missing, uz_UZ had no UTF-8 variant
# DP: - da_DK.ISO-8859-15, en_GB.ISO-8859-15, en_US.ISO-8859-15, no_NO.UTF-8,
# DP: no_NO and sv_SE.ISO-8859-15 are found in fedora-branch CVS branch.
# DP: Related bugs: #225516 (ru_RU.CP1251)
# DP: Dpatch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-10
Gbp-Pq: Topic localedata
Gbp-Pq: Name supported.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
sort-UTF8-first
Gbp-Pq: Topic localedata
Gbp-Pq: Name sort-UTF8-first.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
LC_IDENTIFICATION-optional-fields
In LC_IDENTIFICATION, audience, application and abbreviation keywords
are optional, thus do not report an error if they are not defined.
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08
Gbp-Pq: Topic locale
Gbp-Pq: Name LC_IDENTIFICATION-optional-fields.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
locale-print-LANGUAGE
Comments tell that LANG has to be the first value, and LC_ALL the last
one. Thus LANGUAGE is printed between them.
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08
Gbp-Pq: Topic locale
Gbp-Pq: Name locale-print-LANGUAGE.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
check-unknown-symbols
Check for unknown symbols in collation rules. This is useful to detect
broken locales since unknown symbols are always wrong.
This request has not been submitted upstream yet.
# DP: Dpatch author: Denis Barbier
# DP: Patch author: Denis Barbier
# DP: Upstream status: not submitted
# DP: Date: 2006-01-08
Gbp-Pq: Topic locale
Gbp-Pq: Name check-unknown-symbols.diff
GNU Libc Maintainers [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
git-updates
GIT update of https://sourceware.org/git/glibc.git/release/2.32/master from glibc-2.32
GIT update of https://sourceware.org/git/glibc.git/release/2.32/master from glibc-2.32
Gbp-Pq: Name git-updates.diff
Aurelien Jarno [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
glibc (2.32-4) unstable; urgency=medium
[ Aurelien Jarno ]
* debian/debhelper.in/libc.preinst: make sure USE_DEBCONF can't be defined
from the environment.
* debian/patches/git-updates.diff: update from upstream stable branch:
- debian/patches/any/submitted-getcwd-gnu-extension-warning.diff:
upstreamed.
* debian/control.in/libc: remove the Breaks against dazzdb, it will be fixed
in Buster.
* debian/patches/i386/local-setcontext-revert-eax-ecx-edx.patch: revert
upstream commit to not save and restore EAX, ECX and EDX in setcontext to
temporarily workaround a bug in libunwind8. See bug#994510.
[dgit import unpatched glibc 2.32-4]
Aurelien Jarno [Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)]
Import glibc_2.32-4.debian.tar.xz
[dgit import tarball glibc 2.32-4 glibc_2.32-4.debian.tar.xz]
Aurelien Jarno [Sat, 21 Aug 2021 17:24:41 +0000 (18:24 +0100)]
Import glibc_2.32.orig.tar.xz
[dgit import orig glibc_2.32.orig.tar.xz]