]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
posix: getppid syscall
authorTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 02:37:16 +0000 (23:37 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 02:37:16 +0000 (23:37 -0300)
commit034a0bcab746361acc308bafd97bbcbdb0ce597f
treee419d6b4459d47683e299c46dfa373370022cae9
parent29dbb2e0a19cdb500103e3ccc8ee60545a6e5fd3
posix: getppid syscall

Add SYSCALL_GETPPID and userland wrappers. Include a simple fork-based smoke test validating getppid() in init.elf.
include/syscall.h
src/kernel/syscall.c
user/init.c