Date: Fri, 7 Jul 2006 15:00:45 GMT From: "Wojciech A. Koszek" <wkoszek@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/99758: chown/chmod pty slave side in kernel Message-ID: <200607071500.k67F0jWJ092403@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/99758; it has been noted by GNATS. From: "Wojciech A. Koszek" <wkoszek@FreeBSD.org> To: Atsuo Ohki <ohki@gssm.otsuka.tsukuba.ac.jp> Cc: Robert Watson <rwatson@FreeBSD.org>, freebsd-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/99758: chown/chmod pty slave side in kernel Date: Fri, 7 Jul 2006 16:56:43 +0000 On Fri, Jul 07, 2006 at 08:39:29PM +0900, Atsuo Ohki wrote: > I writes: > > Robert Watson writes: > >> ... > >> The tty_pts implementation in 7-CURRENT does the same, except more so, by > >> forcing revocation of the pty on last close. Unfortunately, this triggers > >> bugs in devfs. Your help in getting the 7.x pts implementation up and > >> running would be much appreciated. Take a look at src/sys/kern/tty_pts.c. > > > > Thank you for interested in my patch. > > > > I don't have a machine to run 7-current now, > > Now I have a machine running 7-current (cvs tag HEAD). > > Could you give me a pointer to how to trigger bugs in devfs > releated with pts implementation? Hello, Sure. I'm willing to hear more about your changes and patches! To reproduce problems I've seen, try to download Peter Wemm's stress suite, compile it, and run PTY code. As I recall, after unpacking stress2.tgz you'll have run.sh script and pty<some_extension>. You run it by typing: ./run ./pty<some_extension_maybe_conf>. Try to switch to other virtual terminal and login. For debugging stuff, where I liked to put printf()s and KASSERTs here and there, I used window(1), because it doesn't bomp you with tons of function calls, and creates (AFAICT) 2 vTTYs. Let me know if you find something, -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/dunstan/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607071500.k67F0jWJ092403>