The following reply was made to PR bin/61355; it has been noted by GNATS.

From: Sergey Kandaurov <[email protected]>
To: [email protected], [email protected]
Cc:  
Subject: Re: bin/61355: login(1) does not restore terminal ownership on exit
Date: Wed, 5 Jan 2011 20:17:51 +0300

 Strictly speaking, my 2c isn't related to the ticket, but still..
 To recover tty ownership, I used kqueue() to pwait until a
 "session" exec'ed from under su has finished (i.e. exec'ed
 shell has exited), then ioctl(..,DEVFSIO_RAPPLY,..).
 Messy but works.
 
 my 2c.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to