Commit Graph

6542 Commits

Author SHA1 Message Date
cognet
c8eb91c205 Add a reference too pthread_cancel(3).
Submitted by:	Jeremie Le-Hen
2007-01-19 17:34:52 +00:00
joel
bd9f82b763 Add missing comma.
Noticed by:	ru
2007-01-18 15:27:15 +00:00
bms
11d2ccc2ce Document the loader tunables which control hard process memory limits.
Reviewed by:	ru
2007-01-17 22:23:28 +00:00
joel
7aa8d3d573 - Add a small section on boot-time configuration.
- Add more Xrefs.
- Fix minor nits.

Reviewed by:	ru
2007-01-17 14:27:03 +00:00
rrs
af870dbd2e Reviewed by: rwatson
Approved by:	gnn

Add a new function hashinit_flags() which allows NOT-waiting
for memory (or waiting). The old hashinit() function now
calls hashinit_flags(..., HASH_WAITOK);
2007-01-15 15:06:28 +00:00
brueffer
845bc250ed Sync the hardware list with the driver and with what I could find on
the Areca website.
Also remove the module from the FILES section, it's already covered in
the SYNOPSIS.

MFC after:	3 days
2007-01-10 12:57:46 +00:00
glebius
0f316bc65f Document recent changes about supported compression and encryption modes.
Wording by:	rwatson
2007-01-09 15:00:01 +00:00
imp
9aa901e25f Julian says that he doesn't need the advertising clause, so out it goes. 2007-01-09 04:17:20 +00:00
delphij
ebdf3cb9d1 Document that we supported Intel PRO/100 VM Network Connection. 2007-01-07 20:30:27 +00:00
brueffer
3503c09581 Document Marvell 6101/6145 support. 2007-01-04 18:50:52 +00:00
brueffer
876ba7f8b0 New supported JMicron, ALI and ServerWorks chipsets.
MFC after:	3 days
2007-01-04 09:12:03 +00:00
danger
5ad1e547fd - Do not claim that ipfw is the only firewall package available
in FreeBSD.

Approved by: trhodes (mentor), keramida (mentor)
2007-01-01 21:16:42 +00:00
jmg
116c92a81c Some how the d slipped out in the last commit, add it back...
Pointed out by:	mdoc-police (ru)
2006-12-29 22:30:10 +00:00
glebius
cbd305868f Build bits for ng_deflate(4) and ng_pred1(4). 2006-12-29 13:16:43 +00:00
glebius
b85d5220b0 Manual page for Predictor-1 PPP compression netgraph node.
Submitted by:	Alexander Motin <mav alkar.net>
2006-12-29 10:47:26 +00:00
glebius
4aca8e1f31 Manual page for Deflate PPP compression netgraph node.
Submitted by:	Alexander Motin <mav alkar.net>
2006-12-29 10:46:15 +00:00
jmg
9a3d3a4e50 bump doc date and fix spelling...
Pointed out by:	mdoc-police (ru)
2006-12-28 22:28:28 +00:00
jmg
3f705f7765 document that locks must not be aquired in f_event... (and where they
can be safely aquired)

Reminded by:	kib (by LOR #193)
MFC:	3 days
2006-12-28 19:15:12 +00:00
yar
5ec2f453ec MFp4:
Document my recent changes to rc.subr(8):
- there is $required_modules now;
- $required_* are checked before invoking a custom start method, too.

MFC after:	1 month
2006-12-27 13:22:41 +00:00
ru
78c3656e3e Fix markup. 2006-12-26 22:25:58 +00:00
ru
d92f719c6a Nitpicking: <sysexits.h> defines exit codes. 2006-12-24 10:25:23 +00:00
pjd
bb91ae1dcc Document MTX_NOPROFILE flag. 2006-12-21 22:42:18 +00:00
joel
df7ef8bfdc Add Realtek ALC888 and Sigmatel STAC9227 to the HARDWARE section. 2006-12-17 16:48:26 +00:00
rwatson
39ebd13c80 Reference socket(9) from ng_ksocket(4). Reference ng_ksocket(4),
ithread(9), msleep(9), ucred(9) from socket(9).

Partly suggested by:	julian
2006-12-16 10:32:10 +00:00
rwatson
1d3d170d84 Add a basic man page for the socket(9) kernel programming interface used
by the NFS client and server, netsmb, netncp, etc.

Reviewed by:	ru
Fixed by:	ru
2006-12-15 23:35:15 +00:00
n_hibma
c98f016084 Align the interfaces for the various watchdogs and make the interface
behave as expected.

Also:
- Return an error if WD_PASSIVE is passed in to the ioctl as only
  WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an
  explanation of the difference between WD_ACTIVE and WD_PASSIVE.
- Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've
  lost your sense of humor, than don't add a define.

Specific changes:

i80321_wdog.c
  Don't roll your own passive watchdog tickle as this would defeat the
  purpose of an active (userland) watchdog tickle.

ichwd.c / ipmi.c:
  WD_ACTIVE means active patting of the watchdog by a userland process,
  not whether the watchdog is active. See sys/watchdog.h.

kern_clock.c:
  (software watchdog) Remove a check for WD_ACTIVE as this does not make
  sense here. This reverts r1.181.
2006-12-15 21:44:49 +00:00
jkoshy
0798d56531 Document extended program header numbering. 2006-12-15 16:12:07 +00:00
mpp
675ebda1f6 Spelling fix. 2006-12-14 17:03:46 +00:00
mpp
d398e83b8a Spelling fix. 2006-12-14 16:57:35 +00:00
mpp
3d052ce611 Spelling fixes. 2006-12-14 16:40:57 +00:00
mpp
c87e2e0408 Expand abbreviation. techref -> technical reference. 2006-12-14 16:37:11 +00:00
mpp
7cd24a641f Spelling fixes. 2006-12-14 14:33:13 +00:00
mpp
5748ac9909 Spelling fixes. 2006-12-14 13:37:08 +00:00
mpp
f1d202878f Don't use abbreviations for some descriptions / minor spelling fixes. 2006-12-14 13:35:59 +00:00
mpp
5cd76c6b38 Spelling fixes. 2006-12-14 12:49:04 +00:00
mpp
aab7be62cc Spelling fix. 2006-12-14 11:57:39 +00:00
brueffer
72566f2efb Add Xref to msk(4). 2006-12-13 08:56:15 +00:00
brueffer
c08bb7cdca Correct sort msk(4). 2006-12-13 08:55:20 +00:00
brueffer
ae557a1cb0 Misc fixes, also sort the hardware list alphabetically and add more history. 2006-12-13 08:51:40 +00:00
ru
d79a6bd715 - Fix prototype of bpf_filter().
- Document what passing it a zero buflen argument means.
2006-12-13 06:27:20 +00:00
yongari
6c1a7ad1dd Add msk(4) to the list of device drivers use the miibus interface. 2006-12-13 02:46:32 +00:00
yongari
af6ffc8ef3 Add msk(4) to the list of devices supporting full VLAN processing
in the hardware.
2006-12-13 02:42:01 +00:00
yongari
801a858e21 Add msk(4) to the list of drivers supporting ALTQ. 2006-12-13 02:40:06 +00:00
yongari
2f9b06d375 Hook up msk(4) to the build. 2006-12-13 02:37:48 +00:00
yongari
caf14e772e Add a man page for msk(4). 2006-12-13 02:37:01 +00:00
julian
2df82cb38b Explicitly emphasize a facet of m_pullup() that some people seem to
frequently forget. i.e. that you can not keep using pointers to
within the old chain.
2006-12-08 23:44:30 +00:00
ru
a43cccb7c1 Update the URL for the list of supported products. 2006-12-07 10:56:27 +00:00
wilko
b7694d2ecb document that NCQ is not yet supported.
PR: kern/106343
2006-12-05 20:23:25 +00:00
ru
ca2bb82f44 Move npe.4 to a machine specific manpage subdirectory. 2006-12-05 16:57:10 +00:00
ru
f352d33919 Fix markup. 2006-12-05 08:07:21 +00:00
joel
3c6a8dbb06 Fix typo. 2006-12-05 06:56:09 +00:00
sam
00066d507e hook npe.4 up to arm build
MFC after:	1 month
2006-12-04 22:42:27 +00:00
sam
b93a731abf start 'o man page for xscale npe ethernet driver
MFC after:	1 month
2006-12-04 22:41:41 +00:00
brueffer
d1bdc72546 bce(4) does not work correctly in polling(4) mode for now. 2006-12-02 09:03:06 +00:00
mlaier
86e7537c97 ALTQify ep(4).
Tested and Requested by:	Andy Brook
MFC after:			3 days
2006-12-01 20:29:55 +00:00
ru
5757d9c0fc Give up on waiting for a repo-copy (no answer in 20 days), and
commit my markup fixes.

OK'ed by:	kmacy
2006-12-01 17:46:25 +00:00
ru
1882f43fde Add missing `;;' in the example shell code snippet.
PR:		i386/106113
Submitted by:	Richard Arends
MFC after:	3 days
2006-12-01 09:00:38 +00:00
alfred
721b0a7001 Bump .Dd, (9 year jump!)
Requested by: ru
cvs: ----------------------------------------------------------------------
2006-11-29 20:24:56 +00:00
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
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
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
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
21ab4f8a25 o Document ServeRAID 7x support.
Submitted by:	Andrey V. Elsukov
MFC after:	3 days
2006-11-05 08:55:21 +00:00