From 724c603bd68c702f1d514c3efe996e5517aead4c Mon Sep 17 00:00:00 2001 From: pierretom Date: Sat, 24 Jan 2026 15:25:06 +0100 Subject: [PATCH] add missing syscalls in groups - `@io-event`: - `epoll_pwait2` - `osf_select` - `ppoll_time64` - `pselect6_time64` - `@process`: - `getgid32` And fix `sched_setrlimit` -> `setrlimit` in `@resources`. --- src/lib/syscall.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/lib/syscall.c b/src/lib/syscall.c index a1c886ac4..b22b56b74 100644 --- a/src/lib/syscall.c +++ b/src/lib/syscall.c @@ -770,6 +770,9 @@ static const SyscallGroupList sysgroups[] = { #ifdef SYS_epoll_pwait "epoll_pwait," #endif +#ifdef SYS_epoll_pwait2 + "epoll_pwait2," +#endif #ifdef SYS_epoll_wait "epoll_wait," #endif @@ -779,15 +782,24 @@ static const SyscallGroupList sysgroups[] = { #ifdef SYS_eventfd2 "eventfd2," #endif +#ifdef SYS_osf_select + "osf_select," +#endif #ifdef SYS_poll "poll," #endif #ifdef SYS_ppoll "ppoll," #endif +#ifdef SYS_ppoll_time64 + "ppoll_time64," +#endif #ifdef SYS_pselect6 "pselect6," #endif +#ifdef SYS_pselect6_time64 + "pselect6_time64," +#endif #ifdef SYS_select "select" #endif @@ -1564,6 +1576,9 @@ static const SyscallGroupList sysgroups[] = { #ifdef SYS_getgid "getgid," #endif +#ifdef SYS_getgid32 + "getgid32," +#endif #ifdef SYS_getgroups "getgroups," #endif @@ -1796,9 +1811,6 @@ static const SyscallGroupList sysgroups[] = { #ifdef SYS_sched_setparam "sched_setparam," #endif -#ifdef SYS_setrlimit - "sched_setrlimit," -#endif #ifdef SYS_sched_setscheduler "sched_setscheduler," #endif @@ -1808,6 +1820,9 @@ static const SyscallGroupList sysgroups[] = { #ifdef SYS_set_mempolicy_home_node "set_mempolicy_home_node," #endif +#ifdef SYS_setrlimit + "setrlimit," +#endif #ifdef SYS_set_ugetrlimit "ugetrlimit" #endif