glibc/hurd
Roland McGrath 86785541a7 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
	without HURD_DPORT_USE to clean up warnings.
	* hurd/dtable.c (get_dtable_port): Likewise.
	* 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:44 +00:00
..
hurd 1999-06-25 Roland McGrath <roland@baalperazim.frob.com> 1999-06-25 14:48:20 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
alloc-fd.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
catch-exc.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
catch-signal.c update from main archive 961217 1996-12-18 03:23:47 +00:00
compat-20.c 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl> 1998-12-04 13:47:40 +00:00
ctty-input.c 1999-03-09 Roland McGrath <roland@baalperazim.frob.com> 1999-03-08 21:02:22 +00:00
ctty-output.c 1999-03-09 Roland McGrath <roland@baalperazim.frob.com> 1999-03-08 21:02:22 +00:00
dtable.c 1999-10-01 Roland McGrath <roland@baalperazim.frob.com> 1999-10-01 20:02:44 +00:00
faultexc.defs Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-12 16:38:08 +00:00
fchroot.c 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> 1999-02-27 20:06:34 +00:00
fd-close.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
fd-read.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
fd-write.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
fopenport.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
get-host.c 1999-05-09 Mark Kettenis <kettenis@gnu.org> 1999-05-09 10:40:36 +00:00
getdport.c (__libc_argv, __libc_argc): Make extern. (__hurd_threadvar_max, __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): New variables. 1997-02-23 22:09:31 +00:00
geteuids.c 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl> 1998-12-04 13:47:40 +00:00
getumask.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
hurd-raise.c 1999-02-28 Roland McGrath <roland@baalperazim.frob.com> 1999-02-28 09:46:20 +00:00
hurd.h 1999-06-25 Roland McGrath <roland@baalperazim.frob.com> 1999-07-11 17:02:11 +00:00
hurdauth.c Update. 1997-05-21 01:48:59 +00:00
hurdchdir.c 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> 1999-02-27 20:06:34 +00:00
hurdexec.c 1999-04-27 Roland McGrath <roland@baalperazim.frob.com> 1999-04-27 01:26:54 +00:00
hurdfault.c Update. 1997-05-10 23:37:32 +00:00
hurdfault.h update from main archive 961217 1996-12-18 03:23:47 +00:00
hurdfchdir.c 1999-10-01 Roland McGrath <roland@baalperazim.frob.com> 1999-10-01 20:02:34 +00:00
hurdhost.h Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
hurdid.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
hurdinit.c 1999-04-30 Roland McGrath <roland@baalperazim.frob.com> 1999-04-30 13:52:59 +00:00
hurdioctl.c 1999-10-01 Roland McGrath <roland@baalperazim.frob.com> 1999-10-01 20:02:29 +00:00
hurdkill.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
hurdlookup.c 1999-03-14 Roland McGrath <roland@baalperazim.frob.com> 1999-03-14 12:59:57 +00:00
hurdmalloc.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
hurdmalloc.h Update from main archive 961219 1996-12-20 01:39:50 +00:00
hurdmsg.c Update. 1998-07-21 10:36:59 +00:00
hurdpid.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
hurdports.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
hurdprio.c add missing #include <unistd.h> 1999-09-05 08:50:43 +00:00
hurdrlimit.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
hurdselect.c 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> 1999-02-27 13:27:03 +00:00
hurdsig.c 1999-08-23 Mark Kettenis <kettenis@gnu.org> 1999-08-23 21:03:22 +00:00
hurdsock.c 1999-06-13 Roland McGrath <roland@baalperazim.frob.com> 1999-06-13 13:56:47 +00:00
hurdstartup.c 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl> 1998-11-30 18:42:25 +00:00
hurdstartup.h Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
intern-fd.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
intr-msg.c 1999-08-19 Roland McGrath <roland@baalperazim.frob.com> 1999-08-20 03:45:14 +00:00
intr-rpc.defs Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
intr-rpc.h Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
Makefile 1999-06-25 Roland McGrath <roland@baalperazim.frob.com> 1999-06-25 14:46:27 +00:00
msgportdemux.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
new-fd.c 1999-08-22 Mark Kettenis <kettenis@gnu.org> 1999-08-22 22:18:46 +00:00
Notes initial import 1995-02-18 01:27:10 +00:00
openport.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
path-lookup.c Update. 1997-06-23 21:55:26 +00:00
pid2task.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
port2fd.c 1999-09-17 Roland McGrath <roland@baalperazim.frob.com> 1999-09-17 08:40:17 +00:00
port-cleanup.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
ports-get.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
ports-set.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
preempt-sig.c update from main archive 961217 1996-12-18 03:23:47 +00:00
privports.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
report-wait.c (__libc_argv, __libc_argc): Make extern. (__hurd_threadvar_max, __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): New variables. 1997-02-23 22:09:31 +00:00
set-host.c 1999-05-23 Roland McGrath <roland@baalperazim.frob.com> 1999-05-23 19:18:19 +00:00
setauth.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
seteuids.c 1998-11-28 Roland McGrath <roland@baalperazim.frob.com> 1998-11-29 10:10:47 +00:00
siginfo.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
sigunwind.c Update. 1998-08-08 20:02:34 +00:00
task2pid.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
thread-cancel.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
thread-self.c Update to 2.1.x development version 1997-02-15 04:31:36 +00:00
Versions 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl> 1998-12-04 13:47:40 +00:00
vpprintf.c Update. 1997-03-16 20:28:07 +00:00