Bug#45104: setsid() breakage
Date: Wed, 22 Sep 1999 12:55:20 -0400
From: Roland McGrath <roland@gnu.org>
> After installation of a new libc with these changes, programs started
> from the console have stopped responding to ^C. The output from `ps'
> seems to indicate that there is no controlling terminal. Shouldn't we
> set the controlling terminal in `runttys' (after doing the `setsid')?
Hmm. I think getty should be the one to do it.
I checked in the following change, but haven't tested.
Yes, getty is definitely the place to do it, but ...
1999-09-22 Roland McGrath <roland@baalperazim.frob.com>
* getty.c (main): Make TTY our controlling terminal with TIOCSCTTY.
... it already does a TIOSCTTY ioctl as part of login_tty. The extra
TIOCSCTTY ioctl actually does harm. So please revert the patch.
There something else going on. I'll try to debug the problem and see
if I can come up with a solution.
Mark
Reply to: