mirror of
https://github.com/darlinghq/darlingserver.git
synced 2024-11-30 07:40:30 +00:00
2ad420c633
- Implemented an alternative to pidfd_open for kernels older than 5.3. mldr should send a "lifetime pipe" to darlingserver during process start. When the process dies, darlingserver should receive a POLLHUP event. - Set increased_limit.rlim_cur to default_limit.rlim_max on systems without /proc/sys/fs/nr_open. On WSL1, this greatly increases the number of open file descriptors available. - For systems without NSpid in /proc/self/status, implemented a way to manage thread IDs in darlingserver during checkin. darlingserver should receive a hint address on the thread's stack, and then compare it with a stack pointer retrieved using PTRACE_GETREGS - Avoided sending socket messages when msg_hdr.msg_name->sun_path is an empty string. A null msg_name is used instead, otherwise, on some systems, this would fail with EINVAL. |
||
---|---|---|
.. | ||
generate-rpc-wrappers.py |