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
F167793542: D31481.id93462.diff
Mon, Aug 24, 2:26 PM
F167761151: D31481.id93606.diff
Mon, Aug 24, 8:47 AM
F167729731: D31481.id93477.diff
Mon, Aug 24, 2:26 AM
F167706745: D31481.id93477.diff
Sun, Aug 23, 9:34 PM
F167706032: D31481.id93462.diff
Sun, Aug 23, 9:30 PM
F167699172: D31481.id93476.diff
Sun, Aug 23, 8:42 PM
F167696332: D31481.id93606.diff
Sun, Aug 23, 8:18 PM
F167677321: D31481.id93462.diff
Sun, Aug 23, 5:31 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40958
Build 37847: 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