Commit Graph

2 Commits

Author SHA1 Message Date
19b13d88e2 Fix clone_exit_signal test 2024-11-06 21:53:55 +08:00
0a36760f7a Respect user-defined exit signal in clone() and clone3()
When calling clone() and clone3(), the user is allowed to specify a
signal to be sent to the parent process on exit. Respect this value by
storing it in the Process struct and sending the signal on exit.

Add a test as well to verify that the signal is properly delivered to
the parent.
2024-09-26 20:07:43 +08:00