linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [PATCH 1/3] BUG: UML does not handle sigpipe. As a result when running it under expect or redirecting the IO from the console to an external program it will crash if the program stops or exits.
@ 2014-03-08  6:51 anton.ivanov
  2014-03-08  6:51 ` [uml-devel] [PATCH 2/3] BUG: Memory corruption on startup anton.ivanov
  2014-03-08  6:51 ` [uml-devel] [PATCH 3/3] BUG: PIPE is the wrong IPC for this type of inter-thread communication anton.ivanov
  0 siblings, 2 replies; 4+ messages in thread
From: anton.ivanov @ 2014-03-08  6:51 UTC (permalink / raw)
  To: user-mode-linux-devel

From: Anton Ivanov <antivano@cisco.com>


Signed-off-by: Anton Ivanov <antivano@cisco.com>
---
 arch/um/os-Linux/main.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c
index 7a86dd5..048166d 100644
--- a/arch/um/os-Linux/main.c
+++ b/arch/um/os-Linux/main.c
@@ -149,6 +149,7 @@ int __init main(int argc, char **argv, char **envp)
 #endif
 
 	do_uml_initcalls();
+	change_sig(SIGPIPE, 0);
 	ret = linux_main(argc, argv);
 
 	/*
-- 
1.7.10.4


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-08  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-08  6:51 [uml-devel] [PATCH 1/3] BUG: UML does not handle sigpipe. As a result when running it under expect or redirecting the IO from the console to an external program it will crash if the program stops or exits anton.ivanov
2014-03-08  6:51 ` [uml-devel] [PATCH 2/3] BUG: Memory corruption on startup anton.ivanov
2014-03-08  6:51 ` [uml-devel] [PATCH 3/3] BUG: PIPE is the wrong IPC for this type of inter-thread communication anton.ivanov
2014-03-08  7:47   ` Anton Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox