serial: do not accept sysrq characters via serial port
authorFelix Fietkau <nbd@nbd.name>
Thu, 22 Dec 2016 07:31:34 +0000 (08:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:51:24 +0000 (11:51 +0100)
commit732dbf3a6104a3abfcfcd066dcaf89e5054ce009
tree7bb0dec3e05e2f61365c005e34e536a7d74bfce4
parent552df698e9e88b580039ca715e1b5ad34b6e130b
serial: do not accept sysrq characters via serial port

many embedded boards have a disconnected TTL level serial which can
generate some garbage that can lead to spurious false sysrq detects.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/serial_core.h
lib/Kconfig.debug