Actions
Misc #12439
closed[PATCH cleanup] process.c (disable_child_handler_fork_child): simplify
Status:
Closed
Assignee:
Description
process.c (disable_child_handler_fork_child): simplify
signal(2) is portable for SIG_DFL and SIG_IGN, so we do not
need the extra code for sigaction(2).
Also, execve will reset all signal handlers to default
anyways, so there is little sense in preserving old
signal handler besides SIG_IGN.
Hopefully this makes the code easier-to-understand and
maintain.
Comments? Will commit in a week or two if no response.
Thanks.
Files
Updated by shyouhei (Shyouhei Urabe) about 7 years ago
- Status changed from Open to Assigned
Updated by akr (Akira Tanaka) almost 7 years ago
- Status changed from Assigned to Closed
It seems already committed.
Actions
Like0
Like0Like0