cvs commit: src/lib/libutil pty.c

John Baldwin jhb at FreeBSD.org
Thu Dec 20 13:10:07 PST 2007


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


More information about the cvs-src mailing list