mbox series

[0/4] x86_64-gnu signal fixes

Message ID 20230515083323.1358039-1-bugaevc@gmail.com
Headers show
Series x86_64-gnu signal fixes | expand

Message

Sergey Bugaev May 15, 2023, 8:33 a.m. UTC
Hello,

now that we got enough of the system running on x86_64-gnu, we can
actually test the signal machinery. In fact we sort of *have to*,
because /bin/sh receives SIGCHLD when a command completes, and wants
to handle it.

Suprisingly, most of the logic actually does just work! -- but several
things were broken; and this patch series contains the fixes. With
these patches (+ the thread setup fixes that I'll send as a separate
series) I'm able to receive a signal, do all the trampoline and
intr-rpc magic, run the handler, and sigreturn back into user code --
apparently successfully.

Sergey