projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bfd04b
)
uml: stub needs to tolerate SIGWINCH
author
Jeff Dike
<
[email protected]
>
Fri, 6 Jun 2008 05:46:13 +0000
(22:46 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 6 Jun 2008 18:29:10 +0000
(11:29 -0700)
We lost the marking of SIGWINCH as being OK to receive during stub
execution, causing a panic should that happen.
Cc: Benedict Verheyen <
[email protected]
>
Signed-off-by: Jeff Dike <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/um/os-Linux/skas/process.c
patch
|
blob
|
history
diff --git
a/arch/um/os-Linux/skas/process.c
b/arch/um/os-Linux/skas/process.c
index 6be028ca1817cfa0cab378ad0a49816798040b7b..172ad8f72e12e71af5d2b1463a3ec3af272095ed 100644
(file)
--- a/
arch/um/os-Linux/skas/process.c
+++ b/
arch/um/os-Linux/skas/process.c
@@
-55,7
+55,7
@@
static int ptrace_dump_regs(int pid)
* Signals that are OK to receive in the stub - we'll just continue it.
* SIGWINCH will happen when UML is inside a detached screen.
*/
-#define STUB_SIG_MASK (
1 << SIGVTALRM
)
+#define STUB_SIG_MASK (
(1 << SIGVTALRM) | (1 << SIGWINCH)
)
/* Signals that the stub will finish with - anything else is an error */
#define STUB_DONE_MASK (1 << SIGTRAP)