1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
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
bin ANSIfy. 2002-02-22 23:31:57 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r91100, 2002-02-23 01:24:02 +00:00
crypto Update build after import of Heimdal Kerberos 2002/02/17. 2002-02-19 15:53:33 +00:00
etc The usage of 'newaliases' needs to be after we know for sure that /usr 2002-02-23 01:49:20 +00:00
games BDECFLAGS 2002-02-23 10:44:04 +00:00
gnu Update for binutils_2_12_anoncvs_20020221. 2002-02-22 18:49:37 +00:00
include o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
kerberos5 Fix build when MAKE_KERBEROS4 is not requested. This was broken with 2002-02-21 15:54:20 +00:00
kerberosIV Install script via SCRIPTS. 2001-12-17 16:52:32 +00:00
lib Also blindly attempt to fix broken world with respect to proc.p_runtime 2002-02-22 19:10:09 +00:00
libexec Handle NGM_PPPOE_ACNAME messages. 2002-02-20 15:52:20 +00:00
release Grrr. Got the wrong date on the last ACPI update. Fix this before 2002-02-23 06:00:56 +00:00
sbin Neutralize bits of ns_parse.c with bad juju. 2002-02-20 05:45:59 +00:00
secure o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
share Obviate the need to set the COMPILER_PATH and LIBRARY_PATH in Makefile.inc1 2002-02-21 10:23:41 +00:00
sys Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
tools Complete '_' hack. 2002-02-07 19:32:40 +00:00
usr.bin Fixed printf format errors. In printgprof.c, also convert the scale 2002-02-21 12:07:21 +00:00
usr.sbin Reserved one of the spare fields in struct gmon to record the history 2002-02-21 05:52:49 +00:00
COPYRIGHT
Makefile FreeBSD 4.1 bootstrapping aid (``:C'' make(1) modifier used 2002-02-08 09:48:34 +00:00
Makefile.inc1 Obviate the need to set the COMPILER_PATH and LIBRARY_PATH in Makefile.inc1 2002-02-21 10:23:41 +00:00
Makefile.upgrade
README
UPDATING Add notes about sendmail update from gshapiro. 2002-02-18 06:29:17 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you have to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html