glibc/sysdeps/mach
Roland McGrath 7eed8c34e9 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
	(install_ctty): Do the changing of the cttyid port cell here, inside
	the critical section while we holding the dtable lock.
	(_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
	the port cell and calling rectty_dtable.
	(_hurd_locked_install_cttyid): New function, split out of install_ctty.
	(install_ctty): Use it inside a critical section, with the lock held.
	* sysdeps/mach/hurd/setsid.c (__setsid): Use
	_hurd_locked_install_cttyid to effect the cttyid and dtable changes
	after proc_setsid, having held the dtable lock throughout.
	* hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
	cttyid port for null and bail out early if so.  The dtable lock
	serializes us after any cttyid change and its associated dtable update.
1999-10-01 20:02:29 +00:00
..
alpha Update. 1998-09-23 18:52:55 +00:00
bits Update. 1998-03-31 22:04:32 +00:00
hppa Update. 1997-06-23 21:55:26 +00:00
hurd 1999-10-01 Roland McGrath <roland@baalperazim.frob.com> 1999-10-01 20:02:29 +00:00
i386 Update. 1998-09-23 18:52:55 +00:00
mips Update. 1998-09-23 18:52:55 +00:00
powerpc Update. 1997-12-28 16:01:53 +00:00
sys Update. 1998-05-29 10:21:16 +00:00
_strerror.c 1999-07-20 Mark Kettenis <kettenis@gnu.org> 1999-07-20 21:07:48 +00:00
adjtime.c Update. 1997-05-26 23:01:17 +00:00
getpagesize.c update from main archive 961105 1996-11-06 04:24:40 +00:00
getsysstats.c 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> 1999-02-27 20:00:41 +00:00
gettimeofday.c Update. 1997-05-26 23:01:17 +00:00
Makefile update from main arhive 970119 1997-01-20 02:49:49 +00:00
mprotect.c Update. 1997-10-15 05:34:02 +00:00
munmap.c Update. 1997-10-15 05:34:02 +00:00
pagecopy.h Update. 1998-09-23 18:52:55 +00:00
sleep.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
start.c Update. 1997-06-23 21:55:26 +00:00
Subdirs initial import 1995-02-18 01:27:10 +00:00
sysdep.h Update. 1998-05-29 10:21:16 +00:00
thread_state.h Update from main archive 961219 1996-12-20 01:39:50 +00:00
usleep.c 1998-08-12 Roland McGrath <roland@baalperazim.frob.com> 1998-08-11 21:52:02 +00:00