Page MenuHomeFreeBSD

linux(4): Implement CLONE_CLEAR_SIGHAND option bit.
ClosedPublic

Authored by dchagin on Aug 9 2021, 7:53 PM.
Tags
None
Referenced Files
F135355907: D31481.diff
Sun, Nov 9, 1:49 AM
Unknown Object (File)
Mon, Nov 3, 9:29 AM
Unknown Object (File)
Mon, Nov 3, 6:57 AM
Unknown Object (File)
Sun, Nov 2, 6:11 PM
Unknown Object (File)
Sat, Nov 1, 10:04 AM
Unknown Object (File)
Thu, Oct 30, 1:58 AM
Unknown Object (File)
Wed, Oct 29, 6:01 PM
Unknown Object (File)
Tue, Oct 28, 7:22 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Can you explain the semantic of CLEAR_SIGHAND, or provide a reference to the official doc?

sys/compat/linux/linux_fork.c
142

This leaves f2 uninitialize if CLEAR_SIGHAND is not specified, no?

fixed, CLONE_CLEAR_SIGHAND is designed to reset all signal handlers of the child
not set to SIG_IGN to SIG_DFL.

sys/compat/linux/linux_fork.c
155

Please do '|=' instead of '='.

kib added inline comments.
sys/compat/linux/linux_fork.c
142

I would also moved the initialization of ff there, from the declaration block.

This revision is now accepted and ready to land.Aug 10 2021, 9:44 AM