<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glibc.git/hurd, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/'/>
<entry>
<title>htl: move pthread_create to into libc</title>
<updated>2025-11-17T00:38:37+00:00</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2025-11-16T14:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=5b6ee0e0ba7321ca37db12a942493e4ea8eead92'/>
<id>5b6ee0e0ba7321ca37db12a942493e4ea8eead92</id>
<content type='text'>
This is notably needed for the main thread structure to be always
initialized so that some pthread functions can work from the main thread
without other threads, e.g. pthread_cancel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is notably needed for the main thread structure to be always
initialized so that some pthread functions can work from the main thread
without other threads, e.g. pthread_cancel.
</pre>
</div>
</content>
</entry>
<entry>
<title>hurd: Fix getting rlimit in _hurd_alloc_fd</title>
<updated>2025-11-17T00:38:35+00:00</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2025-11-16T16:34:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=5db67a03e9c5be866119a224b3372bf82e795b38'/>
<id>5db67a03e9c5be866119a224b3372bf82e795b38</id>
<content type='text'>
rlim_t is unsigned, and RLIM_INFINITY can be (rlim_t) -1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rlim_t is unsigned, and RLIM_INFINITY can be (rlim_t) -1
</pre>
</div>
</content>
</entry>
<entry>
<title>hurd: Drop remnants of cthreads</title>
<updated>2025-11-12T00:11:11+00:00</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2025-11-11T21:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=f851a7434696b70ce7c266ade1de2469619e6f52'/>
<id>f851a7434696b70ce7c266ade1de2469619e6f52</id>
<content type='text'>
These are not used in GNU/Hurd since very long now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are not used in GNU/Hurd since very long now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress -Wmaybe-uninitialized only for gcc</title>
<updated>2025-10-21T12:24:05+00:00</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2025-10-17T19:12:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=76dfd91275c57fa09412436671572337226a90a2'/>
<id>76dfd91275c57fa09412436671572337226a90a2</id>
<content type='text'>
The warning is not supported by clang.

Reviewed-by: Sam James &lt;sam@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The warning is not supported by clang.

Reviewed-by: Sam James &lt;sam@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hurd: Fix building on i686-gnu</title>
<updated>2025-09-23T19:43:59+00:00</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2025-09-23T19:38:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=7ebac6bf9438a4338497a2e80cdcdffdd91c2542'/>
<id>7ebac6bf9438a4338497a2e80cdcdffdd91c2542</id>
<content type='text'>
vm_size_t and rlim_t may not be the same type.

Fixes commit 802b0eba519b1333c639fd0e1b55222099df9263
("hurd: implement RLIMIT_AS against Mach RPCs")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vm_size_t and rlim_t may not be the same type.

Fixes commit 802b0eba519b1333c639fd0e1b55222099df9263
("hurd: implement RLIMIT_AS against Mach RPCs")
</pre>
</div>
</content>
</entry>
<entry>
<title>hurd: implement RLIMIT_AS against Mach RPCs</title>
<updated>2025-09-21T22:52:37+00:00</updated>
<author>
<name>Diego Nieto Cid</name>
<email>dnietoc@gmail.com</email>
</author>
<published>2025-08-15T01:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=802b0eba519b1333c639fd0e1b55222099df9263'/>
<id>802b0eba519b1333c639fd0e1b55222099df9263</id>
<content type='text'>
Check for VM limit RPCs

  * config.h.in: add #undef for HAVE_MACH_VM_GET_SIZE_LIMIT and
    HAVE_MACH_VM_SET_SIZE_LIMIT.
  * sysdeps/mach/configure.ac: use mach_RPC_CHECK to check for
    vm_set_size_limit and vm_get_size_limit RPCs in gnumach.defs.
  * sysdeps/mach/configure: regenerate file.

Use vm_get_size_limit to initialize RLIMIT_AS

  * hurd/hurdrlimit.c(init_rlimit): use vm_get_size_limit to initialize
    RLIMIT_AS entry of the _hurd_rlimits array.

Notify the kernel of the new VM size limits

  * sysdeps/mach/hurd/setrlimit.c: use the vm_set_size_limit RPC,
    if available, to notify the kernel of the new limits. Retry RPC
    calls if they were interrupted by a signal.
Message-ID: &lt;03fb90a795b354a366ee73f56f73e6ad22a86cda.1755220108.git.dnietoc@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for VM limit RPCs

  * config.h.in: add #undef for HAVE_MACH_VM_GET_SIZE_LIMIT and
    HAVE_MACH_VM_SET_SIZE_LIMIT.
  * sysdeps/mach/configure.ac: use mach_RPC_CHECK to check for
    vm_set_size_limit and vm_get_size_limit RPCs in gnumach.defs.
  * sysdeps/mach/configure: regenerate file.

Use vm_get_size_limit to initialize RLIMIT_AS

  * hurd/hurdrlimit.c(init_rlimit): use vm_get_size_limit to initialize
    RLIMIT_AS entry of the _hurd_rlimits array.

Notify the kernel of the new VM size limits

  * sysdeps/mach/hurd/setrlimit.c: use the vm_set_size_limit RPC,
    if available, to notify the kernel of the new limits. Retry RPC
    calls if they were interrupted by a signal.
Message-ID: &lt;03fb90a795b354a366ee73f56f73e6ad22a86cda.1755220108.git.dnietoc@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>htl: move sem_{clockwait, timedwait, wait, trywait} into libc.</title>
<updated>2025-08-17T23:06:38+00:00</updated>
<author>
<name>gfleury</name>
<email>gfleury@disroot.org</email>
</author>
<published>2025-08-17T10:40:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=f5a43420e24ebdaddde2afc3878da8b6f0c83362'/>
<id>f5a43420e24ebdaddde2afc3878da8b6f0c83362</id>
<content type='text'>
Message-ID: &lt;20250817104023.91919-7-gfleury@disroot.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Message-ID: &lt;20250817104023.91919-7-gfleury@disroot.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hurd: Avoid -Wfree-labels warning in _hurd_intr_rpc_mach_msg</title>
<updated>2025-05-28T07:59:24+00:00</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2025-05-28T07:59:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=fe31d246f5ecf584467904cc8a411dbe306ae8f3'/>
<id>fe31d246f5ecf584467904cc8a411dbe306ae8f3</id>
<content type='text'>
This is required after commit 4f4c4fcde76aedc1f5362a51d98ebb57a28fbce9
("Turn on -Wfree-labels by default if available").

Reviewed-by: Sam James &lt;sam@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is required after commit 4f4c4fcde76aedc1f5362a51d98ebb57a28fbce9
("Turn on -Wfree-labels by default if available").

Reviewed-by: Sam James &lt;sam@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hurd: save xstate during signal handling</title>
<updated>2025-04-18T00:42:36+00:00</updated>
<author>
<name>Luca Dariz</name>
<email>luca@orpolo.org</email>
</author>
<published>2025-03-19T17:11:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=6d6a6e2dd2133908e3f5cb8a2ed817ccb2a0bb06'/>
<id>6d6a6e2dd2133908e3f5cb8a2ed817ccb2a0bb06</id>
<content type='text'>
* hurd/Makefile: add new tests
* hurd/test-sig-rpc-interrupted.c: check xstate save and restore in
  the case where a signal is delivered to a thread which is waiting
  for an rpc. This test implements the rpc interruption protocol used
  by the hurd servers. It was so far passing on Debian thanks to the
  local-intr-msg-clobber.diff patch, which is now obsolete.
* hurd/test-sig-xstate.c: check xstate save and restore in the case
  where a signal is delivered to a running thread, making sure that
  the xstate is modified in the signal handler.
* hurd/test-xstate.h: add helpers to test xstate
* sysdeps/mach/hurd/i386/bits/sigcontext.h: add xstate to the
  sigcontext structure.
+ sysdeps/mach/hurd/i386/sigreturn.c: restore xstate from the saved
  context
* sysdeps/mach/hurd/x86/trampoline.c: save xstate if
  supported. Otherwise we fall back to the previous behaviour of
  ignoring xstate.
* sysdeps/mach/hurd/x86_64/bits/sigcontext.h: add xstate to the
  sigcontext structure.
* sysdeps/mach/hurd/x86_64/sigreturn.c: restore xstate from the saved
  context

Signed-off-by: Luca Dariz &lt;luca@orpolo.org&gt;
Signed-off-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Message-ID: &lt;20250319171118.142163-1-luca@orpolo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* hurd/Makefile: add new tests
* hurd/test-sig-rpc-interrupted.c: check xstate save and restore in
  the case where a signal is delivered to a thread which is waiting
  for an rpc. This test implements the rpc interruption protocol used
  by the hurd servers. It was so far passing on Debian thanks to the
  local-intr-msg-clobber.diff patch, which is now obsolete.
* hurd/test-sig-xstate.c: check xstate save and restore in the case
  where a signal is delivered to a running thread, making sure that
  the xstate is modified in the signal handler.
* hurd/test-xstate.h: add helpers to test xstate
* sysdeps/mach/hurd/i386/bits/sigcontext.h: add xstate to the
  sigcontext structure.
+ sysdeps/mach/hurd/i386/sigreturn.c: restore xstate from the saved
  context
* sysdeps/mach/hurd/x86/trampoline.c: save xstate if
  supported. Otherwise we fall back to the previous behaviour of
  ignoring xstate.
* sysdeps/mach/hurd/x86_64/bits/sigcontext.h: add xstate to the
  sigcontext structure.
* sysdeps/mach/hurd/x86_64/sigreturn.c: restore xstate from the saved
  context

Signed-off-by: Luca Dariz &lt;luca@orpolo.org&gt;
Signed-off-by: Samuel Thibault &lt;samuel.thibault@ens-lyon.org&gt;
Message-ID: &lt;20250319171118.142163-1-luca@orpolo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove eloop-threshold.h</title>
<updated>2025-03-21T18:46:48+00:00</updated>
<author>
<name>Adhemerval Zanella</name>
<email>adhemerval.zanella@linaro.org</email>
</author>
<published>2025-03-04T18:13:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/glibc.git/commit/?id=1894e219dc530d7074085e95ffe3c1e66cebc072'/>
<id>1894e219dc530d7074085e95ffe3c1e66cebc072</id>
<content type='text'>
On both Linux and Hurd the __eloop_threshold() is always a constant
(40 and 32 respectively), so there is no need to always call
__sysconf (_SC_SYMLOOP_MAX) for Linux case (!SYMLOOP_MAX).  To avoid
a name clash with gnulib, rename the new file min-eloop-threshold.h.

Checked on x86_64-linux-gnu and with a build for x86_64-gnu.
Reviewed-by: DJ Delorie &lt;dj@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On both Linux and Hurd the __eloop_threshold() is always a constant
(40 and 32 respectively), so there is no need to always call
__sysconf (_SC_SYMLOOP_MAX) for Linux case (!SYMLOOP_MAX).  To avoid
a name clash with gnulib, rename the new file min-eloop-threshold.h.

Checked on x86_64-linux-gnu and with a build for x86_64-gnu.
Reviewed-by: DJ Delorie &lt;dj@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
