]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
feat: posix_spawn syscall (atomic fork+execve)
authorTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 00:58:29 +0000 (21:58 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 15 Feb 2026 00:58:29 +0000 (21:58 -0300)
commit2339e3b7cdcc6fd812fa5179f5d3eeabba84196a
treeeaf474995eea9e381aaf154416a2a04af972d293
parent67388f2ff5746f6d714d42f0aa36bb73a804097c
feat: posix_spawn syscall (atomic fork+execve)

- SYSCALL_POSIX_SPAWN = 96
- Combines fork + execve in one syscall call
- Returns 0 to parent, stores child PID via user pointer
- Child exits with 127 if execve fails
- 35/35 smoke tests pass, cppcheck clean
include/syscall.h
src/kernel/syscall.c