glibc/hurd
Diego Nieto Cid 802b0eba51 hurd: implement RLIMIT_AS against Mach RPCs
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: <03fb90a795b354a366ee73f56f73e6ad22a86cda.1755220108.git.dnietoc@gmail.com>
2025-09-22 00:52:37 +02:00
..
hurd hurd: Replace char foo[1024] with string_t 2025-02-10 20:10:59 +01:00
Depend
Makefile hurd: save xstate during signal handling 2025-04-18 02:42:36 +02:00
Notes
RPC_gsync_wait_intr.c hurd: Add __lll_abstimed_wait_intr 2020-12-16 01:58:33 +01:00
Versions hurd: Fix using interposable hurd_thread_self 2023-05-19 20:45:51 +02:00
alloc-fd.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
catch-exc.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
catch-signal.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
compat-20.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ctty-input.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ctty-output.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
dtable.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
exc2signal.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
faultexc.defs
fchroot.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fcntl-internal.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fd-cleanup.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fd-close.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fd-read.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fd-write.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
fopenport.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
get-host.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
getdport.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
geteuids.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
getumask.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurd-raise.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurd.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdauth.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdchdir.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdexec.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdfault.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdfault.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdfchdir.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdhost.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdid.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdinit.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdioctl.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdkill.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdlock.c htl: move sem_{clockwait, timedwait, wait, trywait} into libc. 2025-08-18 01:06:38 +02:00
hurdlock.h htl: move sem_{clockwait, timedwait, wait, trywait} into libc. 2025-08-18 01:06:38 +02:00
hurdlookup.c hurd: Replace char foo[1024] with string_t 2025-02-10 20:10:59 +01:00
hurdmalloc.c hurd: Fix static-PIE startup 2021-12-28 10:28:22 +01:00
hurdmalloc.h
hurdmsg.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdpid.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdports.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdprio.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdrlimit.c hurd: implement RLIMIT_AS against Mach RPCs 2025-09-22 00:52:37 +02:00
hurdselect.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdsig.c hurd: Use the new __proc_reauthenticate_complete protocol 2025-02-01 18:20:42 +01:00
hurdsock.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdsocket.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdstartup.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
hurdstartup.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
intern-fd.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
intr-msg.c hurd: Avoid -Wfree-labels warning in _hurd_intr_rpc_mach_msg 2025-05-28 09:59:24 +02:00
intr-rpc.defs Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
intr-rpc.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
longjmp-ts.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
lookup-at.c hurd: Replace char foo[1024] with string_t 2025-02-10 20:10:59 +01:00
lookup-retry.c Remove eloop-threshold.h 2025-03-21 15:46:48 -03:00
msgportdemux.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
new-fd.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
openport.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
path-lookup.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
pid2task.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
port-cleanup.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
port2fd.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ports-get.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
ports-set.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
preempt-sig.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
privports.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
report-wait.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
set-hooks.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
set-host.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
setauth.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
seteuids.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
siginfo.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
sigunwind.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stack_chk_fail_local.c hurd: fix build with -fstack-protector-strong 2017-08-27 22:10:17 +02:00
task2pid.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
test-sig-rpc-interrupted.c hurd: save xstate during signal handling 2025-04-18 02:42:36 +02:00
test-sig-xstate.c hurd: save xstate during signal handling 2025-04-18 02:42:36 +02:00
test-xstate.h hurd: save xstate during signal handling 2025-04-18 02:42:36 +02:00
thread-cancel.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
thread-self.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
trampoline.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
vpprintf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
xattr.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00