• Jiri Slaby's avatar
    tty: warn on deprecated serial flags · 8a8ae62f
    Jiri Slaby authored
    When somebody calls TIOCSSERIAL ioctl with serial flags to set one of
    * ASYNC_SESSION_LOCKOUT
    * ASYNC_PGRP_LOCKOUT
    * ASYNC_CALLOUT_NOHUP
    * ASYNC_AUTOPROBE
    nothing happens. We actually ignore the flags for over a decade at
    least (I checked 2.6.0).
    
    So start yelling at users who use those flags, that they shouldn't.
    Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
    Cc: Peter Hurley <peter@hurleysoftware.com>
    Cc: Alan Cox <gnomes@lxorguk.ukuu.org.uk>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    8a8ae62f
tty_io.c 88.2 KB