freebsd-skq/sys/compat/svr4
tanimura a09da29859 Lock struct pgrp, session and sigio.
New locks are:

- pgrpsess_lock which locks the whole pgrps and sessions,
- pg_mtx which protects the pgrp members, and
- s_mtx which protects the session members.

Please refer to sys/proc.h for the coverage of these locks.

Changes on the pgrp/session interface:

- pgfind() needs the pgrpsess_lock held.

- The caller of enterpgrp() is responsible to allocate a new pgrp and
  session.

- Call enterthispgrp() in order to enter an existing pgrp.

- pgsignal() requires a pgrp lock held.

Reviewed by:	jhb, alfred
Tested on:	cvsup.jp.FreeBSD.org
		(which is a quad-CPU machine running -current)
2002-02-23 11:12:57 +00:00
..
imgact_svr4.c Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader 2001-10-10 23:06:54 +00:00
Makefile Fix typo. 2001-09-13 22:02:48 +00:00
svr4_acl.h
svr4_dirent.h
svr4_errno.h
svr4_exec.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_fcntl.c Semi-backout previous fgetvp change, we need the struct file pointer 2002-01-19 03:45:14 +00:00
svr4_fcntl.h
svr4_filio.c include sys/lock.h and sys/mutex.h to make compile. 2002-01-30 23:28:25 +00:00
svr4_filio.h
svr4_fuser.h
svr4_hrt.h
svr4_ioctl.c Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
svr4_ioctl.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_ipc.c FreeBSD doesn't have p_emuldata, and our stackgap_init() doesn't take an 2001-01-23 21:02:44 +00:00
svr4_ipc.h
svr4_misc.c Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
svr4_mman.h
svr4_proto.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_resource.c Add missing includes of sys/lock.h. 2001-10-11 17:52:20 +00:00
svr4_resource.h
svr4_siginfo.h
svr4_signal.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_signal.h
svr4_socket.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_socket.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_sockio.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_sockio.h
svr4_sockmod.h
svr4_stat.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_stat.h
svr4_statvfs.h
svr4_stream.c Make compile, remove extra fdrop() calls. 2002-01-19 03:52:17 +00:00
svr4_stropts.h
svr4_syscall.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_syscallnames.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_sysconfig.h
svr4_sysent.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_systeminfo.h
svr4_sysvec.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_termios.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_termios.h
svr4_time.h
svr4_timod.h
svr4_ttold.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_ttold.h
svr4_types.h
svr4_ucontext.h
svr4_ulimit.h
svr4_ustat.h
svr4_util.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
svr4_utsname.h
svr4_wait.h
svr4.h
syscalls.conf
syscalls.master Synchronize syscalls.master(s) with recent Giant pushdown work 2001-09-01 19:36:48 +00:00