mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-20 13:06:33 +00:00
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.
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
130a0f7030
commit
0a36760f7a
@ -10,6 +10,8 @@ cd ${SCRIPT_DIR}/..
|
||||
echo "Start process test......"
|
||||
# These test programs are sorted by name.
|
||||
tests="
|
||||
clone3/clone_exit_signal
|
||||
clone3/clone_no_exit_signal
|
||||
clone3/clone_process
|
||||
execve/execve
|
||||
eventfd2/eventfd2
|
||||
|
Reference in New Issue
Block a user