Commit Graph

11179 Commits

Author SHA1 Message Date
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
jkoshy
bae287ee27 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
pjd
bd59c267bd Better English.
Submitted by:	ru
2006-11-01 12:44:28 +00:00
pjd
83bab600a9 - 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
pjd
4a5a44a8c1 Document BIO_FLUSH request. 2006-11-01 12:34:35 +00:00
jb
8f5ff1bf04 Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaulting
to WITH_CDDL.

This option enables building code that is licensed under Sun's CDDL.
The DTrace code is licensed that way, so by default it will get built
unless the WITHOUT_CDDL option is used.

There is another build toggle, NO_CTF, which turns off execution of
ctfconvert and ctfmerge in sys.mk, but this can't be implemented as
WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and
sys.mk is included automatically by make.
2006-11-01 09:02:11 +00:00
maxim
549129a87e o OpenBSD 4.0 added. 2006-11-01 04:56:35 +00:00
maxim
978ee47c81 o Expand "Nov" to "November" in Dd macro, remove eol whitespace. 2006-11-01 04:46:06 +00:00
kevlo
eaa075b4bb Document the cdp for controlling CD power.
Approved by: cognet
2006-11-01 03:45:24 +00:00
davidxu
7508b90d59 Add error code EPERM.
Reviewed by: ru, deischen
2006-11-01 01:54:30 +00:00
pjd
90d15919d6 Add recently added fs_unrefs field.
Sponsored by:	home.pl
2006-10-31 22:15:59 +00:00
pjd
67c00d09c1 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
harti
9f1a71f4be Define a base OID for the FreeBSD version as returned in sysObjectID
by bsnmpd(1). The actual OID is formed by appending the release numbers
to this base OID.

Idea by:	phk
2006-10-31 10:09:10 +00:00
phk
a8b32f0caf Avoid implict node generation in oids, people tell me a fair bit of
SNMP software has trouble with them.
2006-10-31 08:18:02 +00:00
phk
0427ecaa6b Claim my own subtree under freeBSDpeople 2006-10-31 07:44:28 +00:00
keramida
13d6237651 Belatedly bump manpage date for revision 1.35
Reminded by:	ru
2006-10-30 16:43:42 +00:00
ru
699de7a9c5 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
d6a1b3d7dc o Fix incorrect function name (kobj_free -> kobj_delete).
Obtained from:	DragonFlyBSD
MFC after:	1 week
2006-10-28 10:57:35 +00:00
brueffer
d8b61e2360 Document Soekris net48xx support.
PR:		docs/104865
Submitted by:	Henrik Brix Andersen <henrik@brixandersen.dk>
2006-10-28 07:26:50 +00:00
ru
a84b99eeb9 - Don't pass an empty ``NM='' to lorder(1) when NM is unset.
- Don't redundantly use "env".
- Protect NM value with quotes, just in case.
2006-10-25 09:43:38 +00:00
markus
3015e34f1c - Update USB HID usage tables according to the following specs:
* USB HID Usage Tables, V1.12
  * USB Monitor Control Class Specification, V1.0
  * USB Usage Tables for HID Power Devices, V1.0
  * USB Device Class Definition for Physical Devices, V1.0
  * USB HID Point of Sale Usage Tables, V1.02
- Fix spelling of 'Microsoft'
- Bring the so called Microsoft page, in line with the style of the rest of
  the file.
- Remove NetBSD version string as it doesn't reflect reality any longer

Approved by:	emax (mentor)
2006-10-24 23:52:22 +00:00
keramida
87c4109c0a 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
keramida
c66a472abd 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
thompsa
8951c4c5ee Document net.link.bridge.ipfw_arp for filtering ARP packets with ipfw.
MFC after:	3 days
2006-10-24 08:47:39 +00:00
emaste
4da6679580 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