Commit Graph

8904 Commits

Author SHA1 Message Date
marks
05c53ed004 "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
b0df991623 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
693503ed8c Grammar fix
MFC after:	3 days
2004-03-18 18:27:04 +00:00
njl
fecdfcc0ce 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
4417d43ca8 Language cleanup 2004-03-17 13:41:37 +00:00
ceri
78cc6560a8 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
6ed9591e44 Fix copyrights and mandoc markup.
Pointed out by:	ru
2004-03-16 21:03:25 +00:00
schweikh
510462062f Added entries for 90 columns russian VGA modes.
PR:		conf/51830
Submitted by:	Sergiy Vyshnevetskiy <serg@vostok.net>
MFC after:	1 week
2004-03-16 18:04:14 +00:00
scottl
ced09b14df Remove the RAIDframe manual page 2004-03-16 12:35:55 +00:00
fjoe
f64d216ccd Add arl(4): driver for Aironet Arlan 655 wireless adapters.
MFC after:	2 weeks
2004-03-15 22:24:28 +00:00
fjoe
7e67bf1792 Add ru.koi8-r.win.kbd based on ru.koi8-r.shift.kbd which closely mimics
ru(winkeys) XFree86 layout.

Differences with ru.koi8-r.shift.kbd are:
- ctrl+shift = alock
- left/right win = meta, menu = saver
- alock'ed shift+[0-9] = )!@#$%^&*(
2004-03-15 20:34:18 +00:00
trhodes
1023125a91 Remove whitespace at EOL. 2004-03-15 17:01:31 +00:00
truckman
ccc158e540 Change len pararmeter from u_int to size_t.
Document vslock() return values.
2004-03-15 10:05:27 +00:00
imp
1c6b369db6 Retire gsc man page after driver retirement 2004-03-14 22:43:51 +00:00
imp
c1830862bd rdp has been retired, retire its man page too 2004-03-14 22:36:54 +00:00
imp
355b107838 le driver is gone, retire its man page 2004-03-14 22:26:12 +00:00
imp
550859c2ac Really remove asc man page this time 2004-03-14 22:15:38 +00:00
dougb
d1db0dfab8 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
60b8659200 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
9913093003 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
trhodes
5e5833d012 Fix some style bugs in previous commit.
Fix 'broken' ifdefs.
icc does not support profiling yet so remove unfinished code which was
supposed to help.

Submitted by:	netchild (original version)
Reviewed by:	ru
2004-03-14 01:29:05 +00:00
simon
75c589c66c Add Epson Perfection 1670 to the list of supported devices. 2004-03-13 13:54:07 +00:00
brueffer
769f7cfea6 Capitalize I/O 2004-03-13 00:12:09 +00:00
trhodes
0733ab15d2 This are the build infrastructure changes to allow to use the
Intel C/C++ compiler (lang/icc) to build the kernel.

The icc CPUTYPE CFLAGS use icc v7 syntax, icc v8 moans about them, but
doesn't abort. They also produce CPU specific code (new instructions
of the CPU, not only CPU specific scheduling), so if you get coredumps
with signal 4 (SIGILL, illegal instruction) you've used the wrong
CPUTYPE.

Incarnations of this patch survive gcc compiles and my make universe.
I use it on my desktop.

To use it update share/mk, add
	/usr/local/intel/compiler70/ia32/bin	(icc v7, works)
or
	/usr/local/intel_cc_80/bin		(icc v8, doesn't work)
to your PATH, make sure you have a new kernel compile directory
(e.g. MYKERNEL_icc) and run
	CFLAGS="-O2 -ip" CC=icc make depend
	CFLAGS="-O2 -ip" CC=icc make
in it.

Don't compile with -ipo, the build infrastructure uses ld directly to
link the kernel and the modules, but -ipo needs the link step to be
performed with Intel's linker.

Problems with icc v8:
 - panic: npx0 cannot be emulated on an SMP system
 - UP: first start of /bin/sh results in a FP exception

Parts of this commit contains suggestions or submissions from
Marius Strobl <marius@alchemy.franken.de>.

Reviewed by:	silence on -arch
Submitted by:	netchild
2004-03-12 21:36:12 +00:00
jhb
5e739d20fa Rewrite sleepqueue manpage to catch up to the new sleep queue interface. 2004-03-12 19:07:18 +00:00
schweikh
9f0d21e0fd Instead of repeating most of vt102, make mvterm reference it.
PR:		61796
Submitted by:	Daniel Rudy <root@wildfire.danielrudy.org>
MFC after:	1 week
2004-03-12 17:41:13 +00:00
schweikh
538f5aee93 Remove a spurious backslash at EOL to get a proper xterm-ic entry.
PR:		56956
Submitted by:	Rudolf Cejka <cejkar@fit.vutbr.cz>
MFC after:	1 week
2004-03-12 17:21:48 +00:00
trhodes
752e7b7cb5 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
f05fbd4836 mdoc(7): New sentence should start on new line.
Pointed out by:	hmp
2004-03-11 22:22:03 +00:00
pjd
9c690c3d23 Add reference to the g_access(9) manual page. 2004-03-11 19:53:22 +00:00
pjd
b82560466f Connect g_access(9) to the build. 2004-03-11 19:51:14 +00:00
pjd
d172b03701 Add manual page for g_access(9) GEOM function. 2004-03-11 19:23:48 +00:00
trhodes
661a74c35a 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
schweikh
609073cfbb Give xterm-basic the le entry. bs should be avoided.
This is a prerequisite to fix

PR:		bin/48679
Discussed with:	Thomas Dickey (xterm termcap maintainer)
MFC after:	2 weeks
2004-03-10 22:38:32 +00:00
ru
961425d6d7 A manpage for ng_eiface(4).
Submitted by:	Gleb Smirnoff
2004-03-10 22:25:25 +00:00
jhb
bcda925459 - Document cv_broadcastpri().
- Remove references to cv_waitq_*() as they no longer exist.
2004-03-10 15:57:25 +00:00
mlaier
55ee1d7448 Link pf to the build and install:
This adds the former ports registered groups: proxy and authpf as well as
the proxy user. Make sure to run mergemaster -p in oder to complete make
installworld without errors.

This also provides the passive OS fingerprints from OpenBSD (pf.os) and an
example pf.conf.

For those who want to go without pf; it provides a NO_PF knob to make.conf.

__FreeBSD_version will be bumped soon to reflect this and to be able to
change ports accordingly.

Approved by:	bms(mentor)
2004-03-08 22:03:29 +00:00
bms
afaf166d1e Update pmap_pinit(9) to reflect pmap_pinit2() removal by alc. 2004-03-08 15:07:14 +00:00
benno
1205fe7e39 Manual page for the ng_atmllc node type.
Currently missing a history section.
2004-03-08 13:46:52 +00:00
wosch
414d7e1d9f Add final version of BSD/OS, BSD/OS 5.1 ISE. 2004-03-07 16:44:10 +00:00
josef
a45451ae43 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
9fb0c69447 Luigi was polled for additional documentation about polling(4). 2004-03-06 21:20:47 +00:00
jkoshy
d203c5c3b8 Link in contigmalloc(9) to the build. 2004-03-06 08:01:16 +00:00
jkoshy
aff4d96da7 Cross-reference contigmalloc(9). 2004-03-06 02:13:03 +00:00
jkoshy
3a34e7b531 A manual page for contigmalloc(9).
Reviewed by:	ru
2004-03-06 02:09:17 +00:00
imp
ffda4f14cd Add warning about loading/unloading drivers and identify 2004-03-05 22:21:18 +00:00
ru
6ee7d40b19 This interface doesn't return any values.
Submitted by:	Mark Santcroos
2004-03-05 16:38:01 +00:00
bde
eaab3e5952 Fixed indentation of conditionals.
Submitted by:	Rostislav Krasny <rosti_bsd@yahoo.com>
2004-03-05 15:59:33 +00:00
bms
b4762ccf08 Fix a typo. 2004-03-05 02:50:28 +00:00
bms
a331d53893 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
3d76f788cd Add an MLINKS entry for radiotap(9). 2004-03-04 12:54:22 +00:00
bms
3bdbfc2b06 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
29d86543cf 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
6930abac7b Add support PLANEX COMMUNICATIONS Inc. GN-1200TC (8169S) 2004-03-04 06:42:46 +00:00
maxim
682952231b Add NetBSD 1.6.2. 2004-03-04 05:34:29 +00:00
njl
a3292b267c 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
e611f9f843 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
70b9e08e7f 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
c03f26922a Add manual page for Cronyx/Tau-ISA device driver.
Approved by:	imp (mentor)
2004-03-03 13:23:18 +00:00
njl
950a414e92 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
e66f6a5790 Remove reference to cx.4. A manpage doen't have to reference itself :-) 2004-03-02 20:42:21 +00:00
brueffer
eb4eed7027 Fix plural usage and a grammar nit 2004-03-02 18:38:32 +00:00
brueffer
2df8f17378 o remove stray 'the'
o remove instance of wrong apostrophe usage

MFC after:	3 days
2004-03-02 18:30:25 +00:00
brueffer
4b76330271 Language cleanup 2004-03-02 18:20:42 +00:00
simon
bebac45329 - 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
3a202f6fd5 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
aefbd382d6 Restore the sorting broken in rev. 1.256. 2004-03-01 17:26:39 +00:00
ru
bc77c29c73 Netgraph node type for IEEE 802.1Q VLAN tagging. 2004-03-01 17:22:16 +00:00
scottl
f1d7dc7a99 Add a manual page for the umct(4) driver. 2004-03-01 03:49:05 +00:00
ticso
f41dcbebdb add driver for BWCT console management serials 2004-03-01 02:34:49 +00:00
schweikh
9c37435a77 Added Xref to env(1). 2004-02-29 13:10:09 +00:00
le
cdd7af3d1b Add MLINKs for MALLOC_DEFINE and MALLOC_DECLARE.
Approved by:     grog (mentor)
2004-02-28 23:01:20 +00:00
phk
743a7c42e2 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
9672e1838f Add contents to manualpage for generic watchdog facility.
Formatting likely to break several UN resolutions.
2004-02-28 20:08:41 +00:00
phk
1843690ef3 Fix description which seems to have survived intact from more specific code. 2004-02-28 19:36:48 +00:00
brueffer
57df4bb5c5 Connect udav.4 to the build and add MLINK to if_udav.4 2004-02-28 13:39:58 +00:00
brueffer
33985f5b80 Add udav(4) 2004-02-28 02:55:12 +00:00
brueffer
f785cad593 cue(4) doesn't use miibus(4)
MFC after:	3 days
2004-02-28 02:51:21 +00:00
brueffer
3c87b9b6c1 Remove reference to miibus.4, cue(4) does not use it.
MFC after:	3 days
2004-02-28 02:49:20 +00:00
brueffer
0d04cd0cda Add manpage for udav(4)
Obtained from:		NetBSD
2004-02-28 02:29:59 +00:00
johan
02fb5d1f95 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
d67ab30022 mtod() returns pointer to the specified type, not necessarily "void *". 2004-02-27 17:14:00 +00:00
des
b554a8e78c Document sysctl_move_oid(). 2004-02-27 17:13:42 +00:00
mtm
da92ca0850 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
bde
54f24613a2 Rremoved bogus -static from CFLAGS. Makeworld will add -static in the
correct place if needed and possible.  Self-hosted builds can just use
the system default.
2004-02-26 07:50:56 +00:00
rwatson
725b26a339 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
wosch
6cedaddca1 Add FreeBSD 5.2.1 2004-02-25 15:58:14 +00:00
brueffer
a5fb219e4b Add SiI3512. 2004-02-25 13:48:48 +00:00
non
7f08ff5f22 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
1e0a47a674 - 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
91e38cdfce Wordsmithing 2004-02-24 15:00:03 +00:00
non
32a911f361 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
phk
7f1bcfcd28 Fix typo.
Found by:	imp
2004-02-23 23:39:42 +00:00
marcus
6ef7a27aa6 Add ports-net-mgmt to the relevant supfiles.
MFC after:	4 days
2004-02-23 19:07:47 +00:00
njl
14863bc6fb Some markup fixes, change some devices to a feature. 2004-02-22 00:50:00 +00:00
njl
6142658902 Update the debug.acpi.disable section for missing devices and the special
"all" value.
2004-02-22 00:30:43 +00:00
njl
307f0b6a0f bus_set_resource takes a rid, not a pointer to a rid. 2004-02-22 00:29:04 +00:00
ru
10ff9009c3 mdoc(7) guru's glance. 2004-02-20 16:05:38 +00:00
wilko
40aff8c85b List EPSON Perfection 3200 as supported.
Reminded by: simon
2004-02-20 09:54:32 +00:00
pjd
6584129072 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
147a0b96b5 Document the acpi_toshiba driver written by Hiroyuki Aizu.
Approved by:	njl (mentor)
2004-02-19 19:35:27 +00:00
pjd
7ad31298b5 Update manual page (new failure detection algorithm was added).
Approved by:	scottl (mentor)
2004-02-19 17:05:32 +00:00
pjd
5f629d0a5c Path correction.
Approved by:	scottl (mentor)
2004-02-19 14:32:44 +00:00
mtm
c52ee98646 Implement PThreads barriers and barrier attributes. 2004-02-19 13:51:52 +00:00
ru
9f143cffb5 Improve formatting. 2004-02-19 12:02:54 +00:00
phk
8a6db111bf Improve contents, ruin formatting. 2004-02-18 22:10:08 +00:00
ceri
9c25b594c0 Correct minor typos. 2004-02-18 18:52:09 +00:00
maxim
e6d04b3590 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
cperciva
5ef5f162e1 Use correct thousands separator for the Italian locale.
PR:		misc/54477
Submitted by:	Nicola Vitale <nivit@libero.it>
Approved by:	rwatson (mentor)
Confirmed by: 	#freebsd, Google
2004-02-18 05:23:09 +00:00
wes
758ae67045 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
25b358c96a 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
230dfc5fbc 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
9339967983 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
50e84becb8 Back out previous commit due to objections. 2004-02-16 21:36:59 +00:00
des
92dbb68d61 Remove -Wbad-function-cast. Its main purpose is to catch bugs that we
already catch with -Wstrict-prototypes, and it causes spurious warnings
for some perfectly legitimate constructs.
2004-02-16 20:07:06 +00:00
des
b1fcdefacb Document the change in M_WAITOK semantics. 2004-02-16 18:46:16 +00:00
bms
426e99a920 Spell tcp_signature_compute correctly. 2004-02-14 22:17:38 +00:00
njl
948d8dbe1d 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
5f7925c0e4 - 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
c1122a993d 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
kientzle
1c83259cd6 Register libarchive in bsd.libnames.mk and mdoc.local
Submitted by:	ru
2004-02-13 01:14:38 +00:00
pjd
3ea935e1a9 Create symbolic link for g_print_bio(9) manual page.
Approved by:	scottl (mentor)
2004-02-11 18:43:20 +00:00
pjd
da8e18c4db Document g_print_bio() function.
Approved by:	scottl (mentor)
2004-02-11 18:36:31 +00:00
pjd
f410b81d37 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
a981629fc7 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
320d5d9482 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
9ec5259973 Document the functions m_apply() and m_getptr().
Requested by: Maxim Konovalov
2004-02-11 02:39:24 +00:00
jmg
10198337dc add verbage about how once BUS_TEARDOWN_INTR returns, the interrupt will
no longer be active or called..

Also document requirement that no mutexes be held across calls to these
functions..

Reviewed by:	jhb, rwatson
2004-02-10 20:34:44 +00:00
bms
829ca94e3a Spelling. 2004-02-10 16:11:08 +00:00
trhodes
fa0c772976 Remove a redundant command. No MFC, this was removed in STABLE.
Update the date.
2004-02-10 07:29:04 +00:00
trhodes
45ac714b4e Remove 'broken in some cases' Xref to Kerberos.
PR:		30443
Cool with:	markm (who approved this ages ago)
2004-02-10 07:08:54 +00:00
ru
8a63ecf0e9 Two changes to aid in cleaning up sys/boot/ makefiles:
- Don't put libc.a as a dependency if program is linked with -nostdlib.

- Added INTERNALPROG (by analogy to INTERNALLIB) for programs which are
  built only for its side effect and shold not be installed.
2004-02-09 14:05:17 +00:00
ru
3b79affac4 First round of cleanups to sys/boot/ makefiles:
- do not use PROG for what's not a real C program,
- use sys.mk transformation rules where possible,
- only create the "machine" symlink on AMD64,
- removed MAINTAINER lines in individual makefiles,
- added the LIBSTAND defitinion to <bsd.libnames.mk>,
- somewhat better contents in .depend files.

Tested on:	i386, amd64
Prodded by:	bde
2004-02-06 21:58:32 +00:00
ru
74133e2d19 Added missing DPADD. 2004-02-05 22:01:28 +00:00
ru
f62ef522b5 Temporarily put STRIP back; bsd.port.mk still needs it. 2004-02-05 20:48:44 +00:00
ru
aaafc5f547 Don't define STRIP in bsd.own.mk. 2004-02-05 20:16:18 +00:00
ru
1bba7b771c make(1) can now handle spaces surrounding parenthesis correctly. 2004-02-05 08:44:43 +00:00
des
d0877135cb GC port.mkversion. 2004-02-05 00:07:09 +00:00
bde
c77e1524ea Fixed breakage of POSIX support in rev.1.31. -pipe was added to
CFLAGS in all cases, but POSIX requires a default of -O.  Adding
-pipe unconditionally still is still broken for non-gcc compilers
in the non-POSIX case.
2004-02-04 14:40:44 +00:00
ru
4ab53bc944 Fixed static build. 2004-02-04 10:15:26 +00:00
ru
29d62104b0 Nothing in libypclnt depends on librpcsvc.
Reported by:	lorder(1) (modified to work with libraries)
2004-02-04 09:53:29 +00:00
pjd
70afe13736 Document new 'what' value for sx_assert(9).
PS. There is a inconsistency in this manual page, because in
    non-WITNESS case sx_assert(9) does not panics, it only prints
    the warning. I haven't fixed this, because jhb@ is planing to
    replace those printf()s with panic()s.

Reviewed by:	jhb
Approved by:	jhb, scottl (mentor)
2004-02-04 08:24:05 +00:00
brooks
50498cf386 Add the kernel side of network interface renaming support.
The basic process is to send a routing socket announcement that the
interface has departed, change if_xname, update the sockaddr_dl
associated with the interface, and announce the arrival of the interface
on the routing socket.

As part of this change, ifunit() is greatly simplified by testing
if_xname directly.  if_clone_destroy() now uses if_dname to look up the
cloner for the interface and if_dunit to identify the unit number.

Reviewed by:	ru, sam (concept)
		Vincent Jardin <vjardin AT free.fr>
		Max Laier <max AT love2party.net>
2004-02-04 02:54:25 +00:00
des
3b21d9168f Document NO_VINUM, which is already listed in the man page. 2004-02-03 13:57:56 +00:00
des
3deac2db17 Whitespace nit. 2004-02-03 11:27:34 +00:00
des
92ccb54121 Add support for initializing swap devices with random one-shot keys. Note
that the keys are currently generated by computing the MD5 checksum of 512
bytes read from /dev/random, and are passed to gbde on the command line.

Sponsored by:	Teleplan AS
2004-02-03 11:26:08 +00:00
ru
1ca86049b2 A shorter version of keeping all -std= options out of CXXFLAGS. 2004-02-03 09:40:11 +00:00
ru
fb4f842144 Fixed MINUSLPAM:
- Added missing NOCRYPT and NO_OPENSSL checks for Kerberos.

- Don't depend on -lcrypto and -lcrypt in pam_ssh to resolve
  dependencies in pam_krb5 and pam_ksu -- the former may not
  be compiled at all if NO_OPENSSH knob is enabled.

- Added missing -lcrypt to pam_ssh dependencies.

- Moved librpcsvc after libypclnt.

(The last two aren't strictly speaking necessary to resolve
the dependencies of static versions of pam_ssh and pam_unix,
respectively, but they correspond to dynamic dependencies
of libssh and libypclnt, and are put here for consistency.)

In collaboration with: bde
Reviewed by:	des
2004-02-03 09:37:12 +00:00
njl
18d94b8db0 Notify the user (at kern.emerg) that the system will be shutting down if
it is still above the critical temperature on the next poll cycle.  This
is a 10 second advance notice by default.  Document the private
(non-standard) notify we will be using with devd(8).
2004-02-03 04:18:56 +00:00
trhodes
8a84b46689 Add a note about the default media types and a simple reminder to keep
individules from asking a question which may result in the following answer:

"Hi, please do not run a newfs utility on a file system if there
is still data on it you would like to keep."

PR:		56894
Submitted by:	Marc Silver <marcs@draenor.org> (original version)
2004-02-03 02:44:47 +00:00