freebsd with flexible iflib nic queues
Go to file
Robert Watson f2e6be5865 Prior to support for almost all ps activity via sysctl, ps used procfs,
and so special-casing was introduced to provide extra procfs privilege
to the kmem group.  With the advent of non-setgid kmem ps, this code
is no longer required, and in fact, can is potentially harmful as it
allocates privilege to a gid that is increasingly less meaningful.
Knowledge of specific gid's in kernel is also generally bad precedent,
as the kernel security policy doesn't distinguish gid's specifically,
only uid 0.

This commit removes reference to kmem in procfs, both in terms of
access control decisions, and the applying of gid kmem to the
/proc/*/mem file, simplifying the associated code considerably.
Processes are still permitted to access the mem file based on
the debugging policy, so ps -e still works fine for normal
processes and use.

Reviewed by:	tmm
Obtained from:	TrustedBSD Project
2001-08-03 17:13:23 +00:00
bin style(9) 2001-08-01 05:12:39 +00:00
contrib Correct the version number. 2001-08-01 18:35:54 +00:00
crypto output_data(), output_datalen() and netflush() didn't actually guarantee 2001-07-23 21:52:26 +00:00
etc Remove duplicate ufsd entry. This seems to go back to the Sun's version 2001-08-02 12:55:37 +00:00
games A good sysadmin always carries around a few feet of fiber. If he ever 2001-08-01 22:51:09 +00:00
gnu Update man page to actually match the source. 2001-08-01 06:23:00 +00:00
include Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatible 2001-07-29 00:52:37 +00:00
kerberos5 Revamp and diff-reduce the various secure telnets. Make sure that 2001-08-03 16:03:26 +00:00
kerberosIV Revamp and diff-reduce the various secure telnets. Make sure that 2001-08-03 16:03:26 +00:00
lib In getclnthandle(), if the address is found in the cache we need 2001-08-02 21:31:21 +00:00
libexec Fixes file descriptor leak in standalone mode. 2001-08-03 00:23:37 +00:00
release Note MFC of file 3.36. 2001-08-03 12:31:43 +00:00
sbin Document the deprecated `-w' option in the COMPATIBILITY section. 2001-08-02 12:38:23 +00:00
secure Revamp and diff-reduce the various secure telnets. Make sure that 2001-08-03 16:03:26 +00:00
share Fix thinko: FORCE_PKG_RESIDENT -> FORCE_PKG_REGISTER 2001-08-02 04:25:06 +00:00
sys Prior to support for almost all ps activity via sysctl, ps used procfs, 2001-08-03 17:13:23 +00:00
tools ISO_ -> ISO 2001-06-11 01:29:40 +00:00
usr.bin Fix warnings from `-Wmissing-prototypes'. Staticize. 2001-08-03 10:47:56 +00:00
usr.sbin Convert to using the same method of detecting the secure directory as other 2001-08-03 16:22:47 +00:00
COPYRIGHT Update to add the July 22, 1999 addendum. 1999-09-05 21:33:47 +00:00
Makefile Make it possible to build manpages for the entire source tree. 2001-03-27 08:43:28 +00:00
Makefile.inc1 Enable the new libmp in the build, and disable libgmp and its 2001-07-29 08:58:22 +00:00
Makefile.upgrade $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
README Slightly improve the description of "crypto". "DES" is a subset of 2000-08-31 17:59:01 +00:00
UPDATING Add, belated, entry for ed driver needing mii 2001-07-25 22:53:11 +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