]> asedeno.scripts.mit.edu Git - linux.git/commit
um: Add an option to make serial driver non-raw
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 May 2019 22:08:43 +0000 (00:08 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 19 Jan 2020 21:41:50 +0000 (22:41 +0100)
commitf1dc67d0e7df21b3d27beb3ec7b2c9e2b721daff
tree1fab249f28cc096a60b453278567b0b3ca581cad
parentb3a987b0264d3ddbb24293ebff10eddfc472f653
um: Add an option to make serial driver non-raw

In some cases, for example when the program(s) running inside UML
isn't/aren't interactive (like the hwsim tests for wpa_supplicant)
there's really no value in having the serial lines configured to
be raw as they are now by default. Setting them to non-raw lets
one abort the whole UML with Ctrl-C, which is really the right
thing to do in these cases, basically the whole UML instance is
more like a single (testing) program.

Add a "ssl-non-raw" option to UML to support such a mode.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/chan_user.h
arch/um/drivers/ssl.c