Commit Graph

3507 Commits

Author SHA1 Message Date
Chris Costello
057baf3783 Document the following MAC policies:
o ifoff: Interface silencing policy
o partition: Process partitioning policy

Add associated Makefile entries and man page cross-references.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Labs
Approved by:	re (blanket)
2002-12-11 01:02:26 +00:00
Ruslan Ermilov
a2931c092e mdoc(7) police: overhaul.
Approved by:	re
2002-12-10 14:21:55 +00:00
Ruslan Ermilov
49bd9c3e42 mdoc(7) police: nit.
Approved by:	re
2002-12-10 14:20:38 +00:00
Ruslan Ermilov
3dede74761 mdoc(7) police: overhaul (including adoptation to FreeBSD).
Approved by:	re
2002-12-10 14:20:02 +00:00
Chris Costello
17c5113a22 Document the following MAC policies:
o None: Stub policy
o Seeotheruids: The "see processes and sockets owned by other users" policy
o Test: Debugging policy

Standardize the SYNOPSIS and HISTORY sections.

Update SEE ALSO sections.
2002-12-10 00:39:17 +00:00
Ruslan Ermilov
cdd53b1589 mdoc(7) police: overhaul.
Reviewed by:	re
2002-12-09 14:29:34 +00:00
Ruslan Ermilov
e199383992 mdoc(7) police: overhaul. 2002-12-09 12:41:29 +00:00
Ruslan Ermilov
ff69a1c6c4 mdoc(7) police: markup nits.
Approved by:	re (blanket)
2002-12-09 12:28:33 +00:00
Robert Watson
bf616e0493 Remove documentation of ENABLE_VFS_IOOPT: we don't want people to use
it, so don't suggest it.  It's likely going away soon also, so avoid
believing it's supported.

Suggested by:	Sean Kelly <smkelly@zombie.org>
Approved by:	re
2002-12-09 03:41:37 +00:00
Josef Karthauser
02ea085763 Add ucom.4 to the list of related man pages.
Submitted by:	keramida
Approved by:	re (murray)
2002-12-09 00:22:14 +00:00
Robert Watson
b77b2b6ed3 Provide enhanced information on configuring SMP support in a kernel.
Approved by:	re
2002-12-07 01:50:06 +00:00
Robert Watson
fe93f598bb Take a pass at updating this man page a bit to at least mention SMPng,
that we do MP on more than just i386, and add some cross-references.
This is far from a perfect update, but at least it's a start.  More
will no doubt follow.

Reviewed by:	jhb
Approved by:	re
2002-12-07 01:37:12 +00:00
Ruslan Ermilov
db8993ce9e Capitalize ASCII code names.
Approved by:	re
2002-12-05 08:50:00 +00:00
Chris Costello
3ebc28efa8 Document the following MAC policies:
o Biba: A data integrity policy
o BSD Extended: Support for the firewall-like access controls (ugidfw(8))
o MLS: Multi-level security, a confidentiality policy

(These files originally lived in src/share/man/man9)

Approved by:	re (blanket)
Sponsored by:	DARPA, Network Associates Labs
Obtained from:	TrustedBSD Project
2002-12-05 00:05:38 +00:00
Ruslan Ermilov
ae82896268 Consistently mark std(in|out|err) with .Dv, because that's how they
are marked up in stdio(3), and because they are defined expressions
of type "FILE *".

Approved by:	re
2002-12-04 18:57:46 +00:00
Søren Schmidt
8ba4488cea Add support for the PC98 platform to the ATA driver.
This mostly consists of functionality to serialize accesses to
the two ATA channels (which can also be used to "fix" certain
PCI based controllers).
Add support for Acard controllers.
Enable the ATA driver in PC98 GENERIC, and add device hints.
Update man page with latest support.

The PC98 core team has kindly provided me with a PC98
machine that made this all possible, thanks to all that
contributed to that effort, without that this would
probably newer have been possible..

Approved by: re@
2002-12-03 20:20:44 +00:00
Chris Costello
431dda01b6 Document the MLS policy
Approved by:	re
Sponsored by:	DARPA, Network Associates Labs
Obtained from:	TrustedBSD Project
2002-12-02 01:04:37 +00:00
Chris Costello
9759d0e4dd Spelling: "current" -> "currently"
Approved by:	re
Sponsored by:	DARPA, Network Associates Labs
2002-12-02 00:00:43 +00:00
Poul-Henning Kamp
9b150847d0 De-danglify.
Submitted by:	ceri
Approved by:	re (blanket)
2002-12-01 15:59:33 +00:00
Ruslan Ermilov
92b1f2f7a3 mdoc(7) police: sweep. 2002-11-29 16:42:23 +00:00
Ruslan Ermilov
ef31810d3f Back out part of last delta that was committed by accident.
(.Xr is not yet that smart.)
2002-11-29 11:50:08 +00:00
Ruslan Ermilov
d962d52ac0 mdoc(7) police: scheduled sweep.
Approved by:	re
2002-11-29 11:39:20 +00:00
Ruslan Ermilov
e60fa8374d mdoc(7) police: catch up to the code changes.
Approved by:	re
2002-11-29 11:36:32 +00:00
David E. O'Brien
a2a8085e7e As warned on freebsd-current@, remove the perl wrapper from /usr/src.
The /usr/bin/perl wrapper isn't solving many of the problems it was
imported to deal with.  There are limitations to it that don't have a
clear "fix".

Reviewed by:	markm, kris
Extorted approval from:	re(jhb)
2002-11-27 17:46:26 +00:00
Ruslan Ermilov
e27480d64d mdoc(7) police:
Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai]
strings; using these strings is unsafe in troff mode, as they include a
change in a font size.

Approved by:	re
2002-11-26 17:55:41 +00:00
Nate Lawson
33893c674d Hook the targ.4 manpage into the build
Submitted by:	Attila Nagy <bra@fsn.hu>
Approved by:	re (previously)
2002-11-25 18:31:07 +00:00
Johan Karlsson
fe00ab2fd1 Reflect that we now use
device ppc
and
	hint.ppc.0.at="isa"
	hint.ppc.0.irq="7"
in /boot/device.hints to configure the ppc device.

Reviewed by: trhodes, ru
Approved by: re@ (rwatson)
2002-11-25 13:49:31 +00:00
Ruslan Ermilov
298aa4e5fa Added the syncache(4) manpage.
Submitted by:	jlemon
2002-11-23 19:43:44 +00:00
Nate Lawson
c38b150ae4 New SCSI target emulator code
This code allows a user program to enable target mode on a SIM and
then emulate any number of devices (disks, tape drives, etc.)  All
decisions about device behavior (UA, CA, inquiry response) are left
to the usermode program and the kernel driver is merely a conduit
for CCBs.  This enables multiple concurrent target emulators, each
using its own backing store and IO model.

Also included is a user program that emulates a disk (RBC) using a
file as a backing store.  This provides functionality similar to
md(4) at the CAM layer.

Code has been tested on ahc(4) and should also work on isp(4) (and
other SIMs that gain target mode support).  It is a complete rewrite
of /sys/cam/scsi_target* and /usr/share/examples/scsi_target.

Design, comments from:	gibbs
Supported by:		Cryptography Research
Approved by:		re
2002-11-22 22:55:51 +00:00
Tom Rhodes
a19f1419b5 Catch the make.conf manual page up with defaults/make.conf
PR:		45470
Approved by:	re (bmah)
Submitted by:	Carl Schmidt <carl@slackerbsd.org> (original version)
2002-11-22 18:27:59 +00:00
Gordon Tetlow
54e347fb3b Update rc(8) manpage to reflect rc.d
Add an rc.subr(8) manpage
Hook rc.subr.8 up to the build.

Submitted by:	Mike Makonnen <mtm@identd.net>
Approved by:	re@ (bmah)
Obtained from:	NetBSD
2002-11-21 20:12:05 +00:00
Julian Elischer
bbc195991d Make the bluetooth man pages appear 2002-11-21 00:06:08 +00:00
Julian Elischer
878ed22696 The second try a committing the bluetooth code
Has been seen to work on several cards and communicating with
several mobile phones to use them as modems etc.

We are still talking with 3com to try get them to allow us to include
the firmware for their pccard in the driver but the driver is here..
In the mean time
it can be downloaded from the 3com website and loaded using the utility
bt3cfw(8) (supplied) (instructions in the man page)

Not yet linked to the build

Submitted by:	Maksim Yevmenkin <myevmenk@exodus.net>
Approved by:	re
2002-11-20 23:01:59 +00:00
Chris Costello
2699228f1e Activate mac_biba.9
Approved by:	re
Sponsored by:	DARPA, Network Associates Labs
2002-11-20 22:28:20 +00:00
Chris Costello
36e4f12d71 Document the Biba MAC policy.
Approved by:	re
Sponsored by:	DARPA, NAI Labs
Obtained from:	TrustedBSD Project
2002-11-20 22:26:58 +00:00
John Baldwin
5c5145d7f9 Document the KERNELS variable. 2002-11-18 20:31:35 +00:00
Yoshihiro Takahashi
1e89c49d2e Add EXTLOCALDIR document. 2002-11-18 12:25:53 +00:00
Alfred Perlstein
4919e8cbe9 Flesh out the description of the uma_zcreate callback function arguements
a bit.  As there may be changes soon we're still a bit vague unfortunatly.
2002-11-18 01:11:58 +00:00
John Baldwin
22eef9d51e Document NOCDROM and NO_FLOPPIES. 2002-11-15 20:55:37 +00:00
Sam Leffler
a5eb8d53b2 document auto-recognition of device capabilities 2002-11-15 00:25:33 +00:00
Thomas Moestl
67bc3e2af3 Update to match recent snp fixes.
Reviewed by:	dd
2002-11-11 10:59:28 +00:00
Warner Losh
e8ef497c66 Document devd_enable.
Submitted by: dougb
2002-11-10 09:19:42 +00:00
Hidetoshi Shimokawa
d4f6170598 Add fwe.4. 2002-11-08 03:24:32 +00:00
Tom Rhodes
01f5fdee5c Restore most (90%) of the text I removed in my previous commit. Remove the
part about spelling and grammar.

Discussed with:	-developers
2002-11-06 18:58:02 +00:00
Tom Rhodes
ad727d7c98 Remove Realtek discriminating comments from the rl(4) manual page.
This leaves us with 'just the facts'

PR:	31271
2002-11-06 03:53:08 +00:00
Dima Dorfman
c00809fcf9 Fix formatting bogon. 2002-11-05 19:23:25 +00:00
Dima Dorfman
489587c5a5 Undelete FILES section (taken from RELENG_4), primarily to give the
location of the passwd and master.passwd files.

Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-11-05 19:18:19 +00:00
Dima Dorfman
d722865a31 master.passwd, not master.password
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-11-05 19:13:06 +00:00
John Baldwin
69c3915a5b Fix a grammar bogon.
PR:		44883
Submitted by:	Christian Brueffer <chris@unixpages.org>
2002-11-04 19:18:57 +00:00
Robert Watson
bf139e9706 License: update, remove clause three of BSD license per approval of
NAI.

Add cautionary notes on the experimental status of the MAC Framework
in FreeBSD 5.0.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-04 18:11:17 +00:00
Poul-Henning Kamp
5afa461402 Run a revision on the GBDE encryption facility.
Replace ARC4 with SHA2-512.
Change lock-structure encoding to use random ordering rather for obscurity.
Encrypt lock-structure with AES/256 instead of AES/128.
Change kkey derivation to be MD5 hash based.
Watch for malloc(M_NOWAIT) failures and ditch our cache when they happen.
Remove clause 3 of the license with NAI Labs consent.

Many thanks to "Lucky Green" <shamrock@cypherpunks.to> and "David
Wagner" <daw@cs.berkeley.edu>, for code reading, inputs and
suggestions.

This code has still not been stared at for 10 years by a gang of
hard-core cryptographers.  Discretion advised.

NB: These changes result in the on-disk format changing: dump/restore needed.

Sponsored by:   DARPA & NAI Labs.
2002-11-04 09:27:01 +00:00
Alfred Perlstein
ac1cc6ee11 Backout "compatibility hack" for __sF.
Requested by: Steve Kargl <sgk@troutmask.apl.washington.edu> (submitter)
2002-11-04 03:23:56 +00:00
Robert Watson
bcedbf7819 X-ref clock_gettime(2). 2002-11-02 23:59:02 +00:00
Alfred Perlstein
0fc25b925d Provide a hook to make __sF visible outside of libc for commercial apps
if WANT_COMPAT4_STDIO is defined when compiling libc.

Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
2002-11-02 19:47:53 +00:00
Robert Watson
efbc63a783 Further clarifications of the #ifdef/#if/#elif/#endif style information,
largely submitted by bde.  Return our exemption of the #ifdef lint
comments since the exemption is intended to handle a particularly
common current case without mandating change.  Improve language and
spelling, and slightly clarify the notions associated specifically
with #elif.

Obtained from:	bde
2002-11-01 16:20:31 +00:00
Thomas Quinot
a4ff0220ab Fix minor typo.
Note that ATAPI/CAM has been MFC'd into RELENG_4 and will appear
in FreeBSD 4.8.

Reviewed by:	roberto
2002-11-01 10:02:31 +00:00
Julian Elischer
94d31abc4e More formatting fixes 2002-10-31 23:36:16 +00:00
Julian Elischer
5bec8a73ac Slight formatting change. 2002-10-31 23:26:02 +00:00
Julian Elischer
585ff168dc Add the netgraph 'source' module.
This is NOT YET CONVERTED TO -current.
This node is a source for preprogrammed packets at a known rate for testing.

I will convert it to -current "in place" but will MFC teh original
pre-conversion variant as that is  what is originally submitted.
Man page my me, info from Dave's README.

Submitted by:	Dave Chapeskie <dchapeskie@SANDVINE.com>
Obtained from:	Sandvine inc.
MFC after:	1 week
2002-10-31 23:03:09 +00:00
Thomas Quinot
a1e2d9ff4d Add ATAPI/CAM man page.
Reviewed by:	roberto
2002-10-31 10:52:47 +00:00
Thomas Quinot
17b1e1df1a Remove bogus advertising clauses.
Reviewed by:	n_hibma, roberto
2002-10-30 22:27:54 +00:00
Thomas Quinot
9dab9ccba4 Man page for ATAPI/CAM.
Reviewed by:	roberto
2002-10-30 08:42:24 +00:00
Ruslan Ermilov
e5f3fe8c97 PRINTERDEVICE can now take multiple values. 2002-10-29 16:13:21 +00:00
Chris Costello
2c26594d26 o Change .Nd to be less redundant and more consistent with upcoming policy
man pages.
o Move a misplaced comment.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Labs
2002-10-29 00:21:03 +00:00
Chris Costello
e91aeae5e1 Correctly spell "te" as "mls". 2002-10-28 23:03:25 +00:00
Chris Costello
30ee002788 Add a man page describing the Mandatory Access Control label format.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Labs
2002-10-28 22:54:54 +00:00
Robert Watson
5ab0c4ceeb Clarify style(9) WRT comments following #endif, #else.
The closing comment is required only for long conditionally defined
code sections, with the exception of lint cases.  Attempt to document
also the logic for using '!' before the SOMETIMESSOMETHGINGHERE.
The goal of these comments is to make complex cases more
comprehensible, not to require them in all cases.  The rules here are
derived from behavior used in 90+% of the kernel source code.

Reviewed by and discussed with:	jhb, bde, mike
2002-10-28 19:33:22 +00:00
Luigi Rizzo
9a96729c64 Remove stale information from these two manpage, and point the readers
to the one up-to-date page which is ipfw(8).

MFC after: 3 days
2002-10-28 07:24:58 +00:00
Alexey Zelkin
1f1e884a91 Add & hookup manpage for pthread_attr_get_np(3).
MFC after:	3 days
2002-10-26 15:04:29 +00:00
Thomas Quinot
7644e396f3 Add a new /etc/periodic/security script to check for packets
rejected by ipfilter (510.ipfdenied), and a corresponding periodic.conf
knob (daily_status_security_ipfdenied_enable).

Reviewed by:	roberto
Approved by:	re@
2002-10-25 15:16:54 +00:00
Hidetoshi Shimokawa
ea1d1ef06f add manpages for FireWire. 2002-10-25 14:34:24 +00:00
Tim J. Robbins
9c78e04d62 Make the example "assertion failure" message match reality. 2002-10-25 14:22:20 +00:00
Tim J. Robbins
a40c540ffa Update the Standards section for the addition of the C99 va_copy macro. 2002-10-25 12:22:14 +00:00
Sheldon Hearn
a7af55af93 * Modernize aio(4), providing instructions for static and dynamic kernel
linking.

* Fix disorder in the SEE ALSO sections of aio_*(2).

* Remove unnecessary cross-references from the SEE ALSO sections of
  aio_*(2); config(8), kldload(8) and kldunload(8) are cross-referenced
  from aio(4).

* Remove the KERNEL OPTIONS sections from aio_*(2), now that these
  pages cross-reference aio(4), which contains suitable kernel linking
  reference material.
2002-10-24 12:57:05 +00:00
Dag-Erling Smørgrav
9ccc706104 Add a simple man page for the aio facility. 2002-10-24 12:22:19 +00:00
Robert Watson
f64a0a56d4 Minor tweaks to the acpi.4 man page: xref acpiconf.8, and one of the
bugs (device naming) isn't present [anymore].

Submitted by:	Hiten Pandya <hiten@angelica.unixdaemons.com>
2002-10-24 01:44:50 +00:00
Giorgos Keramidas
0c7911f3ff Minor grammar fix: referenced to -> in reference to. 2002-10-22 23:36:10 +00:00
Giorgos Keramidas
56e37108f4 Add description of fetch-recursive target. 2002-10-22 23:11:38 +00:00
Giorgos Keramidas
a5d3110615 Refer to doc/en_US.ISO8859-1 for documentation. 2002-10-22 23:06:29 +00:00
Giorgos Keramidas
6b3e3c6f80 Split an excessively long sentence. 2002-10-22 22:52:24 +00:00
Giorgos Keramidas
3c2486a77c Improve wording by removing repetitive use of 'default'. 2002-10-22 22:43:24 +00:00
Giorgos Keramidas
60eefdafd2 The ipfw module is only loaded if necessary. 2002-10-22 22:39:18 +00:00
Giorgos Keramidas
7361df2133 s/then/than/ where appropriate. 2002-10-22 22:36:56 +00:00
Giorgos Keramidas
0b6579f22d rulset -> ruleset 2002-10-22 22:34:29 +00:00
Luigi Rizzo
4af9c6707c List some of the Compact Flash readers known to work with this driver.
MFC after: 3 days
2002-10-22 15:23:13 +00:00
Poul-Henning Kamp
f33aca987b Change to match NO_MAKEDEV* -> MAKEDEV*. 2002-10-22 15:02:53 +00:00
Thomas Moestl
cf8cc48964 Update for BSD.include.dist r1.60 (addition of include/dev/ofw).
Forgotten by:	tmm
Prodded by:	ru
2002-10-22 10:37:07 +00:00
Robert Watson
64027e4d85 Add mac(9), a man page providing a basic introduction to the concepts
associated with the TrustedBSD MAC Framework, as well as some credits
to developers and contributors.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-21 23:51:18 +00:00
Ian Dowse
c557ae16ce Implement a new IP_SENDSRCADDR ancillary message type that permits
a server process bound to a wildcard UDP socket to select the IP
address from which outgoing packets are sent on a per-datagram
basis. When combined with IP_RECVDSTADDR, such a server process can
guarantee to reply to an incoming request using the same source IP
address as the destination IP address of the request, without having
to open one socket per server IP address.

Discussed on:	-net
Approved by:	re
2002-10-21 20:40:02 +00:00
Andrew Gallatin
777bca5e20 Add some documentation of FreeBSD's special synchronization quirks
which may surprise developers coming from Solaris, or other platforms
which have a similar interface, but slightly different rules.

Reviewed by: jhb, ru
2002-10-21 12:54:13 +00:00
Murray Stokely
a91b8fd9fb Note that support for the third 'drivers floppy' has been implemented.
Also point to the AWK scripts instead of the older Perl ones, now that
they've been rewritten.
2002-10-21 10:48:19 +00:00
Giorgos Keramidas
f09b82aa1a crash(8) is a manual page, not a `section'. 2002-10-21 01:27:41 +00:00
Giorgos Keramidas
f0f3178bb8 Minor typo fixes. 2002-10-21 01:24:10 +00:00
Giorgos Keramidas
f19c72095f Use .Ed to terminate .Bd display. 2002-10-21 01:13:46 +00:00
Poul-Henning Kamp
b8c9bc1a22 Stamping out more Danglish. 2002-10-20 20:59:10 +00:00
Chris Costello
19eec4135d Move .Os to its proper location in the document. 2002-10-20 19:44:36 +00:00
Chris Costello
bba43ee522 o Spelling, punctuation and markup fixes.
o Correctly use the "No chain is stronger than its weakest link" adage.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-10-20 19:38:28 +00:00
Ceri Davies
362ebd996c Correct various typos.
PR:		docs/44302
Submitted by:	Christian Brueffer <chris@unixpages.org>
Approved by:	phk
2002-10-20 15:27:32 +00:00
Ceri Davies
e1eecee002 Remove quotes to make an example of kernel configuration valid.
PR:		docs/44306
Submitted by:	Dmitry Dyomin <old@old.com.ua>
MFC after:	3 days
2002-10-20 15:19:40 +00:00
Scott Long
f9d186edc8 After much delay and anticipation, welcome RAIDFrame into the FreeBSD
world.  This should be considered highly experimental.

Approved-by:	re
2002-10-20 08:17:39 +00:00
Poul-Henning Kamp
86ebc3343c Add the manual page which explains how gbde works and which bits it is
composed off.

Sponsored by:	DARPA & NAI Labs.
2002-10-19 21:44:57 +00:00
Benno Rice
6771685b7a Update the documentation for kthread_create to include the pages argument.
Reviewed by:	sheldonh
Forgotten by:	scottl
2002-10-19 01:39:44 +00:00
Chris Costello
6bc41f415a Add a new man page describing the mac_bsdextended policy.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-10-18 05:40:48 +00:00
Ruslan Ermilov
7621fdab1a mdoc(7) police: markup and spelling fixes.
Prodded by:	phk
2002-10-16 16:46:58 +00:00
Mike Barcroft
31cfc49a4e Remove the posix4(9) manual. It no longer contains relevant
information.
2002-10-16 14:24:41 +00:00
Max Khon
2cc6cfc63f write caching is enabled by default -- reflect this in manpage
Approved by:	sos
MFC after:	0 days
2002-10-16 13:37:33 +00:00
Max Khon
d817590381 Add HP ScanJet 2200C
PR:		41375
Approved by:	joe
2002-10-15 21:59:39 +00:00
Sam Leffler
1403a8c73e update to better reflect reality:
o describe additional argument in driver callbacks
o describe flow-control mechanism for processing crypto requests
o remove old cruft
o remove openbsd-specific cruft
o fixup some references
o yada yada ...
2002-10-14 20:23:41 +00:00
Jeff Roberson
7229a4a23f - Add a section on logging ktr entries to disk via ALQ. 2002-10-12 05:50:47 +00:00
Jeff Roberson
d627754a07 - Add a reference to ktrdump(8)
- Remove the stale comments about ktr extend.
2002-10-12 03:01:11 +00:00
Jeff Roberson
54dc0e41e4 - Move the description of KTR_CPUMASK into the "Event Masking" section.
- Remove the "Extensions" section since it is no longer relavent.
 - Create a new section for KTR_VERBOSE and put it's description there.
2002-10-12 02:56:46 +00:00
Jeff Roberson
72517de515 - Remove the bogus reference to the removed KTR_EXTEND option.
- Add ktrdump(8) to the SEE ALSO section.
 - Remove the BUGS section that complains about not having a userland utility
   for viewing ktr data.
2002-10-12 02:45:21 +00:00
John Baldwin
a3672eee7a SWI_SWITCH and SWI_NOSWITCH were OBE a long time ago. 2002-10-11 19:45:19 +00:00
Mike Barcroft
2b7f24d210 Change iov_base's type from char *' to the standard void *'. All
uses of iov_base which assume its type is `char *' (in order to do
pointer arithmetic) have been updated to cast iov_base to `char *'.
2002-10-11 14:58:34 +00:00
Poul-Henning Kamp
2c38619b52 Slight overhaul of arc4random() and friends.
One bug fixed:  Use getmicrouptime() to trigger reseeds so that we
cannot be tricked by a clock being stepped backwards.

Express parameters in natural units and with natural names.

Don't use struct timeval more than we need to.

Various stylistic and readability polishing.

Introduce arc4rand(void *ptr, u_int len, int reseed) function which
returns a stream of pseudo-random bytes, observing the automatic
reseed criteria as well as allowing forced reseeds.

Rewrite arc4random() in terms of arc4rand().

Sponsored by:   DARPA & NAI Labs.
2002-10-11 13:13:08 +00:00
Alfred Perlstein
9e9715e9c0 de-__P() 2002-10-10 00:32:55 +00:00
Alexander Kabaev
7d59efa9a8 Add device driver for Belkin F5U103 and compatible USB-to-serial adapters.
Reviewed by:	n_hibma
Approved by:	obrien
2002-10-08 03:09:57 +00:00
Sam Leffler
f4bf433552 manual pages for the new kernel crypto support (need work)
Obtained from:	openbsd
2002-10-04 20:43:30 +00:00
Poul-Henning Kamp
c5f9218b48 Add the new function "sbuf_done()" which returns non-zero if the sbuf is
finished.

This allows sbufs to be used for request/response scenarioes without
needing additional communication flags.

Sponsored by:	DARPA & NAI Labs.
2002-10-04 09:58:17 +00:00
Scott Long
0910374b7f Alas, poor matcd, I knew ye well.
It doesn't work.
It cannot be made to work.
Goodbye.

X-MFC after:	ASAP
2002-10-04 06:06:04 +00:00
Peter Wemm
4ae86c723c Make the man page for utmp/lastlog match the actual definitions. 2002-10-04 00:25:50 +00:00
Dima Dorfman
99253b64fb Correct the exports(5) example to use -ro in the paragraph that talks
about how exporting / and /usr works even if they're read-only.

PR:		42076
Submitted by:	Marco Molteni <molter@tin.it>
2002-10-02 02:07:08 +00:00
Dima Dorfman
e767e97d74 Correct minor errors in the code examples.
PR:		41993
Submitted by:	David Lay <dsl@foozle.org>
2002-10-01 23:35:33 +00:00
Søren Schmidt
c5e827ebc8 Add manpage for the pst driver (Promise SX6000) 2002-09-27 17:44:12 +00:00
Ceri Davies
53264ceaf6 Add a note explaining /var/empty.
PR:		docs/43364
Submitted by:	Kim Scarborough <sluggo@unknown.nu>
MFC after:	14 days
2002-09-26 17:12:05 +00:00
Poul-Henning Kamp
97c662f817 Document that ENOTTY is the correct "default" error return; 2002-09-26 14:10:21 +00:00
Ruslan Ermilov
01a97b5808 Document DOC_LANG.
Reviewed by:	murray
2002-09-26 07:08:48 +00:00
Brian Somers
df93d794dc Add a pkg_version variable so that it's possible to run portsversion instead
of pkg_version in periodic/weekly/400.status-pkg.
2002-09-25 03:01:42 +00:00
John Baldwin
660e41d37f Remove all mention of MTX_NOSWITCH. It was obsoleted a long time ago. 2002-09-24 20:45:58 +00:00
Masafumi Max NAKANE
925850905b Fix typo. 2002-09-21 08:32:07 +00:00
Don Lewis
394739140c The file vnode passed to VOP_LINK() should now be locked before the call. 2002-09-19 13:34:50 +00:00
Don Lewis
81f8d226f9 Convert descriptions in the ERRORS section to full sentences if they
were not full sentences, elaborating as necessary.
2002-09-18 22:12:43 +00:00
Poul-Henning Kamp
0b1c0994a5 Add m_fixhdr() and m_length(). 2002-09-18 20:04:30 +00:00
Søren Schmidt
f7b6f951cf Update supported chipset list. 2002-09-18 09:40:18 +00:00
Don Lewis
cc25845767 Style and markup changes only.
Capitalize the first letter of the descriptions for the entries in the ERRORS
section if they are complete sentences and end the sentences with periods.
2002-09-18 09:34:01 +00:00
Mike Barcroft
86954511d2 Implement C99's va_copy() macro. 2002-09-18 07:33:16 +00:00
Hajimu UMEMOTO
368d90d1ca reject private IPv4 addrs
Obtained from:	KAME
2002-09-17 10:56:52 +00:00
Don Lewis
4f0ef11192 Update man page to reflect current implementation.
List all of the error returns shown in the example code in the ERRORS
section.
2002-09-17 08:31:43 +00:00
Don Lewis
691d7d0915 Fix a hard sentence break. 2002-09-17 08:24:15 +00:00
Nate Lawson
8723b451f9 Start new sentence with newline.
Suggested by: jhb
2002-09-16 19:53:51 +00:00
Nate Lawson
8c3308035a Update man page for enum -> const char * change for v_tag 2002-09-16 18:16:07 +00:00
Ceri Davies
5238a408ed s/protocole/protocol/
PR:		docs/42815
Submitted by:	Nicola Vitale <nivit@libero.it>
MFC after:	21 days
2002-09-15 20:33:05 +00:00
Mike Barcroft
beddcd8bcb Document intptr_t and uintptr_t. 2002-09-15 20:12:20 +00:00
Robert Watson
58616b1c69 s/VOP_NULL/VATTR_NULL/ 2002-09-14 03:32:57 +00:00
Katsushi Kobayashi
3c60ba66c4 Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
2002-09-13 12:31:56 +00:00
Robert Drehmel
3b12885314 Add a paragraph which should clarify the separation of asterisks
and adjacent tokens in declarations.
The added text was originally a single sentence I wrote and which
was heavily modified and extended by Bruce Evans.

This clarification attempt originates from differing usage of the
'restrict' type-qualifier.
Although various documents documents dicussing the C Programming
Language put a space between an asterisk and the 'restrict' keyword,
including the C99 standard (at least the n869.txt draft) and other
ISO/IEC JTC1/SC22/WG14 documents, the IEEE Std 1003.1-2001 document
does not separate them.

Discussed with:		bde
Requested by:		tjr
Separation using a single space also liked by:	mike
2002-09-10 14:48:38 +00:00
Tony Finch
3e30ca7b1c Remove a sentence about wrapping macro definitions in bare braces,
which became wrong after using do { } while (0) became recommended.
Move the definition of what braces are to their new first occurrence.

Reviewed by:	bde
2002-09-10 10:54:39 +00:00
John Polstra
a02e220c6f Mention support for the on-board NICs on IBM x235 servers.
Be more precise when referring to the chip family (BCM570x) vs.
specific models (e.g., BCM5700).

MFC after:	1 month
2002-09-08 19:20:23 +00:00
Chad David
78ae381517 Note that siginit() does not cause every signal to be ignored only the
ones with a default property of SA_IGNORE, and that it acquires and
releases the processes lock.
2002-09-07 06:07:55 +00:00
Maxim Sobolev
5176efdd47 Connect gre(4) to the build. 2002-09-06 17:17:22 +00:00
Maxim Sobolev
8e96e13e6a Add a new gre(4) driver, which could be used to create GRE (RFC1701)
and MOBILE (RFC2004) IP tunnels.

Obrained from:  NetBSD
2002-09-06 17:12:50 +00:00
Robert Drehmel
00f9b68295 Expand a contraction in the text of style(9) for consistency.
Do not touch contractions in comments of code examples because
their usage seems to be justified by space contraints.
2002-09-06 10:53:57 +00:00
Gordon Tetlow
e99a17fb92 Update rc.conf.5 man page to reflect bootparamd_enable and _flags 2002-09-05 20:19:03 +00:00
Gregory Neil Shapiro
d87e0e8e23 Deprecate the use of sendmail_enable="NONE" as it adversely affects the
new rcNG effort.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-09-03 22:15:57 +00:00
Scott Long
5bd24c43a2 Fix a few typos and nits.
Submitted by:	bmah
2002-09-01 22:07:24 +00:00
Scott Long
55131267b6 Add a manual page for the ahd driver. 2002-09-01 07:34:47 +00:00
Hellmuth Michaelis
2455cd9ea2 document options for integrating pcvt configuration into the new /etc/rc.d
startup system.
2002-08-30 12:44:44 +00:00
Mitsuru IWASAKI
6c40705212 s/hint.acpi.0.disable/hint.acpi.0.disabled/
Fix device hints entry for disabling acpi(4).
This also should fix the arbitration with apm(4) when both drivers
are enabled.

Note that your /boot/device.hints needs to be updated if you want to
stop auto-loading acpi.ko or disable acpi(4).
2002-08-30 11:11:07 +00:00
Johan Karlsson
2281085897 Use correct arguments to sysctl in code example.
PR:		40038
Submitted by:	perky
Approved by:	sheldonh (mentor)
MFC after:	1 week
2002-08-30 10:52:17 +00:00
Matthew Dillon
5bdfbf5afd Cleanup grammer related to PR 40907 and add a section on TCP delayed
acks as suggested by Mike Harding <mvh@ix.netcom.com>
2002-08-29 20:34:06 +00:00
Maxim Sobolev
d1831a621a Last missed bit of user-setable promisc mode.
Pointy hat to:  sobomax
MFC after:      1 day
2002-08-28 07:24:20 +00:00
Tom Rhodes
2ff33d9472 Grammar cleanup
PR:	40909
2002-08-27 16:18:07 +00:00
Yaroslav Tykhiy
dd4dc0a99c Language style and grammar fixes.
tx(4) has gained native support for vlan(4).

MFC after:	3 days
2002-08-27 14:26:05 +00:00
Yaroslav Tykhiy
a5a8905c10 Update the section on NIC driver support status.
MFC after:	3 days
2002-08-27 14:01:14 +00:00
David E. O'Brien
a8a1e43d8f Backout rev 1.4. The code certainly does not spell the sysctl with 'ed':
$ grep disable /sys/boot/i386/libi386/i386_module.c
    if ((getenv("acpi_load") && !getenv("hint.acpi.0.disable"))) {
2002-08-25 20:02:30 +00:00
Matthew Dillon
301b6a7936 Rearrange a sentence that got stuck in the wrong paragraph.
X-MFC after:	(all commits here will be MFCd)
2002-08-25 18:54:04 +00:00
Matthew Dillon
c3bf8c4544 Clear up confusion in a sentence describing [/var]/tmp. 2002-08-25 18:46:43 +00:00
Matthew Dillon
78d1394010 Add a section on the net.inet.ip.portrange.* sysctls.
Suggested by: Mike Harding <mvh@ix.netcom.com>
MFC after:	3 days
2002-08-25 18:34:48 +00:00
Mike Barcroft
33213740d8 Append a d to disable to make the ACPI hint example valid.
Submitted by:	Craig Rodrigues <rodrigc@attbi.com>
2002-08-25 16:48:16 +00:00
Chris Costello
4e1e73eb94 Remove a repeated word.
Submitted by:	horikawa
2002-08-25 07:13:05 +00:00
Matthew Dillon
667137d174 Add A section on the retransmit timer sysctls.
MFC after:	3 days
2002-08-25 01:51:57 +00:00
Bruce A. Mah
6224bea053 Really add new fxp(4) adapter names this time.
Forgotten part of a patch from:

PR:		41759
Submitted by:	David Siebörger <drs@rucus.ru.ac.za>
2002-08-24 22:26:52 +00:00
Bruce A. Mah
04f60e4b0a Update the list of chips and cards supported by this driver.
Based heavily on patches contained in...

PR:		41759
Submitted by:	David "Siebörger" <drs@rucus.ru.ac.za>
2002-08-24 17:00:17 +00:00
Warner Losh
f46ccb5625 Suggest that function prototypes in kernel headers be alphabetical,
unless there's a compelling reason to deviate.

Submitted by: Don Lewis
Suggestion not objected to by: developers@
2002-08-21 06:58:21 +00:00
Archie Cobbs
97cbe82b40 Man page for new L2TP netgraph node type.
Obtained from:	Packet Design
2002-08-20 22:00:56 +00:00
Jens Schweikhardt
d4bbfee298 Insert missing 'are' to fix grammar bogon.
MFC after:	3 days
2002-08-20 14:43:10 +00:00
Gordon Tetlow
806fb7f53b Update manpage to reflect reality:
xntpd -> ntpd
single_mountd_enable -> mountd_enable
portmap -> rpcbind
2002-08-19 17:57:38 +00:00
Maxim Sobolev
62f7648682 Increase size of ifnet.if_flags from 16 bits (short) to 32 bits (int). To avoid
breaking application ABI use unused ifreq.ifru_flags[1] for upper 16 bits in
SIOCSIFFLAGS and SIOCGIFFLAGS ioctl's.

Reviewed by:	-hackers, -net
2002-08-18 07:05:00 +00:00
Matthew Dillon
e1583529ee Oops, last manual commit was to -stable, should have been to -current.
No biggy, the code MFC to stable will catch up to the docs in a week.

X-MFC after:    -7 days
2002-08-17 20:44:24 +00:00
Tom Rhodes
19c99159d4 Remove usbhidaction(1) manual page under SEE ALSO section. This will be
added again if/when we port the framework.

Submitted by:	mwlucas
Approved by:	joe
2002-08-16 05:01:11 +00:00
Maxime Henrion
9ca5db2fe1 Fix typo. 2002-08-15 13:11:35 +00:00
Ruslan Ermilov
43290b6363 mdoc(7) police: fixed indentation in synopsis.
Submitted by:	bde
2002-08-15 08:20:07 +00:00
Ruslan Ermilov
c887ca5b8a mdoc(7) police: fixed indentation in SYNOPSIS.
Submitted by:	style(9) police (bde)
2002-08-14 16:09:31 +00:00
Ruslan Ermilov
c0cb7cc399 mdoc(7) police: minor nits.
Approved by:	imp
2002-08-13 19:43:47 +00:00
Ruslan Ermilov
a654c53e16 mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
Josef Karthauser
96991a6ae8 Add a bugs section to mention that this device probably doesn't work
properly.
2002-08-13 15:12:11 +00:00
Ruslan Ermilov
75aee0b96c mdoc(7) police: nits. 2002-08-13 15:01:26 +00:00
Ruslan Ermilov
6c8c60988b mdoc(7) police: typos. 2002-08-13 14:57:33 +00:00
Ruslan Ermilov
635e2e682b mdoc(7) police: nit. 2002-08-13 14:52:41 +00:00
Ruslan Ermilov
e6d3dae8cd mdoc(7) police: tidy up formatting. 2002-08-13 14:51:17 +00:00
Ruslan Ermilov
ad5ca2e1b7 mdoc(7) police: revert to a valid construct. 2002-08-13 14:42:24 +00:00
Ruslan Ermilov
8cdc6c3a7c mdoc(7) police: removed hard sentence break. 2002-08-13 14:39:26 +00:00
Ruslan Ermilov
c3b938855a mdoc(7) police: Bump document date, removed (again) hard sentence breaks.. 2002-08-13 14:37:41 +00:00
Ruslan Ermilov
e316d2deba mdoc(7) police: nit. 2002-08-13 14:25:53 +00:00
Ruslan Ermilov
74087d9d1a mdoc(7) police: laundry. 2002-08-13 14:20:06 +00:00
Ruslan Ermilov
76e0d06131 mdoc(7) police: laundry. 2002-08-13 14:12:31 +00:00
Ruslan Ermilov
99bf03d6a5 mdoc(7) police: added missing paragraph breaks. 2002-08-13 13:59:35 +00:00
Ruslan Ermilov
052160ff07 mdoc(7) police: typo and removed stray .Pp. 2002-08-13 13:55:02 +00:00
Ruslan Ermilov
5faba7ef6b mdoc(7) police: pseudo-devices are gone from -CURRENT. 2002-08-13 13:50:36 +00:00
Ruslan Ermilov
a627f55aa4 mdoc(7) police: nits in rev. 1.4. 2002-08-13 13:44:45 +00:00