1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/i386/isa/pcvt
Seigo Tanimura f591779bb5 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
..
pcvt_conf.h PR: kern/2327 2000-03-31 08:28:18 +00:00
pcvt_drv.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
pcvt_ext.c o Modify pcvt ioctl() security checks to use securelevel_gt() instead 2001-09-26 20:21:28 +00:00
pcvt_hdr.h Unbreak pcvt, it suffered from common variables. Whoever added the 2002-01-27 09:17:27 +00:00
pcvt_kbd.c Provide keyboard entropy harvesting for PCVT users. 2000-09-10 14:31:40 +00:00
pcvt_kbd.h Substantially cleanup of the pcvt kernel part. This cleanup does 2000-03-26 09:17:14 +00:00
pcvt_out.c Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
pcvt_sup.c Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
pcvt_tbl.h Substantially cleanup of the pcvt kernel part. This cleanup does 2000-03-26 09:17:14 +00:00
pcvt_vtf.c No-op change. Remove #if NVT > 0 in files that are 'optional vt' and 2000-06-10 11:03:31 +00:00