Date: Tue, 3 Jul 2007 17:44:59 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty_pts.c Message-ID: <200707031744.l63HixMR096871@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2007-07-03 17:44:59 UTC FreeBSD src repository Modified files: sys/kern tty_pts.c Log: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707031744.l63HixMR096871>