tty: add TIOCVHANGUP to allow clean tty shutdown of all ttys
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 17 Feb 2011 17:39:28 +0000 (18:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:16:30 +0000 (14:16 -0800)
commit3c95c985fa91ecf6a0e29622bbdd13dcfc5ce9f1
tree653ac54f667d5868712aef584ea7fea3b5542810
parentafaae08442d86402f9e0b63475c02a651c6f1387
tty: add TIOCVHANGUP to allow clean tty shutdown of all ttys

This is useful for system management software so that it can kick
off things like gettys and everything that's started from a tty,
before we reuse it from/for something else or shut it down.

Without this ioctl it would have to temporarily become the owner of
the tty, then call vhangup() and then give it up again.

Cc: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/alpha/include/asm/ioctls.h
arch/mips/include/asm/ioctls.h
arch/parisc/include/asm/ioctls.h
arch/powerpc/include/asm/ioctls.h
arch/sh/include/asm/ioctls.h
arch/sparc/include/asm/ioctls.h
arch/xtensa/include/asm/ioctls.h
drivers/tty/tty_io.c
include/asm-generic/ioctls.h
This page took 0.033987 seconds and 5 git commands to generate.