mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
um: Missing pipe handling
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. Signed-off-by: Anton Ivanov <antivano@cisco.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
0d71832e30
commit
9fcb663be4
1 changed files with 1 additions and 0 deletions
|
@ -151,6 +151,7 @@ int __init main(int argc, char **argv, char **envp)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
do_uml_initcalls();
|
do_uml_initcalls();
|
||||||
|
change_sig(SIGPIPE, 0);
|
||||||
ret = linux_main(argc, argv);
|
ret = linux_main(argc, argv);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue