]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Relinquish exclusive TTY access when tip(1) or cu(1) exit.
authorBruce M Simpson <bms@FreeBSD.org>
Sat, 3 May 2008 02:29:02 +0000 (02:29 +0000)
committerBruce M Simpson <bms@FreeBSD.org>
Sat, 3 May 2008 02:29:02 +0000 (02:29 +0000)
commita0ad4c4d370c5732ce0237e5f3ad6f513df53eff
tree373309d6103a82792e12534680fa8ae9adf54c39
parent03bc210eb93dbfa1dce0e0fbafb636b6eef7e2b6
Relinquish exclusive TTY access when tip(1) or cu(1) exit.
Previously they would have left TIOCEXCL enabled, requiring
either a reboot or use of tip/cu as the root user.

Observed when running QEMU with character devices redirected to pty instances.

MFC after: 2 weeks
usr.bin/tip/tip/cmds.c
usr.bin/tip/tip/tip.c
usr.bin/tip/tip/tip.h
usr.bin/tip/tip/uucplock.c