Commit Graph

6398 Commits

Author SHA1 Message Date
Tom Rhodes
5416cda829 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
Ruslan Ermilov
cd852a2996 Fix build (forgotten MUTEX_PROFILING.9 -> LOCK_PROFILING.9). 2006-11-11 08:59:34 +00:00
Ruslan Ermilov
cbdbe9c47c Replace a reference to no longer existing MUTEX_PROFILING(9) with
a LOCK_PROFILING(9).
2006-11-11 08:41:39 +00:00
Kip Macy
3246dd49fc remove man page for no longer extant option 2006-11-11 06:31:27 +00:00
Kip Macy
d3a96a51cc man page for new option 2006-11-11 06:29:36 +00:00
Marius Strobl
e71d18f410 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
Ruslan Ermilov
e045a8e698 Fix markup. 2006-11-06 14:28:09 +00:00
Ruslan Ermilov
99c0121e05 Bump document date. 2006-11-06 14:26:43 +00:00
Robert Watson
800c940832 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
Daniel Gerzo
2792c5504c - 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 Konovalov
b16b2bd274 o Document ServeRAID 7x support.
Submitted by:	Andrey V. Elsukov
MFC after:	3 days
2006-11-05 08:55:21 +00:00
Pawel Jakub Dawidek
162ce1a75f 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
Pawel Jakub Dawidek
479a8f8dd7 VOP_REMOVE() doesn't unlock vnodes nor decrease reference counts. 2006-11-04 23:58:15 +00:00
Tom Rhodes
6a8a30dcd3 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
Christian Brueffer
0bf113a6ee Document IBM ServeRAID 8k support. 2006-11-03 06:50:03 +00:00
Joseph Koshy
fb59cdf687 Document Elf{32,64}_Lword. Keep the list of ELF types sorted.
Describe the contents of the 'e_shnum' and 'e_shstrndx' fields when
using extended section numbering.
2006-11-02 09:21:57 +00:00
Pawel Jakub Dawidek
89780ffb72 Better English.
Submitted by:	ru
2006-11-01 12:44:28 +00:00
Pawel Jakub Dawidek
2c0ea12df5 - Document two new function g_alloc_bio() and g_duplicate_bio().
- Bump modification date.
- Update copyright years.
2006-11-01 12:42:14 +00:00
Pawel Jakub Dawidek
c4639cb3d8 Document BIO_FLUSH request. 2006-11-01 12:34:35 +00:00
Maxim Konovalov
b889a97163 o Expand "Nov" to "November" in Dd macro, remove eol whitespace. 2006-11-01 04:46:06 +00:00
Kevin Lo
c0348f2e02 Document the cdp for controlling CD power.
Approved by: cognet
2006-11-01 03:45:24 +00:00
David Xu
29f4831b30 Add error code EPERM.
Reviewed by: ru, deischen
2006-11-01 01:54:30 +00:00
Pawel Jakub Dawidek
39a7a769f0 Add recently added fs_unrefs field.
Sponsored by:	home.pl
2006-10-31 22:15:59 +00:00
Pawel Jakub Dawidek
1d2aee20b8 Add a new disk flag - DISKFLAG_CANFLUSHCACHE, which indicates that the disk
can handle BIO_FLUSH requests.

Sponsored by:	home.pl
2006-10-31 21:12:43 +00:00
Giorgos Keramidas
0859bf8671 Belatedly bump manpage date for revision 1.35
Reminded by:	ru
2006-10-30 16:43:42 +00:00
Ruslan Ermilov
5d1f75f10d The first (optional) argument of the "trace" command is either the
process or thread ID.

PR:		docs/61859
2006-10-30 12:55:06 +00:00
Maxim Konovalov
efc7cb843b o Fix incorrect function name (kobj_free -> kobj_delete).
Obtained from:	DragonFlyBSD
MFC after:	1 week
2006-10-28 10:57:35 +00:00
Christian Brueffer
f5789eb3d8 Document Soekris net48xx support.
PR:		docs/104865
Submitted by:	Henrik Brix Andersen <henrik@brixandersen.dk>
2006-10-28 07:26:50 +00:00
Giorgos Keramidas
4b08dee074 Reduce our pointy-hat pool capacity by one (i.e. bump manpage date,
after the last change to this manpage).

Reminded by:	ru
2006-10-24 13:27:08 +00:00
Giorgos Keramidas
068abd5515 Document NO_IGNORE and its interation with FORBIDDEN.
Triggered by:	   a question by Panagiotis Hadgis <hadgis@ceid.upatras.gr>
2006-10-24 12:30:28 +00:00
Andrew Thompson
2f764f809f Document net.link.bridge.ipfw_arp for filtering ARP packets with ipfw.
MFC after:	3 days
2006-10-24 08:47:39 +00:00
Ed Maste
58b1cfde0d Clarify that the input hook requires binary packet data. Instead of
referencing an omitted example, include a short (Perl) example that
queues an ICMP Echo message.
2006-10-22 21:33:57 +00:00
Ruslan Ermilov
ecbbc8eeb2 Fix ttyv* device names.
PR:		docs/104376
Submitted by:	Michael Le Barbier
MFC after:	3 days
2006-10-22 18:02:01 +00:00
Ruslan Ermilov
01139e4145 Fix some typos and grammar.
PR:		docs/66770
Submitted by:	Michel Lavondès
MFC after:	3 days
2006-10-22 16:21:55 +00:00
Ruslan Ermilov
0036760ce3 Make it clear that section 8 also documents system management
procedures, not necessarily commands.

PR:		docs/35011
Obtained from:	NetBSD (partly)
2006-10-21 20:35:49 +00:00
Ruslan Ermilov
7ddd9ed1d8 Small fixes. 2006-10-21 18:05:55 +00:00
Ruslan Ermilov
d56108a43a Bump document date for previous revision. 2006-10-21 18:04:42 +00:00
Ruslan Ermilov
46d3d534b3 Spelling. 2006-10-21 18:04:20 +00:00
Ruslan Ermilov
aa7331bf20 Bump document date for the previous change. 2006-10-21 16:08:21 +00:00
Ruslan Ermilov
a341ab7170 Add missing "const" qualifiers.
Submitted by:	bde
2006-10-19 11:03:44 +00:00
Daniel Gerzo
48e569ed45 - convert to the current style of section 4 man pages
- s/ip.forwarding/net.inet.ip.forwarding/ to match reality [1]

Approved by: keramida (mentor), trhodes (mentor)
MFC after: 5 days
Submitted by: Tom McLaughlin via #bsddocs
2006-10-19 07:41:47 +00:00
Ruslan Ermilov
a676ad7a4f Bring manpage up-to-date with respect to the scheduling priority
range, and mention the SCHED_OTHER scheduling policy.

Submitted by:	davidxu
PR:		docs/37843
MFC after:	3 days
2006-10-16 14:35:31 +00:00
Daniel Gerzo
627a09e3c1 Expand "don't".
Approved by: trhodes (mentor), keramida (mentor)
MFC after: 3 days
2006-10-16 07:59:05 +00:00
Daniel Gerzo
7ebbc96c8d Use the loader.conf example.
Approved by: trhodes (mentor), keramida (mentor)
MFC after: 3 days
2006-10-16 07:56:36 +00:00
Ceri Davies
d7862beb32 Add idmapd_flags to defaults/rc.conf.
Document it and idmapd_enable.
2006-10-15 15:55:00 +00:00
Pawel Jakub Dawidek
a1a72ac75a Explain that using 64bit arguments on 32bit architectures with CTRx()
macros is a bad idea.
2006-10-15 12:40:27 +00:00
Ruslan Ermilov
22762537b0 Reflect the following changes to lib/libc/gen/disklabel.c in a manpage:
: revision 1.13
: date: 2002/04/03 15:44:53;  author: phk;  state: Exp;  lines: +0 -5
: Initial deorbit burn for the undocumented and unused d_boot[01]
: fields of struct disklabel.
:
: Sponsored by: DARPA and NAI Labs.
: ----------------------------
: revision 1.15
: date: 2002/05/12 20:49:33;  author: phk;  state: Exp;  lines: +1 -3
: Retire the bogus uses of the disklabel field d_sbsize and begin to
: initialize it to zero so we don't have to have everbody and their
: aunt including FFS specific header files.
:
: Sponsored by: DARPA & NAI Labs.
2006-10-14 16:37:53 +00:00
Joel Dahl
b9804a4b35 - Use our standard section 4 SYNOPSIS layout.
-  Add a bunch of missing Xrefs's.
2006-10-14 07:57:55 +00:00
Ruslan Ermilov
39cbc61477 Make the SYNOPSIS section more meaningful.
PR:		docs/85066
Submitted by:	Gary W. Swearingen
MFC after:	3 days
2006-10-13 20:37:23 +00:00
David E. O'Brien
b5743d7434 Add Soekris Engineering information. 2006-10-13 15:51:53 +00:00