Commit Graph

4547 Commits

Author SHA1 Message Date
imp
c52b25a0e5 Document more clearly that a probe routine:
Should have no side effects
	Must not hold resources when it returns
	May be called multiple times if it returns < 0.

Remove the bad advise that the probe routine should look for children
for devices that implement busses.  This is more properly reserved for
the attach routine.
2004-04-11 06:37:21 +00:00
markm
0ffce84e01 Document the recent upgrade to the entropy device WRT hardware
generators.
2004-04-09 16:02:54 +00:00
simon
9d70c1606d Add a LIBRARY section.
Submitted by:	Craig Rodrigues <rodrigc@crodrigues.org>
PR:		docs/65208
2004-04-08 23:04:54 +00:00
schweikh
8d18f51c03 In the examples, make the bitmap_name an absolute path name.
This avoids hair pulling when someone expects the splash screen
to just work when the bitmap file is in /boot.
2004-04-08 16:31:17 +00:00
se
c989a7a01e Add Netgear WG311T (PCI version of the WG511T).
I just received one and have verified that it works just fine.
2004-04-08 16:09:40 +00:00
cperciva
e0793884f3 Introduce a callout_drain() function. This acts in the same manner as
callout_stop(), except that if the callout being stopped is currently
in progress, it blocks attempts to reset the callout and waits until the
callout is completed before it returns.

This makes it possible to clean up callout-using code safely, e.g.,
without potentially freeing memory which is still being used by a callout.

Reviewed by:	mux, gallatin, rwatson, jhb
2004-04-06 23:08:49 +00:00
markm
3a7da58e61 Fix some syntax errors in examples. These were discovered when trying
to follow the examples concerned.
2004-04-06 20:16:10 +00:00
ru
65e663b7dd - Overdue bump of the document date.
- Fixed markup.
- Minor wordsmithing.
2004-04-06 19:49:21 +00:00
rik
fcc4fa555f Remove hyphen between product and company name. This may confuse peoples.
Requested by: Mark Johnston <mjohnston at skyweb dot ca>
MFC after: 1 days
2004-04-06 12:34:25 +00:00
ru
129f6b2673 polling(4) meets vr(4). 2004-04-05 17:43:57 +00:00
wes
354a4aac47 Document new ramdisk_X_????? settings. 2004-04-04 06:34:37 +00:00
mlaier
7f9c2ff639 Style:
- do not comment out entries in newsyslog.conf
 - use tabs to line up inetd.conf

Requested by:	bde
Approved by:	bms(mentor)
2004-04-03 17:52:29 +00:00
mlaier
a19995e562 Add rc.d script to start pflogd and add rcvars etc. Also document vars in
rc.conf(5) and put a sample entry to newsyslog.conf

Reviewed by:	-current
Approved by:	bms(mentor)
2004-04-02 19:25:27 +00:00
ru
88ceef53a8 Assorted mdoc(7) fixes. 2004-04-01 07:54:27 +00:00
silby
0ccb317ee8 Fix last commit to conform to mdoc style.
Submitted by:	hmp
2004-04-01 07:36:56 +00:00
silby
5a95a9a0f2 Document the m_defrag function. (Mostly copied from the description
in uipc_mbuf.c)
2004-04-01 06:50:21 +00:00
ru
86d52db7bc Added polling(4) support for ste(4).
MFC after:	5 days
2004-03-31 20:39:20 +00:00
bms
ab918a532f Add David Young's descriptive text for the radiotap interface.
Add David Young to copyright comments.
2004-03-31 02:57:30 +00:00
bms
43b325b55f Fix a typo: remove duplicate word 'interface'. 2004-03-31 02:53:46 +00:00
rik
b3ec818746 Manual page for ng_sppp module.
Approved by:	imp (mentor)
Reviewed by:	julian
2004-03-30 15:28:09 +00:00
des
9660a5d6f7 Bump date and remove trailing whitespace. 2004-03-30 15:11:16 +00:00
des
6fe56e6c80 Document ntpdate_hosts. 2004-03-30 15:10:39 +00:00
hmp
21981a0b0e Mdoc Police:
* Use .Fa instead of .Pa for function arguments.

	* Utilize the .Po/.Pc commands for parenthesis
	  so the format is not ruined.

Inspired by: pjd's last commit to this file
2004-03-29 19:42:21 +00:00
pjd
58c539faf0 Note that we can pass NULL as 4th argument for copystr() and copyinstr()
functions.

With little mdoc(7) help from:	hmp
2004-03-29 19:23:45 +00:00
ru
82790ffa5b Removed more vestiges of the stl(4) driver. 2004-03-26 18:49:11 +00:00
non
ed6c04f267 Add ct(4) man page for ct SCSI host adapter device driver and attach
it to the build.
2004-03-26 06:26:45 +00:00
obrien
657983b569 More kosher mdoc(7).
Submitted by:	ru
2004-03-25 17:54:07 +00:00
rik
020ccccc77 Move ct.4 to ctau.4. Step four: backout ct.4 via rm.
Approved by:	imp (mentor)
2004-03-25 14:47:42 +00:00
rik
889267d50d Move ct.4 to ctau.4. Step three: change ct to ctau in Makefile.
Approved by:	imp (mentor)
2004-03-25 14:45:20 +00:00
obrien
553575da44 Restore part of rev 1.92; share/libdata/gcc should not have been deleted. 2004-03-25 00:41:06 +00:00
des
b786792a02 Remove mention of doscmd. 2004-03-24 20:19:57 +00:00
rik
2b64283b0e Move ct.4 to ctau.4. Step two: add ct.4 as ctau.4.
Do not bother about too small history for ct.4.

Approved by:    imp(mentor)
2004-03-24 19:28:50 +00:00
rik
d06bf1470a Move ct.4 to ctau.4. Step one: remove ctau.4 link.
Approved by:	imp(mentor)
2004-03-24 19:23:44 +00:00
jhb
3770c58daa - Update for the new interrupt code on i386 meaning that SMP kernels can
now run on UP machines, options APIC_IO is now spelled device apic, and
  HT CPUs are now enabled by default.
- Add a 'I386 NOTES' section header to the i386-specific paragraphs.
  Someone with more mdoc fu can suggest a better name if needed.

Requested by:	kris (1)
2004-03-24 17:51:54 +00:00
pjd
ee4b13d10e The topology lock is not needed for g_error_provider() function.
Discussed with:	phk
2004-03-24 15:12:17 +00:00
pjd
6b2632b825 Added a note, that g_access() function cannot failed when dc[rwe] <= 0. 2004-03-24 14:42:26 +00:00
pjd
d1d0abbffa Functions:
- g_new_geomf(),
	- g_new_providerf(),
	- g_new_consumer()

cannot failed (by returning NULL), so don't scare programmers.
2004-03-24 14:25:46 +00:00
des
bcc4fa3fc5 Remove mention of share/libdata/doscmd/{,fonts/} and share/libdata/gcc. 2004-03-24 08:22:35 +00:00
brooks
6ef21c4a07 Overhaul the /etc/rc.d/diskless script by splitting it out into
hostname, resolve, tmp, and var scripts.  The latter three are new and
were repo copied.  These scripts no longer depend on being booted with
and NFS root instead attempt to automaticly create mfs /tmp and /var
volumes if the they are not writable.  This behavior can be overridden
in /etc/rc.conf.

Reviewed by:    luigi, pjd
2004-03-23 23:22:35 +00:00
mlaier
a1442efbd3 Add rc.d script for pf(4) (more to come once pflogd(8) works as well).
Update defaults and write some lines for rc.conf(5) also.
Mostly dup'ed from ipf

Reviewed by:	-current
Approved by:	bms(mentor)
2004-03-23 22:30:15 +00:00
dannyboy
0b469efa12 Login classes are not "unused."
Reference login.conf(5).

PR:		62830
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net>
2004-03-21 19:36:16 +00:00
hrs
9dafd360f3 Update the supported hardware.
Approved by:	scottl
2004-03-21 15:25:20 +00:00
marks
fddb3a3883 "CPU is an acronym, and as such should be spelled in all uppercase."
Pointed out by:	ru
2004-03-20 13:05:11 +00:00
marks
4a21435c7e Sync manpage with code for hw.acpi.toshiba.cpu_speed sysctl.
Submitted by:	Chia-liang Kao <clkao@clkao.org>
Approved by:	njl (mentor)
2004-03-20 10:25:36 +00:00
brueffer
d19e9c6f4f Grammar fix
MFC after:	3 days
2004-03-18 18:27:04 +00:00
njl
c7c23f8cb0 Add bus_alloc_resource_any(9), which does bus_alloc_resource() with the
appropriate default values.  Document it in the manpage.

Submitted by:	Mark Santcroos <marks@ripe.net>
Reviewed by:	imp, dfr, bde
Abstains:	bde
2004-03-17 17:40:34 +00:00
brueffer
54a87c98c2 Language cleanup 2004-03-17 13:41:37 +00:00
ceri
be82494534 Correct a grammatical error.
PR:		docs/63984
Submitted by:	Ulrich Spoerlein <q@uni.de>
MFC after:	1 day
2004-03-17 11:35:23 +00:00
fjoe
0354260aab Fix copyrights and mandoc markup.
Pointed out by:	ru
2004-03-16 21:03:25 +00:00
scottl
8fd981485e Remove the RAIDframe manual page 2004-03-16 12:35:55 +00:00
fjoe
988426d9e5 Add arl(4): driver for Aironet Arlan 655 wireless adapters.
MFC after:	2 weeks
2004-03-15 22:24:28 +00:00
truckman
9e29439889 Change len pararmeter from u_int to size_t.
Document vslock() return values.
2004-03-15 10:05:27 +00:00
imp
c93d58c4c3 Retire gsc man page after driver retirement 2004-03-14 22:43:51 +00:00
imp
4adf45546f rdp has been retired, retire its man page too 2004-03-14 22:36:54 +00:00
imp
787be20896 le driver is gone, retire its man page 2004-03-14 22:26:12 +00:00
imp
4f9d8b78ae Really remove asc man page this time 2004-03-14 22:15:38 +00:00
dougb
454914fc9f 1. Remove the named_rcng variable. Mike's caution in this area was a good
thing, but we're ready to move on.

2. Remove the -g default argument in named_flags. It doesn't actually do
what most users think it does, and what most users want it to do is already
accomplished with a proper default group for the bind user, which we have.
Also, the -g knob does something entirely different in BIND 9, which leads
to a lot of needless confusion/aggravation.

3. In the rc.d script, don't bogusly override $command, or $rc_flags. Both
are adequately handled in rc.conf[.local].

4. DO properly override $rc_flags if user has named_chrootdir set.
This may need to be revisited, but should be ok for now.

5. Protect all chrootdir-related bits under that variable, instead of
named_rcng.

There is more work to be done here, especially in the area of BIND 9
compatibility, but this is a start at least.

Prompted in part by (legitmate) grousing from: kuriyama, Randy Bush
2004-03-14 19:10:06 +00:00
imp
11b9109df9 Now that the asc driver is no longer in the tree, the man page is surplus. 2004-03-14 05:01:04 +00:00
imp
237bedcc76 Now that the wt driver is gone, go ahead and remove its userland support.
If the wt driver is rewritten using newer APIs, then these can return with it.
2004-03-14 04:49:23 +00:00
simon
e2a63a243e Add Epson Perfection 1670 to the list of supported devices. 2004-03-13 13:54:07 +00:00
brueffer
b409e49ec1 Capitalize I/O 2004-03-13 00:12:09 +00:00
jhb
3b9c3dff42 Rewrite sleepqueue manpage to catch up to the new sleep queue interface. 2004-03-12 19:07:18 +00:00
trhodes
4b582ba955 Move newsyslog.conf.5 to usr.sbin/newsyslog. There is no real history
other than 'initial revision' thus I did not request a repocopy.

Requested by:   ru, gad
2004-03-12 16:03:26 +00:00
pjd
edecc780e9 mdoc(7): New sentence should start on new line.
Pointed out by:	hmp
2004-03-11 22:22:03 +00:00
pjd
2063fea7ec Add reference to the g_access(9) manual page. 2004-03-11 19:53:22 +00:00
pjd
39a7f0c491 Connect g_access(9) to the build. 2004-03-11 19:51:14 +00:00
pjd
7367796ebb Add manual page for g_access(9) GEOM function. 2004-03-11 19:23:48 +00:00
trhodes
fc7667feba Add a newsyslog.conf manual page. This follows suit with the other utilities
which have configuration files.  This is just a cut-paste from newsyslog.8
with the following changes:

o Kill hard sentence breaks.
o Markup fixes.
o Wordsmithing.
2004-03-11 04:35:08 +00:00
ru
2071190b29 A manpage for ng_eiface(4).
Submitted by:	Gleb Smirnoff
2004-03-10 22:25:25 +00:00
jhb
82864cac2a - Document cv_broadcastpri().
- Remove references to cv_waitq_*() as they no longer exist.
2004-03-10 15:57:25 +00:00
bms
791e1cc501 Update pmap_pinit(9) to reflect pmap_pinit2() removal by alc. 2004-03-08 15:07:14 +00:00
benno
efda26dee0 Manual page for the ng_atmllc node type.
Currently missing a history section.
2004-03-08 13:46:52 +00:00
josef
81beb7a4fe Document kernel functions securelevel_gt and securelevel_ge.
Approved by:            simon(mentor)
Submitted by:           Christian S.J. Peron <maneo@bsdpro.com>
PR:                     docs/62331
mdoc(7) cleanup by:     ru
2004-03-07 15:22:08 +00:00
ru
2a3a2e007c Luigi was polled for additional documentation about polling(4). 2004-03-06 21:20:47 +00:00
jkoshy
894cb81b6c Link in contigmalloc(9) to the build. 2004-03-06 08:01:16 +00:00
jkoshy
3537c363d9 Cross-reference contigmalloc(9). 2004-03-06 02:13:03 +00:00
jkoshy
c01775c228 A manual page for contigmalloc(9).
Reviewed by:	ru
2004-03-06 02:09:17 +00:00
imp
335717fbe6 Add warning about loading/unloading drivers and identify 2004-03-05 22:21:18 +00:00
ru
5bd82537fb This interface doesn't return any values.
Submitted by:	Mark Santcroos
2004-03-05 16:38:01 +00:00
bms
25f5843029 Fix a typo. 2004-03-05 02:50:28 +00:00
bms
578e7d07f0 Hook ieee80211 manpages up to the build; fix 1 snafu which crept in.
Noticed by:	Matthias Schuendehuette
Pointy hat to:	bms
2004-03-04 21:13:06 +00:00
bms
98ca3095ce Add an MLINKS entry for radiotap(9). 2004-03-04 12:54:22 +00:00
bms
2897d868a2 Initial import of documentation for net80211 interface code.
Of particular interest here is the ieee80211_radiotap(9) man page.

TODO: Flesh out ieee80211_node.9, ieee80211_proto.9.

Submitted by:	bms (with help from Darron Broad)
2004-03-04 12:52:10 +00:00
mtm
92de070753 Document the virecover_enable knob.
From the PR:
	Certain MTA configurations mean that the notifications from
	virecover keep bouncing; so here's a patch to allow administrators
	to turn them off.

PR:		conf/54910
Reminded by:	ru
2004-03-04 08:25:53 +00:00
sanpei
e7394b0fb4 Add support PLANEX COMMUNICATIONS Inc. GN-1200TC (8169S) 2004-03-04 06:42:46 +00:00
njl
2b5556f4cf Add a "quirks" value to disable quirks handling for a given boot.
Also, disable quirks if booting with a custom DSDT.  Add a quirk
to disable loading ACPI so known bad systems can be completely
blacklisted.
2004-03-04 04:42:59 +00:00
njl
8db9cfe5d3 Add acpi_video(4) man page.
PR:
Submitted by:	Mark Santcroos <marks@ripe.net>
Reviewed by:
Approved by:
Obtained from:
MFC after:
2004-03-03 16:34:03 +00:00
rik
7b2c861030 1. Add ct.4 manual page entry.
2. Add ctau.4 link to ct.4.

Approved by:	imp (mentor)
2004-03-03 13:26:18 +00:00
rik
95c1b05681 Add manual page for Cronyx/Tau-ISA device driver.
Approved by:	imp (mentor)
2004-03-03 13:23:18 +00:00
njl
3baf2d6bee Add support for quirks for acpi tables. Key off OEM vendor and revision.
Sort acpi debug values.  Change "disable" to "disabled" to match rest of
the kernel.  Remove debugging from acpi_toshiba since it was only used for
probe/attach.
2004-03-03 03:02:17 +00:00
brueffer
788d35ce56 Remove reference to cx.4. A manpage doen't have to reference itself :-) 2004-03-02 20:42:21 +00:00
brueffer
74211e4f6d Fix plural usage and a grammar nit 2004-03-02 18:38:32 +00:00
brueffer
79901716b6 o remove stray 'the'
o remove instance of wrong apostrophe usage

MFC after:	3 days
2004-03-02 18:30:25 +00:00
brueffer
4bbd6d5f38 Language cleanup 2004-03-02 18:20:42 +00:00
simon
1dc1bc8010 - Fix typo.
- Use .Fx when I'm here anyway.

PR:		docs/63622
Submitted by:	Andrew Boothman <andrew@mux.org.uk>
2004-03-01 22:58:07 +00:00
simon
b3c23c70ff Note that the D-Link 530-TXS also works with the ste(4) driver.
PR:		docs/63600
Submitted by:	Christopher Nehren <apeiron@comcast.net>
2004-03-01 20:52:54 +00:00
ru
2cfb8dc3b2 Restore the sorting broken in rev. 1.256. 2004-03-01 17:26:39 +00:00
ru
5395e1e157 Netgraph node type for IEEE 802.1Q VLAN tagging. 2004-03-01 17:22:16 +00:00
scottl
c687163156 Add a manual page for the umct(4) driver. 2004-03-01 03:49:05 +00:00
ticso
fe22b3cc39 add driver for BWCT console management serials 2004-03-01 02:34:49 +00:00
schweikh
d882001178 Added Xref to env(1). 2004-02-29 13:10:09 +00:00
le
83cfe7493c Add MLINKs for MALLOC_DEFINE and MALLOC_DECLARE.
Approved by:     grog (mentor)
2004-02-28 23:01:20 +00:00
phk
1ea4f5b08e Rename the WATCHDOG option to SW_WATCHDOG and make it use the
generic watchdoc(9) interface.

Make watchdogd(8) perform as watchdog(8) as well, and make it
possible to specify a check command to run, timeout and sleep
periods.

Update watchdog(4) to talk about the generic interface and add
new watchdog(8) page.
2004-02-28 20:56:35 +00:00
phk
7707bac885 Add contents to manualpage for generic watchdog facility.
Formatting likely to break several UN resolutions.
2004-02-28 20:08:41 +00:00
phk
564eee55a3 Fix description which seems to have survived intact from more specific code. 2004-02-28 19:36:48 +00:00
brueffer
a1ddf430b1 Connect udav.4 to the build and add MLINK to if_udav.4 2004-02-28 13:39:58 +00:00
brueffer
2ab34869c7 Add udav(4) 2004-02-28 02:55:12 +00:00
brueffer
832902b649 cue(4) doesn't use miibus(4)
MFC after:	3 days
2004-02-28 02:51:21 +00:00
brueffer
80efdfbc13 Remove reference to miibus.4, cue(4) does not use it.
MFC after:	3 days
2004-02-28 02:49:20 +00:00
brueffer
080bb1d238 Add manpage for udav(4)
Obtained from:		NetBSD
2004-02-28 02:29:59 +00:00
johan
9cfcf409f1 WANT_EXT2FS_MODULE was removed from sys/modules/Makefile in rev 1.366.
Hence, remove it here as well.
2004-02-27 19:22:46 +00:00
ru
65491e7b35 mtod() returns pointer to the specified type, not necessarily "void *". 2004-02-27 17:14:00 +00:00
des
1d0a3939bf Document sysctl_move_oid(). 2004-02-27 17:13:42 +00:00
mtm
f32ed9ec71 NetBSD rev. 1.10
successful [is spelled] with only one l

NetBSD rev. 1.12
 Implement ``one'' prefix to allow a "one shot" operation as if
 ${rcvar}=yes yet all the other prerequisite tests are still performed.
 The existing ``force'' prefix is a sledgehammer that ignores all the
 prerequisite checks and always returns a zero exit status; this is a
 more gentle approach to the problem of "manipulate this disabled
 service without editing rc.conf(5)".

Obtained From:	NetBSD
2004-02-27 10:20:22 +00:00
rwatson
765e9ab485 Update copyright on mac.9 for 2004. Use "-" for copyright year
ranges.

Add additional credits for contributions to the MAC Framework.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, McAfee Research
2004-02-26 01:18:46 +00:00
brueffer
7691c973bc Add SiI3512. 2004-02-25 13:48:48 +00:00
non
d5e84fec77 o Use I-O DATA' instead of IO DATA' as the vendor uses the former
on its own site (http://www.iodata.jp/).
o Add a missing cross reference to cardbus(4).

Submitted by:	rushani
2004-02-25 00:13:43 +00:00
jhb
602c2e6421 - Clarify ambiguous statement about not being able to both slock and xlock
a single lock at the same time.
- Avoid using "own" to refer to holding either a shared or exclusive lock
  as it is only really correct for exclusive locks.
- Reword the sentence about sleep-ability to read easier.

Requested by:	truckman (1)
2004-02-24 21:36:39 +00:00
brueffer
e94b95684a Wordsmithing 2004-02-24 15:00:03 +00:00
non
1482f80711 PAO's work has been merged into FreeBSD not removed.
So remove the line.

Reviewed by:	trhodes
2004-02-23 23:47:50 +00:00
njl
93bc079347 Some markup fixes, change some devices to a feature. 2004-02-22 00:50:00 +00:00
njl
4e763f534d Update the debug.acpi.disable section for missing devices and the special
"all" value.
2004-02-22 00:30:43 +00:00
njl
6c22ad59a4 bus_set_resource takes a rid, not a pointer to a rid. 2004-02-22 00:29:04 +00:00
ru
e1df0d90e0 mdoc(7) guru's glance. 2004-02-20 16:05:38 +00:00
wilko
2c4f326575 List EPSON Perfection 3200 as supported.
Reminded by: simon
2004-02-20 09:54:32 +00:00
pjd
b77fa6507a New failure detection algorithm was backed out, so backout manual
page change as well.

Requested by:	scottl (mentor)
2004-02-20 09:52:26 +00:00
philip
8b1984a68a Document the acpi_toshiba driver written by Hiroyuki Aizu.
Approved by:	njl (mentor)
2004-02-19 19:35:27 +00:00
pjd
db515f3a33 Update manual page (new failure detection algorithm was added).
Approved by:	scottl (mentor)
2004-02-19 17:05:32 +00:00
pjd
8cb9638ef4 Path correction.
Approved by:	scottl (mentor)
2004-02-19 14:32:44 +00:00
mtm
92fa088800 Implement PThreads barriers and barrier attributes. 2004-02-19 13:51:52 +00:00
ru
6aeedc2908 Improve formatting. 2004-02-19 12:02:54 +00:00
phk
c36749b9a5 Improve contents, ruin formatting. 2004-02-18 22:10:08 +00:00
ceri
e28335f600 Correct minor typos. 2004-02-18 18:52:09 +00:00
maxim
5ce7073e53 o Fix a bridge example: sysctl net.inet.ip.forwarding=1 is needless,
bridge(4) is working on a level below.  Suggest
sysctl net.inet.ip.check_interface=0 instead.

MFC after:      2 weeks
2004-02-18 08:30:08 +00:00
wes
d7e44aa622 Mention that kernel environment variables may be configured in
/boot/loader.conf.  Make the description flow a bit better.

Complaints by:	Nate Lawson <nate@root.org>
2004-02-18 05:20:31 +00:00
wes
507e47381e Make the distinction between sysctl kernel environment variables and
device.hints kernel environment variables when disabling ACPI.

Some users are getting confused when they see hint.acpi.0.disabled.
They are confusing it with a sysctl MIB.

Finally, add a reference for device.hints(5) and kenv(1)
in the "SEE ALSO" section of the man page.

PR:		docs/62974
Submitted by:	Christian S.J. Peron <maneo@bsdpro.com>
2004-02-17 20:38:49 +00:00
maxim
180ac35cac o Be consistent with the declaration: pri -> priority.
Spotted by:	Dmitry Rzhavin
MFC after:	1 week
2004-02-17 13:31:36 +00:00
bms
2b958c2272 Shorten the name of the socket option used to enable TCP-MD5 packet
treatment.

Submitted by:	Vincent Jardin
2004-02-16 22:21:16 +00:00
des
00e29c835f Back out previous commit due to objections. 2004-02-16 21:36:59 +00:00
des
b5f599aa9c Document the change in M_WAITOK semantics. 2004-02-16 18:46:16 +00:00
bms
496bf861c5 Spell tcp_signature_compute correctly. 2004-02-14 22:17:38 +00:00
njl
67995bef83 Fix hw.acpi.os_name by renaming it to hw.acpi.osname. The "_name" suffix
is reserved by the loader, and thus any tunable name with that suffix will
be silently discarded.

Document this in the header and man page so that other developers do not
develop so many bumps on the head after banging it against the wall.

Detective work by:	Mark Santcroos, grehan
2004-02-14 03:17:30 +00:00
simon
0afeecc785 - Document more explicitly how the mac_portacl(4) policy works.
- Document all the policy sysctl's.
- Note that mac_portacl(4) appeared in FreeBSD 5.1.
- A bit of mdoc(7) fixes.

Much of the new text was inspired by the source code comments.

Reviewed by:	rwatson
2004-02-13 22:08:16 +00:00
pjd
ea234afcbd Update manual pages: the name of function g_access_rel() has
changed to g_access().

Approved by:	scottl (mentor)
2004-02-13 08:42:10 +00:00
pjd
73de8e89a4 Create symbolic link for g_print_bio(9) manual page.
Approved by:	scottl (mentor)
2004-02-11 18:43:20 +00:00
pjd
7065c8e2b7 Document g_print_bio() function.
Approved by:	scottl (mentor)
2004-02-11 18:36:31 +00:00
pjd
36a5b6eedb Added GEOM kernel API manuals to the build.
Reviewed by:	scottl
Approved by:	phk, scottl (mentor)
2004-02-11 10:09:17 +00:00
pjd
dbc7255199 Added first part of GEOM kernel API manuals pages.
Documented function and macros are:
	- DECLARE_GEOM_CLASS(),
	- g_attach(),
	- g_detach(),
	- g_new_bio(),
	- g_clone_bio(),
	- g_destroy_bio(),
	- g_new_consumer(),
	- g_destroy_consumer(),
	- g_read_data(),
	- g_write_data(),
	- g_post_event(),
	- g_waitfor_event(),
	- g_cancel_event(),
	- g_new_geomf(),
	- g_destroy_geom(),
	- g_new_providerf(),
	- g_destroy_provider(),
	- g_error_provider(),
	- g_provider_by_name(),
	- g_wither_geom().
and more to come.

I want to thanks following people for help with those documents:
	Slawek Zak <zaks@prioris.mini.pw.edu.pl>
	Simon L. Nielsen <simon@FreeBSD.org>
	Pieter de Boer <g.p.de.boer@st.hanze.nl>
and of course
	Poul-Henning Kamp <phk@FreeBSD.org>

Reviewed by:	phk, scottl
Approved by:	phk, scottl (mentor)
2004-02-11 10:06:18 +00:00
bms
903cdeea1a Initial import of RFC 2385 (TCP-MD5) digest support.
This is the first of two commits; bringing in the kernel support first.
This can be enabled by compiling a kernel with options TCP_SIGNATURE
and FAST_IPSEC.

For the uninitiated, this is a TCP option which provides for a means of
authenticating TCP sessions which came into being before IPSEC. It is
still relevant today, however, as it is used by many commercial router
vendors, particularly with BGP, and as such has become a requirement for
interconnect at many major Internet points of presence.

Several parts of the TCP and IP headers, including the segment payload,
are digested with MD5, including a shared secret. The PF_KEY interface
is used to manage the secrets using security associations in the SADB.

There is a limitation here in that as there is no way to map a TCP flow
per-port back to an SPI without polluting tcpcb or using the SPD; the
code to do the latter is unstable at this time. Therefore this code only
supports per-host keying granularity.

Whilst FAST_IPSEC is mutually exclusive with KAME IPSEC (and thus IPv6),
TCP_SIGNATURE applies only to IPv4. For the vast majority of prospective
users of this feature, this will not pose any problem.

This implementation is output-only; that is, the option is honoured when
responding to a host initiating a TCP session, but no effort is made
[yet] to authenticate inbound traffic. This is, however, sufficient to
interwork with Cisco equipment.

Tested with a Cisco 2501 running IOS 12.0(27), and Quagga 0.96.4 with
local patches. Patches for tcpdump to validate TCP-MD5 sessions are also
available from me upon request.

Sponsored by:	sentex.net
2004-02-11 04:26:04 +00:00
bms
e68c776541 Document the functions m_apply() and m_getptr().
Requested by: Maxim Konovalov
2004-02-11 02:39:24 +00:00