Commit Graph

11255 Commits

Author SHA1 Message Date
alfred
ac243d503e Do a better job of documenting uio_resid. 2006-11-29 19:10:53 +00:00
joel
bcf19b8816 Add the dev.pcm.%d.polling sysctl and a short description.
Reviewed by:	ru
2006-11-29 17:07:02 +00:00
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
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
ru
fd37d7b5f5 Fix ttyv* device names.
PR:		docs/104376
Submitted by:	Michael Le Barbier
MFC after:	3 days
2006-10-22 18:02:01 +00:00
ru
b9943f47d2 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
ru
ebcbf2084a 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
ru
dbd4000a6b Small fixes. 2006-10-21 18:05:55 +00:00
ru
0d077208a7 Bump document date for previous revision. 2006-10-21 18:04:42 +00:00
ru
7b9340e614 Spelling. 2006-10-21 18:04:20 +00:00
ru
3bdce07112 Bump document date for the previous change. 2006-10-21 16:08:21 +00:00
cognet
83c95df0a8 Use TARGET_BIG_ENDIAN instead of ARM_BIG_ENDIAN 2006-10-19 22:51:26 +00:00
ru
f22f76ff63 Add missing "const" qualifiers.
Submitted by:	bde
2006-10-19 11:03:44 +00:00
danger
89a6f9724e - 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
imp
1e39c38726 Remove references to pccard.conf, it is no longer used. 2006-10-19 05:19:00 +00:00
ru
2d9b623d37 Update for newsletter V-12: Inclusion of the new entries for
"Serbia" and "Montenegro".

Reported by:	mnag
2006-10-18 09:02:11 +00:00
ru
a58f62cb83 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
danger
099609fe2f Expand "don't".
Approved by: trhodes (mentor), keramida (mentor)
MFC after: 3 days
2006-10-16 07:59:05 +00:00
danger
17ea68b8bb Use the loader.conf example.
Approved by: trhodes (mentor), keramida (mentor)
MFC after: 3 days
2006-10-16 07:56:36 +00:00
ceri
e4ea7afca1 Add idmapd_flags to defaults/rc.conf.
Document it and idmapd_enable.
2006-10-15 15:55:00 +00:00
pjd
e993001f47 Explain that using 64bit arguments on 32bit architectures with CTRx()
macros is a bad idea.
2006-10-15 12:40:27 +00:00
ru
db4c1fb655 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
c990b26f9c - Use our standard section 4 SYNOPSIS layout.
-  Add a bunch of missing Xrefs's.
2006-10-14 07:57:55 +00:00
ru
882e8f1bcf 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
obrien
0ff7680820 Add Soekris Engineering information. 2006-10-13 15:51:53 +00:00
trhodes
533b1fd849 Point users to ndisgen(8) over directly interacting with ndiscvt(8) as the
former is easier to use.

PR:		97231
2006-10-13 11:30:07 +00:00
ru
b01a435aa9 MFV. 2006-10-13 10:03:23 +00:00
ru
20ea18a684 This commit was generated by cvs2svn to compensate for changes in r163299,
which included commits to RCS files with non-trunk default branches.
2006-10-13 10:00:49 +00:00