]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
feat: waitid syscall (P_ALL, P_PID) with siginfo_t output
authorTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 00:48:48 +0000 (21:48 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 00:48:48 +0000 (21:48 -0300)
commitbd67b526435c739c7cfe28b3cec7ee3bc780f649
treed646312597b0392ba15d93e963fec8eb01692773
parent5da7c84576c45e7a5ecbdd65cdf9f6072edf030d
feat: waitid syscall (P_ALL, P_PID) with siginfo_t output

- SYSCALL_WAITID = 94, wraps process_waitpid internally
- Fills minimal siginfo: si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid, si_status
- Supports P_ALL (idtype=0) and P_PID (idtype=1)
- 35/35 smoke tests pass, cppcheck clean
include/syscall.h
src/kernel/syscall.c