On 5/18/2026 2:27 PM, Warner Losh wrote: > Add the first set of signal-related system call shims: sigaction, > sigprocmask, sigpending, sigsuspend, and sigreturn. Also add the > do_sigprocmask and target_to_host_sigevent helper functions to signal.c > and their declarations to signal-common.h. > > Signed-off-by: Stacey Son <[email protected]> > Signed-off-by: Kyle Evans <[email protected]> > Signed-off-by: Jessica Clarke <[email protected]> > Signed-off-by: Mikaƫl Urankar <[email protected]> > Signed-off-by: Warner Losh <[email protected]> > Assisted-by: Claude Opus 4.6 (1M context) > --- > bsd-user/bsd-signal.h | 151 > ++++++++++++++++++++++++++++++++++++++++++ > bsd-user/freebsd/os-syscall.c | 1 + > bsd-user/signal-common.h | 4 ++ > bsd-user/signal.c | 67 +++++++++++++++++++ > 4 files changed, 223 insertions(+) >
Reviewed-by: Pierrick Bouvier <[email protected]>
