From 3812a60ac0498cbb3455a6449470575debc3c6e1 Mon Sep 17 00:00:00 2001 From: Tulio A M Mendes Date: Mon, 9 Feb 2026 19:31:03 -0300 Subject: [PATCH] docs: update POSIX roadmap with sigreturn --- docs/POSIX_ROADMAP.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/POSIX_ROADMAP.md b/docs/POSIX_ROADMAP.md index dcedb20..fd2263a 100644 --- a/docs/POSIX_ROADMAP.md +++ b/docs/POSIX_ROADMAP.md @@ -56,6 +56,7 @@ Notes: - [x] `getppid()` - [x] `select()` / `poll()` (minimal) - [~] Basic signals (`sigaction`, `sigprocmask`, `kill`) (delivery model is minimal) +- [x] `sigreturn()` trampoline (userspace return path for signal handlers) - [x] `setsid()` / `setpgid()` / `getpgrp()` (minimal) ### FD layer @@ -188,6 +189,10 @@ Goal: get a writable filesystem (even if volatile) and a real VFS layout. - [x] `getppid()` - [~] Signals + basic job control (`SIGTTIN`/`SIGTTOU` for background TTY I/O) +#### Signals (details) +- [x] `sigreturn()` syscall + userspace trampoline return path +- [x] Userspace smoke test: signal handler returns correctly (see `user/init.c`) + ### Pipes + IO multiplexing - [x] `pipe()` - [x] `dup/dup2` -- 2.43.0