Commit Graph

6639 Commits

Author SHA1 Message Date
Crist J. Clark
76f10508d4 Put a complete set of pppd(8) sample configuration files in
/usr/share/examples/pppd.

Update pppd(8) documentation to reflect this, usr.sbin/pppd/pppd.8.

Remove the out-of-place pppd(8) configuration files in etc/ppp,
ppp.shells.sample and ppp.deny.

Make the appropriate changes to the build process, etc/Makefile and
etc/mtree/BSD.usr.mtree, so it all works.

The files from etc/ppp, ppp.shells.sample and ppp.deny, were moved
with a repo copy. Note it in the logs with a forced commit to these
two.

Submitted by:	Maxim Konovalov <maxim@macomnet.ru> provided the new samples.
2002-01-29 00:23:35 +00:00
Greg Lehey
984d1cc755 Remove references to raw devices.
Submitted by:	mbr
Approved by:	re
2002-01-28 04:26:29 +00:00
Josef Karthauser
a07e9d4af3 Merge from NetBSD.
uhub.c:     revision 1.37
    usb.4:      revision 1.30
    usb.c:      revision 1.38
    usb.h:      revision 1.40
    usb_port.h: revision 1.21
    usb_subr.c: revision 1.65
    usbdi.h:    revision 1.40

Split the attach/detach events up into device, driver and controller
attach and detach events.

The commit message from NetBSD was:
        date: 2000/02/02 07:34:00;  author: augustss;  state: Exp;
        Change the USB event mechanism to include more information
        about devices and drivers.  Partly from FreeBSD.

Also rework usbd to take these new event types into account.
2002-01-28 01:03:19 +00:00
Josef Karthauser
a31999ca51 Sync with NetBSD's version. 2002-01-28 00:48:28 +00:00
John Polstra
586d7c2ef0 Add support for the Netgear GA302T 10/100/1000 adapter. Given that
it's a 32-bit card, it's quite nice for $75.

MFC after:	3 days
2002-01-27 01:00:16 +00:00
Andrew R. Reiter
fa027af9d9 - Spelling fix: "functons" -> "functions". 2002-01-26 21:41:28 +00:00
Crist J. Clark
f44609fe71 Make the rc.conf(5) 'log_in_vain' knob an integer.
Try this out in -CURRENT, MFC, and then consider dropping the
'log_in_vain' knob all together. It really is something for
sysctl.conf(5).

PR:		bin/32953
Reviewed by:	-bugs discussion
MFC after:	1 week
2002-01-26 09:05:13 +00:00
Chad David
5385e8bfab Merged all of the lockmgr functions into a single file (lock.9); as well,
some content and layout changes were made.

lock.9 had existed before but was never added to Makefile, so it was
never installed.  That is why the duplicate files were created in the
first place.

Reviewed by:	ru, alfred
2002-01-26 00:09:41 +00:00
Sheldon Hearn
b2636d248d Regen. 2002-01-25 09:05:33 +00:00
Ruslan Ermilov
0509dca0c3 Add pam_ssh support to the static PAM library, libpam.a:
- Spam /usr/lib some more by making libssh a standard library.
- Tweak ${LIBPAM} and ${MINUSLPAM}.
- Garbage collect unused libssh_pic.a.
- Add fake -lz dependency to secure/ makefiles needed for
  dynamic linkage with -lssh.

Reviewed by:	des, markm
Approved by:	markm
2002-01-23 15:54:17 +00:00
Jens Schweikhardt
8f2087fb45 Fix a typo and fix indenting for struct sockaddr to match other structs.
No content changes.
MFC after:	3 weeks
2002-01-22 21:26:15 +00:00
Ruslan Ermilov
93dee74a5d Revert revision 1.57 -- ache@ axed /var/spool/uucp in BSD.var.dist,v 1.55. 2002-01-22 14:55:25 +00:00
Andrey A. Chernov
ee6ebaaa18 The idea of mapping non-existen characters to space (0x20) was nice alone,
but those maps also used as backward maps for Paste, so space becomes mapped
to last non-existen character on Paste as result.

Fix it by mapping non-existen characters to another non-existen one, i.e. to
0x00, so unused 0x00 can be backward-mapped to some junk without real harm.

Pointed by:	Alexander Kabaev <ak03@gte.com>
2002-01-21 21:52:02 +00:00
Dag-Erling Smørgrav
78eab69072 Add the necessary dependencies and linker flags for linking with a
static PAM library that includes pam_ssh.

Sponsored by:	DARPA, NAI Labs
2002-01-21 20:42:25 +00:00
Mike Pritchard
5ecd6127b9 Ispell sweep of share/man/man4/man4.i386. 2002-01-21 12:36:12 +00:00
Mike Pritchard
f87717fa8b Ispell sweep of share/man/man4. 2002-01-21 12:09:13 +00:00
Mike Pritchard
8edd27f18f Fix spelling errors. 2002-01-21 10:28:18 +00:00
Scott Long
4496239cd9 Remove very outdated comment from the Bugs section that states that
the driver cannot do U160.

Submitted by:	ladisalv.kostal@fem.uniag.sk
MFC after:	1 day
2002-01-20 16:09:18 +00:00
Robert Watson
080c70c1b1 o Clarify that various sysctl timing values are in milliseconds. 2002-01-19 03:44:42 +00:00
Andrey A. Chernov
079ae266be We don't use two-letters terminal names, so strip them out from vt520* entries 2002-01-18 17:41:54 +00:00
Ruslan Ermilov
757c6a47b6 mdoc(7) police: tidy up.
Reviewed by:	chris
2002-01-18 16:46:43 +00:00
Ruslan Ermilov
7b6edd044b Introduce an interface announcement message for the routing
socket so that routing daemons and other interested parties
know when an interface is attached/detached.

PR:		kern/33747
Obtained from:	NetBSD
MFC after:	2 weeks
2002-01-18 14:33:04 +00:00
Chris Costello
43b95addad Change "From Id:" to the correct "$Id$" string, as there's no danger
of it being expanded.

Sponsored by:	DARPA, NAI Labs
2002-01-17 23:08:43 +00:00
Ruslan Ermilov
c6a51f1c4a mdoc(7) police: removed raw troff from previous delta.
Objected to by:	mpp, jhb
2002-01-17 15:57:43 +00:00
Sheldon Hearn
b815993d75 Mark daily_news_expire_enable as a variable, not a path. 2002-01-17 10:35:48 +00:00
Ruslan Ermilov
757f341107 mdoc(7) police: tidy up markup and spelling.
PR:		docs/33962
2002-01-17 08:42:31 +00:00
Doug Ambrisko
db40c1aef4 Add VLAN for the dc(4) driver (ie long frame). The patch is 2 parts.
One to notify the system that the MTU for VLAN can be 1500 so the vlan
will automatically be configured with a 1500 MTU the other is to ignore
the error case if the received frame is to long.

The frame size notification came from code in the SIS driver, and
the support for long frames derived from the NetBSD Tulip driver.

Tested on:	4 port D-Link adapter DFE-570TX 4 Intel 21143
		Netgear card with 82c169 PNIC 10/100BaseTX

Reviewed by:	ru (manpage), wpaul (not objected to), archie
Approved by:	imp
Obtained from:	NetBSD
2002-01-16 16:33:58 +00:00
Andrew R. Reiter
d0615c64a5 - Attempt to help declutter kern. sysctl by moving security out from
beneath it.

Reviewed by: rwatson
2002-01-16 06:55:30 +00:00
Sheldon Hearn
9d0fef6b8d Add entries for the DEC VT400 and and VT420 terminals.
Obtained from:	comp.terminals
Reported by:	tedm
2002-01-15 16:19:37 +00:00
Max Khon
8b4d150858 fix MLINKS for timeradd.3 2002-01-14 20:36:34 +00:00
Ruslan Ermilov
491a842962 yp(4) -> yp(8).
PR:		docs/30797
2002-01-14 16:59:03 +00:00
Ruslan Ermilov
0432abee15 Convert to man4/Makefile style. 2002-01-14 16:53:43 +00:00
Ruslan Ermilov
e66767666a mdoc(7) police: tidy up the markup. 2002-01-14 16:07:10 +00:00
Doug White
e5606f14a9 Add manpage for timeradd macros and friends. A companion page for
timespecadd should be added at a future point...

PR:		13079
2002-01-14 00:38:20 +00:00
Andrey A. Chernov
df33804e71 Merge some of vt2x0 tc= chain to save 1024 buffer space.
Clarify comment about kind of color emulators for which vt*-co* entries
are for and about saving space.
Use direct \E[m instead of ...;m for dumb emulators.
2002-01-13 09:04:37 +00:00
Andrey A. Chernov
900716eeea Add comment indicating that vtXXX-co* entries are for color-enabled terminal
emulators
2002-01-13 01:01:05 +00:00
Andrey A. Chernov
50146ad5c0 Add NP flag to vt100-np 2002-01-12 17:05:33 +00:00
Andrey A. Chernov
871accbbf2 Add color entries for DEC VT family
Compact some space in vt100 entry, add more ac characters
2002-01-12 14:09:04 +00:00
Bruce A. Mah
4bd2f25749 Fix pathnames.
PR:		33716
Submitted by:	Tim J. Robbins <tim@robbins.dropbear.id.au>
2002-01-12 04:06:34 +00:00
Bruce A. Mah
f1bf956810 newfs -U enables softupdates beginning with FreeBSD 4.5.
PR:		33391
Submitted by:	Ceri <setantae@submonkey.net>
2002-01-11 23:55:58 +00:00
Bruce Evans
df2aa36d5a Fixed missing return type in the prototoype for the hook function. 2002-01-11 13:18:32 +00:00
Ruslan Ermilov
1e55b8c749 mdoc(7) police: tidy up the markup.
Reviewed by:	davidc
2002-01-10 17:47:38 +00:00
Ruslan Ermilov
cc9ca450b6 mdoc(7) police: tidy up the markup. 2002-01-10 16:51:28 +00:00
Ruslan Ermilov
987af41675 mdoc(7) police: expand contractions, remove newly introduced
hard sentence break, revert to a proper markup for config(8)
file directives, fix broken xref.
2002-01-10 16:27:25 +00:00
Ruslan Ermilov
2d41af99ed mdoc(7) police: markup nits. 2002-01-10 16:11:12 +00:00
Brian Somers
d7937e18b9 Add an example for testing scalability and concurrency 2002-01-10 14:56:47 +00:00
Ruslan Ermilov
e4c7f9b607 mdoc(7) police: tidy up the markup. 2002-01-10 13:09:00 +00:00
Ruslan Ermilov
ced699e370 mdoc(7) police: get rid of WEOL and HSB introduced in rev 1.6. 2002-01-10 13:02:55 +00:00
Ruslan Ermilov
b6ff0012db mdoc(7) police: finish up the "proc" -> "thread" conversion. 2002-01-10 12:55:36 +00:00
Ruslan Ermilov
3b0536fa2a mdoc(7) police: tidy up the previous delta a bit. 2002-01-10 12:53:51 +00:00
Ruslan Ermilov
8271a1025c mdoc(7) police: tidy up the markup. 2002-01-10 12:32:38 +00:00
Ruslan Ermilov
48ad35449f get_cyclecounter.9 has been repo-copied to get_cyclecount.9. 2002-01-10 12:21:06 +00:00
Ruslan Ermilov
00594efed6 mdoc(7) police: tidy up the markup, fix some minor bugs. 2002-01-10 11:57:10 +00:00
Ruslan Ermilov
52f1d68ff8 mdoc(7) police: tidy up the markup.
This manpage should be repo-copied to get_cyclecount.9.
2002-01-10 10:48:39 +00:00
Ruslan Ermilov
2be6c09fd5 mdoc(7) police:
- make SYNOPSIS look better with some troff magic
- tidy up the markup
2002-01-10 10:36:04 +00:00
Ruslan Ermilov
fdedf9fd70 mdoc(7) police: function typedefs are similar to the
function declarations so use that idea to fix markup.
2002-01-10 09:34:33 +00:00
Ruslan Ermilov
0cf7294092 mdoc(7) police:
- logically sort the SYNOPSIS section
- add missing markup bits
- "brackets" -> "parentheses"
2002-01-10 09:20:07 +00:00
Ruslan Ermilov
5e895bf381 mdoc(7) police: sort xrefs. 2002-01-10 08:16:58 +00:00
Ruslan Ermilov
a9f5209e39 mdoc(7) police: tidy up previous delta. 2002-01-09 16:09:00 +00:00
Ruslan Ermilov
217baf9cbc mdoc(7) police: tidy up markup. 2002-01-09 15:56:21 +00:00
Ruslan Ermilov
63122b7f15 mdoc(7) police: variables are marked with the general purpose .Va macro. 2002-01-09 15:43:07 +00:00
Ruslan Ermilov
fb5293cf53 mdoc(7) police: tidy up previous delta. 2002-01-09 15:32:25 +00:00
Nik Clayton
3a5685d559 Update the country code list.
PR:		docs/27027
Submitted by:	Steve Coltrin <spcoltri@omcl.org>
2002-01-09 13:46:58 +00:00
Nik Clayton
53d3620b6a Note that kern.sugid_coredump must be 1 to generate a core from processes
that change their credentials.

PR:		docs/21712
Submitted by:	Peter Philipp <pjp@click2net.com>
2002-01-09 13:16:26 +00:00
Jacques Vidrine
80139fbc9e Fix the rxvt termcap entry:
= Get the alternate character set capabilities right.
  = Enable color support for `rxvt'.
  = Add `rxvt-mono' for no color support.

Approved by:	ache
2002-01-09 13:13:51 +00:00
Nik Clayton
e67796ea42 Fix typo, and add some additional description to the i8254 and TSC.
PR:		docs/20738
Submitted by:	Tan Koan-Sin <freedom@csie.nctu.edu.tw>
2002-01-09 13:10:18 +00:00
Sheldon Hearn
befb729958 Add entries for DEC VT520 and VT525.
PR:		misc/33083
Submitted by:	Ted Mittelstaedt <tedm@toybox.placo.com>
Obtained from:	ftp://gatekeeper.dec.com/pub/DEC/termcaps/
2002-01-09 13:00:20 +00:00
Mike Pritchard
7c86a74b2d ispell sweep of share/man/man7/*. 2002-01-09 12:34:01 +00:00
Mike Pritchard
b82af3f5e4 ispell sweep of share/man/man9/*. 2002-01-09 11:43:48 +00:00
Chad David
2e693d1919 Fairly major cleanup of the text.
PR: docs/32241
2002-01-09 08:42:43 +00:00
Andrey A. Chernov
7e4466b27b Add ro_RO
PR:		33343
Submitted by:	Adrian Penisoara <ady@warpnet.ro>
2002-01-08 15:20:13 +00:00
Dima Dorfman
ea3d958328 Link loop(4) to lo(4). The device's name is 'loop', which is what one
(at least a new one) would expect the manual page to be called (even
if the device is lo#).

PR:		32453
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-01-07 06:48:30 +00:00
Dima Dorfman
4057c9f019 Assorted grammar and other mechanical fixes.
PR:		32941
Submitted by:	<setantae@submonkey.net>
2002-01-07 06:26:37 +00:00
Dima Dorfman
ecfef94723 MFalpha 1.18: Bring this closer to reality by removing mention of wd#
and adding ATA stuff.
2002-01-07 05:45:38 +00:00
Dima Dorfman
10a5b56b7a ATAPI CDROM drives are acd#, not act#. 2002-01-07 05:43:31 +00:00
Chad David
23257a0057 Removed <sys/queue.h> from the list of required include files and
corrected the name of the function (get_cyclecount()).

Requested by: bde
2002-01-06 23:56:12 +00:00
Chris Costello
e4407b54e8 Minor doc nit: Replace contractions with their expanded forms.
Obtained from:	NAI Labs CBOSS Project
Sponsored by:	DARPA, NAI Labs
2002-01-06 20:28:27 +00:00
Kelly Yancey
371c0c842a Document sbuf_trim() and sbuf_vprintf(); add MLINKs.
Clarify that the contents of a caller-supplied buffer are undefined and
should not be examined directly.

Reviewed by:	des
2002-01-06 08:40:42 +00:00
Chris Costello
7f0def37ec As discussed with Bruce Evans and Kirk McKusick:
o Combine ufs.7 and ffs.7 into a single ffs.7 man page.
o Remove all references to `ufs' as a file system.
o Proper (lack of) capitalization for `ffs'.

Obtained from:	TrustedBSD Project
Sposnored by:	DARPA, NAI Labs
2002-01-05 20:18:35 +00:00
David Malone
3ad920fe65 Put -Wno-uninitialized at the end of the warns flags as it may be enabeled
by several flags (in this case -W and -Wall).

Reviewed by:	bde
2002-01-05 20:17:50 +00:00
John Baldwin
e5b4afac08 Fully catch up to the recent critical section API change. Update the
content of the manpage and document cpu_critical_enter/exit.
2002-01-04 23:56:17 +00:00
Sheldon Hearn
2f936029a4 Regen. 2002-01-04 13:11:36 +00:00
Chris Costello
ad25c55e52 Make WHERE TO START' and WHERE TO STOP' subsections within `DESCRIPTION'.
Suggested by:	sheldonh
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-01-01 19:20:02 +00:00
Andrey A. Chernov
1f985d97be Fix to conform standard 2002-01-01 07:43:45 +00:00
Andrey A. Chernov
a6a05eeb91 Add 8859-5 keymaps
PR:		32449
Submitted by:	Alexey Klimov <klim@unique.kiev.ua>
2002-01-01 06:51:22 +00:00
Andrey A. Chernov
afa2b29dda Add 8859-5 fonts
PR:		32448
Submitted by:	Alexey Klimov <klim@unique.kiev.ua>
2002-01-01 06:44:36 +00:00
Chris Costello
3092f2e699 o Logically split up sentences, removing hard sentence breaks.
o Use .Sx where a section cross-reference is intended.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-30 20:34:53 +00:00
Joerg Wunsch
4e481b6c28 Document the change from 0.0.0.1 to 0.0.0.* as `any remote address is OK'.
MFC after:	1 month
2001-12-30 16:40:48 +00:00
Wolfram Schneider
7d2e982779 Added upcoming FreeBSD 4.5 2001-12-30 13:56:09 +00:00
Chris Costello
07bf51c9b5 Be sure to point out that, by "mount point", one in /etc/fstab
is meant.

Submitted by:	John Hanley <jh_@yahoo.com>
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-30 03:47:06 +00:00
Chris Costello
bd49a87618 Document how to enable ACLs using extattrctl.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-30 03:44:40 +00:00
Sheldon Hearn
1c2941b241 Now that automatic mounting of network filesystems is delayed until
network startup, remove the warning about automatic mounts.
2001-12-29 19:44:10 +00:00
Sheldon Hearn
4a8eeedbb1 Don't require operators to override the list of network filesystem
types (networkfs_types) with a version that includes the original
list.

This increases the scope for user error and also means that systems with
networkfs_types set in /etc/rc.conf will not benefit from changes to the
list in /etc/defaults/rc.conf on upgrade.

Instead, store the default list in /etc/rc itself and allow the operator
to append to that list by specifying her own list in networkfs_types.

Rename networkfs_types to extra_netfs_types accordingly, as the new name
better describes the purpose of the variable.  Default the value to
'NO'.
2001-12-29 19:42:55 +00:00
Julian Elischer
5e7cbd4365 Document some behaviour I'm depending on.
(TAILQ_FOREACH leaves the variable NULL if there were no more to do)
2001-12-28 22:00:27 +00:00
Chris Costello
c1e7a5f1e1 Spelling/typo fix: bood' -> boot' 2001-12-28 20:12:24 +00:00
Chris Costello
1c393056e6 Move UFS and FFS docs to section 7.
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2001-12-28 17:10:13 +00:00
Bruce A. Mah
93112659d8 Fix typo in example.
PR:		33260
Submitted by:	Dan Peterson <danp@danp.net>
2001-12-28 03:59:19 +00:00
Alfred Perlstein
0df3708ddb Make it explicit that the opening brace of a function body be on a line
by itself.
2001-12-27 20:05:47 +00:00
Joerg Wunsch
41a95e09c1 Document that we now implement VJ header compression. 2001-12-27 16:49:54 +00:00
Sheldon Hearn
d7fb353a43 Re-introduce the fix that delays mounting of network filesystems until
the network is initialized.  This was first implemented in rev 1.268
of src/etc/rc, but was backed out at wollman's request.

The objection was that the right place for the fix is in mount(8).
Having looked at that problem, I find it hard to believe that
the hoops one would have to jump through can be justified by the
desire for purity alone.

Note that there are reported issues surrounding nfsclient kernel
support and mount_nfs(8), which currently make NFS an ugly exception
to the general case.

With this change, systems with non-NFS network filesystems configured
for mounting on startup in /etc/fstab are no longer guaranteed to
fail on startup.
2001-12-27 13:41:27 +00:00