]> 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)
commit58c5e6d8568f2223fe5f89cdd379bc9a208c72cf
tree0f7a7399d2746b29b17491d46e5458ec33f068d6
parentc5ef35da6045aa6439edf46740f702d0c6704155
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