Commit graph

15 commits

Author SHA1 Message Date
Andrea Mazzoleni
bf2a8b63c5 Replace VLA envp_dynamic with malloc in fork child exec path
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-08-05 22:24:28 +02:00
Andrea Mazzoleni
50f9742560 Add comments explaining Windows Service console attachment flow in os_term 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
3f515ab6e7 Comment about process resource in os_term/os_kill on Windows 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
53194c4183 Add fallback to kill(pid, sig) when process group signaling returns ESRCH in os_term and os_kill 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
079aa52be5 Configure PR_SET_PDEATHSIG on Linux and Job Objects on Windows to prevent orphaned subprocesses on program crash 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
ec46bafc3b Support filesystems with invalid inode numbers on individual files 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
1f496e61c6 Silence clang static analyzer warnings 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
3c3aedadef Add bounded retry with exponential backoff for ERROR_NO_SYSTEM_RESOURCES 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
8d1aabdb6b Add new os_kill 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
ac5191dafe Add CREATE_NO_WINDOW flag to process creation in os_spawn 2026-08-05 21:05:34 +02:00
Andrea Mazzoleni
f20fa3ebc8 Make os_abort to log to os_syslog 2026-08-05 21:05:33 +02:00
Andrea Mazzoleni
dbf83a0e84 Sanitize addr2line binary path via strspn whitelist before system call 2026-08-05 21:05:33 +02:00
Andrea Mazzoleni
523f8c4a77 Sync the OS interface with the daemon 2026-08-05 20:55:49 +02:00
Andrea Mazzoleni
3adc3f0881 Abort on privilege switch failures unless errno is EPERM 2026-08-05 20:54:28 +02:00
Andrea Mazzoleni
ef8085646d Merge the CLI and Daemon portable interface 2026-08-04 09:48:01 +02:00