]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
posix: add select() syscall (minimal)
authorTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 04:07:46 +0000 (01:07 -0300)
committerTulio A M Mendes <[email protected]>
Sun, 8 Feb 2026 04:07:46 +0000 (01:07 -0300)
commit934012840098dac32b5b262aab6d3ba16907adaf
tree21ea4e61aa90f56c4d0ad5e0a419c649c6e69df7
parentb50436ffa8d0adffbd66e4b96ff4e1160a513f77
posix: add select() syscall (minimal)

Add a minimal select() syscall implemented as a wrapper over poll(). Uses uint64_t read/write fd masks (nfds<=64), timeout semantics aligned with poll, and a userland smoke test with a pipe.
include/syscall.h
src/kernel/syscall.c
user/init.c