Commit Graph

8782 Commits

Author SHA1 Message Date
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
bde
709b7c8073 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
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
wosch
3e911d2a9e Add FreeBSD 5.2.1 2004-02-25 15:58:14 +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
phk
00087034ca Fix typo.
Found by:	imp
2004-02-23 23:39:42 +00:00
marcus
5bae68c9e4 Add ports-net-mgmt to the relevant supfiles.
MFC after:	4 days
2004-02-23 19:07:47 +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
cperciva
a586e42a8c 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
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
bc27cba087 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
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
kientzle
4a7e80c5fe Register libarchive in bsd.libnames.mk and mdoc.local
Submitted by:	ru
2004-02-13 01:14:38 +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
jmg
4c9c51e06e 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
085ada6de7 Spelling. 2004-02-10 16:11:08 +00:00
trhodes
380b6a418d Remove a redundant command. No MFC, this was removed in STABLE.
Update the date.
2004-02-10 07:29:04 +00:00
trhodes
8548040ce9 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
951150d25a 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
21fda7ee48 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
b6bc039460 Added missing DPADD. 2004-02-05 22:01:28 +00:00
ru
5932ce932a Temporarily put STRIP back; bsd.port.mk still needs it. 2004-02-05 20:48:44 +00:00
ru
a24e2d0f9b Don't define STRIP in bsd.own.mk. 2004-02-05 20:16:18 +00:00
ru
0cef6a966e make(1) can now handle spaces surrounding parenthesis correctly. 2004-02-05 08:44:43 +00:00
des
3d46295743 GC port.mkversion. 2004-02-05 00:07:09 +00:00
bde
d769a0fd0e 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
91b23005eb Fixed static build. 2004-02-04 10:15:26 +00:00
ru
eeb0cbd805 Nothing in libypclnt depends on librpcsvc.
Reported by:	lorder(1) (modified to work with libraries)
2004-02-04 09:53:29 +00:00
pjd
d4d0f8b9e0 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
4f14e0fa86 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
e972c8e647 Document NO_VINUM, which is already listed in the man page. 2004-02-03 13:57:56 +00:00
des
7aed59732c Whitespace nit. 2004-02-03 11:27:34 +00:00
des
b48c644942 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
9ce4a934e1 A shorter version of keeping all -std= options out of CXXFLAGS. 2004-02-03 09:40:11 +00:00
ru
3964693be1 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
8ec8ff7672 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
5ecaf23ec8 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
ru
aef6df4460 GC LIBPC and LIBPLOT: they never existed in unencumbered BSD versions.
Reviewed by:	bde
2004-02-02 21:44:48 +00:00
ale
11fbbb1d40 Fix MSIZE definition location.
PR:		docs/62129
Submitted by:	Lee Brotherston <lee@nerds.org.uk> (PR),
		Marc Silver <marcs@draenor.org> (patch)
Approved by:	blackend (mentor)
2004-02-01 22:33:59 +00:00
ache
304ce988d4 Clarify more about LC_*/LANG priorities. 2004-01-31 23:29:20 +00:00
trhodes
e4c689ab41 deischen had a good idea on how to make my previous commit a little better,
update accordingly.

Suggested by:	deischen
2004-01-31 22:02:03 +00:00
trhodes
c727ce93a7 Update this manual page for the libkse -> libpthread changes.
Discussed with:	deischen
2004-01-31 17:56:45 +00:00
marcel
d859198df2 Add LIBPTHREAD. 2004-01-31 17:25:18 +00:00
bde
cbb2f01880 1. Garbage-collected LIBDES (now in a different library), LIBPERL (banished
to ports) and LIBRESOLV (now in a different library.

2. Added comments about nonexistent libraries LIBPC and LIBPLOT.

Submitted by:	ru (1)
2004-01-31 03:15:50 +00:00
bde
bd35586e23 Fixed insertion sort errors for LIBBLUETOOTH and LIBSDP. 2004-01-31 03:09:10 +00:00
bde
7ca2ea57e6 Removed XXX comments about some libraries only being in the secure
distribution.  This is not the place to document this, especially
now that the secure distribution is the normal one.

Reviewed by:	ru
2004-01-31 02:51:41 +00:00
bde
2f84e3271e Fixed some style bugs (long lines). 2004-01-31 02:17:11 +00:00
jhb
822c3ce335 Drop -mcpu=pentiumpro from the default CPU flags for i386 as it doesn't
perform better than the default setting for most i386 CPUs.

Requested by:	bde
2004-01-30 19:51:26 +00:00
ache
93aa5eecf9 Add kk_KZ.PT154
Submitted by:   Birsh T <tim@zhezu.kz>
2004-01-29 16:28:22 +00:00
emax
e6b4244a0a Document NO_BLUETOOTH knob
Reviewed by:	imp (mentor), ru
2004-01-28 22:46:39 +00:00
rwatson
0d118a298f Add debug.mutex.prof.reset. 2004-01-28 22:21:04 +00:00
jhb
b214d6dd1d - Catch up to new boot floppies targets.
- Update description of release.4 to mention KERNELS variable.
- Update field width for make release targets.
2004-01-28 21:07:36 +00:00
obrien
ad8cf9f476 Always build ext2fs module. There is no written policy preventing the
building of GPL'ed modules.
2004-01-28 17:20:08 +00:00
mux
bef77d3b6d Fix another typo. 2004-01-28 13:29:40 +00:00
mux
ce7255c52f Fix typo. 2004-01-28 13:28:45 +00:00
emax
3f0b112d3c Add NO_BLUETOOTH knob to the build process
Requested by:	phk
Reviewed by:	imp (mentor), ru
2004-01-28 00:42:51 +00:00
grog
8baf7f2fe3 Remove trailing white space.
Sort SEE ALSO by section number first, not alphabetically.
Remove period at end SEE ALSO to make it look less like a sentence.

Submitted by: ru
2004-01-28 00:02:10 +00:00
ru
035d02d5ec Fixed bogus ${FOO:Mbar} tests where the actual intent is to check
if the result set is empty.  While here, replaced non-bogus empty
string comparisons with equivalent empty() checks.
2004-01-27 23:22:15 +00:00
imp
f08bacde3c Fix the example back the way it was. Fix the commentary to say it
allocates a 32 byte range of ioports.
2004-01-27 16:16:31 +00:00