Commit Graph

11203 Commits

Author SHA1 Message Date
brueffer
2300703ff0 Overhaul this manpage somewhat:
- Move mentionings of required drivers to the SYNOPSIS where they belong
- Remove cruft (XiG, sheesh) from the EXAMPLES section and re-arrange things to make
  somewhat more sense
- Fix an Xref to manpage from ports to mention the corresponsing port
- Remove commented out HISTORY section header

MFC after:	3 days
2006-11-27 18:37:45 +00:00
obrien
b891fb48a3 Clarify case body indention. 2006-11-26 21:22:49 +00:00
joel
c2e4cdb2da - Update the Runtime Configuration, FILES and DIAGNOSTICS sections to
the new world order.
-  Use our standard section 4 SYNOPSIS.
-  Minor nits.

Reviewed by:	brueffer, ariff
2006-11-26 12:27:02 +00:00
imp
ea66727862 devsw() was removed by phk:
revision 1.199
	date: 2004/09/24 08:30:57;  author: phk;  state: Exp;  lines: +0 -1
	Remove the cdevsw() function which is now unused.

(the log is wrong, it was really devsw that was removed).

# we really need to actually document the functions in sys/conf.h as well
# as things like d_open...
2006-11-25 22:36:09 +00:00
imp
9d7c37ad3d Clarify what non-zero return values mean. 2006-11-25 22:34:01 +00:00
brueffer
a1e98617ef Grr, fix typo introduced in the previous commit. 2006-11-25 12:12:11 +00:00
imp
03f10acc6e Add instructions for creating a ramdisk root image. These likely need
to be augmented with instructions for those platforms that have
/boot/loader.
2006-11-24 18:53:45 +00:00
pav
cb740e6235 Remove reference to a man page of pib, an obscure third-party tool, whose port
does not install any manpages.

MFC after:	3 days
2006-11-24 14:47:25 +00:00
imp
7aa1b5698e Make it clear that the device name may contain '/' characters to place
a device in a subdirectory.  Also explicitly state that the name is
constructed using fmt like printf would print it.

MFC After: 3 days
2006-11-24 13:10:30 +00:00
maxim
21efd8a51e o Xr sendfile(2). 2006-11-24 12:00:02 +00:00
yar
d47577789b Add a guideline for naming new sysctl nodes.
Discussed in:	cvs-src (some time ago)
2006-11-23 14:28:19 +00:00
yongari
9600cde066 Add USR997902 to the list of devices supported by re(4). 2006-11-23 00:28:58 +00:00
brueffer
3c5d5c9c84 Use our standard section 4 SYNOPSIS.
MFC after:	3 days
2006-11-22 21:30:02 +00:00
rodrigc
ec3e058a75 Remove reference to mount_fdescfs.
Suggested by:	ru
2006-11-22 15:52:24 +00:00
rodrigc
9787e667ef Remove reference to mount_devfs(8).
Reminded by:	ru
2006-11-22 11:45:06 +00:00
rodrigc
5d6fd62ee2 Remove reference to mount_procfs.
Reminded by:	ru
2006-11-22 00:08:35 +00:00
maxim
567a367e34 o Sort Xrs. 2006-11-21 06:52:55 +00:00
rodrigc
08f764de85 Change reference from mount(2) to nmount(2), since mount(8) uses
nmount to mount an mqueufs filesystem.
2006-11-21 05:45:14 +00:00
rodrigc
4477c672d7 Change reference from mount_devfs(8) to mount(8), and add an example.
Remove reference to mount_fdescfs(8), since mount(8) calls nmount()
directly to mount an fdescfs filesystem, instead of forking an
external mount_fdescfs program.
2006-11-21 04:56:50 +00:00
ru
5a9798235e Try harder to not leak src/ build stuff into ports/ environment
by not exposing the MK_* variables that were designed for src/.

Requested by:	many
2006-11-19 16:28:52 +00:00
ceri
a6852e6ab6 Add .Xr to p_cansee.9, remove .Xr to intro.2.
Reviewed by:	ru
Approved by:	ru
2006-11-19 13:36:04 +00:00
ceri
2dc11e5d84 Add manuals for cr_cansee(9) and p_cansee(9).
Thanks to Ruslan for the time he spent reviewing these.

Reviewed by:	ru
Approved by:	ru
2006-11-19 13:35:03 +00:00
ceri
0f65401c2b Have the synopsis compile.
Pointed out by:	ru
2006-11-18 17:56:59 +00:00
brueffer
6c32a5ad0f - Use a standard section 4 SYNOPSIS
- Xref uark(4)

MFC after:	3 days
2006-11-18 08:07:43 +00:00
brueffer
2975c55181 Remove uhidev.4 and references to it, the corresponding code was never
imported from NetBSD.

Submitted by:	markus
MFC after:	1 week
2006-11-16 22:32:27 +00:00
pjd
63d82b700d Change sleepq_add(9) argument from 'struct mtx *' to 'struct lock_object *',
which allows to use it with different kinds of locks. For example it allows
to implement Solaris conditions variables which will be used in ZFS port on
top of sx(9) locks.

Reviewed by:	jhb
2006-11-16 01:02:00 +00:00
brueffer
5d56af0b82 - Use our standard section 4 SYNOPSIS
- Add a HARDWARE section
- Mention the first release to include this driver
2006-11-15 16:59:15 +00:00
maxim
e446795886 o Add uark(4), a driver for Arkmicro Technologies ARK3116 based serial
adapters.

Submitted by:	Alex Rodin
Obtained from:	OpenBSD
Reviewed by:	-usb
MFC after:	6 weeks
2006-11-15 09:13:25 +00:00
ru
cc317aab24 Sort xrefs. 2006-11-13 08:56:42 +00:00
bz
645d5f3a2d Remove some comments about NetBSD. This in on FreeBSD and we do not
want to confuse people at the very beginning.
Sync TOC/paragraph numbers in the text.

Requested by: Benedikt Stockebrand during his talk at EuroBSDCon 2006
Reviewed by: gnn
2006-11-12 18:38:07 +00:00
ru
00ea8ac1d7 Enforce RELEASENOUPDATE if EXTSRCDIR is used.
Suggested by:	jb
2006-11-11 23:18:28 +00:00
trhodes
c51a2c2df9 Re-enable module build for POSIX semaphores.
Update the manual page describe loading the sem module.

Approved by:	silence on -arch and -standards
2006-11-11 16:49:29 +00:00
ru
a84e74c205 Fix build (forgotten MUTEX_PROFILING.9 -> LOCK_PROFILING.9). 2006-11-11 08:59:34 +00:00
ru
b3e1c0a791 Replace a reference to no longer existing MUTEX_PROFILING(9) with
a LOCK_PROFILING(9).
2006-11-11 08:41:39 +00:00
kmacy
99d39b00e0 remove man page for no longer extant option 2006-11-11 06:31:27 +00:00
kmacy
fdadbeef06 man page for new option 2006-11-11 06:29:36 +00:00
des
a9a2f810d6 Add locales for nb_NO and nn_NO.
Reviewed by:	philip
2006-11-09 18:10:34 +00:00
marius
3fd21f0a5b Add Allied Telesyn AT-1500 (logical ID ATK1500, compat ID PNP828C)
to the list of known working ISA PnP cards.

Reported by:	Gheorghe Ardelean
2006-11-09 14:11:33 +00:00
ru
abbf63751a Fix markup. 2006-11-06 14:28:09 +00:00
ru
044b6ca4cf Bump document date. 2006-11-06 14:26:43 +00:00
rwatson
7288104e20 Add a new priv(9) kernel interface for checking the availability of
privilege for threads and credentials.  Unlike the existing suser(9)
interface, priv(9) exposes a named privilege identifier to the privilege
checking code, allowing more complex policies regarding the granting of
privilege to be expressed.  Two interfaces are provided, replacing the
existing suser(9) interface:

suser(td)                 ->   priv_check(td, priv)
suser_cred(cred, flags)   ->   priv_check_cred(cred, priv, flags)

A comprehensive list of currently available kernel privileges may be
found in priv.h.  New privileges are easily added as required, but the
comments on adding privileges found in priv.h and priv(9) should be read
before doing so.

The new privilege interface exposed sufficient information to the
privilege checking routine that it will now be possible for jail to
determine whether a particular privilege is granted in the check routine,
rather than relying on hints from the calling context via the
SUSER_ALLOWJAIL flag.  For now, the flag is maintained, but a new jail
check function, prison_priv_check(), is exposed from kern_jail.c and used
by the privilege check routine to determine if the privilege is permitted
in jail.  As a result, a centralized list of privileges permitted in jail
is now present in kern_jail.c.

The MAC Framework is now also able to instrument privilege checks, both
to deny privileges otherwise granted (mac_priv_check()), and to grant
privileges otherwise denied (mac_priv_grant()), permitting MAC Policy
modules to implement privilege models, as well as control a much broader
range of system behavior in order to constrain processes running with
root privilege.

The suser() and suser_cred() functions remain implemented, now in terms
of priv_check() and the PRIV_ROOT privilege, for use during the transition
and possibly continuing use by third party kernel modules that have not
been updated.  The PRIV_DRIVER privilege exists to allow device drivers to
check privilege without adopting a more specific privilege identifier.

This change does not modify the actual security policy, rather, it
modifies the interface for privilege checks so changes to the security
policy become more feasible.

Sponsored by:		nCircle Network Security, Inc.
Obtained from:		TrustedBSD Project
Discussed on:		arch@
Reviewed (at least in part) by:	mlaier, jmg, pjd, bde, ceri,
			Alex Lyashkov <umka at sevcity dot net>,
			Skip Ford <skip dot ford at verizon dot net>,
			Antoine Brodin <antoine dot brodin at laposte dot net>
2006-11-06 13:37:19 +00:00
danger
a2d9936684 - capitalize the first letter of the first word in the sentence
Approved by: trhodes (mentor), keramida (mentor)
2006-11-05 20:08:58 +00:00
maxim
b9fb75ae50 o Add NetBSD 3.0.2 and NetBSD 3.1. 2006-11-05 15:56:45 +00:00
cognet
b6a2f17c26 Change one more ARM_BIG_ENDIAN to TARGET_BIG_ENDIAN. 2006-11-05 15:33:26 +00:00
maxim
21ab4f8a25 o Document ServeRAID 7x support.
Submitted by:	Andrey V. Elsukov
MFC after:	3 days
2006-11-05 08:55:21 +00:00
pjd
b7b8ba938c When the source and destination objects for VOP_RENAME() are the same,
POSIX advice to just ignore the operation and return 0.
We already handle this case in kern_rename(), but don't give bad example -
the source is not removed.
2006-11-04 23:59:51 +00:00
pjd
560cce7495 VOP_REMOVE() doesn't unlock vnodes nor decrease reference counts. 2006-11-04 23:58:15 +00:00
trhodes
58ee199a41 Xref pthread_condattr.3, pthread_attr.3, and pthread_mutexattr.3.
PR:		60679
Submitted by:	roam (with minor modifications)
2006-11-04 10:08:16 +00:00
jb
d871054da8 Allow a makefile to set IGNORE_PRAGMA so that OpenSolaris code can
be built with other gcc warnings enabled.

Every Solaris source file has a #pragma ident in it. We can just
ignore those definitions.
2006-11-04 04:39:05 +00:00
brueffer
68f4ba5323 Document IBM ServeRAID 8k support. 2006-11-03 06:50:03 +00:00