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
Unknown Object (File)
Wed, Nov 6, 10:29 AM
Unknown Object (File)
Sun, Nov 3, 6:59 AM
Unknown Object (File)
Oct 2 2024, 12:10 PM
Unknown Object (File)
Sep 28 2024, 5:23 AM
Unknown Object (File)
Sep 27 2024, 10:22 PM
Unknown Object (File)
Sep 24 2024, 3:59 AM
Unknown Object (File)
Sep 13 2024, 6:47 PM
Unknown Object (File)
Sep 10 2024, 8:29 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40959
Build 37848: arc lint + arc unit

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