clone: add test for handlers sharing

* Fix shared handers inherintence to take them from parent
instead of the default.
* Workaround an issue with glibc's raise() after CLONE_VM

Test: added test
Bug: 330367435
Change-Id: Ie0a33b8b74daef0f7abacc92c94b38e22cb3f322
5 files changed