public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19755b9
)
process: correct SIGCHLD check
author
Alan Cox
<alan@linux.intel.com>
Sat, 2 Jun 2018 21:58:08 +0000
(22:58 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 2 Jun 2018 21:58:08 +0000
(22:58 +0100)
Kernel/process.c
patch
|
blob
|
history
diff --git
a/Kernel/process.c
b/Kernel/process.c
index
29ae033
..
3fba3d0
100644
(file)
--- a/
Kernel/process.c
+++ b/
Kernel/process.c
@@
-778,7
+778,7
@@
void acctexit(ptptr p)
static int signal_parent(ptptr c)
{
ptptr p = c->p_pptr;
- if (p->p_sig[1].s_ignored & (1UL <<
SIGCHLD
)) {
+ if (p->p_sig[1].s_ignored & (1UL <<
(SIGCHLD - 16)
)) {
/* POSIX.1 says that SIG_IGN for SIGCHLD means don't go
zombie, just clean up as we go */
udata.u_ptab->p_status = P_EMPTY;