Commit Graph

8709 Commits

Author SHA1 Message Date
Pawel Jakub Dawidek
16710e88da Create symbolic link for g_print_bio(9) manual page.
Approved by:	scottl (mentor)
2004-02-11 18:43:20 +00:00
Pawel Jakub Dawidek
462b8db96b Document g_print_bio() function.
Approved by:	scottl (mentor)
2004-02-11 18:36:31 +00:00
Pawel Jakub Dawidek
eb4f5d9df6 Added GEOM kernel API manuals to the build.
Reviewed by:	scottl
Approved by:	phk, scottl (mentor)
2004-02-11 10:09:17 +00:00
Pawel Jakub Dawidek
f827ccb9a3 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
Bruce M Simpson
1cfd4b5326 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
Bruce M Simpson
02312219eb Document the functions m_apply() and m_getptr().
Requested by: Maxim Konovalov
2004-02-11 02:39:24 +00:00
John-Mark Gurney
115eec0e6f 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
Bruce M Simpson
9817b89454 Spelling. 2004-02-10 16:11:08 +00:00
Tom Rhodes
152772dd7f Remove a redundant command. No MFC, this was removed in STABLE.
Update the date.
2004-02-10 07:29:04 +00:00
Tom Rhodes
49d1509b8b 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
Ruslan Ermilov
51fa76c495 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
Ruslan Ermilov
a4a62f5d1f 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
Ruslan Ermilov
b77a54a688 Added missing DPADD. 2004-02-05 22:01:28 +00:00
Ruslan Ermilov
fe670e467a Temporarily put STRIP back; bsd.port.mk still needs it. 2004-02-05 20:48:44 +00:00
Ruslan Ermilov
4c25ae5742 Don't define STRIP in bsd.own.mk. 2004-02-05 20:16:18 +00:00
Ruslan Ermilov
f258f151cd make(1) can now handle spaces surrounding parenthesis correctly. 2004-02-05 08:44:43 +00:00
Dag-Erling Smørgrav
5e3128401a GC port.mkversion. 2004-02-05 00:07:09 +00:00
Bruce Evans
d17387acd4 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
Ruslan Ermilov
27431cdb25 Fixed static build. 2004-02-04 10:15:26 +00:00
Ruslan Ermilov
002886c887 Nothing in libypclnt depends on librpcsvc.
Reported by:	lorder(1) (modified to work with libraries)
2004-02-04 09:53:29 +00:00
Pawel Jakub Dawidek
8d719eb22e 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 Davis
36c19a572a 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
Dag-Erling Smørgrav
43cebabc9f Document NO_VINUM, which is already listed in the man page. 2004-02-03 13:57:56 +00:00
Dag-Erling Smørgrav
ede2304406 Whitespace nit. 2004-02-03 11:27:34 +00:00
Dag-Erling Smørgrav
607b5a9109 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
Ruslan Ermilov
37e419a131 A shorter version of keeping all -std= options out of CXXFLAGS. 2004-02-03 09:40:11 +00:00
Ruslan Ermilov
53fcfc9167 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
Nate Lawson
526785c638 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
Tom Rhodes
026e6d381e 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
Ruslan Ermilov
2082e6d249 GC LIBPC and LIBPLOT: they never existed in unencumbered BSD versions.
Reviewed by:	bde
2004-02-02 21:44:48 +00:00
Alex Dupre
feccf50ce0 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
Andrey A. Chernov
a5c2a55d93 Clarify more about LC_*/LANG priorities. 2004-01-31 23:29:20 +00:00
Tom Rhodes
0d21302ea1 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
Tom Rhodes
448ed982f2 Update this manual page for the libkse -> libpthread changes.
Discussed with:	deischen
2004-01-31 17:56:45 +00:00
Marcel Moolenaar
2e381660c9 Add LIBPTHREAD. 2004-01-31 17:25:18 +00:00
Bruce Evans
c24c2f8c47 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
Bruce Evans
47d4aab142 Fixed insertion sort errors for LIBBLUETOOTH and LIBSDP. 2004-01-31 03:09:10 +00:00
Bruce Evans
5e9867291a 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
Bruce Evans
c7fde57406 Fixed some style bugs (long lines). 2004-01-31 02:17:11 +00:00
John Baldwin
05d9236acf 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
Andrey A. Chernov
7d864d560c Add kk_KZ.PT154
Submitted by:   Birsh T <tim@zhezu.kz>
2004-01-29 16:28:22 +00:00
Maksim Yevmenkin
6223d1612e Document NO_BLUETOOTH knob
Reviewed by:	imp (mentor), ru
2004-01-28 22:46:39 +00:00
Robert Watson
2c21af5654 Add debug.mutex.prof.reset. 2004-01-28 22:21:04 +00:00
John Baldwin
f1087f6869 - 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
David E. O'Brien
5c4d4bfad4 Always build ext2fs module. There is no written policy preventing the
building of GPL'ed modules.
2004-01-28 17:20:08 +00:00
Maxime Henrion
5251cfab8d Fix another typo. 2004-01-28 13:29:40 +00:00
Maxime Henrion
b4a993e9aa Fix typo. 2004-01-28 13:28:45 +00:00
Maksim Yevmenkin
18d948adb1 Add NO_BLUETOOTH knob to the build process
Requested by:	phk
Reviewed by:	imp (mentor), ru
2004-01-28 00:42:51 +00:00
Greg Lehey
a1db2f59ae 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
Ruslan Ermilov
65d2bdc62c 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
Warner Losh
ab27179eb9 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
Nate Lawson
ba4594dccd Document my adventures in newbus land. Clarify some examples, especially
that count is in bytes, not bits.  There are some drivers that I think make
this mistake.  (I've seen counts of 16 in the tree).
2004-01-27 06:04:15 +00:00
Yaroslav Tykhiy
5eb4925c66 Document the interface method if_input(). 2004-01-26 12:51:00 +00:00
Dag-Erling Smørgrav
b14fa90f01 mdoc cleanup.
Submitted by:	ru
2004-01-26 12:50:30 +00:00
Maxim Sobolev
7735aeb9bb Add support for WCCPv2. It should be enablem manually using link2
ifconfig(8) flag since header for version 2 is the same but IP payload
is prepended with additional 4-bytes field.

Inspired by:	Roman Synyuk <roman@univ.kiev.ua>
MFC after:	2 weeks
2004-01-26 12:33:56 +00:00
Yaroslav Tykhiy
dede2093e5 Clearly state that upon SIOCSIFFLAGS, ifp->if_flags is updated
at the common ifioctl() level.
2004-01-26 12:08:23 +00:00
Yaroslav Tykhiy
ac1ac9d76b Extend the description of SIOCSIFCAP. 2004-01-26 11:48:26 +00:00
Christian Brueffer
d8f934da72 Fix sorting in the device list 2004-01-26 07:21:28 +00:00
Olivier Houchard
f138711f07 Update Eterm entry to Eterm 0.9.2
Submitted by:	Geraud CONTINSOUZAS <geraud.continsouzas@wanadoo.fr>
MFC after:	3 days
2004-01-25 19:04:50 +00:00
Christian Brueffer
189da1aa79 Add SIS964 to the list of supported chipsets
Submitted by:	bmah
2004-01-25 16:13:49 +00:00
Christian Brueffer
3734601248 Back out rev. 1.40
The hardware notes were wrong WRT supported chipsets (northbridges are not
ata related)

Submitted by:	bmah
2004-01-25 16:12:09 +00:00
Ruslan Ermilov
1a35abc4ee Correct the name of a loader(8) tunable. 2004-01-25 14:03:55 +00:00
Dag-Erling Smørgrav
72ea4f788b Add more implentation notes based on the comments in sys/conf/NOTES. 2004-01-25 12:30:35 +00:00
Dag-Erling Smørgrav
f11986fab2 Add a cross-reference to MUTEX_PROFILING(9). 2004-01-25 12:24:23 +00:00
Dag-Erling Smørgrav
77c36c1710 Add a manual page for the mutex profiling code. 2004-01-25 12:23:53 +00:00
Dag-Erling Smørgrav
09e0653941 I don't normally use my middle name, so remove it from attributions in
man pages (though not from copyright notices).  While I'm here, add email
addresses where appropriate.
2004-01-25 11:39:42 +00:00
Simon L. B. Nielsen
a8e167f065 Add Sandberg USB to Serial Link (model number 133-08) to the list of
supported devices.

MFC after:	1 week
2004-01-24 22:12:06 +00:00
Christian Brueffer
7ec9c1e23e Sync the list of supported SiS chips with the hardware notes 2004-01-24 02:02:31 +00:00
Greg Lehey
3f333d6b1b Make references to using dmesg and ps directly on dumps rather than
running gdb just for these purposes.

Submitted by:	simokawa

Add references to dmesg(8) and ps(1).
Sort references.
2004-01-24 00:55:15 +00:00
Christian Brueffer
c4f594ac72 Add SiI3114 to the list of supported chipsets 2004-01-23 23:55:22 +00:00
Alex Dupre
7ff83c098f MFS: Switch from iso-8859-1 to iso-8859-15.
Approved by:	blackend (mentor)
2004-01-23 16:37:51 +00:00
Wes Peters
351cb04192 PR: docs/58586
Submitted by:	Chris S.J. Peron <maneo@bsdpro.com>
2004-01-23 05:24:06 +00:00
Mike Makonnen
dec04f43d9 o Implement the pthread_spin_* functions in libthr.
o Man pages
2004-01-22 15:31:56 +00:00
Yaroslav Tykhiy
d4030ed6c5 Extend the description of the framework of interface capabilities. 2004-01-22 00:10:21 +00:00
Yaroslav Tykhiy
76f80df62e As I've been pointed out by Andrew Gallatin, there are some
network interface cards smart (or twisted?) enough to be able
to calculate a TCP/UDP checksum for a packet fragmented by the
host CPU.  Therefore the paragraph on the case has been revised.
2004-01-21 23:32:50 +00:00
Jens Schweikhardt
406b7fa3e0 DTRT, quote parens in an extended regular expression.
PR:	61668
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
MFC after:	1 week
2004-01-21 18:57:45 +00:00
Yaroslav Tykhiy
fbde705ac4 A couple of minor clarifications. 2004-01-21 13:17:24 +00:00
Yaroslav Tykhiy
0193eb5ee9 Add a description for the hardware-assisted checksumming
facilities based on http://people.freebsd.org/~jlemon/csum.txt
and my own observations.
2004-01-21 12:45:37 +00:00
Joe Marcus Clarke
94c29ddf4c Add ports-accessibility and ports-x11-themes to the example supfiles. 2004-01-20 22:39:57 +00:00
Jens Schweikhardt
87dce4d26b Slightly rearrange wording to deconfuse our man.cgi.
PR:	60743
Submitted by:	Lucas <aspiesrule@mcleodusa.net>
MFC after:	2 weeks
2004-01-20 21:33:45 +00:00
Ruslan Ermilov
24dfc36033 Normalize. 2004-01-20 13:09:29 +00:00
Ruslan Ermilov
568fb8796f Grammar. 2004-01-20 12:57:28 +00:00
Ruslan Ermilov
c1e15bb5cb mdoc(7): Fix title. 2004-01-20 10:31:52 +00:00
Ruslan Ermilov
b760de9691 Use a single style for share/man/ makefiles:
- Sort MAN and MLINKS in "dictionary" order ignoring case.

- For multi-value MAN and multi-pair MLINKS, put each value/pair
  on its own line, for easier sorting and so that further diffs
  are easier to see.
2004-01-20 10:27:23 +00:00
Ruslan Ermilov
98159625c4 Use the standard <bsd.files.mk> API to install files. 2004-01-19 13:40:51 +00:00
Yaroslav Tykhiy
238d9c5975 Reformat the list of essential mbuf fields according
to the nice style used in ifnet(9).
This includes specifying field types, starting descriptions
with a capital letter, and ending them with a full stop.
Improve the language a bit, as well.
2004-01-18 23:42:28 +00:00
David E. O'Brien
b9d9e53eb6 Remove verbage about -O2 producing bad code on Alpha. By all accounts
GCC 3.3 -O2 produces correct code on Alpha.  However, note that FreeBSD
has alias bugs that make -O2 produce bad code on all(most?) platforms.
Also don't tell people we don't want -O2 related bug reports, we do -- if
they contain patches.
2004-01-18 22:14:23 +00:00
Yaroslav Tykhiy
d2b7305939 Update the list of mbuf types from <sys/mbuf.h>. 2004-01-18 21:29:46 +00:00
Yaroslav Tykhiy
f434362a8a Update the list of possible mbuf flags from <sys/mbuf.h>. 2004-01-18 21:23:30 +00:00
Yoshihiro Takahashi
3e281867ae Sync with sys/boot/forth/frames.4th revision 1.2 (PC98 support).
Suggested by:	matusita
2004-01-18 15:16:12 +00:00
Ruslan Ermilov
6b14fdfa52 Guess better the source for object files in case .depend file is
missing and there are multiple choices using multiple inference
(suffix transformation) rules.

This is known to fix compilation of s_log1p.o in lib/msun on i386,
as otherwise it attempted to use s_log1p.S as the source (which is
marked broken) instead of legal s_log1p.c which is in CFLAGS.  The
normal case where .depend file exists is not affected.

Reviewed by:	bde
2004-01-17 18:51:55 +00:00
Simon L. B. Nielsen
fe9a522092 Add Canon N676U and Canon N1220U to the list of supported devices.
MFC after:	1 week
2004-01-17 11:51:23 +00:00
Poul-Henning Kamp
1d9c86b948 Drop a hint about '+' being a potential wildcard. 2004-01-17 10:41:14 +00:00
Nate Lawson
09c84ba407 _OS and _OS_ are the same object (due to _ padding for spaces).
Pointed out by:	Ducrot Bruno (Linux)
2004-01-16 18:10:42 +00:00
Sam Leffler
4acf93a2f3 Splice in cryptodev (this man page originated on openbsd where there is
no cryptodev module.)  Should probably create a separate cryptodev man
page (or a link to this one) but for now add enough so folks understand
the relationship between the two.

Prodded by:	phk
2004-01-16 17:21:02 +00:00
Mike Makonnen
104ff764e5 Add an implementation of pthread_rwlock_timed{rd,wr}lock() to libthr with
attendant documentation.
2004-01-16 10:52:10 +00:00
Christian Brueffer
c5ea6e19c6 Connect tx.4 to the build and MLINK it to if_tx.4 2004-01-15 23:05:22 +00:00
Christian Brueffer
1eeac4a4dc Don't claim this file is i386 specific 2004-01-15 23:03:17 +00:00
Christian Brueffer
8cb5043a87 tx.4 has been repocopied to src/share/man/man4
Repo-surgery by:	joe
2004-01-15 23:01:12 +00:00
Ruslan Ermilov
c133f2ab6f Removed outdated text about libc_r replacing libc (it now provides
just libc functions wrappers), and updated text to match reality:
there are three threading libraries in FreeBSD these days.

Removed instructions of how not to build libc_r, it's documented in
the make.conf(5) manpage already.

Removed description of the FreeBSD-specific gcc(1) option, -pthread.
While it's still provided (for backwards compatibility reasons),
its usefulness is questionable.
2004-01-15 17:58:26 +00:00