Bug#45104: setsid() breakage
Date: Fri, 17 Sep 1999 04:42:22 -0400
From: Roland McGrath <email@example.com>
I have checked in some libc changes with this log entry:
1999-09-17 Roland McGrath <firstname.lastname@example.org>
* hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port.
* sysdeps/mach/hurd/setsid.c (__setsid): Fix return
type -> pid_t.
Return _hurd_pgrp instead of 0.
Please let me know if that fixes the setsid problem for you or not.
I have not had a chance to test it yet.
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')?