um: Assorted console related fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | um: Run console exit code also upon kernel panicarch/ arch/ arch/ | +18 | 1 reply | |
| 2/4 | um: os_set_fd_block: Return old blocking modearch/ arch/ arch/ +3 more | +12 | 1 reply | |
| 3/4 | um: chan: Restore blocking mode upon exitarch/ arch/ | +4 | 0 replies | |
| 4/4 | um: irq: Restore O_ASYNC upon exitarch/ | +4 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] um: Assorted console related fixes
When UML terminates (gracefully or panic) it does not always cleanup on the host side.
Especially when fd:0,fd:1 is used as console it can leave a misconfigured stdin/out on the host side.
Also stale processes such as port-helper can left behind.
This series fixes the console exit code to make sure UML undoes everything it changed on the host side.
Richard Weinberger (4):
um: Run console exit code also upon kernel panic
um: os_set_fd_block: Return old blocking mode
um: chan: Restore blocking mode upon exit
um: irq: Restore O_ASYNC upon exit
arch/um/drivers/chan.h | 1 + arch/um/drivers/chan_kern.c | 11 +++++++---- arch/um/drivers/chan_user.c | 2 +- arch/um/drivers/mconsole_kern.c | 2 +- arch/um/drivers/stdio_console.c | 4 ++-- arch/um/drivers/ubd_user.c | 2 +- arch/um/drivers/xterm.c | 2 +- arch/um/include/shared/uml_console.h | 11 +++++++++++ arch/um/kernel/irq.c | 5 ++++- arch/um/kernel/um_arch.c | 8 +++++--- arch/um/os-Linux/file.c | 5 ++++- 11 files changed, 38 insertions(+), 15 deletions(-) create mode 100644 arch/um/include/shared/uml_console.h
Signature · 7 lines
2.26.2 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um