diff options
author | Segev Finer <segev208@gmail.com> | 2018-08-15 20:46:18 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-08-18 11:22:28 -0400 |
commit | 8b2b61e0001281be0dcd3dedc899bf187172fecb (patch) | |
tree | ba225d879658123fbb313b8a1bcca76b164cc54f /include/sys/ptrace.h | |
parent | 91e1e29d6dd92c5e707f05dcc9b2a376b0d8dfa1 (diff) | |
download | musl-8b2b61e0001281be0dcd3dedc899bf187172fecb.tar.gz musl-8b2b61e0001281be0dcd3dedc899bf187172fecb.tar.xz musl-8b2b61e0001281be0dcd3dedc899bf187172fecb.zip |
mips archs: fix runaway execution if start fn passed to clone returns
Call SYS_exit on return from fn in __clone. This is the expected behavior of this function. Without this the child task will crash on return from fn, since it will return to nowhere.
Diffstat (limited to 'include/sys/ptrace.h')
0 files changed, 0 insertions, 0 deletions