public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684f0b0
)
process: signals on exit cases
author
Alan Cox
<alan@linux.intel.com>
Sun, 30 Oct 2016 10:48:09 +0000
(10:48 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 30 Oct 2016 10:48:09 +0000
(10:48 +0000)
Also catch the pending signal when we exit for another reason and then
block.
Kernel/process.c
patch
|
blob
|
history
diff --git
a/Kernel/process.c
b/Kernel/process.c
index
34799dd
..
77d2c53
100644
(file)
--- a/
Kernel/process.c
+++ b/
Kernel/process.c
@@
-642,6
+642,7
@@
void doexit(uint16_t val)
delivered). If we don't do this we might take a signal
while exiting which would be ... unfortunate */
udata.u_ptab->p_held = 0xFFFFFFFFUL;
+ udata.u_cursig = 0;
/* Discard our memory before we blow away and reuse the memory */
pagemap_free(udata.u_ptab);