Date: Thu, 20 Dec 2007 21:10:06 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libutil pty.c Message-ID: <200712202110.lBKLA62l076058@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2007-12-20 21:10:06 UTC FreeBSD src repository Modified files: lib/libutil pty.c Log: Invoke revoke(2) on the slave pty in the pts(4) case (new_openpty()) to kick off any other users on the device line before using it since openpty(3) is documented to do this. Note that grantpt(3) does not call revoke(2), it only adjusts permissions and ownership. MFC after: 3 days Revision Changes Path 1.19 +13 -1 src/lib/libutil/pty.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712202110.lBKLA62l076058>