summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/termios.h')
-rw-r--r--arch/x86/include/asm/termios.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/termios.h b/arch/x86/include/asm/termios.h
index f729563..c4ee805 100644
--- a/arch/x86/include/asm/termios.h
+++ b/arch/x86/include/asm/termios.h
@@ -67,6 +67,7 @@ static inline int user_termio_to_kernel_termios(struct ktermios *termios,
SET_LOW_TERMIOS_BITS(termios, termio, c_oflag);
SET_LOW_TERMIOS_BITS(termios, termio, c_cflag);
SET_LOW_TERMIOS_BITS(termios, termio, c_lflag);
+ get_user(termios->c_line, &termio->c_line);
return copy_from_user(termios->c_cc, termio->c_cc, NCC);
}
OpenPOWER on IntegriCloud