]> 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)
commitdf3901ec68605bf797e4b586c5c5076aeb368c70
tree558ae9c7cea2ee8bffea6eb8ce923ed5115e8098
parent4576b99442e429c169f96c3596208274bf50d886
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