projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'torvalds/master'
[firefly-linux-kernel-4.4.55.git]
/
arch
/
um
/
os-Linux
/
util.c
diff --git
a/arch/um/os-Linux/util.c
b/arch/um/os-Linux/util.c
index 492ef5e6e166e082969fda850698f75d281bac47..faee55ef6d2f4954aa9770c2d8985554e40797d7 100644
(file)
--- a/
arch/um/os-Linux/util.c
+++ b/
arch/um/os-Linux/util.c
@@
-94,6
+94,16
@@
static inline void __attribute__ ((noreturn)) uml_abort(void)
exit(127);
}
+/*
+ * UML helper threads must not handle SIGWINCH/INT/TERM
+ */
+void os_fix_helper_signals(void)
+{
+ signal(SIGWINCH, SIG_IGN);
+ signal(SIGINT, SIG_DFL);
+ signal(SIGTERM, SIG_DFL);
+}
+
void os_dump_core(void)
{
int pid;