Date: Mon, 15 Jun 2009 19:17:52 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_exit.c tty.c Message-ID: <200906151918.n5FJICmd064528@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-06-15 19:17:52 UTC FreeBSD src repository Modified files: sys/kern kern_exit.c tty.c Log: SVN rev 194256 on 2009-06-15 19:17:52Z by ed Make tcsetsid(3) work on revoked TTYs. Right now the only way to make tcsetsid(3)/TIOCSCTTY work, is by ensuring the session leader is dead. This means that an application that catches SIGHUPs and performs a sleep prevents us from assigning a new session leader. Change the code to make it work on revoked TTYs as well. This allows us to change init(8) to make the shutdown script run in a more clean environment. Revision Changes Path 1.325 +1 -1 src/sys/kern/kern_exit.c 1.322 +6 -3 src/sys/kern/tty.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906151918.n5FJICmd064528>