cvs commit: src/sys/kern tty_pts.c

Konstantin Belousov kib at
Tue Jul 3 17:45:00 UTC 2007

kib         2007-07-03 17:44:59 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty_pts.c 
  Use make_dev_credf(MAKEDEV_REF) instead of make_dev() from the clone handler.
  Lock Giant in the clone handler.
  Use destroy_dev_sched() explicitely from pty_maybecleanup() and postpone
  pty_release() until both master and slave cdevs are destroyed by setting
  it as callback for destroy_dev_sched().
  Debugging help and testing by:  Peter Holm
  Approved by:    re (kensmith)
  Revision  Changes    Path
  1.15      +16 -10    src/sys/kern/tty_pts.c

More information about the cvs-src mailing list