Re: [PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-17 Thread Richard Henderson
On 6/17/24 08:15, Philippe Mathieu-Daudé wrote: On 17/6/24 15:07, Michael Tokarev wrote: 17.06.2024 10:19, Philippe Mathieu-Daudé wrote: Hi Trent, On 14/6/24 23:06, Trent Huber wrote: Darwin uses a subtly different version of the setrlimit() syscall as described in the COMPATIBILITY section o

Re: [PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-17 Thread Philippe Mathieu-Daudé
On 17/6/24 15:07, Michael Tokarev wrote: 17.06.2024 10:19, Philippe Mathieu-Daudé wrote: Hi Trent, On 14/6/24 23:06, Trent Huber wrote: Darwin uses a subtly different version of the setrlimit() syscall as described in the COMPATIBILITY section of the macOS man page. The value of the rlim_cur m

Re: [PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-17 Thread Michael Tokarev
17.06.2024 10:19, Philippe Mathieu-Daudé wrote: Hi Trent, On 14/6/24 23:06, Trent Huber wrote: Darwin uses a subtly different version of the setrlimit() syscall as described in the COMPATIBILITY section of the macOS man page. The value of the rlim_cur member has been adjusted accordingly for Da

Re: [PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-17 Thread Daniel P . Berrangé
On Fri, Jun 14, 2024 at 05:06:38PM -0400, Trent Huber wrote: > Darwin uses a subtly different version of the setrlimit() syscall as > described in the COMPATIBILITY section of the macOS man page. The value > of the rlim_cur member has been adjusted accordingly for Darwin-based > systems. > > Signe

Re: [PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-17 Thread Philippe Mathieu-Daudé
Hi Trent, On 14/6/24 23:06, Trent Huber wrote: Darwin uses a subtly different version of the setrlimit() syscall as described in the COMPATIBILITY section of the macOS man page. The value of the rlim_cur member has been adjusted accordingly for Darwin-based systems. Signed-off-by: Trent Huber

[PATCH v2] os-posix: Expand setrlimit() syscall compatibility

2024-06-14 Thread Trent Huber
Darwin uses a subtly different version of the setrlimit() syscall as described in the COMPATIBILITY section of the macOS man page. The value of the rlim_cur member has been adjusted accordingly for Darwin-based systems. Signed-off-by: Trent Huber --- The previous version assumed OPEN_MAX was a co