Compare commits

...
1110 Commits
Author SHA1 Message Date
cvs2svn bff5b80e6c This commit was manufactured by cvs2svn to create tag
'RELENG_3_2_0_RELEASE'.

This commit was manufactured to restore the state of the 3.2-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
1999-05-24 16:47:10 +00:00
cvs2svn c37538200e This commit was manufactured by cvs2svn to create tag
'RELENG_3_2_0_RELEASE'.
1999-05-24 16:47:10 +00:00
Jordan K. Hubbard a21d905bae MFC: fix search bogons, prevent architectural miscegenation, etc. 1999-05-15 14:38:44 +00:00
Roger Hardiman c2b6b86e48 Put back the DRIVER_TYPE_MISC definition.
It is no longer required in -current but is still needed in 3.x
1999-05-15 13:03:25 +00:00
Roger Hardiman c62a28227b MFC: Add #if (NSMBUS>0) checks around smbus/iicbus i2c bus code. 1999-05-15 12:25:33 +00:00
Jordan K. Hubbard 52205a225d Fix a minor doc nit and two references to 3.1-RELEASE which got by
me on the first pass.  Tags slid appropriately.
1999-05-15 10:28:22 +00:00
Jordan K. Hubbard 6f8f869da7 We're now in 3.2-STABLE 1999-05-15 09:22:55 +00:00
Warner Losh f0ea5cf1fb MFC: Add small delay before inquire_setup.
It would be nice if this could be in 3.2, but if not, oh well.
1999-05-15 05:02:49 +00:00
Nate Williams a3a6490ba7 MFC: Fix memory leak. 1999-05-15 01:34:38 +00:00
Don Lewis 02d8c2160f MFC: fix potential memory overwrite in escape parsing
PR:		11687
Reviewed by:	ache
1999-05-15 01:08:27 +00:00
cvs2svn cc5ced8531 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-14 19:08:00 +00:00
Roger Hardiman 38d189b15f Better description of how to get the bt848 (bktr) driver working
with smbus,iicbus and iicbb

Approved by: JKH
1999-05-14 17:41:10 +00:00
Daniel C. Sobral 4d93b05a81 MFC. Slight adjustment in modules available.
Approved by: jkh
1999-05-14 16:33:03 +00:00
Jordan K. Hubbard 19b84cb3ac MFC: add pnp support. 1999-05-14 15:12:26 +00:00
Jordan K. Hubbard c784aa8345 MFC: more impressive windowmakerness. 1999-05-14 15:04:45 +00:00
Jordan K. Hubbard 10add024f8 MFC: DTRT for Latest 1999-05-14 14:58:17 +00:00
Jordan K. Hubbard cc084a0840 change branch name. 1999-05-14 14:31:56 +00:00
Jordan K. Hubbard 38911994f2 MFC: extra verbosity. 1999-05-14 14:30:07 +00:00
Jordan K. Hubbard 2ab735235f MFC: return status fixes. 1999-05-14 12:15:52 +00:00
Jordan K. Hubbard af481edd69 MFC: list X3DL server. 1999-05-14 07:16:32 +00:00
David Greenman 0c472214ef Remove vestige of P_DEADLKTREAT. 1999-05-14 06:32:41 +00:00
David Greenman 6d73abf79c Brought in Luoqi's fix from PR 8416. This likely has benign priority
inversion problems, but that's much better than hanging the system.
1999-05-13 23:49:56 +00:00
David Greenman 84f53c4cb4 Backed out P_DEADLKTREAT stuff as it doesn't appear to fix the problem. 1999-05-13 23:47:46 +00:00
Bill Paul 9782645f93 MFC: remove stray line of bogus code (only seen if WB_USEIOSPACE is
not #defined).

Approved by: jkh
1999-05-13 21:19:31 +00:00
Bill Fumerola 7e02908f5a "jkh-ok"-MFC: {www,doc}-supfile additions. 1999-05-13 18:43:16 +00:00
Andrzej Bialecki 588c6822b0 Set environment, not CFLAGS.
Approved by:	jkh
1999-05-13 15:27:14 +00:00
Kris Kennaway 943ea6ed01 MFC: Grammatical fixes
Approved by: jkh
1999-05-13 12:22:03 +00:00
Warner Losh 8d4f453703 Merge the test for 0x7f for the undocumented geometry register from
current.  The patch didn't want to apply, so this is reimplemented.

Approved by: jkh
1999-05-13 07:00:34 +00:00
Jordan K. Hubbard e3bc9cc7ba MFC: minor back-out of parts of 1.10. 1999-05-13 05:25:21 +00:00
Jordan K. Hubbard 1170085261 MFC: typo 1999-05-13 02:50:57 +00:00
Mike Smith 78298b6bc2 MFC: Fix handling of 'wd' in MakeDev. Remove axe from foot. 1999-05-12 23:51:56 +00:00
Matt Jacob dd34994c74 Approved by jkh:
MFC: When asked to get the current transfer settings go do a dev_refresh
isp_update call to get a better chance at seeing whether a recent
settings change has latched up.
1999-05-12 23:26:41 +00:00
Jordan K. Hubbard b6b74de30a MFC: avoid bogus uc_devlist data. 1999-05-12 23:08:28 +00:00
Jordan K. Hubbard 764f878320 MFC: norwegian time server. 1999-05-12 22:06:17 +00:00
cvs2svn e0c1c36162 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-12 20:01:11 +00:00
Jordan K. Hubbard c710e069d2 Mild pull-up to -current. 1999-05-12 10:55:13 +00:00
Jordan K. Hubbard 23882549e2 MFC: more rigorous checks. 1999-05-12 09:32:51 +00:00
Jordan K. Hubbard c69e4c4a05 MFC: support multiple archs 1999-05-12 09:09:59 +00:00
Jordan K. Hubbard faddfde5e2 MFC: change the internals of package_add(). 1999-05-12 09:04:17 +00:00
Dag-Erling Smørgrav d49f633853 MFC: Sync usage() with man page.
PS:		11539
Submitted by:	Ruslan Ermilov <[email protected]>
1999-05-12 07:02:31 +00:00
Dag-Erling Smørgrav c01e25db9b MFC: Don't stop listening to the signal pipe just because you don't have
anything else to do.

PR:		10468, 11594
Approved by:	jkh
1999-05-12 07:02:02 +00:00
Jordan K. Hubbard a0ae502532 MFC: update XFree86 help pointers. 1999-05-12 06:59:37 +00:00
Jordan K. Hubbard 43ebd114db MFC: revive PKG_ADD_BASE 1999-05-12 06:10:25 +00:00
Jordan K. Hubbard 62bb87a900 MFC: better desktop / server configuration. 1999-05-12 04:53:11 +00:00
Matt Jacob 903034ca02 Approved by Jordan... MFC: Quirk of a Kennedy 962X* Half-Inch Reel Tape
drive. An ancient and venerable technology that we're proud to continue
to support by quirking around it's slightly crotchety interpretations of
the SCSI specification. - 30 -
1999-05-12 04:49:28 +00:00
David Greenman badda33a33 Updated to rev 1.24 of ffs_softdep.c. Includes various fixes but not the
most recent performance optimization (which hasn't had enough testing yet).

Approved by:	jkh
1999-05-12 02:13:04 +00:00
KATO Takenori 91c1386a93 Sync with sys/i386/isa/fd.c revision 1.132.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
Approved by:	jkh
1999-05-12 00:08:32 +00:00
KATO Takenori 2e9fa31af8 Sync with sys/i386/i386/userconfig.c revision 1.126.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
Approved by:	jkh
1999-05-12 00:07:32 +00:00
Paul Richards 9dabfc6c4e MFC - set bust master enable bit.
Approved by:	 jkh
1999-05-11 23:46:22 +00:00
Paul Richards 9e7a6dda3b MFC
Mainly memory allocation fixes plus some cleanups that aren't needed in -stable but bring the versions together.

Approved by:	jkh
1999-05-11 23:42:54 +00:00
Mark Newton e192fa3da1 svr4_enable shouldn't have been mentioned here, considering svr4 won't be
in any releases 'til 4.0 comes out.

Submitted by:	Greg Lehey <[email protected]>
Reviewed by:	Jordan Hubbard <[email protected]>
1999-05-11 12:21:22 +00:00
Jordan K. Hubbard cb575e02c5 MFC: catch up with /etc/mail 1999-05-11 11:53:07 +00:00
Jordan K. Hubbard d534b06675 MFC: PR 9367 1999-05-11 11:04:12 +00:00
Jordan K. Hubbard 4f256c27ee Make the driver work on HP8100 and the newer Philips, etc drives.
Submitted by:	sos
1999-05-11 10:33:27 +00:00
Jordan K. Hubbard 095c0c74af MFC: desktop ordering, preserve /root. 1999-05-11 10:25:34 +00:00
Jordan K. Hubbard b469516a35 Make note of recent KKIS.05051999.003b exploit fix. 1999-05-11 08:05:20 +00:00
David Greenman a1e3252f67 MFC: Changes to shared locking to elevate the priority over exclusive lock
when both have been requested and the P_DEADLKTREAT process flag is set.
Believed to fix PR 8416.
1999-05-11 07:54:25 +00:00
Jordan K. Hubbard 648be3a5c8 Don't make this sgid by default.
Requested by: jkb
1999-05-11 07:35:33 +00:00
Jordan K. Hubbard cc069a9663 MFC: catch more a.out libs 1999-05-11 07:28:00 +00:00
Jordan K. Hubbard ad4cdcd455 MFC: add /usr/X11R6/bin to default path. 1999-05-11 07:10:03 +00:00
Matt Jacob abba85af23 MFC: add in mention of 1080/1240 support 1999-05-11 06:15:51 +00:00
Matt Jacob 76c70f6851 MFC: changes to support dual bus host adapters. 1999-05-11 06:09:01 +00:00
Matt Jacob c731e7a861 MFC: revisions 1.10-1.16 and 1.18. A large set of changes to handle dual
bus adapters and changes in how f/w is handled.
1999-05-11 06:03:27 +00:00
Matt Jacob 162abbbf22 MFC: cleanups and dual bus definitions. 1999-05-11 05:57:24 +00:00
Matt Jacob ce93b8c2f4 MFC: support for dual bus adapters. 1999-05-11 05:55:39 +00:00
Matt Jacob 022a7360a2 MFC: Do 3 level f/w versions. 1080/1240 support (for dual bus hbas).
See revistions 1.9-1.14.
1999-05-11 05:54:06 +00:00
Matt Jacob 78e6c17781 MFC: Add in 1080/1240 support (new register layouts) and NVRAM for same.
See revistions 1.5-1.9.
1999-05-11 05:51:39 +00:00
Matt Jacob 871c599673 MFC: use FAST POSTING codes. Add in 1080/1240 support which caused a
quite large set of changes. Correct bogus BIG_ENDIAN defines.
See revisions 1.5-1.10.
1999-05-11 05:49:59 +00:00
Matt Jacob e8f333985c MFC: Add in dual bus support. Add in 1080 LVD support. Add in NVRAM
decdoing. Go to a 3 level f/w usage. Handle PDB change events properly.
See revisions 1.12-1.19.
1999-05-11 05:47:40 +00:00
Matt Jacob 1a12f4120c MFC 1.551 && 1.570 options pertinent for ISP host adapter. 1999-05-11 05:43:44 +00:00
Matt Jacob 1994715977 MFC:
Add a SA_FLAG_COMP_SUPP flag (to quirk compression as
SUPPORTED). Add a SA_FLAG_TAPE_FROZEN for (see below).
Add a queue_count field to softc.

Add HP T20* Travan-5 like tape device as a FIXED/512 type device.
Works for me. Add TANDBERG SLR5 as a variable SA_QUIRK_1FM device.
Change VIPER 2525 to 1024 byte blocksize. It's possible other
drives should change too, but see below..

Change argument to sagetparams to be pointer to a sa_comp_t union-
this can be either a DATA COMPRESSION or a DEVICE CONFIGURATION
page. In general compression now tries to use the DATA COMPRESSION
page and if that fails tries the DEVICE CONFIGURATION page.

Change close routine to not rewind tape if there's a failure in either
writing filemarks or in backing over one of two filemarks for a 2FM
at EOT tape- instead mark the tape as 'frozen' and print a message
saying that either an OFFLINE or REWIND or an MTEOM command is needed
to clear this state (all bring certainty back to tape position). Fix
sastrategy to not allow I/O to a frozen tape.

Add MTIOCGETEOTMODEL/MTIOCSETEOTMODEL ioctls that get and set the EOT
model for a tape drive (you can now dynamically change whether it's
a 2 FM @ EOT or 1FM at EOT tape device). This ought to give folks
something to handle the QIC drives we don't know about. Correctly propagate
record of compression algorithm back. Clear FROZEN flag for EOM, REWIND
and OFFLINE (and RETENSION and ERASE) cases.

Fix an egregious bug in sadone that had left the device queue frozen
for deferred (for fixed mode case) errors.

Add comment in samount about how useless the test unit ready is for
invalidating a mount (this has to be fixed later).

Fix residual calculation (per Eivind) in saerror so that negative values
for tape records being too large for the supplied buffer get caught. Do
some other saerrro cleanup.

Per Ken && Justin, add my name to copyright comment.
1999-05-11 05:40:43 +00:00
Matt Jacob 16e6eae485 MFC 1.126 && 1.130 to bring ISP host adapter options back into stable branch. 1999-05-11 05:35:28 +00:00
Bruce Evans 6a94134b08 MFC (1.143: fixed reset handling for motor off resets). 1999-05-11 05:30:53 +00:00
Kenneth D. Merry 198ce867b9 Note that support has been added for the Adaptec 2930U2 and 3950U2. 1999-05-11 05:25:23 +00:00
Matt Jacob 4abb47cee7 MFC: Move the cleaner versions that Bruce had encouraged me to do back into
the mainstream.
1999-05-11 04:46:38 +00:00
Greg Lehey 7b70ca7b3c MFC: Fix a bogon which stopped Vinum from recognizing half its keywords.
It doesn't in fact bite here, but it's filth, and it could potentially
jump out of the woodwork and do harm.
1999-05-11 03:59:29 +00:00
Jonathan M. Bresler 64d15d9f96 update spam countermeasures
add examples of using an access_db
	update .mc files to match recommendations on
		http://www.sendmail.org/m4/anti-spam.html
1999-05-11 03:21:04 +00:00
Matt Jacob e726c73d59 MFC versions 1.5-1.10 1999-05-11 03:01:20 +00:00
Matt Jacob 243975c5f5 MFC version 1.56. I think 1.53 ought to go too. 1999-05-11 02:53:00 +00:00
Matt Jacob 80d651e0b6 MFC version 1.5 1999-05-11 02:27:05 +00:00
Matt Jacob 26ec2553c9 MFC version 1.25 1999-05-11 02:14:27 +00:00
Matt Jacob a7dddfe1f5 MFC version 1.15 1999-05-11 02:12:49 +00:00
Matt Jacob 7e0811778a MFC: version 1.18 1999-05-11 02:07:30 +00:00
Alan Cox e5da461159 MFC: 1.18 (Clear the undefined bits returned by a rdmsr on the performance
counters.)
1999-05-11 02:04:31 +00:00
David E. O'Brien 02add7cf27 MFC: s/safe_finger/finger/g 1999-05-11 01:35:01 +00:00
David E. O'Brien f9450898da MFC: Impliment elements of TCP Wrappers's `safe_finger'. 1999-05-11 01:34:14 +00:00
Michael Haro e828864589 MFC: s/it/if/ 1999-05-11 01:22:48 +00:00
Bruce Evans 09a5d94c90 MFC (1.142: fixed checking for maddr/msize conflicts). 1999-05-10 23:33:58 +00:00
Kenneth D. Merry 53ad805dde MFC:
Add a new device specification syntax to camcontrol.  It is now possible to
do things like:

camcontrol tur da5
or
camcontrol tur 1:2:0
or
camcontrol tur 1:2

These changes are fully backwards compatible with the original device
specification syntax (-n dev -u unit), so it is possible to use either
method to specify a device now.

The device specification changes do not affect the rescan, reset or debug
commands, since by design, those commands work on a bus or bus:target:lun
basis only.

Also, shorten the default usage statement so that it fits in a 24 column
terminal.  The full usage statement is still available by using the "help"
"-h" or "-?" arguments to camcontrol.

Submitted by:	Joerg Wunsch <[email protected]>
1999-05-10 23:32:53 +00:00
Dmitrij Tejblum 33434b2174 Revert previous commit, since it caused problems.
OKed by:	wosch
1999-05-10 22:28:15 +00:00
Jun Kuriyama 4d3b5a4430 MFC: Fix typo.
Submitted by:	Hiroki Sato <[email protected]>
1999-05-10 22:04:17 +00:00
Bill Paul a05d5900b9 MFC: small patch to ypxfr to allow it to run properly from cron. 1999-05-10 20:57:06 +00:00
David E. O'Brien 4af077e17c Document 'nlpt'->'lpt'
devstat and friends API change
			NOAOUT->WANT_AOUT
1999-05-10 19:56:49 +00:00
David E. O'Brien 3addd1faa0 MFC: NOAOUT --> WANT_AOUT 1999-05-10 19:55:59 +00:00
David E. O'Brien 5c141148eb MFC: move sysctl/ to src/sbin/ due to its installation place 1999-05-10 19:44:31 +00:00
Don Lewis 102783de06 MFC: Fix descriptor leak provoked by KKIS.05051999.003b exploit code. 1999-05-10 18:36:34 +00:00
Luoqi Chen 352fb2b7af MFC: Don't ignore mmap() address hint below the text section. 1999-05-10 17:09:25 +00:00
Doug Rabson 502e0d6c6c Make install target work properly. 1999-05-10 16:27:13 +00:00
Dag-Erling Smørgrav 6521428b09 MFC (with a little help from indent): style cleanup. 1999-05-10 15:20:30 +00:00
Peter Wemm 047063c535 MFC: cvs-1.10 + FreeBSD mods preserved. 1999-05-10 15:00:51 +00:00
Peter Wemm 7db42a1b1f MFC: recognize a few more chips - this was merged ages ago, well before
new-bus.
1999-05-10 13:33:08 +00:00
Peter Wemm 6ef6dd09e2 Add a 4.0-current compatability hack for COMPAT_PCI_DRIVER() to try
and ease portability between -current and -stable.  This won't help
-current to 3.1-RELEASE portability though.
1999-05-10 13:27:37 +00:00
David E. O'Brien 8d7562cb7a MFC: rev 1.7 (operator precedence bug)
PR:		11411
1999-05-10 12:37:25 +00:00
David E. O'Brien 394ebff281 MFC: rev 1.18 (operator precedence bug)
PR:		11415
1999-05-10 12:36:43 +00:00
David E. O'Brien 5820983bd3 MFC: rev 1.72 [operator precedence (nit: in #if 0 code) bug]
PR:		11413
1999-05-10 12:34:33 +00:00
David E. O'Brien 39d3e9adc6 MFC: rev 1.3 [Typo: if (mpu_config = NULL) -> if (mpu_config != NULL)]
PR:		11411
1999-05-10 12:33:08 +00:00
David E. O'Brien 0c1c762972 MFC: rev 1.21 (operator precedence bug)
PR:		11410
1999-05-10 12:31:53 +00:00
David E. O'Brien 3764d773cd MFC: s/size == 0;/size = 0;/ 1999-05-10 12:29:55 +00:00
Jordan K. Hubbard 11ae369bb8 Remove all the 3.1-release specific cruft from here. 1999-05-10 10:54:13 +00:00
Bruce Evans 22cca6e79e MFC (1.15: detect new PCI device IDs; 1.11: added missing newline). 1999-05-10 10:42:17 +00:00
Jordan K. Hubbard 6ba04e4639 Remove COMPAT22 from canned target list (you have to ask for it now). 1999-05-10 09:28:12 +00:00
Jordan K. Hubbard 1979a87cfb Initial attempt at what I believe to be just 3.x-relative changes. 1999-05-10 09:22:47 +00:00
David Greenman e14ca458b9 Backed out changes in rev 1.51.2.1 since it causes a socket leak and there
is insufficient time to troubleshoot this prior to the 3.2 release.
Not backed out from current. Some collateral changes in uipc_socket2.c and
sys/socketvar.h were also not backed out as they are harmless.
1999-05-10 08:30:34 +00:00
Greg Lehey 2afef9116c MFC:
Arrange the "CONFIGURATION FILE" section in the order in which the
entries go into the config file.

Clarify what names can be used for Vinum drives, and what will happen
to you if you use other names.

Forcibly-demonstrated-by:  Thomas Stromberg <[email protected]>
                           Peter K Campbell <[email protected]>
                           George Cox <[email protected]>
                           many others, but those were the only three today.
1999-05-10 08:28:05 +00:00
David E. O'Brien f3a2281771 * Update supported AHA controlers.
* Camcontrol now offers more configurability
* devstat and friends list devices in a "better" order

Submitted by:	Ken Merry
1999-05-10 08:26:32 +00:00
David E. O'Brien db9f323df3 Add install support for ``compat22''.
(oh the fun of hunting down all places I need to fixup for my commit...
so foolish for volenteering...)
1999-05-10 00:50:41 +00:00
Nick Sayer ee05be63eb MFC: securelevel time setting handling code. This has worked
perfectly on a number of RELENG_3 machines since it was added
to -current.
1999-05-09 23:56:12 +00:00
Alan Cox 49b411896a MFC:
Two OBJ_ONEMAPPING maintenance changes:  1. Fix a non-fatal bug
	in vm_map_insert (from 1.149).  2. Remove pointless maintenance
	in vm_map_remove (from 1.160).

	Remove pointless comparisons from vm_map_simplify_entry (from
	1.146).

	Remove an incorrect comment (from 1.159) and
	an unused variable (from 1.155).
1999-05-09 23:22:18 +00:00
Jacques Vidrine e37c20bd91 MFC: 16 characters for the device name in /etc/dumpdates is not long
enough, particularly when using vinum.  Allow 32 characters
(arbitrary, I know) instead.

PR:     bin/11433
1999-05-09 22:33:47 +00:00
Andrzej Bialecki 0658d3c451 Silence message about absence of PnP overrides. 1999-05-09 22:10:58 +00:00
Andrzej Bialecki 7af0e0d91d MFC: deal with recursive MAKEDEV calls.
Submitted by:	Patrick Powell <[email protected]>
1999-05-09 22:04:09 +00:00
Alan Cox e53c398b9e MFC: Disable the "Hint" option in phkmalloc as default.
Reviewed by:	Poul-Henning Kamp <[email protected]>
1999-05-09 18:41:49 +00:00
David E. O'Brien 602b472eee Remove the compat31 dist.
(What the hell is a RELENG_3 tagged src/release/ doing in my -CURRENT tree??)
1999-05-09 16:58:39 +00:00
David E. O'Brien b7c69424cf Turn on both compat22 and compat3x dists. 1999-05-09 16:56:53 +00:00
Kris Kennaway 763d97f5a5 MFC: Typos 1999-05-09 13:43:46 +00:00
Doug Rabson 0e2c856a7e MFC: Rename when building libc_r. 1999-05-09 13:06:54 +00:00
KATO Takenori c00f42460a MFC: Merged updated keyboard driver.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-09 12:57:13 +00:00
Doug Rabson a2b1ce8749 MFC: Remove DDB. 1999-05-09 11:44:39 +00:00
Doug Rabson 8d143d92c7 MFC: More disklabel tweaks for sysinstall 1999-05-09 11:36:22 +00:00
Doug Rabson 9fbc3359ca MFC: Allow sysinstall to access disklabel on alpha. 1999-05-09 11:29:06 +00:00
Kazutaka YOKOTA c7fbf8d173 YAMFC: merge updated keyboard driver code:
- Refined internal interface in keyboard drivers so that:
  1. the side effect of device probe is kept minimal,
  2. polling mode function is added,
  3. and new ioctl and configuration options are added (see below).

- Added new ioctl: KDSETREPEAT
  Set keyboard typematic rate.  There has existed an ioctl command,
  KDSETRAD, for the same purpose.  However, KDSETRAD is dependent on
  the AT keyboard.  KDSETREPEAT provides more generic interface.
  KDSETRAD will still be supported in the atkbd driver.

- Added new configuration options:
  ATKBD_DFLT_KEYMAP
  Specify a keymap to be used as the default, built-in keymap.
  (There has been undocumented options, DKKEYMAP, UKKEYMAP, GRKEYMAP,
  SWKEYMAP, RUKEYMAP, ESKEYMAP, and ISKEYMAP to set the default keymap.
  These options are now gone for good.  The new option is more general.)

  KBD_DISABLE_KEYMAP_LOADING
  Don't allow the user to change the keymap.

- And other minor fixes and updates.

                merged files and revisions
---------------------------------------------------------------------
usr.sbin/kbdcontrol/kbdcontrol.c        1.22, 1.23, 1.24, 1.25
usr.sbin/vidcontrol/vidcontrol.c        1.27

sys/alpha/include/console.h             1.42, 1.43, 1.44

sys/dev/kbd/kbd.c                       1.4
sys/dev/kbd/kbdreg.h                    1.3
sys/dev/kbd/kbdtables.h                 1.45
sys/dev/kbd/atkbd.c                     1.5, 1.8
sys/dev/kbd/atkbdreg.h                  1.2

sys/dev/syscons/syscons.c               1.295, 1.296, 1.299

sys/dev/usb/ukbd.c                      1.9, 1.10, 1.11, 1.12, 1.13

sys/i386/conf/LINT                      1.565
sys/i386/conf/options.i386              1.109
sys/i386/conf/files.i386                1.228
sys/i386/include/console.h              1.45
sys/i386/isa/atkbd_isa.c                1.3
sys/i386/isa/pcvt/pcvt_kbd.c            1.28, 1.29

sys/isa/atkbd_isa.c                     1.2
1999-05-09 11:02:37 +00:00
John Birrell fe4dafab73 MFC: (mostly) Realtime scheduling patches from Dan Eischen. 1999-05-09 07:48:53 +00:00
Peter Wemm bf04e09363 Try and repair RELENG_3 tag spammage (grr!!!)
Somebody tagged this manually (dont do this! use cvs add!) with RELENG_3
and botched it by using a static rather than branch tag.  Then, when trying
to merge these revisions onto the (now broken) branch, they deleted and
recreated the RELENG_3 tag, again using a static rather than branch tag.

Reminder: committers should *NOT* be using 'cvs tag' for RELENG_* tags
*at all*.  To add a file to a releng branch, use cvs add!
1999-05-09 07:48:40 +00:00
Alan Cox 956317d50b MFC: 1.153
Correct an optimization in vm_object_page_remove.
1999-05-09 03:42:08 +00:00
Kenneth D. Merry 15041c8744 MFC:
Add a facility in the CAM error handling code to retry selection timeouts.
If the client requests that the error recovery code retry a selection
timeout, it will be retried after half a second.  The delay is to give the
device time to recover.

For most of these drivers, I only added selection timeout retries where
they were also retrying unit attention type errors.  The sa(4) driver calls
saerror() in a number of places, but most of them don't request retrying
unit attentions.

Also, bump the default minimum CD changer timeout from 2 to 5 seconds and
the maximum timeout from 10 to 15 seconds.  Some Pioneer changers seem to
have trouble with the shorter timeout.

Reviewed by:	gibbs
1999-05-09 01:27:46 +00:00
Nick Hibma 3f66ff1c48 MFC: Check whether the PIRQD enable bit is set in LegSup and
if not, set it.
1999-05-08 23:05:14 +00:00
Nick Hibma 4b898d15d9 MFC: 1999-05-04
problems solved:

1) create function usbd_errstr which turns a usbd_status into a sensible
   error message

2) ohci.c: Interrupt transfers worked only for the first packet.
   The second packet was not seen as finished.

3) change printf to logprintf

4) add definitions for Commun. Device Clas

5) uhci.c: many a change, all problems up to rev. 1.25

6) ums.c: mouse now looks like a mouse systems mouse

7) usbdevs*.h: add loads of device id's

8) lots of textual changes
1999-05-08 23:05:02 +00:00
David E. O'Brien a8a4a22664 Enter 3.2-BETA. This is needed because the packages reflect the version
of the build machine, and we want to get "3.2" in them vs. "3.1".
1999-05-08 21:55:42 +00:00
Kenneth D. Merry 3596a6ff2f MFC: The 2930U2 and 3950U2 are supported by the Adaptec driver. 1999-05-08 21:44:24 +00:00
Kenneth D. Merry 6cfee806db MFC: Devices are hardwired with "unit 0", not "lun 0" as was in these man
pages.

Also, update the pass(4) man page to indicate that some CCBs must be
sent through the xpt(4) device and cannot be sent through a pass device.

PR:		8826
1999-05-08 21:38:47 +00:00
John Polstra e287965a4c MFC: Add pam_deny and pam_permit modules. Add account management to
the pam_unix module.
1999-05-08 21:32:02 +00:00
Doug Rabson 89c4cb151a MFC: More alpha-related fixes. 1999-05-08 21:24:08 +00:00
Doug Rabson 2fb750faa4 MFC: gdb-4.18 1999-05-08 19:22:59 +00:00
Doug Rabson baab252f42 MFC: Various alpha fixes and other cleanups. 1999-05-08 19:10:14 +00:00
David E. O'Brien c946a7dcf1 Hookup compat22 (a.out) libs. 1999-05-08 18:50:08 +00:00
David E. O'Brien 23a2d6291a MFC: update 1999-05-08 18:10:05 +00:00
David E. O'Brien 9c78917e0d MFC: update to v2.0b1pl27 1999-05-08 18:05:19 +00:00
David E. O'Brien 5b4fdd7879 MFC: 2.2.x / a.out compatability libraries. 1999-05-08 17:57:11 +00:00
cvs2svn 042a92d243 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-08 17:54:03 +00:00
Stephen McKay 86b9c2af7a MFC: Flood ping fix, -l option fix, egcs warning fix, -S documentation.
Now equivalent to ping.c 1.44 and ping.8 1.20.

PR:	9308
1999-05-08 15:42:42 +00:00
Kenjiro Cho a63e33c48e MFC: clean up en atm driver
o fix DDB support
   o back out pvc shadow interface support
   o misc minor cleanup
1999-05-08 14:34:36 +00:00
Doug Rabson 15d94e3c20 MFC: Install gdbserver and gdbreplay in the right place. 1999-05-08 12:10:08 +00:00
Doug Rabson 3dadfb3733 MFC: declare the return address register so gdb can see it. 1999-05-08 11:47:54 +00:00
Doug Rabson c69cb87ed0 MFC: Needed for gdb-4.18 1999-05-08 11:39:19 +00:00
Kris Kennaway ff535ac290 MFC: Spelling/formatting fixes. 1999-05-08 10:43:20 +00:00
Doug Rabson 7dbd42c163 MFC: Another missing file from the big gdb merge. 1999-05-08 10:01:33 +00:00
Doug Rabson c9c9e5cd86 MFC: A couple of stragglers from gdb-4.18 1999-05-08 09:11:26 +00:00
Doug Rabson d1b654984a MFC: Import gdb-4.18
Approved by: core
1999-05-08 08:58:48 +00:00
Roger Hardiman cd884e45a6 MFC
Include PCI NE2000 cards which are supported
Include Bt878 support
1999-05-08 06:53:28 +00:00
Roger Hardiman 934628f34f MFC. Bring in recent changes from -current.
This makes the driver identical to CVS 1.70 (authors version 1.61)

This includes the code to prevent kernel hangs when
row=0 or columns=0
1999-05-08 06:29:19 +00:00
Jordan K. Hubbard 2db95744e8 MFC: C++ safe. 1999-05-08 05:50:40 +00:00
Alan Cox 8ef7005df6 MFC: rev 1.52
nfs_realign:
	Check for badly aligned mbuf data and realign by copying the unaligned
	portion of the data into a new mbuf chain and freeing the portions
	of the old chain that were replaced.

	We cannot simply realign the data within the existing mbuf chain
	because the underlying buffers may contain other rpc commands and
	we cannot afford to overwrite them.

Submitted by:	Matthew Dillon <[email protected]>
1999-05-08 04:58:29 +00:00
Daniel C. Sobral 75c1c3a63d MFC. Do not lowercase Joliet cd's filenames.
Submitted by:	Motomichi Matsuzaki <[email protected]>
1999-05-08 04:38:22 +00:00
cvs2svn e2b3ce7fb6 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-08 01:59:28 +00:00
Julian Elischer abf5dbcd9a Handle the case when the default handler doesn't want to take the device.
Pointy hat dispensed by: Mike Spengler <[email protected]>
1999-05-08 00:28:13 +00:00
Julian Elischer 2d9e682ba3 Allow a specific driver to wrest control of a device from
the generic "chipset" driver if it knows more about it than the generic
driver does. Not an MFC because doug and co are doing it differently
in the new-bus world.

Reviewed by: Doug Rabson <[email protected]>
1999-05-07 23:43:07 +00:00
Doug Rabson 9a9730445b MFC: Use correct definition of Elf_Note for 64bit platforms. 1999-05-07 22:11:03 +00:00
Doug Rabson e7c7d2ac1d MFC: One more patch to console.h for the new syscons. 1999-05-07 22:06:11 +00:00
Daniel C. Sobral 9b4e141141 Update loader's version. -stable can boot kernels at different
load addresses.
1999-05-07 15:24:22 +00:00
Foxfair Hu c23c31e10b MFC, fix _BIG5_sgetrune() in libc.
PR:		10918
Submitted by:	Yung-Jen Hung <[email protected]>
1999-05-07 13:29:31 +00:00
Jordan K. Hubbard 28f7c6e0d8 MFC: give each dog its day. 1999-05-07 11:45:50 +00:00
Jordan K. Hubbard 27f1887362 MFC: allow kget to be disabled. 1999-05-07 11:03:23 +00:00
Jordan K. Hubbard 11f68b317a MFC: various fixes over the last 2 days. 1999-05-07 10:42:32 +00:00
Andrzej Bialecki a6f12c1bd5 Assorted fixes to PicoBSD in preparation for 3.2-RELEASE:
* use system's kget instead of TinyWare version
* use /bin/sh instead of Ash - it was old, and not much smaller
* remove unused MIB files
* check for kzip stubs, and build them if necessary
* slightly update the docs
* use newer /boot/ contents
* use my own greeting menu.
* fix a couple of bugs in scripts
* bump revision number to 0.44

Submitted by:	me && various people from freebsd-small
1999-05-07 10:04:45 +00:00
Doug Rabson 5403a39580 MFC: Use the new syscons on alpha. 1999-05-07 09:03:06 +00:00
Doug Rabson 93584e0168 MFC: Most non-newbus and non-vm changes to the alpha port since the
3.1 branch was started, including:
* Crashdumps
* Fixes to spl
* Sysctls to control unaligned accesses
* Use the new syscons driver instead of the old one.
* A few other minor fixes and cleanups.
1999-05-07 09:02:05 +00:00
Jason Evans 96e5841b40 Apply patch included in bin/8872. This fixes a bug that occurs when
pthread_cond_timedwait() times out.
1999-05-07 07:54:03 +00:00
Mark Murray b5e9082618 MFC: don't wrap internal services for now. 1999-05-07 06:50:28 +00:00
John Polstra ad4c2af283 MFC: Enable MS-CHAP support.
pppd/Makefile:    1.12  -> 1.13
release/Makefile: 1.479 -> 1.480
1999-05-07 04:29:12 +00:00
Julian Elischer b6b4b2803f MFC: Fix mis-identified chip 1999-05-07 04:06:38 +00:00
Kenneth D. Merry 74775eaafa MFC: Add a number of interrelated CAM feature enhancements and
bug fixes.

NOTE:  These changes will require recompilation of any userland
applications, like cdrecord, xmcd, etc., that use the CAM passthrough
interface.  A make world is recommended.

camcontrol.[c8]:
 - We now support two new commands, "tags" and "negotiate".

	- The tags commands allows users to view the number of tagged
	  openings for a device as well as a number of other related
	  parameters, and it allows users to set tagged openings for
	  a device.

	- The negotiate command allows users to enable and disable
	  disconnection and tagged queueing, set sync rates, offsets
	  and bus width.  Note that not all of those features are
	  available for all controllers.  Only the adv, ahc, and ncr
	  drivers fully support all of the features at this point.
	  Some cards do not allow the setting of sync rates, offsets and
	  the like, and some of the drivers don't have any facilities to
	  do so.  Some drivers, like the adw driver, only support enabling
	  or disabling sync negotiation, but do not support setting sync
	  rates.

 - new description in the camcontrol man page of how to format a disk
 - cleanup of the camcontrol inquiry command
 - add support in the 'devlist' command for skipping unconfigured devices if
   -v was not specified on the command line.
 - make use of the new base_transfer_speed in the path inquiry CCB.
 - fix CCB bzero cases

cam_xpt.c, cam_sim.[ch], cam_ccb.h:

 - new flags on many CCB function codes to designate whether they're
   non-immediate, use a user-supplied CCB, and can only be passed from
   userland programs via the xpt device.  Use these flags in the transport
   layer and pass driver to categorize CCBs.

 - new flag in the transport layer device matching code for device nodes
   that indicates whether a device is unconfigured

 - bump the CAM version from 0x10 to 0x11

 - Change the CAM ioctls to use the version as their group code, so we can
   force users to recompile code even when the CCB size doesn't change.

 - add + fill in a new value in the path inquiry CCB, base_transfer_speed.
   Remove a corresponding field from the cam_sim structure, and add code to
   every SIM to set this field to the proper value.

 - Fix the set transfer settings code in the transport layer.

scsi_cd.c:

 - make some variables volatile instead of just casting them in various
   places
 - fix a race condition in the changer code
 - attach unless we get a "logical unit not supported" error.  This should
   fix all of the cases where people have devices that return weird errors
   when they don't have media in the drive.

scsi_da.c:

 - attach unless we get a "logical unit not supported" error

scsi_pass.c:

 - for immediate CCBs, just malloc a CCB to send the user request in.  This
   gets rid of the 'held' count problem in camcontrol tags.

scsi_pass.h:

 - change the CAM ioctls to use the CAM version as their group code.

adv driver:

 - Allow changing the sync rate and offset separately.

adw driver

 - Allow changing the sync rate and offset separately.

aha driver:

 - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs.

ahc driver:

 - Allow setting offset and sync rate separately

bt driver:

 - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs.

NCR driver:

 - Fix the ultra/ultra 2 negotiation bug
 - allow setting both the sync rate and offset separately

Other HBA drivers:
 - Put code in to set the base_transfer_speed field for
   XPT_GET_TRAN_SETTINGS CCBs.

Reviewed by:	gibbs, imp (aha), mjacob (isp)
1999-05-07 00:43:47 +00:00
Julian Elischer d52c5dc180 MFC: Add two cyrix devices to list. 1999-05-06 21:29:00 +00:00
Bill Fumerola 8664245276 MFC: 1.9 -> 1.10, wording clarification. 1999-05-06 20:53:16 +00:00
David E. O'Brien ff519631cb Actually install rc.diskless{1,2}. MFC rev 1.189 & 1.194 1999-05-06 16:48:17 +00:00
David E. O'Brien d14c3f9956 MFC: rev 1.195 (hosts.allow) 1999-05-06 16:43:01 +00:00
Bill Paul afc06b19f4 MFC: stability fixes for Macronix driver, small performance tweaks for
ASIX, PNIC, Winbond, VIA Rhine and ThunderLAN drivers.
1999-05-06 15:39:40 +00:00
Dmitrij Tejblum 94d80749aa MFC: fight with false newlines. 1999-05-06 14:12:25 +00:00
Nick Hibma 4a0142ec1b MFC: Via Controllers reset FRLBASE register as well. 1999-05-06 13:48:01 +00:00
Jordan K. Hubbard 5f1936e2bd MFC: correct includes. 1999-05-06 11:33:15 +00:00
David E. O'Brien 0f76fe90ef MFC: rev 1.14 (example changes) 1999-05-06 06:01:08 +00:00
Dmitrij Tejblum f098300238 MFC: pread() and pwrite(). 1999-05-05 23:19:59 +00:00
Dmitrij Tejblum d4c56fd0d8 MFC: wrappers and docs for pread() and pwrite(). 1999-05-05 23:18:50 +00:00
Dmitrij Tejblum 76f334d1dc Regenerate (pread and pwrite). 1999-05-05 22:59:29 +00:00
Mike Smith cddecf062d We need to downgrade emacs on freefall. 1999-05-05 22:56:42 +00:00
Dmitrij Tejblum 4fbbeaacb9 MFC: pread() and pwrite(). 1999-05-05 22:53:07 +00:00
Mike Smith 37f5cc50f4 *** empty log message *** 1999-05-05 22:51:12 +00:00
Dmitrij Tejblum c0d0cd800b MFC: added fsseko() and ftello(); fgetpos() and fsetpos() fixed for files
>2GB.
1999-05-05 22:18:12 +00:00
Dmitrij Tejblum f9b77ed91e MFC: fseeko() and ftello(). 1999-05-05 22:14:47 +00:00
Brian Somers 24d2a58f62 MFC: Use realhostname() & trimdomain(). 1999-05-05 21:20:30 +00:00
David E. O'Brien 0f35bdc2bc MFC. 1999-05-05 20:47:42 +00:00
Mark Murray c564bd9bdb MFC: Remove $Log garbage that was breaking folk. 1999-05-05 19:42:40 +00:00
David E. O'Brien 5bfad96145 * Note that TCP Wrappers is now in base system for 3.2-RELEASE
* reorder one network driver description to be with the others and simular
  in format
* note that 'nlpt' is now just 'lpt'
* reformat one of my previous entries
1999-05-05 19:01:28 +00:00
David E. O'Brien 496f78d6ae MFC: hookup to libwrap/tcp_wrappers. 1999-05-05 18:52:17 +00:00
David E. O'Brien ea5403035e MFC: hookup to libwrap now in base system. 1999-05-05 18:36:25 +00:00
Bill Paul 724ee56a93 MFC: Dynamically adjust TX start threshold in the face of tx underruns. 1999-05-05 17:10:49 +00:00
Mark Murray 871cf3db01 MFC: system Perl is now 5.00503! 1999-05-05 13:28:53 +00:00
Mark Murray b614eb8521 MFC: bump Perl5 maintenance release number. 1999-05-05 13:26:39 +00:00
Mark Murray eacf4eb59f MFC: remove dependancy on Perl5 libraries to avoid circular dependancy loop. 1999-05-05 13:24:14 +00:00
Mark Murray 7fc07d64c6 MFC: increment Perl5 maintenance relase number. 1999-05-05 13:22:35 +00:00
Mark Murray a4b1c1e859 MFC: Upgrade to Perl 5.00503 1999-05-05 13:19:09 +00:00
Jordan K. Hubbard a5c799ba65 Add fire screen saver. 1999-05-05 11:48:11 +00:00
Jordan K. Hubbard a3f13fa1cb MFC: sync up with latest non-experimental (or WIP) changes. 1999-05-05 11:34:44 +00:00
Jordan K. Hubbard b5a68f14ed MFC: typos 1999-05-05 10:22:11 +00:00
Jordan K. Hubbard 1c622283dd MFC: bogon fixed. 1999-05-05 10:14:35 +00:00
Andrzej Bialecki 282da5aadd MFC: new revision of Simple_HTTPd.
Submitted by:	William Lloyd <[email protected]>
Reviewed by:	abial
1999-05-05 07:31:33 +00:00
Joseph Koshy b424d3f3b0 MFC: {rev 1.4} clarify format of exit code, add xrefs. 1999-05-05 06:09:48 +00:00
Joseph Koshy 216d2b1ab9 MFC: {rev 1.3} correct typo. 1999-05-05 05:58:31 +00:00
Joseph Koshy 45a9ff79e3 MFC: {rev 1.2} correct .Nm misuse. 1999-05-05 05:56:48 +00:00
Greg Lehey 60dc056e17 st -> sa 1999-05-05 05:47:40 +00:00
Joseph Koshy 32f2e7f915 MFC: {rev 1.4} typo fixes. 1999-05-05 05:47:14 +00:00
Joseph Koshy d737d9e774 MFC: {rev 1.4} correct prototype for tigetstr(). 1999-05-05 05:43:50 +00:00
Joseph Koshy f6992ec912 MFC: {rev 1.6} "sd","st"->"da","sa"; correct xrefs. 1999-05-05 05:42:11 +00:00
Greg Lehey fd8b7b9ae1 MFC: Bring up to date with -CURRENT
struct drive: add fields for debugging lockdrive deadlocks.

Remove some dead variables.

Change DEBUG_EXITFREE to DEBUG_WARNINGS.
1999-05-05 05:21:39 +00:00
Greg Lehey c15fcb3401 MFC: Bring up to date with -CURRENT
sizespec:
  Implement scaling letter 's' to mean 'sectors' (of 512 bytes).

Requested-by: Steve Taylor <[email protected]>
1999-05-05 05:21:12 +00:00
Greg Lehey b15e90e500 MFC: Bring up to date with -CURRENT
set_sd_state:
  If a drive is down, take "empty" sds down.  Previously they were
  unchanged, which cause set_plex_state to take them up under some
  circumstances.

set_sd_state:
  Don't change state from reborn to reborn.  This caused a silly
  warning message.
1999-05-05 05:20:33 +00:00
Greg Lehey 940d06fd1d MFC: Bring up to date with -CURRENT
When VINUMDEBUG is set, add function basename() to return the base
name of a file.  Used by MMalloc and lockdrive.

vinum_mallocinfo:
  Set the entry number correctly.
1999-05-05 05:20:01 +00:00
Greg Lehey 5fe2c37c4d MFC: Bring up to date with -CURRENT
lockdrive: Add debug calls to catch occasional deadlocks on drives.
           The problem is probably gone, but the debug checks remain
           for a while.
1999-05-05 05:19:28 +00:00
Greg Lehey 61a3a5d771 MFC: Bring up to date with -CURRENT
Add flag keyword w.
1999-05-05 05:18:57 +00:00
Greg Lehey b2582df6f8 MFC: Bring up to date with -CURRENT
daemon_save_config:
  Fix a potential drive deadlock when saving config to a non-existent
  drive.

Add debug calls to catch occasional deadlocks on drives.  The problem
(above) is probably gone, but the debug checks remain for a while.

close_drive:
  If a drive has gone down and has dirty buffers associated with it,
  we'll get a panic when we try to vn_close it.  Check for this
  situation and discard any buffers; they're toast anyway.

  Only complain about usage count if DEBUG_WARNINGS is set.

check_drive:
  Change parameter name from drivename to devicename.

  Get the check for a referenced drive right.

  If the partition isn't a vinum drive, set the last error to ENODEV.

vinum_scandisk:
  Change parameter name from drivename [] to devicename [].
1999-05-05 05:18:16 +00:00
Greg Lehey 34d78464b5 MFC: Bring up to date with -CURRENT
Define macro LOCKDRIVE for debugging drive locking deadlocks.
1999-05-05 05:17:39 +00:00
Greg Lehey 3c31815966 MFC: Bring up to date with -CURRENT
Add declaration for basename()
Change lockdrive definition if VINUMDEBUG is set.
1999-05-05 05:17:08 +00:00
Greg Lehey 59afe3ccb2 MFC: Bring up to date with -CURRENT
update_plex_config: Eliminate a potential divide-by-zero.

Add debug calls to catch occasional deadlocks on drives.  The problem
is probably gone, but the debug checks remain for a while.

update_plex_config: Catch yet another divide-by-zero problem when
                    detaching the last subdisk from a striped plex.

Uncovered-by: Michael Reifenberger <[email protected]>
1999-05-05 05:16:20 +00:00
Greg Lehey bf2f0ac01c MFC: Bring up to date with -CURRENT
free_vinum: clear up a warning message.

Update description of how to analyse kernel dumps.

Get extern declarations right.

Change DEBUG_EXITFREE to DEBUG_WARNINGS.
1999-05-05 05:15:37 +00:00
Greg Lehey 2c0dd9d930 MFC: Bring up to date with -CURRENT
Update description of how to analyse kernel dumps.
1999-05-05 05:14:16 +00:00
Greg Lehey fc023e2acc MFC: Bring up to level of -CURRENT
Document -w option for init command.
Reorganize OPTIONS section into alphabetical order.

Update documentation of new functions.

Describe new scale letter for sizes: 's' (sector) instead of 'b'
(block).  Both mean 512 bytes, but 'b' is deprecated because it's
confusing.

Requested-by: Steve Taylor <[email protected]>

Document log file and environment variables.
1999-05-05 05:13:09 +00:00
Greg Lehey 989d798c0b MFC: Bring up to level of -CURRENT
If the wrong version of vinum(8) has been started (i.e. non-RAID-5
when the kernel module is RAID-5, or the other way round), execve()
the correct one.

Add \n to an error message.

Add -w option to init command: wait for init to complete before
returning.

When looking at all objects, look at all objects.

main:
  If the wrong version is started, execve the correct version.
Maintain a log file, by default /var/log/vinum.history, showing what
has been done.  This name can be overridden by the value of the
VINUM_HISTORY environment variable.

Print dates in log file according to the variable VINUM_DATEFORMAT, by
default %e %b %Y %H:%M:%S.

timestamp:
  Assign explicit variable for sec to get it to compile on Alpha.

Add definitions for history functions and printconfig split.
1999-05-05 05:11:14 +00:00
Greg Lehey 7577d4a625 MFC: Bring up to level of -CURRENT
If the wrong version of vinum(8) has been started (i.e. non-RAID-5
when the kernel module is RAID-5, or the other way round), execve()
the correct one.

Add \n to an error message.
  When looking at all objects, look at all objects.

vinum_lsi:
  Print rough size of plex in parentheses.
  Print drive info with -v option (previously required -V).

printconfig:
  split into vinum_printconfig (interactive) and printconfig (called
  from vinum_printconfig and from vinum_create when starting an
  interactive update.
1999-05-05 05:10:38 +00:00
Greg Lehey c5ab2aae45 MFC: Bring up to -CURRENT level.
If the wrong version of vinum(8) has been started (i.e. non-RAID-5
when the kernel module is RAID-5, or the other way round), execve()
the correct one.

Add \n to an error message.

Add -w option to init command: wait for init to complete before
returning.

vinum_init: count dead children correctly when waiting for completion.

vinum_resetstats: count objects correctly.

vinum_create:
  If no file name is specified, create one and edit it with the editor
  specified in the EDITOR environment variable, by default vi.

vinum_help:
  Update.
1999-05-05 05:09:46 +00:00
Joseph Koshy 4c65a585fd MFC: {rev 1.3} Typo fixes. 1999-05-05 03:05:52 +00:00
Masafumi Max NAKANE b57a57c88f MFC: typo fix. 1999-05-05 00:23:37 +00:00
Jordan K. Hubbard 50130e81be MFC: various updates. 1999-05-04 23:27:50 +00:00
Guy Helmer 258c0250b0 MFC: Make "\n" appear in sample C code.
PR:		docs/10708
1999-05-04 21:06:06 +00:00
Bill Paul b538a2a9c8 MFC: fix media selection for 3c900B-FL 10baseFL adapter. (This only affects
the media selection code a little and should not impact any working adapters,
so it should be safe to merge into -stable.)
1999-05-04 20:54:48 +00:00
Guy Helmer ecc07bc248 MFC: Use Cd macro for SYNOPSIS.
PR:		docs/10495
1999-05-04 20:51:14 +00:00
Guy Helmer e44c3c01ed MFC: Use Cd macro instead of Em. Added $Id$.
PR:		docs/10494
1999-05-04 20:45:31 +00:00
Guy Helmer 42d48b7aaf MFC (rev 1.7->1.8): writev(2) can return EDESTADDRREQ when attempting to
write to a UNIX domain socket on which connect(2) had been used to set a
destination address and the destination goes away.

PR:		docs/10451
1999-05-04 20:12:55 +00:00
Guy Helmer 77a7793c17 MFC (rev 1.26): Add -A to SYNOPSIS.
PR:		docs/10771
1999-05-04 19:46:55 +00:00
Justin T. Gibbs 81586eb332 MFC: Don't touch a path after we've free'd it. 1999-05-04 19:25:53 +00:00
Guy Helmer 4b1eef8024 Mention the special destination "default" for default routes. Fix a
couple of formatting bugs.

PR:		docs/9960
1999-05-04 18:41:32 +00:00
Guy Helmer dadb2ab7ab MFC: Add missing parenthesis. Change "hardware block" to "SCSI
logical block".
While I'm here, fix dangling "to".

PR:		docs/9940
1999-05-04 18:24:20 +00:00
Guy Helmer 3be3510ac8 MFC: Correct SYNOPSIS.
PR:		docs/9658
1999-05-04 18:15:05 +00:00
Dag-Erling Smørgrav 053e642481 MFC rev 1.50, and somebody pass me the pointy hat please... 1999-05-04 18:05:51 +00:00
Guy Helmer 2b9d2250d6 MFC: Add "#include <machine/param.h>" to SYNOPSIS to get PAGE_SIZE.
PR:		docs/8464
1999-05-04 18:01:18 +00:00
Guy Helmer 9b11d1ffaf MFC: Note the effect of close(2) on fcntl(2) record locks.
PR:		docs/3522
1999-05-04 17:49:49 +00:00
Luigi Rizzo 41bfb65394 MFC: free the dummynet header in ip_dummynet, not in the called
routine.
1999-05-04 16:24:00 +00:00
Masafumi Max NAKANE 9a40e3d99d Merge the serial console related tweaks from -current. 1999-05-04 16:17:57 +00:00
Guy Helmer 25e9f0f313 MFC: Spelling correction.
PR:		10824
1999-05-04 13:53:19 +00:00
KATO Takenori bedb4bf046 MFC: Fixed the mpu driver.
Supported the nss (NEC PC-9801-86 Sound System) driver.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-05-04 13:42:06 +00:00
Dmitrij Tejblum 2fee0568bc MFC rev. 1.21: 'll' modifier. 1999-05-04 13:06:29 +00:00
KATO Takenori c358441c94 MFC: fixed misused FE_D6_BBW. 1999-05-04 13:01:39 +00:00
Dmitrij Tejblum 9d8e25d6e6 MFC: rename a function to avoid conflicts with the 'pwrite' syscall. 1999-05-04 12:54:59 +00:00
Kris Kennaway af6f20e511 MFC: Better explanation of disk parameters. 1999-05-04 12:16:19 +00:00
Kris Kennaway 915918da08 MFC: Update comment about PPP. 1999-05-04 12:12:01 +00:00
Kris Kennaway 1080c69532 MFC: Clarify comment about legacy booting.
Reviewed by:	Robert Nordier
1999-05-04 12:08:16 +00:00
Kris Kennaway 5a7433a29d MFC: Clarify comment. 1999-05-04 12:04:49 +00:00
Kris Kennaway 345fb31e6e MFC: Typo 1999-05-04 12:01:54 +00:00
Kris Kennaway e364f59cc6 MFC: Manpage updates
Reviewed by:	Doug Rabson
1999-05-04 11:57:17 +00:00
Kris Kennaway 27e912e459 MFC: Wording changes. 1999-05-04 11:48:16 +00:00
Kris Kennaway 1ff9f190ba MFC: Off-by-one error. 1999-05-04 11:34:55 +00:00
Roger Hardiman 931b188996 Updated to support motherboards using APIC
(ie SMP machines)
This change is cleaner than the APIC_IO changes I made
to 4.x-currente in version 1.68
1999-05-04 10:58:10 +00:00
Brian Somers 0e15ae2dfb MFC: Add missing ``.''. 1999-05-04 10:56:49 +00:00
Brian Somers 64bd17c8a9 MFC: AmbiCom Inc NIC 1999-05-04 08:39:49 +00:00
Luigi Rizzo b28959877c MFC -- assorted dummynet cleanups 1999-05-04 07:47:45 +00:00
Jun Kuriyama ccc55de9e7 MFC: Activate pccardc.8. 1999-05-04 01:46:56 +00:00
Mike Smith 83bc02abac MFC: disable ppc chipset-specific probes by default. 1999-05-04 00:15:55 +00:00
Brian Somers 275d733d20 MFC: 3Com/Noteworthy 56k modem 1999-05-03 19:09:58 +00:00
David E. O'Brien 28f5b99bee MFC: rev 1.21 -- tcp_wrappers 1999-05-03 18:05:26 +00:00
David E. O'Brien eaa7dc2fa2 Really support tcp_wrappers in inetd this time. 1999-05-03 16:32:54 +00:00
Jun Kuriyama 1092b4ce28 MFC: New translation of pccardc.8.
Obtained from:	PAO (written in Japanese)
Reviewed by:	[email protected]
		[email protected]
		Randy Bush <[email protected]>
		Bill Trost <[email protected]>
		Bruce Campbell <[email protected]>
1999-05-03 11:20:37 +00:00
Greg Lehey 03ff6ee418 MFC: Add variable start_vinum. If set to YES, it will start vinum and
automagically find all the partitions.  This is to be preferred to the
somewhat emetic usage of vinum_slices and the equally obnoxious 'vinum
read' command.

Prodded-by: Don Lewis <[email protected]>
1999-05-03 08:13:55 +00:00
Torsten Blum 3749293d5c MFC: Install uuxqt sgid uucp. Since "rnews" should not be executable for
everyone (to prevent fake-postings) and modern Inn installs
     rnews as news.uucp and mode 4550 this is the only save way to allow
     uuxqt to process rnews batches.
1999-05-02 20:44:23 +00:00
cvs2svn 9845cb14aa This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-05-02 19:50:19 +00:00
Tim Vanderhoek be65909220 MFC: DOS sucks. 1999-05-02 18:18:04 +00:00
Tim Vanderhoek 4418a331b9 MFC: count crlfs as one character 1999-05-02 18:15:56 +00:00
Guy Helmer e08558e403 MFC: "Location" -> "Office Location", "#ifdef 0" -> "#if 0", additional
braces to clarify "else" statements.
1999-05-02 15:03:18 +00:00
Brian Somers 518311f7ff MFC: Handle receiving more than one acceptable CCP REQ
during one negotiation session without REJecting
     everything from the second REQuest.
1999-05-02 14:34:29 +00:00
Kris Kennaway 806fe20640 MFC: Manpage, code cleanups. 1999-05-02 13:22:57 +00:00
Kris Kennaway 3931918c88 MFC: POSIX.2 compliance, manpage cleanups. 1999-05-02 13:20:15 +00:00
Kris Kennaway f5744003e5 MFC: Fix display of example usage. 1999-05-02 13:08:32 +00:00
Kris Kennaway 1ea13e964e MFC: Add tty, kmem, bind & pop 1999-05-02 13:07:01 +00:00
Kris Kennaway 4e8b3aa480 MFC: Clarify wording. 1999-05-02 13:05:35 +00:00
Kris Kennaway 9e8efa4b46 MFC: Rewrite manpage and add 'default' feature. 1999-05-02 12:18:53 +00:00
Kris Kennaway f3ff5eeab4 MFC: Formatting fix. 1999-05-02 12:14:35 +00:00
Kris Kennaway 65eed2a560 MFC: Typo fix. 1999-05-02 12:12:21 +00:00
Kris Kennaway 5a32af6922 MFC: Various manpage fixes. 1999-05-02 12:06:56 +00:00
Brian Somers d54ea4f96b MFC: Use realhostname() and trimdomain().
main() returns int
     Silence egcs (yeah, I know....)
     Reprompt if given an empty login name in uucpd
     Correct errno handling in uucpd.
1999-05-02 09:36:22 +00:00
Brian Somers 8ab192d7fd MFC: Use ``set device "!program args"''. 1999-05-02 09:32:46 +00:00
Brian Somers 2ad1ffb5ec MFC: NetBSD changes
``set device'' changes
     AFCComp man page description

I haven't merged the port 80/81 changes as they've been
questioned :-/
1999-05-02 08:59:55 +00:00
Brian Somers 60365350dc MFC: Add some const keywords and fix some typos in man pages.
Fix and document trimdomain and make it handle DISPLAY names.
     Switch to the correct user before reading .login_conf.
     Add realhostname().
1999-05-02 08:50:53 +00:00
David E. O'Brien cf0db3a1d2 Mention that SMM:13 (Amd) is now in /usr/share/info.
PR:		7359
Submitted by:	Alec Wolman <[email protected]>
1999-05-02 07:49:52 +00:00
David E. O'Brien 4c49111cba MFC: turn on Info files. 1999-05-02 07:29:45 +00:00
Kris Kennaway ba29cd8246 MFC: Allow -v to adjust the seconds. 1999-05-02 06:28:09 +00:00
Kris Kennaway 3e09079767 MFC: Formatting/typo/correction changes. 1999-05-02 06:13:50 +00:00
Nate Williams 81193b6d2f MFC: Recognize alot more PCI/CardBus bridges so FreeBSD works on more
laptops out of the box.

From Torsten Blum, PAO via Nick Sayer, and myself.
1999-05-02 05:59:13 +00:00
Kris Kennaway 282d94eca8 MFC: Document recent additions to rc.conf.
For some reason CVS wasn't showing me these diffs when I did a
'cvs diff -rRELENG_3 -rHEAD' in the -stable directory, but they (along with
some other files) showed up when I did the same command from my -current
repository. CVS bug?
1999-05-02 05:54:48 +00:00
Kris Kennaway 4912e09a38 MFC: Typo/formatting fixes (add $Id$ to tx.4) 1999-05-02 05:42:45 +00:00
Kris Kennaway d29ec65789 MFC: Various typo/formatting fixes. 1999-05-02 05:34:31 +00:00
Kris Kennaway 580a29f7d2 MFC: 1.5 and 1.6 (grammar/punctuation changes). 1999-05-02 05:22:44 +00:00
Tim Vanderhoek 8bd73de6bc CFC: misref to /usr/share/mk/bsd.port.mk 1999-05-02 05:06:30 +00:00
David E. O'Brien fe1c608ca7 MFC: rev 1.12 (sd -> da / st -> sa) 1999-05-02 00:40:01 +00:00
David E. O'Brien 1f25d4bbc9 MFC: add TCP Wrappers support.
(also sorted manpage references and emblished the history a little)
1999-05-01 22:01:52 +00:00
Dag-Erling Smørgrav 4bb40b914f MFC: Fascist mode (do not open a datagram socket at all). 1999-05-01 18:49:17 +00:00
Bill Paul 6044915a3b Merge changes in from -current. I asked for people to test this for
me. I got *two* (2) positive replies and nothing else. People seem
to have an easier time complaining than they do testing fixes. I'm through
waiting. I'm confident this fixes the watchdog timeout problems, so
here it is. Deal with it.
1999-05-01 17:12:15 +00:00
Dmitrij Tejblum 9dcf3459a3 MFC rev.1.22: fix transfer of files >2GB.
Reminded by:	kris
1999-05-01 15:24:39 +00:00
Kris Kennaway 6950856d78 MFC: md5 -t fixes. 1999-05-01 15:09:49 +00:00
Jordan K. Hubbard 3b8d84b232 MFC: src menu reshuffle 1999-05-01 11:28:41 +00:00
SADA Kenji 371e7b0172 Make release would fail for lack of /etc/resolv.conf or $DISTFILES/
PR:	misc/9913
Submitted by:	YAMAMOTO Shigeru <[email protected]>
Forgotton by:	sada
1999-05-01 07:45:31 +00:00
Jordan K. Hubbard a75239c62a MFC: remove obsolete info 1999-05-01 03:37:29 +00:00
Andrey A. Chernov 54b3520f49 MFC: linger time in seconds 1999-04-30 19:55:04 +00:00
Bill Paul aa95b58b12 Add Tigon man page to Makefile 1999-04-30 19:35:08 +00:00
Bill Paul 46fec0ff03 Add the Alteon gigabit ethernet driver to -stable. It's been in -current
for a while now and there have been no complaints. Note: I have not merged
the vlan changes from -current, but you can still use the Tigon driver
without them.

Note2: I have also updated if_media.h to include the fiber optic ethernet
media types, including 1000baseSX which this driver needs.
1999-04-30 19:32:47 +00:00
Tim Vanderhoek d63de9794f MFC: "passwordtime" not "passwordperiod".
Discrepency-first-noticed-by: Luke <[email protected]>
Original-change-from-"passwordperiod"-by: committer of r.1.20 of
                                          local_passwd.c
1999-04-30 18:48:14 +00:00
Bill Paul 819d53c4d8 MFC: close PR# 10971. 1999-04-30 17:01:06 +00:00
Bill Paul c14a5c2599 MFC: close PR #10970 1999-04-30 16:45:24 +00:00
KATO Takenori 810fc904de Added $Id$. 1999-04-30 07:31:17 +00:00
Tim Vanderhoek 936438ff81 CFC: r.1.13: fix typos 1999-04-30 06:38:13 +00:00
Wes Peters fb822e1533 Fix strptime per Posix/Single UNIX Specification requirements.
Submitted by:	Sergey Babkin <[email protected]>
1999-04-30 06:01:45 +00:00
Tim Vanderhoek 20a75ac1dd The bsd.port.mk has moved. 1999-04-29 21:41:11 +00:00
Guy Helmer bd772ce0ef MFC: accept(2) can fail with EINTR.
PR:		docs/8858
1999-04-29 20:35:45 +00:00
Bill Paul 1d96151641 MFC: avoid letting child processes have their own children 1999-04-29 20:31:06 +00:00
Peter Wemm 49a4648681 Report byte count in >2G archives correctly
PR:		11389
Submitted by:	Adrian Chadd <[email protected]>
1999-04-29 20:00:47 +00:00
Guy Helmer b822599764 MFC: Explain when packets are tested by the firewall rules and what attributes
of packets can be tested.  Fix spelling and punctuation.  mdoc-ify lots
of punctuation.

PR:             docs/7437
MFC-Requested-By:	David O'Brien <[email protected]>
1999-04-29 19:22:13 +00:00
cvs2svn 8c1b14b02b This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-04-29 16:27:52 +00:00
Joseph Koshy d7c1a7a4a3 MFC: {rev 1.3} Add xref to nologin(5). 1999-04-29 09:45:38 +00:00
Joseph Koshy e96f8052f2 MFC: {rev 1.6} Add xref to nologin(8). 1999-04-29 09:43:49 +00:00
Joseph Koshy 807ce265b9 MFC: {rev 1.14} Add xref to nologin(5). 1999-04-29 09:42:21 +00:00
Joseph Koshy ad88bb91f5 MFC: {rev 1.11} Remove reference to edit(1); typo fix. 1999-04-29 09:33:39 +00:00
Joseph Koshy 9766b47de0 MFC: {rev 1.3} Typo fix. 1999-04-29 09:25:29 +00:00
Joseph Koshy 4753c606da MFC: {rev 1.9} Typo fix. 1999-04-29 09:22:01 +00:00
Foxfair Hu 4b425ef0db MFC: Correction of better display under chinese terminal.
Submitted by : [email protected]
1999-04-29 08:41:01 +00:00
KATO Takenori 0ab6951153 Sync with sys/i386/isa/clock.c revision 1.129.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-29 06:10:27 +00:00
Jordan K. Hubbard 88457bc093 MFC: new loader.conf conventions 1999-04-29 03:33:52 +00:00
Joseph Koshy 56f9b01170 MFC: {rev 1.3} /dev/rst0 -> /dev/rsa0 1999-04-29 02:54:27 +00:00
Joerg Wunsch dba28bafdb MFC rev 1.6, you can only create special files with mknod(2). 1999-04-28 10:07:04 +00:00
David E. O'Brien e61527ce98 MFC. 1999-04-28 10:02:07 +00:00
David E. O'Brien fa849d4c80 MFC: add tcpdcheck & tcpdmatch 1999-04-28 07:58:12 +00:00
Jordan K. Hubbard 35cf979250 MFC: copy to /usr/share/skel 1999-04-28 07:20:25 +00:00
Jordan K. Hubbard 8ccbe18c58 MFC: Add desktop menu. 1999-04-28 06:58:16 +00:00
Jordan K. Hubbard 1a582685e8 MFC: add /usr/local/sbin to paths 1999-04-28 06:43:25 +00:00
John Polstra 2929b92250 MFC 1.21 -> 1.22: Initialize "__progname" and "environ" before
calling _init() functions.
1999-04-28 01:27:56 +00:00
John Polstra 39ce49b43c MFC 1.20 -> 1.21: Give RPATH precedence over LD_LIBRARY_PATH, as per
the ELF spec.
1999-04-28 01:23:51 +00:00
John Polstra cf6b7b3464 MFC (1999/04/08 17:28:44 PDT):
Isolate architecture dependencies better.
Eliminate some asm().
Make the dynamic linker work if it is built as an executable.
1999-04-28 01:19:26 +00:00
John Polstra 85acef673b MFC 1.18 -> 1.19: Fix typos in comments. 1999-04-28 00:54:55 +00:00
John Polstra ca220c2011 MFC: Remove unused cruft and eliminate dependency on dynamic
linker's header file.

Makefile	1.7 -> 1.9
crt1.c		1.4 -> 1.5
1999-04-28 00:08:14 +00:00
Tim Vanderhoek a7271444c3 MFC: .Xr chflags 1 , 1999-04-27 23:34:21 +00:00
John Hay 551d0eca23 MFC: Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify the
timecounter as well.
1999-04-27 19:30:24 +00:00
John Polstra af0b9ae3ae MFC 1.74 -> 1.75: Print correct list of PC-Card drivers. 1999-04-27 18:39:23 +00:00
Jordan K. Hubbard a2663fbe3f MFC: no ee, better path. 1999-04-27 11:55:26 +00:00
Jordan K. Hubbard 65ea7b2745 MFC: PR#7081 1999-04-27 07:10:39 +00:00
Tim Vanderhoek 8a40bcbd54 CFC: doc setuid ignored for scripts 1999-04-27 03:57:01 +00:00
Jordan K. Hubbard eb314a0fb8 MFC: make pkg_info without args do something meaningful. 1999-04-27 02:30:54 +00:00
KATO Takenori 85ec5f821b Sync with sys/boot/i386/loader/Makefile revision 1.28.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-26 23:27:39 +00:00
KATO Takenori 7512219672 Sync with sys/i386/conf/Makefile.i386 revision 1.136.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-26 23:26:46 +00:00
Luigi Rizzo 3d1ad2d146 MFC: print bridging statistics with ``-p bdg''. 1999-04-26 16:20:21 +00:00
Luigi Rizzo 6bd3282dde MFC: make one pass through the firewall the default. 1999-04-26 14:59:02 +00:00
Daniel C. Sobral 656a3ef580 MFC parsing rules correction. 1999-04-25 21:42:23 +00:00
Dag-Erling Smørgrav 364310e9aa Looks like I forgot to MFC this one: activate sockstat(1). 1999-04-25 16:47:46 +00:00
Dag-Erling Smørgrav f4af7115d8 MFC: increase kvm size to 1 GB. 1999-04-25 12:44:06 +00:00
Robert Nordier edf95613d3 MFC: Activate boot0cfg. 1999-04-25 11:41:47 +00:00
Robert Nordier 2e8ace7425 MFC: Add boot0cfg from -current. 1999-04-25 11:35:58 +00:00
Robert Nordier f71cc96878 MFC: Sync with -current version. 1999-04-25 11:16:20 +00:00
Brian Somers 65502919d6 MFC: Xircom GlobalACCESS modem 1999-04-25 10:29:58 +00:00
Luigi Rizzo 29d200dec4 MFC: move igmp_leavegroup() after if_delmulti. 1999-04-25 07:09:54 +00:00
Daniel C. Sobral 581ee26956 Add /boot/defaults. Hurray! My first broken world! And -stable, to
boot... say, I couldn't find any pointy hats on freebsdmall, could
anyone indicate a good place for buying them?
1999-04-25 04:11:48 +00:00
David E. O'Brien 65b0dcf294 MFC: rev 1.3 (use .ko rather than non-existant LKM's). 1999-04-24 21:56:05 +00:00
Andrey A. Chernov 66eb50af28 login_auth MFC 1999-04-24 21:49:30 +00:00
David E. O'Brien a224b1539c MFC: rev 1.6 (Alpha has never had lkm's) 1999-04-24 21:49:04 +00:00
David E. O'Brien c296021c3f Add libwrap to the mix. 1999-04-24 21:16:12 +00:00
David E. O'Brien 14a303fe09 MFC. 1999-04-24 21:15:23 +00:00
Daniel C. Sobral 9428da8834 Notice Joliet Extensions. Add a comment about boot blocks, elf kernels,
bootstrapping... that sort of thing.
1999-04-24 18:58:07 +00:00
Poul-Henning Kamp 727c2b45e0 MFS: braino in v_id handling. 1999-04-24 18:16:19 +00:00
Daniel C. Sobral 311a1d4e57 Add support for Joliet extensions to the iso 9660 filesystem. 1999-04-24 17:54:00 +00:00
Daniel C. Sobral 55f7808c5b Bring loader.conf to the stable branch. 1999-04-24 17:44:43 +00:00
cvs2svn 25b2f63453 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-04-24 17:25:36 +00:00
John Hay d1cfb6ef66 MFC: Fix calculation of "nice" value. 1999-04-24 09:44:29 +00:00
John Hay defb7d0246 MFC: Make the ipx part of netstat work again. 1999-04-24 09:36:39 +00:00
John Hay ad421e0e77 MFC: Make it possible to use lo0 as an internal IPX network. 1999-04-24 09:25:44 +00:00
John Hay edd4323f74 MFC: Teach IPXrouted to handle the internal net properly and add an option
to disable responses to SAP_GETNEAREST_SERVER requests.
1999-04-24 09:23:34 +00:00
David E. O'Brien 93ab83b7c3 Comment out the pcic module. Right now it is causing problems for people,
so we'd much rather they statically compile the pcic code into their kernels.

I'll leave it in -CURRENT so maybe the module will get some attention, but
-STABLE isn't the place for it right now.

Reviewed by:	msmith, Nate, imp
1999-04-24 03:10:59 +00:00
David E. O'Brien 6109ac74d3 nlpt->lpt (lpt->olpt in LINT) 1999-04-24 02:30:19 +00:00
David E. O'Brien 82efc740e0 include ppbus/lpt.h rather than ppbus/nlpt.h 1999-04-24 02:25:43 +00:00
David E. O'Brien fe882d9a25 nlpt->lpt 1999-04-24 02:24:27 +00:00
David E. O'Brien 8124295912 nlpt -> lpt. 1999-04-24 02:23:42 +00:00
David E. O'Brien fe8010ef44 Bring lpt.{c,h} from -CURRENT. These files are esentually the same as the
previous nlpt.{c,h}.  MAJOR history was lost when nlpt.{c,h} -> lpt.{c,h}
in -CURRENT as these files weren't repository copied.  So for the record:

Major ppbus commit with:

        + ECP parallel port chipset FIFO detection
        + DMA+FIFO parallel I/O handled as chipset specific
        + nlpt updated in order to use the above enhanced parallel I/O.
          Use 'lptcontrol -e' to use enhanced I/O
        + Various options documented in LINT
        + Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for
          an overview of the IEEE1284 standard
        + Detection of PnP parallel devices at boot
        + Read capability added to nlpt driver to get IEEE1284 compliant
          printer status with a simple 'cat /dev/lpt0'
        + IEEE1284 peripheral emulation added to BYTE mode. Two computers
          may dialog according to IEEE1284 signaling method.
          See PERIPH_1284 option and /sys/dev/ppbus/ppi.c

All this code is supposed to provide basic functions for IEEE1284 programming.
ppi.c and lpt.c may act as examples.
1999-04-24 02:20:22 +00:00
Jordan K. Hubbard d40d1a4744 MFC: remove outdated registration code. 1999-04-24 02:02:29 +00:00
SADA Kenji de03fe00c3 Typo of `same_ports' directive.
Submitted by:	Masaki Nohtomi <[email protected]>
1999-04-24 01:42:44 +00:00
Guy Helmer 44331db7ce MFC: local_cron -> local_periodic 1999-04-23 18:28:10 +00:00
Guy Helmer 51e73d8964 MFC: Ref kld(4). 1999-04-23 16:15:50 +00:00
Brian Somers 433d0cdf1f MFC: Spelling police 1999-04-23 13:46:28 +00:00
Peter Wemm 93df6c58a4 Update VM86 comment - it's used for VESA too.
PR:		7976
Submitted by:	Stefan Eggers <[email protected]>
1999-04-23 06:30:10 +00:00
Semen Ustimenko fbb5d2be55 MFC: Lack of volaile keyword in CSR_READ_* and CSR_WRITE_*
macroses fixed, ifq_maxlen initialization added, fix
to PR kern/10575 applied.
1999-04-23 05:47:53 +00:00
Greg Lehey 8650e50793 MFC: Fix poor heading format.
Submitted-by:  Matthew Fuller <[email protected]>
PR:            docs/11271
1999-04-23 03:54:19 +00:00
Foxfair Hu 9c9555ab46 Repair a breakage while making world.
Submitted by: Chris Timmons <[email protected]>
Oked by : make world
1999-04-23 02:36:19 +00:00
Alexander Langer 765428858e MFC (rev 1.35): diagnostic typo fix, -alldir --> -alldirs
Prodded by:	obrien
1999-04-22 14:59:08 +00:00
Foxfair Hu d626439845 Bring in the src files of my last commit, I missed it.
Indicated by : make world.
1999-04-22 08:34:09 +00:00
SADA Kenji aca1b4450a Function ``msgrcv()'' could copy larger data than it should do
under some circumstances.
PR:	kern/10765
Submitted by:	Yasuhito FUTATSUKI <[email protected]>
1999-04-21 13:26:34 +00:00
Martin Cracauer a27ff28be2 Back out my previous fix for non-interruptable interactive shell loops
(PR bin/9173), which broke interactive lopps completely (PR bin/11256).

This is not an MFC, I will committ a different fix for the original
problem to -current.

PR:		bin/11256
1999-04-21 11:10:13 +00:00
Brian Somers 8776658ddf int -> size_t 1999-04-21 08:13:25 +00:00
Brian Somers ebcabd7d7d MFC: Split the recorded chap challenge into two. 1999-04-21 08:06:06 +00:00
Brian Somers 7a8c9ca4e3 MFC: If ioctl TIOCMGET fails, continue. The device may be
a pseudo device created by an interactive version of
     rlogin/telnet/ssh & friends
1999-04-21 08:05:55 +00:00
David E. O'Brien 7a32bda9b2 MFC: compat3x addition. 1999-04-21 07:45:57 +00:00
Foxfair Hu 46646f0d0f MFC: Bring in the source for Chinese(big5) LC_TIME. 1999-04-21 07:45:38 +00:00
Foxfair Hu 2eee630443 MFC: Chinese big5 LC_TIME support.
MFC.
1999-04-21 07:37:43 +00:00
Foxfair Hu 35ac64893a MFC: Chinese big5 LC_TIME support. 1999-04-21 07:37:17 +00:00
Joseph Koshy 6bf55736fa MFC: {rev 1.581} Document the `makeoptions' parameter. 1999-04-21 04:53:35 +00:00
Dmitrij Tejblum 449c4c1899 MFC rev.1.41: remove noisy printfs. 1999-04-20 22:43:34 +00:00
Bill Fumerola f79ee4379a MFC: IPX address formatting nit. (1.24 -> 1.25) 1999-04-20 22:07:05 +00:00
Dmitrij Tejblum b606b68067 MFC rev.1.206: fix lock up in getnewbuf() with interruptible NFS. 1999-04-20 19:54:20 +00:00
David E. O'Brien adeda0ce1e MFC: bring tcp_wrappers to 3-STABLE
Ok'ed by:	markm
1999-04-20 19:20:03 +00:00
David E. O'Brien 52cffde09b MFC:
* rev 1.84: snd_nxt, not rcv_nxt, when calculating the ISS during TIME_WAIT
* rev 1.83: fix warning to pass -Wall -Wcast-qual
1999-04-20 19:09:15 +00:00
Joerg Wunsch 0be411a0ee MFC: rev 1.18, don't clobber "prompt" iff already set. 1999-04-20 12:08:48 +00:00
Joerg Wunsch a49fb71365 MFC: rev 1.21, make <DEL> an alternative rubout character. 1999-04-20 12:02:00 +00:00
Brian Somers a173c064c2 o Support ranges in ``alias port''.
o Avoid some alpha/Wall warnings.
o Becareful about aligning mbufs before casting bits of them.
o Don't accept pap/chap packets unless we're in the right PHASE.
o Be smarter when detecting HDLC headers.
o Use a combination of the peers accmap and our own when async
  encoding, and back out the previous LCP changes.
o Add an extra sig_Handle() to avoid hanging under certain
  curcumstances.
o Tidy up macro usage in the man page.
o Don't change \r\n to \r\r\n in tty raw mode.
1999-04-20 08:09:19 +00:00
Justin T. Gibbs cbb1820357 MFC: Preserve termination settings in shutdown hook. 1999-04-19 21:37:50 +00:00
Justin T. Gibbs 5d8f871a7c MFC: Properly report auto sense failures. Give request sense operations
a 5 sec timeout.
1999-04-19 21:37:28 +00:00
Justin T. Gibbs 06d646844d MFC: Use macros for access head of camq heap. 1999-04-19 21:36:45 +00:00
Justin T. Gibbs 0682554625 MFC: Offset heap pointer for more efficient algorithm.
Handle CAM_AUTOSENSE_FAILED, with other scsi status errors.
1999-04-19 21:36:28 +00:00
Nick Hibma 8ce3c2ae73 Remove the lines for the USB support. It is not ready for public
consumption.
1999-04-19 20:11:32 +00:00
Masafumi Max NAKANE 50ed1310b7 MFC: typo fix. 1999-04-19 18:54:06 +00:00
Luoqi Chen fc08bd7848 Fix a potential hang situation.
PR:		i386/2108
1999-04-19 18:52:34 +00:00
KATO Takenori 28d4ebaa02 Sync with sys/i386/conf/GENERIC revision up to 1.143.2.7.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-19 16:09:00 +00:00
Semen Ustimenko e497e8432b MFC: Included ntfs.ko into world build. 1999-04-19 14:29:32 +00:00
Semen Ustimenko d45b96eb9c MFC: Included mount_ntfs into world build. 1999-04-19 14:27:32 +00:00
David E. O'Brien 3255a2698a Add beautiful descriptions of PCI network drivers from rev 1.151. 1999-04-18 23:37:02 +00:00
John Birrell 5d0d0d1153 Initialise the magic number for the initial thread so that people can
kill (signal) it.

Submitted by: Steve Bernacki, Jr. <[email protected]>
1999-04-18 21:36:45 +00:00
Jordan K. Hubbard a8fbfa1e30 MFC: Add entries for Intel 82443GX chipset. 1999-04-18 18:44:53 +00:00
KATO Takenori c81327d8ae Sync with sys/dev/syscons/syscons.h revision 1.46.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-18 15:01:28 +00:00
KATO Takenori b5672254d2 Sync with sys/i386/isa/sio.c revision 1.224.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-18 14:59:09 +00:00
KATO Takenori 181fdc454f Sync with sys/i386/i386/machdep.c revision 1.322.2.5.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-18 14:58:01 +00:00
KATO Takenori 7e1a3c3a13 Sync with sys/i386/isa/wd.c revision 1.186.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-18 14:55:28 +00:00
Dag-Erling Smørgrav 056338ca02 MFC: PCX decoder 1999-04-17 19:32:01 +00:00
Dag-Erling Smørgrav e804bc5bb1 MFC: reorganize macros 1999-04-17 19:31:18 +00:00
Jordan K. Hubbard 1889c3f37b MFC: SYSVSEM 1999-04-16 18:27:48 +00:00
Andrew Gallatin e291904f8c backport switchtime zeroing from -current 1999-04-16 17:01:48 +00:00
Nick Hibma fbaa5edc20 MFC: remove confusing entries. The drivers are not yet implemented. 1999-04-16 16:30:24 +00:00
Jonathan Lemon 3864881d0a MFC, revisions 1.20, 1.22, which I missed last time.
Reminded by: Kazu
1999-04-16 15:58:21 +00:00
Guy Helmer 9202996103 MFC: kld.4 man page. Enable installation of kld.4 in Makefile and fix
disordering (although I missed a couple of changes within the MLINKS).
1999-04-16 02:29:09 +00:00
Guy Helmer 1c1f1fdb44 MFC: Update list of supported interfaces and mdoc-ify. 1999-04-16 02:14:07 +00:00
Guy Helmer 019e58f1d2 MFC: Bridging support. 1999-04-16 01:57:05 +00:00
Jonathan Lemon 039a180f50 Sync up vm86 changes to -current 1999-04-15 21:01:14 +00:00
cvs2svn 34d443c011 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-04-15 13:40:44 +00:00
David E. O'Brien 6c031e3e0a MFC: rev. 1.26 1999-04-15 07:21:42 +00:00
Bill Paul ae2d8c4767 MFC: add support for 3c900B-TPC, fix media selection for 3c905B-COMBO,
change TX queuing strategy a little.
1999-04-15 03:19:47 +00:00
John Polstra 1fe4a7e193 MFC 1.4 -> 1.5: Fix breakage at -O3. 1999-04-14 20:52:55 +00:00
John Polstra 55c2cba9c1 MFC: Reverse C++ constructor and destructor order for consistency
with gcc and egcs.  Bump __FreeBSD_version to 31002 to reflect the
change.
1999-04-14 20:50:28 +00:00
John Polstra fac0c6949e MFC: Fix compilation with "-g", and eliminate the need for
"-Wno-unused" in the Makefile.
1999-04-14 20:43:26 +00:00
Bill Paul 9ba027fb24 MFC: fix mode selection for non-MII NICs so that all modes work right
when selected, document that NWAY support for older 82c168 boards is
broken and manual override via ifconfig should be used instead.
1999-04-14 19:44:53 +00:00
Martin Cracauer 8dd249b01c MFC: example fixes 1999-04-14 12:47:07 +00:00
John Polstra 8b0a180c58 MFC (3 April 1999): Enable BSD/OS binaries to run in configurations
that have a large kernel virtual address space.
1999-04-14 04:55:24 +00:00
Bill Paul 5cfe565a90 MFC: close PR #11122. 1999-04-14 04:06:42 +00:00
John Hay 868efb40db MFC: Update to latest nanokernel and ppsapi stuff. 1999-04-13 18:55:21 +00:00
Bill Paul ed4f02c56e MFC: turn on 'promisc' bug workaround all the time, set busctl register
to make certain machines happy.
1999-04-13 17:31:40 +00:00
Semen Ustimenko e1a4e5a754 MFC: Removed DIAGNOSTIC option redefinition. 1999-04-13 14:56:35 +00:00
Guy Helmer afbd8e6d56 MF2.2: Bridging support (Andres <[email protected]> has verified the operation
of this patch in 3.1-stable).
1999-04-13 13:31:23 +00:00
Guy Helmer 50def09948 MFC: Correct ref editline(3). 1999-04-13 02:44:04 +00:00
Guy Helmer ce600a5650 MFC: kern.somaxconn -> kern.ipc.somaxconn
PR:		docs/11057
1999-04-13 02:39:06 +00:00
Guy Helmer bc150d2367 MFC: typo fix, additional references to sysctl variables that affect
open file and process limits.
1999-04-13 02:33:59 +00:00
Guy Helmer 4c3cbd967e MFC: LKM/moload -> KLD/kldload 1999-04-13 02:21:10 +00:00
Bill Paul 7abc015f1e MFC: rewrite TX section, set ifq_maxlen to a sane value 1999-04-12 21:39:14 +00:00
Bill Paul f55bddb79c MFC: don't touch general purpose register on boards with MII-based
transceivers.
1999-04-12 21:14:36 +00:00
Bill Paul 9904da5844 MFC: add support for 3cSOHO100-TX "hurricane" card. 1999-04-12 20:39:52 +00:00
Martin Cracauer b68e243aac MFC: Use sh -T flag. 1999-04-12 15:55:56 +00:00
Martin Cracauer 12a081777a MFC: Merge the fixes that have been in -current for a while:
-T flag
-a flag
breakability of interactive loops
quote fix by Tor Egge/NetBSD/Havard Eidnes
various cosmetic changes
1999-04-12 15:46:02 +00:00
Brian Somers 673e379c88 MFC: remove extraneous space 1999-04-12 15:29:11 +00:00
Bruce Evans a807354dc4 YAMFC (all: 1.191 (cosmetic), 1.190 (missing drive selects sometimes
delayed the probe), 1.189 (operator precedence bug annulled a sanity
check in wddump())).
1999-04-12 15:28:32 +00:00
Dag-Erling Smørgrav 98d44ae650 Typo in comment. 1999-04-12 10:07:15 +00:00
John Hay 177c52a7af Add lp.4. This should get make release a little further. 1999-04-12 05:44:24 +00:00
Bill Paul 4443516ab4 MFC: fix initialization of busctl register. 1999-04-12 02:48:19 +00:00
Dag-Erling Smørgrav c4b84b50c2 MFC: Don't build man page indices if NOMAN is defined. 1999-04-11 21:52:42 +00:00
Bill Paul 6ce60554a8 MFC: updates to xl driver (support for 3c905B-COMBO, longer timeout
during reset, try to avoid failing attach if pci_map_port() bogusly fails).
1999-04-11 17:46:46 +00:00
Brian Somers cfbfc4af57 MFC: OR the peers ACCMAP with our own when doing
ASYNC framing.
1999-04-11 08:53:39 +00:00
Bill Paul d939db6771 MFC: turn on promisc bug workaround for 82c168. 1999-04-11 05:16:07 +00:00
Bill Paul 68f62d496d MFC: add support for 82c168 chip with internal transceiver. And
I mispelled Brian's last name: it's Walenz, not Walenze. Sorry about
that Brian.
1999-04-10 18:46:59 +00:00
Dag-Erling Smørgrav 1fc62fdf0e MFC: Allow the user to specify a firewall script. 1999-04-10 10:59:15 +00:00
David E. O'Brien 0f3349cf62 Move lp.4 from man4.i386/ (as done in -CURRENT) and MFC.
Replace seperate plip.4 with a link to lp4 (as in -CURRENT).

Document the nlpt device.
1999-04-10 06:29:24 +00:00
David E. O'Brien 6bc54a9d14 Complete MFC. (update to 2.0b1pl18) 1999-04-09 18:49:30 +00:00
John Polstra 5074a734a2 MFC 1.7 -> 1.8: Add missing declaration.
Broken by:	nsayer, in both current and RELENG_3
1999-04-09 17:12:47 +00:00
Dag-Erling Smørgrav b7ae5df2f8 MFC: Allow setting MAXFILES in kernel config. 1999-04-09 16:37:22 +00:00
Eivind Eklund 7e123ddef2 MFC: Respect DESTDIR 1999-04-09 14:17:37 +00:00
Jordan K. Hubbard ab8146f4b4 MF22: more explanatory motd 1999-04-08 22:39:59 +00:00
Julian Elischer 1d4ad68b18 Add a example that builds a pci driver..
Submitted by: "Christopher R. Bowman" <[email protected]>
comments and corrections welcome
1999-04-08 18:47:37 +00:00
Bill Paul 50c20bd546 MFC: make ASIX driver work on FreeBSD/alpha, add to GENERIC. 1999-04-08 17:45:22 +00:00
Bill Paul 15f44ef184 MFC: support Compex RL100-TX Macronix NIC. 1999-04-08 17:40:27 +00:00
Guy Helmer fcfaa07f6d MFC: LKM/modload -> KLD/kldload.
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-08 14:04:30 +00:00
Guy Helmer 6bde7d9659 MFC: modload -> kldload, add kldload(8) ref.
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-08 14:00:59 +00:00
Guy Helmer 04af86ea98 MFC: LKM/modload -> KLD/kldload
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-08 13:57:52 +00:00
Guy Helmer d3153d2124 MFC: LKM -> KLD
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-08 13:53:31 +00:00
Satoshi Asami ed9bb7a467 MFC (delete plan9, add palm). 1999-04-08 08:07:54 +00:00
Jordan K. Hubbard bb4716f92b MFC: read the errata! read the errata! 1999-04-08 06:00:19 +00:00
Justin T. Gibbs cb41e73fdf MFC: Improve bt_cmd(). 1999-04-07 23:11:20 +00:00
Justin T. Gibbs 928a717501 MFC: Correct invalid #define in 93cx6.c. Freeze devq on all scsi status errors. 1999-04-07 23:10:04 +00:00
Justin T. Gibbs 6fae6b6c5b MFC: Improve error classification and deal with firmware queue full bug. 1999-04-07 23:09:27 +00:00
Justin T. Gibbs 90e9d5cdd2 MFC: Remove camq_regen. 1999-04-07 23:09:03 +00:00
Justin T. Gibbs 0addf4bb92 MFC: Remove camq_regen. Fix heap code off by 1 error. 1999-04-07 23:08:55 +00:00
Julian Elischer c8bcc50a45 MFC: two cosmetic changes. 1999-04-07 22:25:52 +00:00
Jordan K. Hubbard 43061d4272 sendmail is now at 8.9.3 1999-04-07 17:01:38 +00:00
Peter Wemm 983e405f06 Update for official 8.9.3 header lines patch 1999-04-07 09:31:37 +00:00
Peter Wemm e342373f93 MFC: Upgrade sendmail from patched 8.9.2 to proper 8.9.3 1999-04-07 09:30:13 +00:00
Peter Wemm ac082e91fc MFC rev 1.24 - reset rlimits for ppplogin
PR:	10399
1999-04-07 05:37:15 +00:00
Peter Wemm 64f0483a33 MFC: al=username autologin support
Submitted by:	"Andrew J. Korty" <[email protected]>
1999-04-07 05:35:25 +00:00
Peter Wemm 0d0b02a883 MFC rev 1.11 - support loading kernel at other than 0xf0100000. 1999-04-07 05:20:54 +00:00
John Polstra 8074953467 MFC 1.16 -> 1.17: Resolve undefined weak references to 0. 1999-04-07 05:12:41 +00:00
John Polstra ec22652a5d MFC 1.15 -> 1.16: Handle NULL argv. 1999-04-07 05:10:04 +00:00
Alan Cox ce8ae058b7 MFC: part of rev 1.228. (Use "loadandclear" to update the pte,
eliminating a race condition on SMPs.)
1999-04-07 02:50:14 +00:00
John Polstra d6175e110a MFC 1.2 -> 1.3: Fix bug in handling passwordless accounts. 1999-04-06 19:50:31 +00:00
Guy Helmer 8b48cc9b57 MFC: Replace LKM with KLD.
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-06 14:06:17 +00:00
Guy Helmer b44890900c MFC: Replace LKM with KLD.
Submitted by:	Nathan Ahlstrom <[email protected]>
1999-04-06 13:59:14 +00:00
Greg Lehey 66a8513f14 MFC: Check in -CURRENT version of vinum 1999-04-06 09:07:55 +00:00
Greg Lehey 45c6577864 MFC: Commit -CURRENT version of vinum kernel components 1999-04-06 09:05:58 +00:00
Greg Lehey 4a548e4dec Add Vinum partition type 1999-04-06 09:03:19 +00:00
Greg Lehey 3605c31579 MFC: Check in -CURRENT version of vinum(8) 1999-04-06 08:59:36 +00:00
Jordan K. Hubbard 8aed64a793 MFC: allow device reprobe 1999-04-06 08:27:48 +00:00
Brian Somers 1258b7bf11 MFC: When we get an LCP TLU, go into PHASE_AUTHENTICATE
from any other phase besides PHASE_NETWORK, otherwise
     there's a chance that we end up sending auth packets
     and dropping the replies.
1999-04-05 21:52:53 +00:00
Jun Kuriyama bbc772a368 MFC:
- Cleanup usage of err() and warn().
- Add error handling for ioctl().
1999-04-04 13:23:40 +00:00
KATO Takenori ae656b51b3 MFC: fix for console mouse. 1999-04-04 02:53:57 +00:00
John Polstra 02e9c8bd0b MFC 1.12 -> 1.13: Fix macro name typo. 1999-04-03 22:48:30 +00:00
Gary Palmer 9db0e40cff Change default release name from 3.0 to 3.1 1999-04-03 20:54:00 +00:00
David E. O'Brien ff7978e93b Default to UDP protcol until FreeBSD's NFS/TCP gets stronger. 1999-04-03 09:27:44 +00:00
KATO Takenori 097185f4c3 MFC: Use files under sys/boot/i386.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-02 09:01:02 +00:00
Andrey A. Chernov 97352f41bd MFC: sign extension bug 1999-04-01 22:32:13 +00:00
Steve Price ba1f0320e6 MFC: fixup botched previous commit. 1999-04-01 19:44:17 +00:00
Nick Sayer d6b900db5d 1.103.2.1 merged the changes made in 1.105 to RELENG_3. Fixes the
ntoh?() issue when passing bridged packets through ipfw.

PR:		10818
1999-04-01 14:56:17 +00:00
Nick Sayer dc7e78f805 rev 1.4.2.1 (and this one) merged the changes from v1.7 into RELENG_3.
Fixes the ntoh?() issue when passing bridged packets through ipfw.

PR:		10818
1999-04-01 14:54:53 +00:00
Bill Paul a33a3aa080 MFC: kludge ps(1) to read uarea on FreeBSD/alpha via kvm_read(). 1999-04-01 14:47:33 +00:00
KATO Takenori 2c9e24196c Sync with sys/i386/conf/GENERIC and files.i386 revisions 1.143.2.5 and
1.220.2.2, respectively.

Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-04-01 14:47:01 +00:00
Nick Sayer adb4d428d1 perl is in /usr/bin, not /usr/local/bin 1999-04-01 08:10:05 +00:00
Guy Helmer 3b86855144 MFC: KLD and kldload references. 1999-04-01 02:17:28 +00:00
Bill Paul 29314a0215 MFC: cleaups and update for FreeBSD/alpha. 1999-04-01 02:13:13 +00:00
Guy Helmer 8de0a43acc MFC: Spelling, references, and nroff macros. 1999-04-01 02:10:38 +00:00
John Polstra 0a0dbfed82 MFC: spppcontrol.1 -> sppcontrol.8 1999-04-01 00:11:58 +00:00
cvs2svn 83adca2d17 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-04-01 00:01:52 +00:00
Satoshi Asami fa2af5d1c1 MFC (${DESTDIR}, beforeinstall). 1999-03-31 23:58:41 +00:00
Nick Sayer a14d217378 MFC -
1. Upgrade T225 download code supplied by vendor

2. Change width of SX ISA card. It's only 32k wide, not 64.
1999-03-31 23:57:12 +00:00
Bill Paul e7aec0968b MFC: shorten device names, hide warning message 1999-03-31 16:15:55 +00:00
Nick Sayer c3dccc3d4e Merge RELENG_3 and HEAD 1999-03-31 15:24:27 +00:00
Nick Sayer abb88c830b MFC 1999-03-31 14:12:52 +00:00
Nick Sayer b382fec348 MFC 1999-03-31 14:04:51 +00:00
Nick Sayer ad00f8d992 MFC, if_tx.c bridging support 1999-03-31 13:53:20 +00:00
Satoshi Asami 62cfbc3eee MFC: /var/db/pkg mode. 1999-03-31 13:39:46 +00:00
Satoshi Asami a692e3fcb4 MFC: create /var/db/pkg. 1999-03-31 07:07:17 +00:00
Bill Paul cc03fdef42 MFC: put in missing ifmedia_set() and final changes for FreeBSD/alpha,
add device tl0 to GENERIC config for FreeBSD/alpha now that I've tested
it and verified it works.
1999-03-31 04:12:30 +00:00
David E. O'Brien e7e156d1f8 MFC: rev 1.2 (no "-w" option) 1999-03-30 21:22:25 +00:00
Bill Paul eb7e671215 MFC: fix line wrap bogon. 1999-03-30 19:35:22 +00:00
Bill Paul 6303272bff MFC: add support for bitrate NICs and update for FreeBSD/alpha.
Forgotten from previous message: also remove some #ifdef'ed debug code
which was never turned on and that I don't need anymore.
1999-03-30 17:10:31 +00:00
Poul-Henning Kamp 4e7d607646 MFC: remove unneeded prototypes. 1999-03-30 11:49:29 +00:00
Brian Somers c08a41b79e MFC: redirect_port ranges and better const correctness. 1999-03-30 10:18:01 +00:00
Brian Somers d5d3685ca8 MFC: Disable reads on our ICMP socket. We only use it for sending. 1999-03-30 10:11:55 +00:00
Joerg Wunsch 65c26b420f MFC: replace the ugly and potentially dangerous find ... -exec rm by
the safer find ... -delete.
1999-03-30 08:58:39 +00:00
Wes Peters 132d47727e Turn on PCI busmaster in the probe routine in case the
BIOS did not.

PR:		10150
Reviewed by:	dg
1999-03-30 04:51:43 +00:00
Satoshi Asami c90c0fd81b MFC: create .mkversion. 1999-03-29 23:03:32 +00:00
Kenneth D. Merry 1465191019 MFC: Delete all references to the aic driver. 1999-03-29 17:59:38 +00:00
Kazutaka YOKOTA c4d10618b7 MFC: Make the splash screen alternate "fade out" and "fade in" action at
regular intervals, when the module is used as a screen saver (rev. 1.7).
1999-03-29 15:15:21 +00:00
Kazutaka YOKOTA ed21cd66de MFC: Another round of fix for palette loading (rev.1.21). 1999-03-29 15:11:47 +00:00
David E. O'Brien 4416a66617 Document that Tar now supports compressing via bzip2. 1999-03-29 11:30:25 +00:00
David E. O'Brien ef2de48c96 MFC: document -y/--bzip2/--bunzip2 flag. 1999-03-29 11:26:35 +00:00
David E. O'Brien dcc7b13c47 MFC: rev 1.16 add -y/--bzip2/--bunzip2 flag. 1999-03-29 11:22:34 +00:00
Brian Somers 47b22b3a63 MFC: Increase the timeout and wait for ``PPP'' in the compuserve
example.
1999-03-28 00:23:29 +00:00
Bill Paul d7dcf37f89 MFC: make 3Com and PNIC PCI drivers work on FreeBSD/alpha. 1999-03-27 20:45:56 +00:00
Steve Price 8b18a6056e MFC: bump __FreeBSD_version to mark new implementation of dladdr(3). 1999-03-27 05:28:18 +00:00
Jordan K. Hubbard fd45092dc4 MFC 1999-03-27 02:20:17 +00:00
Nate Williams fe44604de4 MFC: Install manpage. 1999-03-26 21:27:33 +00:00
Luigi Rizzo c787024c9f one more typo.... will i ever fix this... 1999-03-26 16:48:55 +00:00
Luigi Rizzo adc4d10694 MFC: fix length handling with bridged packets. 1999-03-26 14:19:40 +00:00
Nate Williams 96da3cccfd MFC: Make setting the PCIC irq via the boot file work. 1999-03-26 00:21:03 +00:00
Chris Timmons 2cc38b715d MFC: Replace a missing quotation. 1999-03-25 16:41:04 +00:00
KATO Takenori f6bea74991 Sync with sys/i386/isa/sio.c revision up to 1.224.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-25 13:35:31 +00:00
Brian Somers e13514c573 MFC: Undo possible damage done by the new TUNSIFMODE ioctl
in FreeBSD-current.
1999-03-25 11:38:17 +00:00
KATO Takenori 7ca096a5f1 Sync with sys/i386/conf/options.i386 revision 1.103.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-25 08:55:34 +00:00
Brian Somers e3a433e3c3 MFC: Forgotten share/examples/ppp 1999-03-25 07:06:50 +00:00
Brian Somers 18c1f6b57b MFC: PacketAliasProxyRule takes a const char * 1999-03-25 06:48:31 +00:00
Bill Paul 8584e4edd8 MFC: fix typos. 1999-03-25 01:12:36 +00:00
Steve Price df7865b8fb MFC: support for Cardinal MVP288IV PnP modem. 1999-03-25 00:33:47 +00:00
Nate Williams 77436fb2af MFC: Correct dladdr() functionality. 1999-03-24 23:47:56 +00:00
Nate Williams f48da8108b MFC: Install with -fschg to protect the loader from accidental removal. 1999-03-24 23:39:14 +00:00
Nate Williams f1f94af205 MFC: dladdr(3) support. 1999-03-24 23:38:40 +00:00
Brian Somers 1554792375 ppp sample files are now in share/examples/ppp 1999-03-24 21:04:46 +00:00
Brian Somers cfab254342 MFC: ppp sample files. 1999-03-24 21:01:27 +00:00
Brian Somers 48a71d7a41 MFC: Add a ``const'' and remove some inconsistent prototype args. 1999-03-24 20:29:42 +00:00
Brian Somers d6a3b4c4f1 MFC:
o Add radius support.
o Add ``alias proxy'' and ``alias pptp'' support.
o Support server-side M$Chap authentication.
o Support client & server-side M$LANMan authentication.
o Support ``!program'' passwords.
o Use pipes only for unidirectional IPC.
o Extend ``set *retries'' commands.
o Don't ResetReq when doing Predictor compression.
o Delay carrier detection by a default of 1 second and implement
  ``set cd''.
o Implement incremental redial timeouts via ``set redial''.
o Don't use hard-coded quotes or brackets in the man page.
o ``random'' redials means 1-30 seconds, not 0-29.
o Close rather than hanging if the peer never responds to auth requests.
o Nuke outstanding authentication request timers when the layer is closed
  unexpectedly.
o Log CCP errors as in the CCP log (not as a WARNING).
o Ensure that all TLU/TLD and TLS/TLF pairs are balanced.
o OR the peers ACCMAP with our own during LCP negotiations.
o Set the interface netmask correctly and show it in ``show ipcp''.
o Drop the correct diagnostic connections and remove the correct local
  domain socket from ``set server''.
o If our config file doesn't exist, moan about that rather than claiming
  that the ``default'' section doesn't exist.
1999-03-24 18:03:14 +00:00
Steve Price a40a0bfc9a MFC: add support for USR3090 PnP modem. 1999-03-24 18:00:31 +00:00
Brian Somers b568bd022a MFC: Move natd to network_pass1 1999-03-24 17:25:26 +00:00
Brian Somers ddae28cc0f MFC: Mention natd_program 1999-03-24 17:24:32 +00:00
Brian Somers 210037eabf MFC: Add natd_program 1999-03-24 17:20:44 +00:00
Brian Somers 2e5a277d48 MFC: add natd 1999-03-24 17:13:31 +00:00
Brian Somers e6a784e050 MFC: Bring natd to life in sbin 1999-03-24 17:13:04 +00:00
Brian Somers 8052fe3eb1 MFC: Upgrade to libalias version 3 1999-03-24 17:12:01 +00:00
Brian Somers 21257c3482 MFC: usr.sbin/natd -> sbin/natd 1999-03-24 17:11:10 +00:00
Steve Price 17d5e32fa2 MFC: defer expansion of $PATTERN to avoid picking up a value from the
user's environment.
1999-03-24 17:08:02 +00:00
Luigi Rizzo 8339424f0e MFC: add missing #include "opt_bdg.h" 1999-03-24 12:45:45 +00:00
Jordan K. Hubbard ef9376fd61 MFC: document upgrade, work-around for doscmd. 1999-03-24 04:26:19 +00:00
Bill Fumerola 49b6245fb5 MFC: Duplicate line removal (1.10 -> 1.11) 1999-03-23 23:09:38 +00:00
Doug Rabson bc4487071e MFC: Allow module handler to veto unload before editing cdevsw.
PR: kern/10653
1999-03-23 21:39:54 +00:00
Justin T. Gibbs 5ded49a6b2 MFC 1999-03-23 07:41:53 +00:00
Alan Cox 8710f8dfce MFC: 1.145
Submitted by:	"John S. Dyson" <[email protected]>
1999-03-23 05:08:07 +00:00
Joseph Koshy 1a69e00354 MFC: {rev 1.25} Typo fix. 1999-03-23 05:03:25 +00:00
Alan Cox 4b6a904be5 MFC: 1.128
PR:		kern/9515
1999-03-23 04:38:33 +00:00
Alan Cox 9c29a5176e MFC: 1.101 1999-03-23 04:12:49 +00:00
Poul-Henning Kamp 4cebee8685 MFC:
tc_adjustment is 64 bits now.
1999-03-22 14:50:47 +00:00
Poul-Henning Kamp bccfd2a65c MFC:
Make the same size rounding error both ways.
1999-03-22 14:02:27 +00:00
Poul-Henning Kamp 84f52f714b MFC:
Have ntp_gettime access sysctl by name.
	Remove /usr/include/timepps.h
	Track PPS-API draft
	Improve interface/support for PPS drivers.
	Update to Dave Mills "nanokernel" PLL
	Make hardpps() work with timecounters.
1999-03-22 13:09:36 +00:00
Bill Fumerola 7b8cda2175 MFC: node / node pair clarification 1999-03-20 21:26:17 +00:00
KATO Takenori c3097a660d Sync with sys/i386/isa/if_ed.c revision 1.148.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-20 15:39:29 +00:00
KATO Takenori 01876beb9e Sync with sys/i386/conf/Makefile.i386 revision 1.136.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-20 15:38:56 +00:00
Dag-Erling Smørgrav 1ae68c51ad MFC revision 1.9 1999-03-20 10:28:43 +00:00
Semen Ustimenko 9901f9079b Added VT_NTFS type. 1999-03-20 09:37:49 +00:00
Bill Fumerola baf3d0b1d1 MFC: mdoc fixes 1999-03-20 04:50:13 +00:00
Bill Fumerola da5a73b579 MFC: mdoc fix 1999-03-20 04:29:56 +00:00
Bill Fumerola d5bdd9feff MFC: security(1) -> security(7) 1999-03-20 04:06:47 +00:00
Warner Losh f1bbe53c31 Merge fix from current that adds vnode_if.h to the list of those files
which are created when .depend doesn't exist.
1999-03-20 00:45:56 +00:00
Jordan K. Hubbard 740b78de57 MFC: X-Kern-Developer dist, changes to mirror site layout. 1999-03-19 21:48:42 +00:00
Jordan K. Hubbard 6b9667f4af MFC: preserve rc.firewall 1999-03-19 08:22:49 +00:00
Mike Smith eb0c365206 MFC: $d -> %d fixes 1999-03-19 00:38:00 +00:00
Brian Somers 323b66039e MFC: Host names are case-insensitive. 1999-03-19 00:07:25 +00:00
Julian Elischer 22981ead49 re-enable a code segment that is needed until another 4.x merge is made. 1999-03-18 23:28:39 +00:00
Julian Elischer c04695c635 p->p_vmspace->vm_pmap.pm_stats.resident_count is in pages now.. 1999-03-18 21:29:02 +00:00
Julian Elischer 62b4373275 MFC:
Merge to include upto 1.133 and include 1.137-1.138-1.139. (plus a manual
tweek) 1.138 and 1.139 were already ,merged but I re merged them into
1.133 to get this version.

This resolves a low memory hang here in testing at Whistle.
1999-03-18 20:14:24 +00:00
Julian Elischer 3377019014 Need to translate more .h to .ph then just /usr/include &
/usr/include/sys.  Specifically we need /usr/include/machine
since "syslog.h" includes "machine/ansi.h".  To be safe we
translate all of /usr/include/* and /usr/include/*/*.

sample error case:
         echo "require 'syslog.ph';" | /usr/bin/perl
will fail when syslog.ph tries to include machine/ansi.ph

Submitted by:	Doug Ambrisko
1999-03-18 19:39:07 +00:00
Luigi Rizzo ef09e45791 MFC: add bridging support for the following net drivers:
ed, lnc, de, fxp
1999-03-18 18:47:29 +00:00
KATO Takenori 15c9dcd527 MFC: install the manual page.
Sumbitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-18 13:43:06 +00:00
Jordan K. Hubbard 4fed4646c0 MFC: add kget 1999-03-18 06:18:11 +00:00
Alan Cox e82d6d07f2 MFC: 1.53 and 1.54 1999-03-18 05:46:33 +00:00
Jonathan Lemon b59343577d MFC; revision 1.76
Fix for _private_tss handling
1999-03-18 04:42:21 +00:00
David E. O'Brien f3e988b8f6 MFC: upgrade to ver 1.11. 1999-03-18 00:03:57 +00:00
Daniel C. Sobral 28816bc182 Bump version: increased dictionary size. 1999-03-17 23:07:23 +00:00
Nate Williams 0fa4e1790d MFC: Use the correct arguments to kldstat. 1999-03-17 21:57:53 +00:00
Nate Williams bc5e173e38 MFC: Fix typos in PCIC load check. 1999-03-17 20:58:33 +00:00
Bill Fumerola e6b6514b3c MFC: portmap_program, lpd_program, sendmail comments, check_quota, enable_quotas
rc.conf 	1.1 -> 1.4
	rc.network 	1.39 -> 1.40
	rc 		1.179 -> 1.180
			1.182 -> 1.183
1999-03-17 20:04:57 +00:00
Nate Williams e9f1d56f38 MFC: Add a Q&D test before loading the pcic module to make sure there
isn't a compiled in one.
1999-03-17 17:41:35 +00:00
Jordan K. Hubbard 7acb907916 don't use objlink 1999-03-17 11:10:49 +00:00
Bill Fumerola a230b16180 MFC: whois.c 1.6 -> 1.8 (Russian NIC, gov/mil updates)
MFC: whois.1 1.4 -> 1.6  (Russian NIC, gov/mil updates, formating)

PR:		bin/9802(gov/mil updates), bin/10627(request for merge)
Submitted by:	Thomas Stromberg <[email protected]> (request for merge)
		ache, wollman
1999-03-17 03:20:47 +00:00
Bruce Evans ab8b80c66d MFC (1.29: fixed `mount -a -u ...'). 1999-03-16 22:30:46 +00:00
Mike Smith 6ad60a1331 MFC, don't call int15:820
PR:		i386/10485
Submitted by:	[email protected]
1999-03-16 21:23:14 +00:00
Mike Smith 431ff53aa9 MFC, search for correct ACPI tag
PR:		i386/10587
Submitted by:	Takanori Watanabe <[email protected]>
1999-03-16 21:12:14 +00:00
Luigi Rizzo ba9ad9cc2a MFC: fix "arp: host is not local" problem with dummynet 1999-03-16 18:03:28 +00:00
Daniel C. Sobral f07004e72b Fix disk unit assignment bug.
PR:		i386/9668
Submitted by:	Stefan Eggers <[email protected]>
1999-03-16 14:58:25 +00:00
David E. O'Brien ef50697a6b Use the date for 3.1-R instead of 3.0-R.
Submitted by:	Tony Finch <[email protected]>
1999-03-16 12:57:42 +00:00
Julian Elischer 6445e8efde Protect a list operatio behind splbio()
MFC: 1.53->1.54 (partial)
Submitted by: Matt Dillon <[email protected]>
1999-03-16 00:04:50 +00:00
David E. O'Brien b2293d68a7 Most 3.1->3.2 & 3.0->3.1
Add NTFS driver.
Add ISC dhclient.
1999-03-15 09:47:17 +00:00
Daniel C. Sobral 710343c75e The man page, version 0.1. 1999-03-15 08:57:48 +00:00
cvs2svn 69c46ea1f2 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-03-15 08:52:24 +00:00
Bill Fumerola e8d83c1898 MFC: grammar nits 1999-03-15 02:58:24 +00:00
Bill Fumerola 3ea544dfe6 MFC: typos 1999-03-15 02:50:44 +00:00
Bill Fumerola 5ba17e102c MFC: Typo 1999-03-15 02:37:06 +00:00
Kazutaka YOKOTA 30f3e59098 This is a temporary workaround for kernel panic occurring when
switching video modes.  People typically see the panic when the screen
saver has been running and is being stopped.

WARNING: this is not a real fix.  Something really funny must be
happening in the page table entries for the physical memory
0x0-0xa0000, which is mapped to the beginning of the kernel region.
1999-03-15 00:20:56 +00:00
Daniel C. Sobral d78dd4a690 MFC. r1.13, increase FICL dictionary size. 1999-03-14 22:03:11 +00:00
Dag-Erling Smørgrav a14666e77b MFC: Fix bogons in previous commit. 1999-03-14 20:30:08 +00:00
Mike Smith 6691634f9d MFC: fix syntax description for boot command. 1999-03-14 19:56:21 +00:00
Bill Fumerola 39456dec76 MFC: Sync MASTER_SITE_* from bsd.port.mk 1999-03-14 19:06:39 +00:00
Semen Ustimenko 5431bf4188 MFC: Going to backport to RELENG_3, rest things:
include mount_ntfs dir into src/sbin/Makefile,
ntfs dir into src/sys/modules/Makefile,
merge 1.83 -> 1.84 change from current to src/sys/sys/vnode.h,
1.200 -> 1.201 to src/sys/conf/files,
1.128 -> 1.129 to src/sys/conf/options.
1999-03-14 09:59:54 +00:00
Semen Ustimenko f154f9b84f MFC: Going to packport to RELENG_3 1999-03-14 09:47:05 +00:00
Semen Ustimenko 241e087fe9 MFC: Going to backport to RELENG_3 1999-03-14 09:40:48 +00:00
Joerg Wunsch 270b5a3346 MFC: NDGBPORTS is a supported option now. 1999-03-14 07:07:02 +00:00
Kenneth D. Merry ac474c8f4a MFC, version 1.49
Disable tagged queueing for IBM DCAS drives, update comment for WD
Enterprise drives.

PR:		kern/10398
Submitted by:	Hideaki Okada <[email protected]>
1999-03-14 05:17:49 +00:00
Dag-Erling Smørgrav bf3fba5b15 MFC: Chown the pty device nodes back to root:tty. 1999-03-14 03:21:39 +00:00
Jordan K. Hubbard c0d0b0d5ac MFC: chmod ppp directory to proper perms 1999-03-13 10:41:29 +00:00
Julian Elischer 61762e9ea7 MFC: set resid in IO completion. (matches 1.73->1.74) 1999-03-13 00:32:36 +00:00
Julian Elischer da0b803d5a MFC: place parens around SMBPRI to ensure correct eavluation. ->1.3 1999-03-13 00:17:01 +00:00
Jordan K. Hubbard 564f28f750 Add doscmd back; it appears to build without X now. 1999-03-12 21:16:19 +00:00
Ollivier Robert 13f2c7c8a5 MFC: add '-p' for POSIX compliant output.
Patch rewritten for 3.1-STABLE & 4.0-CURRENT.

PR:		bin/10515
Submitted by:	Jens Schweikhardt <[email protected]>
1999-03-12 11:15:13 +00:00
Ollivier Robert c4167a280b PID_MAX is now 99999.
PR:		docs/10530
Submitted by:	Ben Smithurst <[email protected]>
1999-03-12 10:50:36 +00:00
Julian Elischer e12efeba16 MFC: 1.116
Fix the 'fwd' option to ipfw when asked to divert to another machine.
plus cleanups.
Submitted by: Matthew Reimer <[email protected]>
1999-03-12 01:17:14 +00:00
Julian Elischer 0ff47de1c9 MFC: Stop an mfs process from being swapped out. This can cause deadlock
Submitted by: Matt Dillon <[email protected]>
(a fix to an earlier patch of his).
1999-03-12 00:51:47 +00:00
David Greenman 364d988de3 Brought in fix from rev 1.43: overflow bug 1999-03-11 19:21:31 +00:00
Kazutaka YOKOTA 751eef4067 YAMFC: add syscons.4 to Makefile. 1999-03-11 14:11:06 +00:00
Jordan K. Hubbard 04f21e8009 MFC: not so chatty 1999-03-11 11:03:00 +00:00
KATO Takenori d25c858db8 MFC: Make loader be able to load 1.2MB fd on machines w/ 1.44MB fdd.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-11 10:27:15 +00:00
KATO Takenori 3dd64d9295 MFC: Fix to find correct unit number for da device.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-11 10:26:21 +00:00
KATO Takenori 44bf2add9a Sync with sys/i386/isa/sio.c revision 1.224.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-11 10:24:33 +00:00
Jordan K. Hubbard a2559cf495 MFC: fixit fixes. 1999-03-11 09:38:21 +00:00
cvs2svn 6e9213e029 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-03-11 09:24:53 +00:00
Brian Somers 47a5e18bba MFC: Get the pid right if a stale lock file exists. 1999-03-11 09:10:04 +00:00
Alan Cox bdf8d4a974 MFC:
Change vm_map_growstack to acquire and hold a read lock (instead of a write
lock) until it actually needs to modify the vm_map.

Upgrading a map's lock to exclusive status should increment
the map's timestamp.  In general, whenever an exclusive lock is
acquired the timestamp should be incremented.
1999-03-11 05:56:49 +00:00
Jordan K. Hubbard 1448a6c501 MFC: Use FreeBSD as a prefix. 1999-03-10 21:59:59 +00:00
Dag-Erling Smørgrav 3592c1b3d5 MFC: Fix fstat compatibility by printing the address of the tcppcb instead
of that of the regular socket pcb for TCP sockets.

PR:             bin/9963
Submitted by:   Ruslan Ermilov <ru@@ucb.crimea.ua>
1999-03-10 17:32:26 +00:00
Warner Losh b3983ee3c1 MFC: Fix link count overflow problems.
ext2_vnops.c 1.44
	ufs_vnopfs.c 1.109, 1.110, 1.111
1999-03-10 16:57:53 +00:00
Jordan K. Hubbard 118d0b1fc1 MFC: nuke outdated mechanism 1999-03-10 03:51:15 +00:00
Jordan K. Hubbard 90b943e11d MFC: dependent package marking. 1999-03-10 02:51:26 +00:00
Andrzej Bialecki abc79249ce MFC: Take boot1/boot2 from their new place (/boot).
Submitted by:	luigi
1999-03-09 21:19:11 +00:00
Andreas Klemm b173be8f34 Fix from author of the driver:
The i++ loop from 1..1000 is too small on very fast machines like
PII 450 MHz. Increasing the loop from 1..100000 lets the machine
access PHY. After this patch it's possible to use a SMC PCI card
on a HP Kayak XA series PC Workstation. Workaround until this fix
was to enable debugging in the driver (#define EPIC_DEBUG 1).

Without that patch you get an undefined state:
while true
do
ifconfig -a | grep status:
done
The status messages flaps between twwo values, but not
"connected".

Obtained from:	Semen Ustimenko ([email protected])
1999-03-09 17:33:04 +00:00
Luigi Rizzo a479b3971e MFC: bring support for diskless in RELENG_3 1999-03-09 17:04:40 +00:00
Luigi Rizzo 818a5b1dae MFC: fix support for diskless in RELENG_3.
Now /etc/rc is the same as in HEAD, rc.diskless[12] are slightly
different using fewer mfs systems (there is still a lot of room
for improvement in both HEAD and RELENG_3)
1999-03-09 15:01:24 +00:00
Kazutaka YOKOTA 81922b96c2 MFC: don't free a NULL pointer. 1999-03-09 14:23:41 +00:00
Jordan K. Hubbard 0d886e7bc0 MFC: various. 1999-03-09 12:40:15 +00:00
Daniel C. Sobral 921283d3f0 MFC. Document -D flag, change error message.
PR:		bin/10462
Obtained from:	Matthew D. Fuller <[email protected]>
1999-03-09 11:46:58 +00:00
Justin T. Gibbs 114728c04e MFC: Cleanup and order register definitions. 1999-03-08 22:44:36 +00:00
Justin T. Gibbs 5435ad655f MFC: Add necessary splcam() protection. 1999-03-08 22:44:14 +00:00
Jun Kuriyama 84cfebf6d2 MFC:
Add "beep" subcommand.
1999-03-08 22:09:54 +00:00
Jun Kuriyama 500e5284cd MFC:
Add "beep" ioctl.  (#10 is reserved for PIOCSVIR)
1999-03-08 22:07:23 +00:00
Justin T. Gibbs 4553a0ee27 MFC: Add a routine for asking the card for IRQ/DRQ info. Fix comparision bug
in syncrate code so we don't attempt unsupported commands.
1999-03-08 21:39:35 +00:00
Justin T. Gibbs e704d43ce0 MFC: Ask the adapter for our interrupt information. ECU info is unreliable. 1999-03-08 21:38:03 +00:00
Justin T. Gibbs f48d63b47b MFC: Pull IRQ/DRQ probe code into bt.c. 1999-03-08 21:37:28 +00:00
Steve Price 92295ec547 MFC: Devid -> David. 1999-03-08 21:22:35 +00:00
Bruce Evans 6082ce3a54 MFC (1.229: fix null pointer panic for misconfigured master ports). 1999-03-08 18:13:50 +00:00
Kenneth D. Merry d91806f260 MFC: revisions 1.45 and 1.47 of cam_xpt.c (1.46 is already merged)
Limit the number of outstanding transactions to two for all Segate Medalist
Pro drives.  (4G, 6.5G, 9G)
1999-03-07 22:51:15 +00:00
Brian Somers 47f61c6e54 MFC: Correctly drop existing connections when reopening the diagnostic
socket.
1999-03-07 11:55:12 +00:00
Justin T. Gibbs 55d66c2796 Correction for last log message.
MFC: Dynamically allocate target instances at run time.
1999-03-07 00:44:17 +00:00
Justin T. Gibbs 633ab628c7 MFC: Add untested 2930U2W support. Adjust for changes in negotiation
parameter layout in softc.
1999-03-07 00:42:43 +00:00
Justin T. Gibbs da6e0ab09f MFC: Add cam_imask to splvm(). 1999-03-07 00:41:58 +00:00
Justin T. Gibbs ed1a4c0d7f MFC: ahb.c - poll for scsi bus reset completion.
ahc_eisa.c - Adjust for changes in negotiation parameter layout in softc.
1999-03-07 00:41:38 +00:00
Justin T. Gibbs dc1d343fb5 MFC: Fix MULTI TID support. 1999-03-07 00:40:47 +00:00
Justin T. Gibbs 5aad51e4b3 MFC: Add target control device. Fix bugs. Silence SYNC CACHE illegal
request errors.
1999-03-07 00:40:31 +00:00
Justin T. Gibbs c5d7ea17e3 MFC: Add XPT group code macros and #defines.
Use splcam() protection on the EDT.
1999-03-07 00:39:49 +00:00
Justin T. Gibbs 237d0a3dcf MFC: Add target control device. 1999-03-07 00:38:56 +00:00
Justin T. Gibbs adab596db9 MFC: Add targ.ctl. 1999-03-07 00:37:59 +00:00
Archie Cobbs 787a3af8ea MFC: When an incoming packet is reflected back as an ICMP reply, make sure we
zero "m->m_pkthdr.rcvif", otherwise ipfw may wrongly match the outgoing packet.
1999-03-06 23:12:32 +00:00
Jordan K. Hubbard 5f32b66ba8 MFC: rev 1.224 1999-03-05 19:49:42 +00:00
KATO Takenori 670b2c7f09 MFC: 1.44MB fd support. 1999-03-05 08:13:58 +00:00
KATO Takenori f0ea61274f MFC: fix the character code of backslash. 1999-03-05 08:12:17 +00:00
KATO Takenori a9739aee94 MFC: read boot.config file. 1999-03-05 08:10:39 +00:00
Bill Paul 92f9c78d33 MFC: initialize rcvif in mbuf packet header to NULL in arprequest(). 1999-03-04 04:04:48 +00:00
Julian Elischer b9c1063d0f MFC:
On systems with
really fast I/O systems, it is possible to get in an infinite loop trying
to flush the buffers, because the I/O finishes before we can get all the
dirty buffers off the v_dirtyblkhd list and into the I/O queue. Fix this.

Submitted by: Matt Dillon <[email protected]>
Reviewed by: Kirk McKusick <[email protected]>
1999-03-03 19:33:16 +00:00
Julian Elischer a4090454b2 MFC:
close a race condition when newly allocated bufs might
	duplicate other newly allocated bufs.
Submitted by: Mat dillon <[email protected]>
Reviewed by: "John S. Dyson" <[email protected]>
1999-03-03 17:43:17 +00:00
Joerg Wunsch e47843cf30 MFC: fixup whitespace of previous commit 1999-03-03 14:03:48 +00:00
Joerg Wunsch 14757b3be6 MFC: . explicitly use fcntl(...,F_SETOWN) so we get SIGIO's
. revert to vfork() since the code relied on it
     . lookup ptys up to /dev/tty[pqrst]v
1999-03-03 12:10:50 +00:00
Jun Kuriyama db16fb24dc MFC:
Use O_RDONLY and O_RDWR for open() instead of number.
1999-03-03 11:15:33 +00:00
KATO Takenori 2a587f2c6f MFC: added FE_8BIT_SUPPORT into the list. 1999-03-03 10:57:44 +00:00
Roger Hardiman 5245375282 Updated the bktr entry to generate /dev/vbi
This is for VBI capture from the bt848 driver allowing
software teletext decoding.
1999-03-02 16:50:55 +00:00
Daniel C. Sobral 8acfe1931b MFC: Don't treat empty lines as end-of-file in include(). 1999-03-02 16:19:21 +00:00
KATO Takenori d7fd18ed21 MFC: fix for LINE30 option. 1999-03-02 12:41:17 +00:00
Alexander Langer 7f6d1516c2 MFC (rev 1.5): improve error message when attempting to link to a
non-existent file on the local host.
1999-03-02 04:17:02 +00:00
Julian Elischer 922e343c3a MFC:
Submitted by:	[email protected] (linuxthreads freebsd maintainer)
Fix Linux threads ability to track child processes/threads.
1999-03-02 00:42:09 +00:00
Julian Elischer 491bb11d8b MFC: Force synchronous operation if we are extremely low on memory
to prevent a low-memory deadlock.
Reviewed by: "John S. Dyson" <[email protected]>
Worked on by: Matthew Dillon <[email protected]>
Submitted by: Darrell Anderson <[email protected]>
and Andrew Gallatin <[email protected]>
1999-03-01 22:55:53 +00:00
Jun Kuriyama f8053b93e5 MFC:
s/card.conf/pccard.conf/
1999-03-01 22:05:30 +00:00
Luigi Rizzo 4d38ff42af MFC: fix IFF_ALLMULTI support enabling multicast router operation on
de interfaces
1999-03-01 17:03:24 +00:00
Bill Paul c9222352c3 MFC: close PR #10264. Don't bomb with fatal error in my_yp_match(): return
error status instead.
1999-03-01 16:12:35 +00:00
Roger Hardiman b809bea3c5 Bring 3.x-stable file inline with 4.x-current file CVS 1.22
(Bt848 driver release 1.60)
1999-03-01 11:05:38 +00:00
Roger Hardiman 4d4dfb5fde Bring 3.x-stable driver inline with 4.x-current driver CVS 1.67
(Bt848 driver release 1.60)

Added check to bktr_mmap from OpenBSD driver.
Improved MSP34xx reset for bt848 Hauppauge boards.
Added detection for Bt848a.
Added more XUSSR channels and TVTUNER_GETCHANSET ioctl.
Support Hauppauge Infra-Red Remote Control with new ioctl.
Added GPIO access ioctls - protected by #ifdef BKTR_GPIO_ACCESS
Corrected Mute on Hauppauge TV+Radio cards.
Autodetect MMAC Osprey card by looking for "MMAC" in the EEPROM.
Added ALPS Tuner Type.

Submitted by:	parts from Hiroki Mori <[email protected]> and Vsevolod Lobko<[email protected]>
Obtained from:	part from OpenBSD
1999-03-01 10:52:49 +00:00
Roger Hardiman 3e3c24cd81 Bring 3.x-stable file inline with 4.x-current file CVS 1.25
(Bt848 driver release 1.60)

Add new #defines for Bt848a card detection.
1999-03-01 10:48:18 +00:00
KATO Takenori 6aaba1f7a4 Sync with sys/boot/i386/btx/btx/btx.s revision 1.8.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-03-01 10:03:57 +00:00
Brian Somers 813bbad3d0 MFC: Bring up auto links despite there being no data queued if
we're already in network phase and our autoload values
     are set with no minimum threshold (the default).

     Tell the autoload timer that it's ``coming up'' *before*
     calling AutoLoadTimeout() directly... not after.  This
     prevents the very first demand-dial connection from
     immediately disconnecting when there are other auto links.

     Problem diagnosis:  Ted Mittelstaedt <[email protected]>
1999-03-01 00:47:15 +00:00
Archie Cobbs 8065f1c72f MFC: Add '-p pattern' option for splitting based on lines matching a pattern. 1999-03-01 00:41:48 +00:00
Gary Jennejohn 6bd04cd9be MFC: make buf in authflags bigger.
Requested by: Joerg Wunsch
1999-02-28 22:21:57 +00:00
Tor Egge 0403ea59e3 MFC: Don't call assign_apic_irq with a value for irq that is out of range. 1999-02-28 21:22:16 +00:00
Andrey A. Chernov 38187d2c65 MFC: PRUNEPATHS assignment 1999-02-28 20:42:02 +00:00
Dmitrij Tejblum 4b9dad44aa MFC rev. 1.5: typo. 1999-02-28 19:52:06 +00:00
Peter Wemm c757fbb95e MFC rev 1.37; fix rest of MNT_UNION/unionfs mixup. 1999-02-28 16:15:06 +00:00
David E. O'Brien e5155bbe1d MFC rev 1.3 (for both files) 1999-02-28 09:13:03 +00:00
Daniel C. Sobral 04f2472421 MFC. Correct $ behavior to print new lines. 1999-02-28 02:12:00 +00:00
Julian Elischer 6f5e8854f0 MFC: reintroduce code for union mounts deleted accidentally in 1.109.
matches 1.118->1.119
Submitted by: Tony Finch <[email protected]>
1999-02-27 07:10:39 +00:00
Peter Wemm 7068ad3636 Backport NetBSD's 19990120-accept fix from -current to 3.x-stable.
This includes:  uipc_socket.c rev 1.52,1.54; uipc_socket2.c rev 1.44,
socketvar.h rev 1.33, uipc_syscall.c rev 1.54 (indirectly related)
1999-02-26 17:32:51 +00:00
Bill Paul dfdf8849e0 MFC: remove DELAY() from xl_wait(). 1999-02-26 08:40:39 +00:00
Bill Paul 5207a72d2c MFC: add PCI device ID for the PNIC II. 1999-02-26 07:51:44 +00:00
Tim Vanderhoek 2ed21ccb36 MFC: r.1.2, Decapitalize function name. 1999-02-26 01:32:12 +00:00
Mike Smith 34b8b56cf8 MFC: Motorola Montana 1999-02-25 23:34:52 +00:00
Jordan K. Hubbard 043965e3dc MFC: PR#10252 1999-02-25 22:18:57 +00:00
Guido van Rooij c82f482e36 MFH: 1.72 (for a description see rev 1.66 and 1.67 from pcici.c) 1999-02-25 20:32:54 +00:00
Brian Somers ccec8e3a8e MFC: Parse IP addresses more securely - specifically, don't allow
a bum name to return as 0.0.0.0... we don't want ``delete xxx''
     to delete the default route when xxx doesn't resolve.

     Support IP number specifications as the host when specifying
     a tcp-style device (rather than *just* hostnames).
1999-02-25 20:08:11 +00:00
Garrett Wollman 6a64552a6a Merge from 4.0: teach newsyslog how to do something at a specific
time of day.
1999-02-25 18:38:33 +00:00
Garrett Wollman 4fea87acee Merge changes from 4.0: update references and add -A flag. 1999-02-25 18:36:32 +00:00
Robert Nordier fce81da2c3 MFC: Check size of partition before using it. 1999-02-25 17:49:24 +00:00
Robert Nordier 6452e8307f MFC: Emulate a V86 "movl %cr0,%eax" instruction. 1999-02-25 16:33:02 +00:00
Bruce Evans cf0fcd2723 MFC (don't forget to update `switchticks' in corner cases). 1999-02-25 14:36:29 +00:00
KATO Takenori 75207fb267 MFC: added comment on Access/PC and LAC-98 cards, and FE_8BIT_SUPPORT
option.
1999-02-25 14:02:36 +00:00
KATO Takenori 481ae3e849 MFC: added adv driver. 1999-02-25 13:54:54 +00:00
KATO Takenori 026d625ab7 Sync with sys/boot/i386/loader/Makefile revision 1.28.2.1
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-25 13:45:40 +00:00
Mike Smith 788f5dd92c MFC: don't protect page 0 anymore. 1999-02-24 01:37:46 +00:00
Bill Paul eefae7c25e MFC: add PCI vendor and device IDs for other RealTek and VIA Rhine II
adapters from Delta and Addtron.
1999-02-23 15:40:56 +00:00
Andrey A. Chernov f49a4133b5 MFC: remove ctype.c 1999-02-23 15:15:10 +00:00
Bruce Evans 484b5d8f94 MFC (improved scheduling in uiomove(), etc.). 1999-02-23 13:44:36 +00:00
Daniel C. Sobral 6f6a462b52 Late MFC to bring it up to loader's version. 1999-02-23 08:46:00 +00:00
Bill Paul 1d3ae56287 MFC: fix typo. 1999-02-23 02:01:07 +00:00
Bill Paul 4172073f64 MFC: small changes for AX88141. 1999-02-23 01:57:08 +00:00
Andrzej Bialecki b37a73f192 Improve check for "custom" directory.
PR:		misc/10155
Submitted by:	John Baldwin <[email protected]>
1999-02-22 21:25:15 +00:00
Bruce Evans 544a6b5493 MFC (added per-cpu variable `switchticks'). 1999-02-22 15:59:40 +00:00
Daniel C. Sobral fdcc2375fb MFC. Assorted memory leak/buffer reuse fixes. 1999-02-22 13:19:56 +00:00
Steve Price 00d1872c28 MFC: new path for dhclient. 1999-02-22 02:56:08 +00:00
Andrzej Bialecki 4b7c6e2e56 We no longer install SNMP daemon by default - it was too big. 1999-02-21 22:04:54 +00:00
Andrzej Bialecki 4720473a8c A couple of fixes: copy login.conf correctly, install Forth menu. 1999-02-21 22:04:24 +00:00
Andrzej Bialecki 94aa12e841 Do the right thing when kernel doesn't support PnP. 1999-02-21 22:02:38 +00:00
Andrzej Bialecki 52fcffe80a Clarify debug message. 1999-02-21 22:02:08 +00:00
David E. O'Brien 5c1b50d6ec revert rev 1.539.2.4 1999-02-21 21:12:26 +00:00
David E. O'Brien b39ed40c22 revert rev 1.143.2.2.
(nobody has yet to explain how I was able to config, compile, and run
a rev 1.143.2.2 kernel w/no warnings/errors)
1999-02-21 21:08:10 +00:00
Nicolas Souchu f5aeab93b9 Fix controller/device ppc0 inconsistency with GENERIC
Suggested by: Jeroen Ruigrok/Asmodai <[email protected]>
1999-02-21 15:24:41 +00:00
Jonathan M. Bresler 1c4e95ab60 gulf.net no longer provides lists of spam domains and spam
ip address ranges via anon ftp. therefore we no longer try
	to get these from gulf.net.  this change was committed to
	HEAD 1/31/1999 and should have been brought to -stable at
	that time.
1999-02-21 14:32:47 +00:00
Doug Rabson 4d4309cbc4 MFC: Add support for Compaq ProLiant 1200 host to PCI bridge. 1999-02-21 11:41:03 +00:00
David E. O'Brien cb825e151a Remove old lpt stuff, and rename "nlpt" to "lpt". 1999-02-20 21:17:50 +00:00
David E. O'Brien 87518f76d7 MFC. 1999-02-20 21:14:41 +00:00
Kazutaka YOKOTA 289be3124f MFC: Make sure the DAC palette width is restored to 6 bit. 1999-02-20 03:06:04 +00:00
Kazutaka YOKOTA 7eb9e35f51 MFC: Fix <back quote>/<logical not>/<vertical bar> key.
PR: i386/10130
1999-02-20 02:24:26 +00:00
Luigi Rizzo 10fdb1db53 MFC: prevent panic when pkts > MTU and with DF set get out of a pipe.
Actually, after fixing this for the third time (in HEAD, RELENG_3
and RELENG_2_2) i notice that there are a few more places in
ip_output() potentially with a similar problem:

the head of the mbuf chain is changed, yet the original pointer m0
(which is used in case the pkt exceeds the MTU and has DF set) is
not updated. This could lead to panics or more likely to mbuf leaks
depending on what happens to the original mbuf pointed by m0.
Something worth fixing soon...
1999-02-19 18:56:58 +00:00
Matthew Dillon 62193ed012 MFC from -4.x, protect vn worklist at splbio(). 1999-02-19 17:46:00 +00:00
Jordan K. Hubbard cfb8ae8b3f MFC: doc changes. 1999-02-19 16:51:22 +00:00
Andrey A. Chernov ba421d872d MFC 1999-02-19 14:58:27 +00:00
KATO Takenori 02c6dc712e Sync with sys/i386/i386/machdep.c revision 1.322.2.4.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-19 14:39:52 +00:00
David E. O'Brien 74f78b816c Now that introductions have been done, perform the marrage. 1999-02-19 10:35:08 +00:00
David E. O'Brien 3caa5df7c8 Mr. 3.1-STABLE, meet Ms. DHCP client 1999-02-19 10:32:57 +00:00
Mike Smith 5598f2fb92 MFC: D-Link DE-660 entry 1999-02-19 07:21:46 +00:00
John Polstra 292cd0579c MFC 1.6 -> 1.7: Fix typo in comment. 1999-02-19 01:37:16 +00:00
John Polstra 4126357b1b MFC 1.6 -> 1.7: Fix Linux emulator breakage by not loading dynamic
linker at a fixed address.
1999-02-19 01:36:29 +00:00
Kenneth D. Merry 052745d518 Merge the following revisions of the following files into RELENG_3:
Revision  Path
  1.2       src/share/man/man9/devstat.9
  1.15      src/sys/cam/scsi/scsi_cd.c
  1.10      src/sys/cam/scsi/scsi_ch.c
  1.20      src/sys/cam/scsi/scsi_da.c
  1.6       src/sys/cam/scsi/scsi_pass.c
  1.5       src/sys/cam/scsi/scsi_pt.c
  1.19      src/sys/cam/scsi/scsi_sa.c
  1.40,1.41 src/sys/dev/ccd/ccd.c
  1.133     src/sys/i386/isa/fd.c
  1.188     src/sys/i386/isa/wd.c
  1.19      src/sys/i386/isa/wfd.c
  1.9       src/sys/kern/subr_devstat.c
  1.52      src/sys/pc98/pc98/fd.c
  1.74      src/sys/pc98/pc98/wd.c
  1.4       src/sys/sys/devicestat.h
  1.30      src/usr.bin/vmstat/vmstat.c

The changes to atapi-cd.c that went into -current have not been merged,
since devstat support for that driver is not in RELENG_3.

Add a prioritization field to the devstat_add_entry() call so that
peripheral drivers can determine where in the devstat(9) list they are
inserted.

This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and
any ports that depend on the devstat code, since the size of the devstat
structure has changed.  The devstat version number has been incremented as
well to reflect the change.
1999-02-18 22:06:27 +00:00
cvs2svn 165a02f2bc This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-18 18:56:59 +00:00
Kenneth D. Merry a3320d4f45 MFC (version 1.44).
Fix sync rate and transfer rate printouts in xpt_announce_periph().
Sync rates like 4.032MHz were getting printed as 4.32MHz.

Also, add a quirk entry for the 18G Quantum Atlas III.  Like most other
recent Quantum drives, it bogusly reports queue full.  Thanks to Andre
Albsmeier <[email protected]> for the Atlas III inquiry
information.

Reviewed by:	gibbs
1999-02-18 18:12:31 +00:00
Jun Kuriyama 280b224b67 MFC:
tzdata1999a
	tzdata1999b
	bde's changes for Russian zones/rules

Reviewed by:	wollman, hideyuki
1999-02-18 11:43:05 +00:00
Joseph Koshy 3b8d37cd10 MFC: {rev 1.3} document use of backslash 1999-02-18 02:34:45 +00:00
Matthew Dillon a5735fff0f Backport from -4.x, unlock vnode before map lookup to avoid deadlock
situation between the vnode and map locks.
1999-02-18 02:04:01 +00:00
Jordan K. Hubbard faecaebd96 Forgotten MFC on lkms. 1999-02-18 00:58:20 +00:00
Mike Smith 7a6cc0849b MFC: replace 'make -f' with '${MAKE} -f' 1999-02-17 21:04:44 +00:00
Bruce Evans dc64fd6eb1 MFC (rev.1.326: don't pass PSL_NT to vm86 signal handlers).
PR:		9211
1999-02-17 13:08:41 +00:00
Bill Fenner abd55c860b MFC: off-by-one error. 1999-02-16 19:05:27 +00:00
Dag-Erling Smørgrav 7b7a748bff MFC: Better fix for the traceroute flood bug. 1999-02-16 14:24:02 +00:00
KATO Takenori e3362cfab8 MFC: revision 1.65.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-16 11:16:22 +00:00
KATO Takenori cd4007750f MFC: revision 1.79 (added PPC_DEBUG option).
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-16 11:13:57 +00:00
KATO Takenori 49bd395d82 Sync with sys/i386/conf/files.i386 revision 1.220.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-16 11:10:10 +00:00
KATO Takenori 0aed86322b Sync with sys/i386/i386/machdep.c revision up to 1.322.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-16 11:09:27 +00:00
Jordan K. Hubbard cd9dec0dd6 MFC: forgive PnP config saving problems. 1999-02-16 01:59:45 +00:00
Brian Somers 792bc95afa MFC: Fix dgb & dgm i/o addresses. 1999-02-16 00:20:03 +00:00
Julian Elischer ded6348af3 MFC: Add ability to sense the autodetected speed and duplex mode. 1999-02-15 08:47:10 +00:00
Bill Fenner 50e41a8b50 MFC: .Os usage 1999-02-15 08:46:22 +00:00
Dag-Erling Smørgrav 09f0b1a32f MFC: avoid negative timeout in select(). 1999-02-15 08:16:29 +00:00
Jordan K. Hubbard 3ec3e87697 MFC: save pnp data. 1999-02-15 07:10:41 +00:00
Jordan K. Hubbard ad154b2b75 post-release now. 1999-02-15 05:01:50 +00:00
Jordan K. Hubbard 496747cdd4 MFC: add gnome category. 1999-02-15 04:57:40 +00:00
Jordan K. Hubbard 724b6598c9 Correct syntax error in previous commit. 1999-02-15 04:48:32 +00:00
Dag-Erling Smørgrav 3fef0241bc Replace lpt0 with ppc0.
Add rdp to the hardware list.
1999-02-15 04:04:12 +00:00
Jordan K. Hubbard 098f5eaf0c 3.1-RELEASE! 1999-02-15 03:39:26 +00:00
Jordan K. Hubbard cd5b222b97 Sync with current reality. 1999-02-15 03:38:36 +00:00
Jordan K. Hubbard 9a3b5eec54 Update for impending 3.1-RELEASE. 1999-02-15 03:32:25 +00:00
Jordan K. Hubbard f4a2ead6ac MFC: install new disklabel. 1999-02-15 02:52:09 +00:00
Dag-Erling Smørgrav 932a95a6a1 Add a warning to the probe message about the driver being deprecated.
Approved by:	jkh
1999-02-15 02:51:18 +00:00
Dag-Erling Smørgrav 95d591a843 Use ppbus instead of the old lpt driver. Add a mention in LINT to the
effect that the old driver is deprecated.

Approved by:	jkh
1999-02-15 02:50:08 +00:00
Dag-Erling Smørgrav 8f4fc99399 Use ppbus instead of the old lpt driver.
Approved by:	jkh
1999-02-15 02:49:31 +00:00
Jordan K. Hubbard d6c7c44f53 MFC: better guess. 1999-02-15 02:23:41 +00:00
Dag-Erling Smørgrav 09c349a069 MFC: doc fix, and use device node rather than unit number.
Approved by:	jkh
1999-02-15 01:27:36 +00:00
Matthew Dillon e2fee34981 backport from -4.x, only call sorflush() on socket types when close()ing
descriptors lost in transit ( via sendmsg() ) when both ends are closed
    unexpectedly.  W/ Jordan's permission.
1999-02-15 01:18:25 +00:00
Jordan K. Hubbard ece5a689df MFC: fix fixit, media cleanup 1999-02-15 00:49:58 +00:00
Andrzej Bialecki 753533e187 MFC: Copy the 'reboot' script only for "dial" floppy. 1999-02-15 00:29:51 +00:00
Nicolas Souchu 7d260329fe Fix ppc interrupt handling at boot.
Ensure PPBPRI is correctly interpreted by compiler.
1999-02-14 22:05:29 +00:00
David E. O'Brien 2e55cb365b MFC am_defs.h rev 1.5 & config.h rev 1.10
Ok'ed by:	jkh
1999-02-14 22:02:33 +00:00
Jordan K. Hubbard 3be02e6473 MFC: various updates. 1999-02-14 21:35:55 +00:00
Jordan K. Hubbard aceab2d9e8 MFC: fix initial state. 1999-02-14 21:26:52 +00:00
Jordan K. Hubbard 69f5a4205e MFC: new screen savers. 1999-02-14 20:14:35 +00:00
Jordan K. Hubbard e58fc52570 MFC: use correct rc.conf file. 1999-02-14 20:06:52 +00:00
Jordan K. Hubbard fa178370c5 Turn SYSVMSG on by default for the KDE folks. 1999-02-14 19:55:39 +00:00
Jordan K. Hubbard d04821280e MFC: proper acd handling. 1999-02-14 19:42:23 +00:00
Jordan K. Hubbard 5c7de314a1 MFC: update ports info. 1999-02-14 18:55:29 +00:00
Dag-Erling Smørgrav 683811530c MFC: Mention that chflags can fail with EOPNOTSUPP.
Approved by: jkh
1999-02-14 14:16:44 +00:00
Dag-Erling Smørgrav 68b4d8c1a2 MFC: Ignore errors from chflags.
Approved by:	jkh
1999-02-14 14:09:44 +00:00
Jordan K. Hubbard 1e9b06deb9 MFC: don't use defaults which cause our own NFS code to fall over. 1999-02-14 07:43:33 +00:00
Jordan K. Hubbard cae9bc003c MFC: mark rc.conf vars properly. 1999-02-14 07:39:55 +00:00
Jordan K. Hubbard c2661e94ad MFC: preserve rc.conf 1999-02-14 05:53:12 +00:00
Jordan K. Hubbard c48e39291e MFC: set PATH 1999-02-13 18:49:14 +00:00
Bruce Evans c65fd63b69 MFC (reschedule and/or allow killing some syscall hogs). 1999-02-13 09:30:56 +00:00
Matthew Dillon ba26628572 PR: kern/9970
Backport from -4.x, remove illegal vput from nfs_link().
1999-02-13 08:03:47 +00:00
Matthew Dillon a3a96c0aec Backport from -4.x - clarify VOP_LINK operation & correct previous
incorrect description.
1999-02-13 07:57:22 +00:00
Jordan K. Hubbard 2646322441 MFC: merge changes in both directions. 1999-02-13 05:31:07 +00:00
Jordan K. Hubbard f22a7b5395 MFC: new /etc files 1999-02-13 05:18:24 +00:00
Andrzej Bialecki d0d47cbebc Extract the PnP settings as well. 1999-02-12 20:14:47 +00:00
Daniel C. Sobral 72389088ad MFC. Remove setjmp/longjmp() dependency on floatiing point, on i386.
Also, mfc a modification to the file pager, to make it a little bit more
useful.

Approved by:	jkh
1999-02-12 17:28:18 +00:00
cvs2svn a78f8ae86f This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-12 17:22:31 +00:00
Bill Paul 97ad2fb25b MFC: don't issue TX and RX commands so that we don't retrigger
autonegotiation and introduce delays.

Okayed by: jkh
1999-02-12 16:06:29 +00:00
Wes Peters 5abeead440 Reviewed by: jkh
Submitted by:	wes
Additional commentary to explain what the various
columns of data mean.
1999-02-12 04:03:39 +00:00
Jordan K. Hubbard 28d461d392 MFC: both types of rc.conf location 1999-02-12 00:17:35 +00:00
Jordan K. Hubbard 5a3b0b2a2f Update comments to match current affairs. 1999-02-11 23:05:00 +00:00
Matthew Dillon 9d55e4c991 Remove $conf_dir usage from rc 1999-02-11 22:03:27 +00:00
John Polstra 87eca08f46 Sync with -current. Merge approved by jkh. 1999-02-11 20:14:51 +00:00
Mike Smith 1aa04c6f47 The previous commit was a merge from -current (HEAD) not -stable, and it
was
Requested by:	jkh
1999-02-11 19:39:31 +00:00
Mike Smith a86cd76be1 MFS - fix %edx on entry to static Linux binaries. 1999-02-11 19:37:44 +00:00
Jordan K. Hubbard 5665693705 MFC: add spanish mirrors. 1999-02-11 14:43:09 +00:00
Jordan K. Hubbard b25bb2d693 MFC: fireport cards. 1999-02-11 14:00:31 +00:00
Justin T. Gibbs fb49a3ec04 MFC: ahc_eisa is also optional on 'eisa' 1999-02-11 07:17:57 +00:00
Justin T. Gibbs c4ebff7c86 MFC: Cosmetic - Complete descriptor manipulation before selwakeup.
Approved by: jkh
1999-02-11 07:17:15 +00:00
Justin T. Gibbs eb07a2b09e MFC: Target mode fixes.
Approved by: jkh
1999-02-11 07:16:29 +00:00
Justin T. Gibbs b94459869b MFC: Correct setting of ultra enable bits in adapter scratch ram.
Approved by: jkh
1999-02-11 07:16:04 +00:00
Greg Lehey 2de0b62811 Correct some indentation
Implicitly-desired-by: bde

update_plex_state:  Handle empty RAID-5 plexes correctly

Permitted-by: jkh
1999-02-11 05:53:52 +00:00
Greg Lehey 3e7be52f18 build_write_request: correct logic for handling writes to volumes with
failed plexes.

allocrqg: Remove dead code

Permitted-by: jkh
1999-02-11 05:50:30 +00:00
Greg Lehey 3a444f490a check_drive: Make sure that we don't open two different drives with
the same name.  Silently return EEXIST if this happens.

vinum_scandisk: Collect drive numbers, not pointers, to avoid problems
of relocated drives.

Tripped-over-by:  Bernd Walter <[email protected]>

Permitted-by:	  jkh
1999-02-11 05:31:02 +00:00
Greg Lehey 70df5eb4f9 In some cases, it's possible that I/O errors will cause the daemon to
time out on an operation.  Under these circumstances, vinum(8) will
automatically start another daemon.  Add a pid for the daemon, so that
an overtaken daemon will discover that it's no longer in favour, and
will crawl into a corner and die.

Permitted-by: jkh
1999-02-11 05:28:41 +00:00
Greg Lehey c80afa51fb Modify example configuration file to show more optimum stripe size of
256 kB instead of 16 kB.

Pointed-out-by: Steve Taylor <[email protected]>

Modify description of start command to include 'start' with no
parameters, which reads the config from all drives found on the
system.

Allowed-by: jkh
1999-02-11 05:18:20 +00:00
Greg Lehey 03f8e887fd Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.

Allowed-by: jkh
1999-02-11 05:16:01 +00:00
Greg Lehey 429c8768ad Include libdevstat in executable, for extended start command. 1999-02-11 05:12:38 +00:00
Dag-Erling Smørgrav 9ab4a48a87 MFC: Don't use an arbitrary hardcoded value for nfds in select() calls.
PR:		bin/9866
Approved by:	jkh
1999-02-10 18:18:39 +00:00
Jordan K. Hubbard 07240a421c MFC: Use rc.conf from new location. 1999-02-10 18:08:38 +00:00
Jordan K. Hubbard b8382a40ca Whoops, move rc.conf out of here too. 1999-02-10 17:58:50 +00:00
Kazutaka YOKOTA 42ffb9861c MFC:
- Revise text, and fix typos and grammatical errors.
- Add syscons.4.
1999-02-10 14:49:52 +00:00
cvs2svn 02fa10fea3 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-10 14:25:04 +00:00
KATO Takenori 0e596180fe MFC: rev. 1.6 (fixed COPYRIGHT_PC98). 1999-02-10 13:10:16 +00:00
KATO Takenori 7341571e8d Sync with sys/i386/i386/userconfig.c revision 1.126.2.3.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-10 13:04:13 +00:00
Jordan K. Hubbard fb7eda3acb MFC: don't use @'s in loader scripts anymore. 1999-02-10 09:34:23 +00:00
Jordan K. Hubbard 6941e5e90d MFC: install correct rc.conf 1999-02-10 09:15:41 +00:00
Jordan K. Hubbard 64785846a0 MFC: install more selectively. 1999-02-10 09:14:20 +00:00
Jordan K. Hubbard b496407802 MFC: save pnp values like isa values. Forgot to mention in -current
commit that this is actually from:

Submitted by:		abial
1999-02-10 00:29:17 +00:00
Jordan K. Hubbard d628e7823b MFC: install into /etc/defaults 1999-02-09 23:08:38 +00:00
Jordan K. Hubbard 7230ed256f MFC: /etc/defaults 1999-02-09 22:35:34 +00:00
Jordan K. Hubbard a5cd3032f5 MFC: retire rc.conf.site 1999-02-09 22:25:59 +00:00
Jordan K. Hubbard 8e3d54063e MFC: remove unused .hash word. 1999-02-09 22:25:06 +00:00
David E. O'Brien 88fe410308 Set __FreeBSD_version for 3.1
Ok'ed by:	JKH
1999-02-09 17:37:32 +00:00
David E. O'Brien cd5ed7ed6c Set __FreeBSD_cc_version for 3.1
Ok'ed by:	JKH
1999-02-09 17:37:21 +00:00
Dag-Erling Smørgrav a8833df9c4 MFC: Don't assume a_name is a number just because the first character
is a digit.

PR:		bin/9484
Submitted by:	Matthew D. Fuller <[email protected]>
1999-02-09 15:08:00 +00:00
Dag-Erling Smørgrav 0804ae51e6 MFC: Redirect mail to pseudo-user pop to root.
PR:		conf/9555
Submitted by:	Ruslan Ermilov <[email protected]>
1999-02-09 15:07:12 +00:00
Satoshi Asami 0989f69ef6 We are now in the beta cycle for 3.1.
Approved by:	jkh
1999-02-08 22:57:48 +00:00
Andrzej Bialecki 1046c94a57 Patch to make mrouted more friendly with crunchgen.
Reviewed by:	fenner, wollman
Submitted by:	luigi
Approved by:	jkh
1999-02-08 21:45:44 +00:00
John Polstra 29fe619412 MFC 1.19 -> 1.20: Fix format mismatches that caused wrong numbers to
come out on the Alpha.  Merge approved by <jkh>.
1999-02-08 19:08:13 +00:00
Dag-Erling Smørgrav 12c7f78b7d Bring the nlpt and plip drivers in sync with -current:
- add the PLIP_DEBUG option
 - fix the plip driver's bpf interaction
 - simplify the probe code in the nlpt driver
 - remove some warnings.

Approved by:		jkh
1999-02-08 19:05:55 +00:00
John Polstra db900c8090 MFC: Load the ELF dynamic linker at an architecture-specific
location, thereby solving breakage that was observed in large-memory
configurations where MAXDSIZ had to be increased.  This merge
includes the following revisions:

	src/sys/kern/imgact_elf.c	1.52 -> 1.53
	src/sys/i386/include/elf.h	1.5  -> 1.6
	src/sys/alpha/include/elf.h	1.5  -> 1.6

Merge approved by <jkh>.
1999-02-08 18:58:36 +00:00
Matthew Dillon d4f72996ae Backport from -4.x. Flush delayed-write data associated with nfs vnode
prior to rename operation.  This is a workaround to an NFS-V3 bug whereby
    the delayed-write data becomes stale after the rename.
1999-02-08 18:27:30 +00:00
KATO Takenori 31e08fc3e2 Sync with sys/boot/i386/loader/version revision 1.2.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-08 10:03:51 +00:00
Julian Elischer 76f7d6a36a MFC: Fix garbage inputs to ifa_ifwithaddr().
Matches revision 1.37
1999-02-08 08:33:38 +00:00
Daniel C. Sobral b947e894eb Bumb up loader's version.
Reviewed by:	Michael Smith <[email protected]>
Approved by:	jhk
1999-02-08 04:20:00 +00:00
Mark Newton 3acac25c18 MFC -- Prevent emulators from being unloaded whilst they are being
used.

Reviewed by:	Jordan Hubbard <[email protected]>
1999-02-08 01:27:18 +00:00
Andrzej Bialecki 191595d310 Change wcd0 to acd0. Pointed out by "E-post fra NetCom-abonnent",
Norway :-)
1999-02-07 22:19:58 +00:00
Jordan K. Hubbard ab3f9a3a7d MFC: distro changes. 1999-02-07 12:56:22 +00:00
KATO Takenori 4cd69b3158 Sync with syscons for i386.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-07 11:22:02 +00:00
KATO Takenori f27ff40679 Sync with sys/i386/i386/userconfig.c revision 1.126.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-07 11:21:07 +00:00
Kazutaka YOKOTA aec1347fb1 MFC:
- Add atkbd.4, atkbdc.4, splash.4 and vga.4.
- Update pcvt.4 and psm.4 to reflect recent keyboard driver changes.

Oked by: jkh
1999-02-07 05:43:14 +00:00
Kazutaka YOKOTA 98becd0eec MFC:
- Add FreeBSD 2.2.7, 2.2.8, 3.1, and 4.0 to the Fx and Os macros.
- Add 2.2.1 and 2.2.2 missing in a couple of places too.

Oked by: jkh
1999-02-07 05:41:37 +00:00
cvs2svn 4534a793b4 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-07 05:40:15 +00:00
Kazutaka YOKOTA 1d4498286b MFC:
- Don't assume the line length in the video memory is always the same as
  the screen width.
- Store the current video mode information in the `video_adapter' struct.
- The size of the `v_offscreensize' field in the VESA mode information
  block is u_int16, not u_int8.

Oked by: jkh
1999-02-07 03:03:29 +00:00
Jordan K. Hubbard 0bb06c2fc8 MFC: menu item reshuffle 1999-02-06 16:35:46 +00:00
KATO Takenori 3e9f0645e1 MFC: Pentium II Xeon, Celeron and Pentium III recognition.
OKed by:	jkh
1999-02-06 16:20:18 +00:00
Daniel C. Sobral 1205ceba72 MFC:
Rename "source" as "include". Make it capable of including forth source,
while stripping #@- functionality (in the BOOT_FORTH case).

Add builtin "more". (This is already in help.common -- must got into one
of Mike's MFC).

Make bf_run return ficlExec() result code. Push "interpret" on the
execution stack before calling ficlExec() (not doing this was a bug,
if we want ficlExec() to recurse).

Add EXCEPTION and MEMORY-ALLOC word sets.

Fix "evaluate" to respect buffer size.

Make builtins "throw" errors instead of pushing them on the stack. Move
error message printing from bf_command() to bf_run().

Make builtins state-aware.

Fix "type" not to use fixed sized buffers.

Add version words to ficl.

Add trace facility to ficl.

Add words $ and % to replace @ and - in "include".

Approved by: jhk
1999-02-06 14:27:46 +00:00
Kazutaka YOKOTA b491a97aeb YAMFC: print banner and prompt in the correct order (rev 1.128).
Approved by: jkh
1999-02-06 10:02:15 +00:00
Jordan K. Hubbard 08e8508f21 MFC: typo fix, reshuffle 1999-02-06 08:45:43 +00:00
KATO Takenori c1390ef92e MFC: activate boot loader for PC98.
Approved by:	jkh
1999-02-06 07:38:33 +00:00
KATO Takenori 852418e6c5 MFC: added boot loader for PC98.
Approved by:	jkh
1999-02-06 07:37:15 +00:00
KATO Takenori a83a61b0f7 MFC: moved pc98_system_parameter from text to data segment.
Approved by:	jkh
1999-02-06 07:31:33 +00:00
Matthew Dillon e438e4e9af Reviewed by: "Jordan K. Hubbard" <[email protected]>
Backport bug fix for pipes hanging in piperd from -4.x  to -3.x
1999-02-06 03:30:10 +00:00
cvs2svn efb240791d This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-02-06 02:54:48 +00:00
Jordan K. Hubbard 90dd8db9af MFC: allow internal variables to be marked as such. 1999-02-05 22:25:36 +00:00
Jordan K. Hubbard 8d8ea53e81 MFC: new variable handling. 1999-02-05 22:20:17 +00:00
Jordan K. Hubbard f685273015 MFC: bump mfs sizes 1999-02-05 17:09:22 +00:00
Brian Somers 933dc602b8 MFC: Allow an alternate to rad_send_request() for programs that
don't wish to wait for the RADIUS server to respond.

     Don't insist that RAD_USER_PASSWORD is supplied before
     calling rad_send_request().  Instead, insist on only one
     of RAD_USER_PASSWORD and RAD_CHAP_PASSWORD.

     Install radlib.h with -C

Merge ok'd by: jkh
1999-02-05 16:29:10 +00:00
Mark Murray eba43bfc29 MFC: make the whatis database for perl also. 1999-02-05 13:34:32 +00:00
Andrzej Bialecki 0b4eb05669 Nuke unused files. 1999-02-05 13:26:04 +00:00
Andrzej Bialecki 4dbe8614dc Nuke superfluous file. 1999-02-05 13:22:56 +00:00
Andrzej Bialecki 701225ed04 Clarify the logo a bit. 1999-02-05 12:21:57 +00:00
Andrzej Bialecki e4e907cd4f New version of simple_httpd. Added short install&run instructions.
Contributed by:	Marc Nicholas <[email protected]>
1999-02-05 12:21:41 +00:00
Andrzej Bialecki d92a263c78 Correct the meaning to reflect reality. 1999-02-05 12:20:35 +00:00
Andrzej Bialecki c602a7f693 Nuke /procfs 1999-02-05 12:20:01 +00:00
Andrzej Bialecki 7c7dd94a71 Add 'reboot'. 1999-02-05 12:19:51 +00:00
Andrzej Bialecki 3e9e3a7839 Add 'reboot' 1999-02-05 12:19:11 +00:00
Andrzej Bialecki cd604f9267 Add 'reboot' to allow for remote rebooting.
Asked for: on freebsd-small
1999-02-05 12:18:11 +00:00
Andrzej Bialecki ae2ad86099 Fixes to sync with upcoming 3.1-R. Approved by jkh.
* clean: don't clean unused tools/dumpnlist
* populate: don't install kvm_kernel.db, nor /stand/symbols.
1999-02-05 12:15:00 +00:00
Mark Murray b6b03c7253 MFC: force the links to go through.
OK'ed by:	jkh
1999-02-05 10:50:29 +00:00
Mark Murray f4af87e840 MFC: Clean up and add perl localland
OK'ed by:	jkh
1999-02-05 10:43:24 +00:00
Mark Murray 641fd600f8 MFC: Fix for bio devices in ioconf.c when port is wildcard or numeric.
OK'ed by:	jkh
1999-02-05 10:26:06 +00:00
Jordan K. Hubbard 8c51852773 MFC: XFree86 3.3.3.1 update, snapshot updates. 1999-02-05 09:55:35 +00:00
Mark Murray 316c1f6dc6 MFC: Make life easier for Laptop owners; autoload pcic and additions
to pccard database.
1999-02-05 09:42:27 +00:00
Matt Jacob 1301487919 MFC: version 1.17 1999-02-05 08:40:45 +00:00
Matt Jacob 26aff24c27 MFC: version 1.4 1999-02-05 08:38:21 +00:00
Matt Jacob acafa1e140 MFC: versions 1.16, 1.17 1999-02-05 08:36:32 +00:00
Matt Jacob 12745aca49 MFC: versions 1.13, 1.14 1999-02-05 08:33:15 +00:00
Matt Jacob 9717039f4a MFC: pull 1.3->1.4 change to RELENG_3 1999-02-05 08:26:30 +00:00
Matt Jacob 68d63d2cd8 MFC: pull 1.184->1.185 change to RELENG_3 1999-02-05 08:25:05 +00:00
Matt Jacob fbeb78d849 MFC: pull 1.4 to RELENG_3 1999-02-05 08:21:51 +00:00
Matt Jacob c0326be4e1 Approved by jkh. Pullup of 1.13 to RELENG_3. 1999-02-05 08:19:29 +00:00
Matt Jacob 74234a7ce6 Approved by jkh. Pullup of 1.21 to RELENG_3. 1999-02-05 08:19:03 +00:00
Greg Lehey c68a124502 More nit-picking in the debugging instructions.
Get the rc.conf description right.

Approved-by: jkh
1999-02-05 00:59:31 +00:00
Roger Hardiman 7e1f271238 Changed to use IICBUS_REPEATED_START
Submitted by:	Nicolas Souchu <[email protected]>
1999-02-04 14:14:30 +00:00
KATO Takenori f0603089bb Sync with sys/i386/i386/userconfig.c revision 1.126.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-04 14:01:03 +00:00
KATO Takenori 7b6610114b Sync with sys/i386/i386/machdep.c revision 1.322.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-04 13:59:59 +00:00
Jordan K. Hubbard 83a901778f MFC: compat22 distro 1999-02-04 13:47:07 +00:00
Kazutaka YOKOTA b6af7e185d MFC:
- Added atkbdc and atkbd to the device info array so that they don't
  appear as "unknown device" in the visual UserConfig.
- Mark psm as FLG_FIXED.

Approved by: jkh
1999-02-04 10:39:34 +00:00
Mike Smith bf1daf3bfb MFC: documentation for new tunables.
Reviewed by:	jkh
1999-02-04 06:48:26 +00:00
Mike Smith 42619d9e6b MFC: kernel tunable for TCBHASHSIZE
Reviewed by:	jkh
1999-02-04 06:40:28 +00:00
Mike Smith 9a6c4a01f0 MFC: kernel tunable for pcic IRQ 1999-02-04 06:40:01 +00:00
Jordan K. Hubbard 08c0d2fe9c Update release notes in preparation for 3.1 1999-02-04 06:14:04 +00:00
Julian Elischer e6f0958bcf MFC: fix logic around "nocon" test.
matches r1.2
1999-02-04 02:30:53 +00:00
Satoshi Asami f26d47d6ca Merge 1.74. 1999-02-03 22:26:35 +00:00
David Greenman 9d9a5c53c4 Brought in changes from rev 1.324: bugfixes for >=2GB RAM machines. 1999-02-03 14:12:01 +00:00
Brian Somers b41914cd7e MFC: Encode & Decode the PROTOCOMP fields correctly.
When NAKing the peer, get as close as we can to what
     he REQd.
     When the peer NAKs us, get as close as we can to what
     they NAKd with on our next REQ.
1999-02-02 20:27:47 +00:00
KATO Takenori 714e7b151e Sync with sys/dev/syscons/syscons.c revision 1.293.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-02-02 17:22:23 +00:00
Garrett Wollman 29db5d19e0 Merge revs. 1.28 and 1.29.
PR:		9729
1999-02-02 16:18:25 +00:00
Brian Somers d578d829d2 MFC: Don't allow root to specify non-existent labels on
the command line.
     Revise the error diagnostics so that invalid labels
     are reported immediately.
1999-02-02 09:41:03 +00:00
Brian Somers 7918d59eab MFC: Reimplement the previous fix (no response to PAP requests)
at the authentication layer rather than at the PAP layer
     so that it also applies to CHAP (no response to CHAP
     challenges).
1999-02-02 09:40:47 +00:00
John Hay 0b6040bfca Add the zh/FAQ directory. Make release needs it. 1999-02-02 06:05:13 +00:00
Jordan K. Hubbard f46dbcaa1e Yow, I somehow missed these in the last MFC. 1999-02-02 03:12:57 +00:00
Bill Paul 5b636ffde1 MFC: remember to initialize ifp->if_snd.ifq_maxlen. 1999-02-01 21:32:52 +00:00
Jordan K. Hubbard 027ae16555 MFC: smarter boot block copying.
Noticed by:	gpalmer
1999-02-01 18:08:44 +00:00
Jordan K. Hubbard e0015f1aa9 MFC: fix bogus free()s 1999-02-01 16:40:47 +00:00
Brian Somers 67e0ebfec4 MFC: If we receive no answer from the server when sending PAP
requests, give up (don't sit there indefinitely).
1999-02-01 13:48:24 +00:00
Jordan K. Hubbard 4dec1dc295 MFC: make directories unconditionally. 1999-02-01 12:45:26 +00:00
Greg Lehey 24a2d36d7e Move CFLAGS to God's Own Position
Remove white space between CFLAGS and +=
Remove unneeded options

Implied-by: bde
1999-02-01 00:52:51 +00:00
Greg Lehey 80a87b2320 Correct include paths
Remove unnecessary additional CFLAGS
Remove BINGRP and BINMODE
1999-01-31 23:25:22 +00:00
Robert Nordier b35722f899 MFC: Add -b option to rewrite mbr code. 1999-01-31 19:48:00 +00:00
Bill Fumerola eb3ef1aa13 MFC: usage() and SYNOPSIS sanity. 1999-01-31 15:36:01 +00:00
Julian Elischer 8e331b86af MFC: fix inconsistancy in accounting for stack sizes.
matches 1.144->1.145
1999-01-31 14:12:13 +00:00
Jordan K. Hubbard 5e1bad73ae Adjust for new boot.flp size. 1999-01-31 13:55:05 +00:00
Kazutaka YOKOTA 34c7122e0f MFC:
- Fix inconsistent key-function assignment.
- Added Finnish and Croatian keymaps.
1999-01-31 13:06:23 +00:00
Kazutaka YOKOTA c852a7b6a6 MFC: unload the splash decoder module before loading a screen saver module
(rev 1.38).
1999-01-31 12:59:09 +00:00
Kazutaka YOKOTA a59c0288ba MFC: keycode fixes (atkbd.c, rev 1.4, kbdtables.h, 1.43, 1.44). 1999-01-31 12:55:58 +00:00
Kazutaka YOKOTA 4e2a148719 MFC: pull down the splash screen when someone is about to read from
the keyboard (rev 1.294).
1999-01-31 12:52:18 +00:00
Kazutaka YOKOTA c89d9c1212 MFC: use VESA modes if available (rev 1.4, 1.5). 1999-01-31 12:47:38 +00:00
Kazutaka YOKOTA 4b6e86ecca MFC: remove obsolete syscons options. describe vga options (LINT 1.541). 1999-01-31 12:42:56 +00:00
Kazutaka YOKOTA 945d2da606 MFC: remove obsolete syscons options (rev 1.104). 1999-01-31 12:42:38 +00:00
Brian Somers 6c84c6e04e MFC: Mention the error when we fail to connect(). 1999-01-31 12:25:39 +00:00
Matthew Dillon 47e8272aec Backport from -4.x, fix bogus clearing of B_CACHE for NFS related bp's.
NFS tracks valid/dirty via the bp.  Clearing the B_CACHE here could
    cause NFS corruption.
1999-01-31 05:30:12 +00:00
Greg Lehey b098d058a0 Catch up with changes made in -CURRENT branch.
Egged-on-by:  jkh
1999-01-31 04:35:36 +00:00
Jordan K. Hubbard 7b34966127 MFC: be more selective in copying /boot contents. 1999-01-31 03:55:38 +00:00
Bill Fumerola fb39c71471 MFC: "devicename" consistancy. 1999-01-31 03:39:43 +00:00
Paul Richards 3735b044a5 Merge multicast support from current. 1999-01-31 00:57:46 +00:00
Jordan K. Hubbard d266f98199 MFC: also copy the loader. 1999-01-30 22:16:11 +00:00
Mike Smith fd5788e1c9 MFC, remove shutdown_timeout 1999-01-30 19:47:54 +00:00
Greg Lehey 306f21c0c8 Add MAINTAINER 1999-01-30 01:00:19 +00:00
Bill Paul e8a5229dd4 MFC: mention that Racore 8165 and 8148 ThunderLAN cards are supported 1999-01-29 16:32:46 +00:00
Matthew Dillon 4dcb005773 Backport from -4.x, Fix '|' that was supposed to be '||' 1999-01-29 06:41:33 +00:00
Matthew Dillon 6cca5d8683 Backport from -4.x, fix signed char array index by casting to unsigned
char.
1999-01-29 06:39:23 +00:00
Matthew Dillon 4bdb2ca180 Backport from -4.x. Fix an 'if (a = b)' conditional that should have
read 'if (a == b)'
1999-01-29 06:37:12 +00:00
Matthew Dillon 92a84dca9e Backport bug in devfs_strategy() from -4.x. switch case for VCHR
was falling through to VBLK.  Note however that the bug would not
    have caused abnormal operation in most cases.
1999-01-29 06:30:54 +00:00
Greg Lehey f371fa279e Add .gdbinit file for debugging 1999-01-29 02:50:20 +00:00
Greg Lehey cb59302f2d Add section on debugging configuration problems and panics. 1999-01-29 02:41:15 +00:00
Greg Lehey 5c0e9c7a96 Change multiline comments to start with a lone /* and end with a */,
apparently in accordance with style(9).

Complained-about-by: bde
1999-01-29 01:17:54 +00:00
Greg Lehey cadc0fdb69 Change multiline comments to start with a lone /* and end with a */,
apparently in accordance with style(9).

Complained-about-by: bde

vinumopen: Change check for root user to a call to suser(9)
vinumclose: Remove check for root user.

Nitpicked-by: phk
1999-01-29 01:09:41 +00:00
Bill Fumerola 6fd513aead MFC: new syslog(8) behavior 1999-01-28 23:02:23 +00:00
Jordan K. Hubbard 45c9d398bc Update to RELENG_3 tag. 1999-01-28 22:42:36 +00:00
Bill Fumerola 7190a4868f MFC: Return a sane value. 1999-01-28 20:48:03 +00:00
Bill Fumerola c663997e10 MFC: typo 1999-01-28 19:24:03 +00:00
Roger Hardiman be4824bc55 Support for MSP3410D / MSP3415D Stereo/Mono audio using the audio format
Auto Detection Mode. This leaves MSP3400C owners still unsupported.
Thanks to Gerd Knorr <[email protected]> for providing some early
assistance and sample code in the linux bttv driver.
Nicolas Souchu <[email protected]> ported the msp_read/write/reset
functions to smbus/iicbus.

METEOR_INPUT_DEV2 now selects a composite camera on the SVIDEO port.
For true SVIDEO, use METEOR_INPUT_DEV_SVIDEO.
If you get a monochrome image from the SVIDEO port, you have
seleted the wrong input type.

Tested by:	Johan Larsson<[email protected]>
1999-01-28 17:26:32 +00:00
KATO Takenori e91f2e7577 Sync with sys/i386/isa/wd.c revision 1.186.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-01-28 13:35:03 +00:00
KATO Takenori 23386ceb7c Sync with sys/i386/conf/Makefile.i386 revision 1.136.2.2.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-01-28 13:34:08 +00:00
cvs2svn 2a2926f758 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-01-28 10:48:30 +00:00
Greg Lehey eb2a83ac98 Retrofit revision 1.8: quieten warning messages, and conincidentally
fix broken code.

Submitted-by: dillon
1999-01-28 07:21:03 +00:00
Greg Lehey 723831a0c3 build_write_request: only fail if all plexes are down, instead of if
any of them are down.

Reported-by: dg
1999-01-28 07:19:50 +00:00
Greg Lehey bf9892011c Fix some format breakage before bde finds out
Retrofit revision 1.9

vinum_scandisk: check not only drive error, but also drive state,
  before accessing the drive.

drivecmp: Remove warning messages by backing out overly constant
  declarations in revision 1.9.

Partially-submitted-by: dillon
1999-01-28 07:18:05 +00:00
Greg Lehey 37794b1a30 Retrofit revision 1.9 1999-01-28 07:11:19 +00:00
Mike Smith e8c219f8db MFC: don't plaster evars without '=' 1999-01-28 06:16:11 +00:00
Mike Smith 2b7f8065b9 MFC: (a == b) conditional was (a = b) 1999-01-28 06:14:22 +00:00
Justin T. Gibbs 0a74e7aa19 MFC: Correct test for empty mailbox in ahbqueuembox(). 1999-01-28 03:46:50 +00:00
Bill Fumerola ef9353b82f MFC: wcarchive updates & typos 1999-01-27 22:18:43 +00:00
Julian Elischer f66e741959 MFC: compile the module the same way we compile the kernel.
(how do we do this differently for Alpha?)
1999-01-27 20:56:24 +00:00
Julian Elischer 5faed1c446 MFC: Linux threads support is now default, to match -current
Recompile the usual suspects!
1999-01-27 20:51:44 +00:00
Julian Elischer d89e5a9902 Bring in a patch from Soeren and BDE to fix a problem I introduced. 1999-01-27 20:39:08 +00:00
Roger Hardiman dce3c1d2e7 Updated iicbus_repeated_start() for bt848 MSP34xx audio chip support 1999-01-27 11:57:26 +00:00
Roger Hardiman c35d1f3744 Submitted by: Roger Hardiman
Updated iicbus_repeated_start() for bt848 MSP34xx audio chip support
1999-01-27 11:56:54 +00:00
KATO Takenori cfd196ada5 MFC: LD-BDN reset code. 1999-01-27 11:06:23 +00:00
KATO Takenori ea6cd43c41 Sync with sys/i386/isa/sio.c revision 1.224.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-01-27 08:27:36 +00:00
KATO Takenori 42b97a2110 MFC: initialize the member atr_buf (rev. 1.110). 1999-01-27 08:23:15 +00:00
Jordan K. Hubbard 81df23e2cb MFC: strip prefixes 1999-01-27 05:01:20 +00:00
Jordan K. Hubbard 26e208d296 Correct smashed tabs. 1999-01-27 04:37:03 +00:00
Jordan K. Hubbard 5483a6b484 argh! wrong version again. Sigh. THIS is the right file! 1999-01-27 03:39:59 +00:00
Jordan K. Hubbard 9ccf524429 Whoops, this was downrev at the MFC. 1999-01-27 03:38:46 +00:00
Jordan K. Hubbard 103eab87b0 MFC: install kernel more selectively. 1999-01-27 03:19:09 +00:00
Greg Lehey 098bc8d550 Get rid of tbl stuff, replace with .Bl
Take BUGS section from vinum.8
1999-01-27 03:14:28 +00:00
Greg Lehey 55b64a504f Fix broken command tables
Move the BUGS section to vinum.4: the only bug in vinum.8 was the man
page, fixed with this commit.
1999-01-27 03:02:55 +00:00
Jordan K. Hubbard d4b1043197 MFC: write changes to rc.conf.site 1999-01-27 02:51:30 +00:00
Jordan K. Hubbard 69f08ad4eb MFC: Allow rc_conf_files to be used. 1999-01-27 02:31:26 +00:00
Jordan K. Hubbard 3f4756b8e3 MFC: more changes necessary for a working release build. 1999-01-27 02:27:13 +00:00
Jordan K. Hubbard a16b645ee8 Support new upgrade target. 1999-01-27 02:24:45 +00:00
Roger Hardiman 120ce5fd04 Submitted by: Nicolas Souchu <[email protected]>
Updated to support bt848 driver and MSP3400 audio chip
1999-01-26 23:21:42 +00:00
Roger Hardiman 98d4473c22 Submitted by: Nicolas Souchu <[email protected]>
Updated to support bt848 driver MSP34xx audio chip
1999-01-26 23:21:01 +00:00
Roger Hardiman fc8439f3e6 Submitted by: Nicolas Souchu <[email protected]>
Added support required by bt848 driver for MSP34xx audio chip
1999-01-26 23:19:50 +00:00
Roger Hardiman 49815fee51 Added METEOR_DEV2 and METEOR_DEV3 1999-01-26 23:16:46 +00:00
cvs2svn 8deb6a4888 This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-01-26 19:04:16 +00:00
Bill Paul 9d4813f707 MFC: remember to check for TI vendor ID when choosing the station address
EEPROM offset.
1999-01-26 15:20:30 +00:00
Jordan K. Hubbard bdb377d732 chflags before moving libs 1999-01-26 09:15:53 +00:00
David Greenman 465326b91b From -current: ripped out EDITOR=ee. 1999-01-26 07:29:43 +00:00
Steve Price 54e56b6be7 MFC: add support for the USR3031 PNP modem. 1999-01-26 04:04:01 +00:00
Satoshi Asami 1dec8d885b MFC: move bsd.port.*mk to ${PORTSDIR}/Mk. 1999-01-26 03:41:29 +00:00
Peter Wemm 1a068cc913 Argh, cut/paste braino. Things are installed with "install", not "depend".
Submitted by:	Ruslan Ermilov <[email protected]>
1999-01-25 23:25:59 +00:00
Robert Nordier 413ce514f5 MFC: Fix a couple of further bugs. 1999-01-25 23:11:34 +00:00
Archie Cobbs d0f62363a9 MFC: Move kernel-only declarations to within #ifdef KERNEL 1999-01-25 19:19:28 +00:00
Archie Cobbs 4b2007ffd2 MFC: Fix bug where 'ipfw list' would choke if there were a large number of rules 1999-01-25 19:17:07 +00:00
KATO Takenori c8dc438e05 Sync with sys/i386/conf/Makefile.i386 revision 1.136.2.1.
Submitted by:	Takahashi Yoshihiro <[email protected]>
1999-01-25 13:30:05 +00:00
Robert Nordier 9fded642d1 MFC: Correctly record the end of the a.out symbol table. 1999-01-25 10:38:43 +00:00
Brian Somers ea77a612a0 MFC: Don't SEGV when ``set proctitle'' is used in the default
section.
1999-01-25 10:21:47 +00:00
Mark Murray c959b2edbb MFC: link everything against libcrypt and provide a dekerberise target for
the foot-shooters.
1999-01-25 06:59:43 +00:00
Peter Wemm e8f23881cc MFC: try and stop gensetdefs being run in multiple times, in parallel with
compiling the generated .c files.
1999-01-25 04:10:58 +00:00
David Greenman edfccf79cd Brought in fix from rev 1.196: Don't discard dirty buffers that had an
I/O error.
1999-01-25 01:59:26 +00:00
Peter Wemm 5626ae8aaa MFC: since we forced an ELF kernel, make sure it's also done during
the install or it'll abort since the default is ELF and it will abort
and complain about the bootblocks when it doesn't need to.
(This is what broke the freefall update)
1999-01-25 01:50:17 +00:00
David Greenman bfa8893b9e Brought in fix from rev 1.21: softdep_deallocate_dependencies() reduced to
a panic.
1999-01-25 01:44:59 +00:00
Mike Smith 102d1d8a38 From the PR:
There is no builtin facility in ficl for conditional compilation.
This is actually just a minor problem, since one can be easily written
by standard programs. Indeed, the one implemented here has come straight
out of ANS Forth draft proposal, plus minor case correction.

PR:		bin/9662
Submitted by:	"Daniel C. Sobral" <[email protected]>
1999-01-24 18:09:04 +00:00
Mike Smith 8f64982f69 Oops, forgot to MFC the fix to actually set the unit number. 1999-01-24 17:24:34 +00:00
Mark Murray a3960a92c8 MFC: Link against libcrypt. 1999-01-24 15:33:11 +00:00
Matthew Dillon fe4e21ce44 Backport from -4.x. PQ_CACHE pages can be busy, we have to deal with
it when trying to free cache pages.    This patch will probably be
    permanent in -3.x. ( PQ_CACHE operation will eventually be cleaned up
    in -4.x ).
1999-01-24 10:12:40 +00:00
Mark Murray 0d5c70c962 MFC: link against libcrypt. 1999-01-24 08:15:33 +00:00
Peter Wemm 870942e97b MFC: turn on MaxHeaderLines= option 1999-01-24 08:01:34 +00:00
Peter Wemm 0433731d97 Implement header Denial of service fix as in -current. These files are
not tracking the vendor branch so there is duplication (did I mention
that cvs branching sucks when doing this?)

Obtained from: sendmail.org
1999-01-24 07:58:16 +00:00
Robert Nordier 09e5a4cea9 MFC: Drop outdated FreeBSD version number from test script. 1999-01-24 07:13:35 +00:00
Bruce Evans 6f60454a6b MFC (rev.1.5: rev.1.4 was premature in claiming that revoke() works
on non-device files).
1999-01-24 06:54:13 +00:00
Bruce Evans 46aa9363de MFC (rev.1.113: unsupport revoke() for non-devices). 1999-01-24 06:36:04 +00:00
Matthew Dillon 9b0a6c1b5d Backport to -3.x from -4.x - do not leave dirty pages in PQ_CACHE.
If we dirty a PQ_CACHE page, we have to [de]activate it as well.
1999-01-24 06:20:12 +00:00
Greg Lehey a9fd505a6b Retrofit revision 1.193 to -STABLE:
Add vinumdaemon.c; sort vinum entries.

Prodded-by: peter
1999-01-24 05:11:31 +00:00
Greg Lehey 4aebc62043 Modify #include paths to make vinum compile statically
Correct #include in vinumioctl.c to compile correctly
  without VINUMDEBUG

Submitted-by: peter
1999-01-24 04:32:05 +00:00
Mike Smith 2175fb198b MFC: add root_disk_unit, error checking 1999-01-24 00:16:03 +00:00
Mike Smith 66fe8dbb99 MFC: set bi_bios_dev correctly. 1999-01-24 00:15:39 +00:00
Robert Nordier c2805f264a MFC: Fix wrong exit code. 1999-01-23 17:10:45 +00:00
Roger Hardiman a35ba761be copy version 1.24 from HEAD into the RELENG_3 tree 1999-01-23 12:00:20 +00:00
Roger Hardiman 19acb766a2 copy 1.62 from HEAD into to RELENG_3 tree.
Added detection of Hauppauge IR remote control.
and MSP34xx Audio chip. Fixed i2c read error.
Hauppauge supplied details of new Tuner Types.
Added tuner type 0x1a.
Danny Braniss <[email protected]> submitted Bt878
AverMedia detection with PCI subsystem vendor id.
1999-01-23 11:58:00 +00:00
Peter Wemm b0479e0263 MFC: typo fix; s/mdev/bdev/ in BDEV_MODULE() macro 1999-01-22 22:29:10 +00:00
Robert Nordier c2babb0d86 MFC: Fix extraneous free() on error. 1999-01-22 21:37:40 +00:00
John Polstra 5f0c731034 MFC: Fix PAM-related a.out breakage. 1999-01-22 18:41:00 +00:00
Robert Nordier 9dd11f0e2e Fix read error not being detected.
Reported by: Andreas Klemm <[email protected]>
1999-01-22 18:19:52 +00:00
Bill Paul ef4be48169 MFC: fix multicast receive code 1999-01-22 15:26:22 +00:00
Robert Nordier 745365c6b4 MFC: Push version numbers up to 1.00. 1999-01-22 13:12:30 +00:00
Eivind Eklund df7b618256 __FreeBSD_version -> 300007 to indicate 3.0-stable branch. 1999-01-22 08:49:02 +00:00
Matthew Dillon d85a4c4641 Backport from -4.x
Fix madvise().  We were only supposed to madvise() on default or swap
    store.  The old code was mostly broken and totally non-working, but
    even so there *were* some holes in the old code that let through things
1999-01-22 06:44:16 +00:00
Matthew Dillon 63e5831423 Backport from -4.x.
We cannot call vm_object_collapse() here because it could block and
    we are not holding any locks on our vm_object or vm_page_t.  If it
    were to block, the system might shred the objects that we assume remain
    consistent.

    John Dyson is not 100% sure that VM objects are collapsed properly
    in all cases ( i.e. 'garbage collected' ), and this code was originally
    put in to solve a related problem.  For now we assume that VM objects
    are collapsed properly.  If it turns out they are not, we will fix
    that problem.  The problem this patch fixes, however, could cause a crash
    and must be fixed now.
1999-01-22 06:05:08 +00:00
Matthew Dillon 09fbfd752c Backport from -4.x
I do not believe there is a bug here because we do check that no paging
    is in progress on the object.  However, the code is too fragile, we
    do not take any chances with PG_BUSY so we have a check for busy pages
    before we busy it ourself.
1999-01-22 06:00:21 +00:00
Matthew Dillon e50e6a6d0a Backport from -4.x
PG_BUSY was being tested without splvm() protection.  We have to test
    it again with splvm() protection before we can actually sleep.
1999-01-22 05:53:39 +00:00
Matthew Dillon 4bb6dc2a78 Backport from -4.x
We should never use vm_page_flag_clear() to clear PG_BUSY.  We need
    to use vm_page_wakeup() to handle side effects such as waking up waiters.
1999-01-22 05:51:41 +00:00
Matthew Dillon 6ee5313cca Backport from -4.x. We are supposed to wait while the page is busy before
messing with it, but the VM code was special-casing a m->busy page that
    was still valid ( i.e. usually a pageout ) and allowing it through.  The
    problem is that whatever m->busy'd the page is probably still depending on
    it not being messed with.  Specifically, I am thinking of the
    vm_pager_get_pages() code where the OBJT_VNODE pager converts PG_BUSY
    to m->busy for the read operation.    While this code may not be
    specifically broken for the case, it does initially set PG_BUSY and assume
    that it has the entire page to itself... but OBJT_VNODE converts it to
    m->busy.  It is just too dangerous to allow the special case optimization
    through.

    Removing the special optimization should have no discernable effect since
    pageout operates mark resident pmap pte's READ-ONLY rather then unmapping
    them, and so no fault normally occurs.
1999-01-22 05:49:39 +00:00
Matthew Dillon 7674d8210c vm_page_sleep() can't just be called once with the assumption that the
page will be unbusied, it doesn't work that way.   Fixed to call it in
    a loop until the page is truely unbusy.
1999-01-22 05:36:12 +00:00
Matthew Dillon d91d0a56b5 Backport from -4.x. Not really a bug, but cleanup manual clearing of
PG_BUSY to formal clearing using vm_page_wakeup().
1999-01-22 05:26:39 +00:00
Matthew Dillon 57a1042a8a Backport from -4.x. Move splmem() from after autoinit to before autoinit
to handle possible initialization race.
1999-01-22 05:17:56 +00:00
Brian Somers ea3b8ac6ef MFC: Typo police. 1999-01-22 01:45:37 +00:00
John Polstra 598d2c50e8 MFC: Revert renaming of globals that broke make world. 1999-01-21 22:04:26 +00:00
Mike Smith aadcf11806 MFC: extra help for kernel tunable overrides. 1999-01-21 22:04:01 +00:00
Mike Smith 4bdfe1c0a3 MFC: allow VM_KMEM_SIZE to be overriden from the kernel environment. 1999-01-21 21:55:24 +00:00
Archie Cobbs efac7312c3 MFC: rev 1.48 (PR docs/9603) 1999-01-21 19:52:31 +00:00
Jordan K. Hubbard 2919fc336a Now we're -STABLE 1999-01-21 05:33:18 +00:00
cvs2svn 4b4d01da6f This commit was manufactured by cvs2svn to create branch 'RELENG_3'. 1999-01-21 00:55:31 +00:00
10575 changed files with 315095 additions and 907584 deletions

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
# $Id:$
# $Id: COPYRIGHT,v 1.2 1998/09/13 23:05:15 brian Exp $
# @(#)COPYRIGHT 8.2 (Berkeley) 3/21/94
All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite
+14 -16
View File
@@ -1,5 +1,5 @@
#
# $Id: Makefile,v 1.221 1998/10/17 15:25:26 bde Exp $
# $Id: Makefile,v 1.222.2.4 1999/05/10 19:55:58 obrien Exp $
#
# The user-driven targets are:
#
@@ -8,6 +8,7 @@
# installworld - Install everything built by "buildworld".
# world - buildworld + installworld.
# update - Convenient way to update your source tree (cvs).
# upgrade - Upgrade a.out (2.2.x/3.0) system to the new ELF way
# most - Build user commands, no libraries or include files.
# installmost - Install user commands, no libraries or include files.
# aout-to-elf - Upgrade an system from a.out to elf format (see below).
@@ -51,7 +52,7 @@
# or 3.0. If OBJFORMAT is set as an environment variable or in /etc/make.conf,
# this overrides /etc/objformat.
#
# Unless -DNOAOUT is specified, a `make world' with OBJFORMAT=elf will
# If -DWANT_AOUT is specified, a `make world' with OBJFORMAT=elf will
# update the legacy support for aout. This includes all libraries, ld.so
# and boot objects. This part of build should be regarded as
# deprecated and you should _not_ expect to be able to do this past the
@@ -63,25 +64,19 @@
# Upgrading an i386 system from a.out to elf format
#
#
# The aout->elf transition build is performed by doing a `make aout-to-elf'
# or a `make aout-to-elf-build' followed by a `make aout-to-elf-install'.
# The aout->elf transition build is performed by doing a `make upgrade' (or
# `make aout-to-elf') or in two steps by a `make aout-to-elf-build' followed
# by a `make aout-to-elf-install', depending on user preference.
# You need to have at least 320 Mb of free space for the object tree.
#
# The upgrade process checks the installed release. If this is 3.0-CURRENT,
# it is assumed that your kernel contains all the syscalls required by the
# current sources.
#
# For installed systems where `uname -r' reports something other than
# 3.0-CURRENT, the upgrade process expects to build a kernel using the
# kernel configuration file sys/i386/conf/GENERICupgrade. This file is
# defaulted to the GENERIC kernel configuration file on the assumption that
# it will be suitable for most systems. Before performing the upgrade,
# replace sys/i386/conf/GENERICupgrade with your own version if your
# hardware requires a different configuration.
#
# The upgrade procedure will stop and ask for confirmation to proceed
# several times. On each occasion, you can type Ctrl-C to abort the
# upgrade.
# upgrade. Optionally, you can also start it with NOCONFIRM=yes and skip
# the confirmation steps.
#
# At the end of the upgrade procedure, /etc/objformat is created or
# updated to contain OBJFORMAT=elf. From then on, you're elf by default.
@@ -102,7 +97,7 @@ TGTS = afterdistribute all buildworld checkdpadd clean cleandepend cleandir \
#
${TGTS} : upgrade_checks
@cd ${.CURDIR}; \
make -f Makefile.inc0 -m ${.CURDIR}/share/mk ${.TARGET}
${MAKE} -f Makefile.inc0 -m ${.CURDIR}/share/mk ${.TARGET}
# Set a reasonable default
.MAIN: all
@@ -116,7 +111,7 @@ ${TGTS} : upgrade_checks
# the system to current.
#
upgrade_checks :
@cd ${.CURDIR}; if `make -m ${.CURDIR}/share/mk test > /dev/null 2>&1`; then ok=1; else make -f Makefile.upgrade make; fi;
@cd ${.CURDIR}; if `make -m ${.CURDIR}/share/mk test > /dev/null 2>&1`; then ok=1; else ${MAKE} -f Makefile.upgrade make; fi;
#
# A simple test target used as part of the test to see if make supports
@@ -134,6 +129,9 @@ UPGRADE = aout-to-elf aout-to-elf-build aout-to-elf-install \
#
# Handle the upgrade targets, using the source relative mk files.
#
upgrade: aout-to-elf
${UPGRADE} : upgrade_checks
@cd ${.CURDIR}; \
make -f Makefile.upgrade -m ${.CURDIR}/share/mk ${.TARGET}
${MAKE} -f Makefile.upgrade -m ${.CURDIR}/share/mk ${.TARGET}
+5 -5
View File
@@ -1,5 +1,5 @@
#
# $Id: Makefile.inc0,v 1.13 1998/12/20 14:30:08 jhay Exp $
# $Id: Makefile.inc0,v 1.14.2.1 1999/05/10 19:55:59 obrien Exp $
#
# This makefile ensures that the object directory is set according to the
# object format to avoid mixing aout and elf formatted files during the
@@ -78,11 +78,11 @@ world:
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} pre-world
.endif
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
.endif
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} -B installworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-install
.endif
.if target(post-world)
@@ -105,7 +105,7 @@ world:
#
buildworld :
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
.endif
@@ -117,6 +117,6 @@ buildworld :
#
installworld :
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} installworld
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && defined(WANT_AOUT)
@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} -DNOMAN -DNOINFO legacy-install
.endif
+7 -5
View File
@@ -1,5 +1,5 @@
#
# $Id: Makefile.inc1,v 1.58 1999/01/07 13:09:15 eivind Exp $
# $Id: Makefile.inc1,v 1.59.2.4 1999/05/05 13:22:35 markm Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@@ -189,7 +189,7 @@ COMPILER_ENV= BISON_SIMPLE=${TOOLROOT}/usr/share/misc/bison.simple \
BMAKEENV= PATH=${TMPPATH} ${COMPILER_ENV} NOEXTRADEPEND=t \
OBJFORMAT_PATH=${TOOLROOT}/usr/libexec:/usr/libexec
XMAKEENV= PATH=${STRICTTMPPATH} ${COMPILER_ENV} \
PERL5LIB=${DESTDIR}/usr/libdata/perl/5.00502 \
PERL5LIB=${DESTDIR}/usr/libdata/perl/5.00503 \
OBJFORMAT_PATH=${TOOLROOT}/usr/libexec \
CFLAGS="-nostdinc ${CFLAGS}" # XXX -nostdlib
@@ -226,7 +226,7 @@ buildworld: check-objformat
@echo ">>> Cleaning up the temporary ${OBJFORMAT} build tree"
@echo "--------------------------------------------------------------"
mkdir -p ${WORLDTMP}
chflags -R noschg ${WORLDTMP}/
-chflags -R noschg ${WORLDTMP}/
rm -rf ${WORLDTMP}
.endif
.if !defined(NOTOOLS)
@@ -363,13 +363,15 @@ reinstall:
@echo "--------------------------------------------------------------"
@echo ">>> Re-scanning the shared libraries.."
@echo "--------------------------------------------------------------"
cd ${.CURDIR}; /sbin/ldconfig -R
-cd ${.CURDIR}; /sbin/ldconfig -R
.endif
.if !defined(NOMAN)
@echo
@echo "--------------------------------------------------------------"
@echo ">>> Rebuilding man page indexes"
@echo ">>> Rebuilding man page indices"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/share/man; ${MAKE} makedb
.endif
#
# update
+39 -86
View File
@@ -1,10 +1,15 @@
#
# $Id: Makefile.upgrade,v 1.8 1999/01/07 06:30:14 peter Exp $
# $Id: Makefile.upgrade,v 1.9.2.10 1999/03/24 04:26:19 jkh Exp $
#
# This makefile contains rules for preforming upgrades that are outside
# the scope of the normal build world process.
#
#
# Make sure the PATH is set correctly
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
#
# Build things relative to the user's preferred object directory,
# defaulting to /usr/obj if not defined.
@@ -39,15 +44,23 @@ make :
# with them (in case the installed kernel is an older version), then
# install the elf world.
#
aout-to-elf aout-to-elf-install : \
aout-to-elf aout-to-elf-install : /var/db/update.cfg \
${MAKEOBJDIRPREFIX}/do_aout_buildworld \
${MAKEOBJDIRPREFIX}/do_elf_buildworld \
${MAKEOBJDIRPREFIX}/do_move_aout_libs \
${MAKEOBJDIRPREFIX}/do_aout_installworld \
${MAKEOBJDIRPREFIX}/do_aout_kernel \
${MAKEOBJDIRPREFIX}/do_elf_installworld \
${MAKEOBJDIRPREFIX}/do_elf_kernel \
${MAKEOBJDIRPREFIX}/do_set_objformat \
${MAKEOBJDIRPREFIX}/do_install_kernel_reboot
${MAKEOBJDIRPREFIX}/do_reboot
# front-load all the information we're going to need.
/var/db/update.cfg:
@if [ -f ${.CURDIR}/tools/tools/upgrade/doupgrade.sh ]; then \
env MACHINE=${MACHINE} CURDIR=${.CURDIR} sh ${.CURDIR}/tools/tools/upgrade/doupgrade.sh 1 /var/db/update.cfg; \
else \
echo "Your source tree must not be fully populated; unable to find upgrade script"; echo "in ${.CURDIR}/tools/tools/upgrade/doupgrade.sh."; exit 1; \
fi
#
# Just do the build parts of the transition build.
@@ -68,7 +81,7 @@ ${MAKEOBJDIRPREFIX}/do_aout_buildworld :
@echo "--------------------------------------------------------------"
@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout \
OBJFORMAT=aout REALLY_WANT_DEPRECIATED_AOUT=yes \
make -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
${MAKE} -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
@touch ${MAKEOBJDIRPREFIX}/do_aout_buildworld
#
@@ -88,7 +101,8 @@ ${MAKEOBJDIRPREFIX}/do_elf_buildworld :
@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/elf \
PATH=${AOUTTMPPATH} OBJFORMAT=elf NOTOOLS=1 \
TOOLROOT=${MAKEOBJDIRPREFIX}/aout${.CURDIR}/tmp \
make -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
X11BASE=/nonexistent \
${MAKE} -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
@touch ${MAKEOBJDIRPREFIX}/do_elf_buildworld
#
@@ -157,15 +171,6 @@ ${MAKEOBJDIRPREFIX}/do_move_aout_libs move-aout-libs :
# elf world will be updated.
#
${MAKEOBJDIRPREFIX}/do_aout_installworld :
.if !defined(NOCONFIRM)
@echo
@echo "--------------------------------------------------------------"
@echo " You are about to update the installed system (or the system"
@echo " that your DESTDIR points to). You can type Ctrl-C to abort"
@echo " now or press return to start the first phase of the update."
@echo "--------------------------------------------------------------"
@/bin/sh -c "read -p \"Return to continue or Ctrl-C to abort: \" _e"
.endif
.if ${INSTALLEDVERSION} < 300003
@echo
@echo "--------------------------------------------------------------"
@@ -174,51 +179,18 @@ ${MAKEOBJDIRPREFIX}/do_aout_installworld :
@cp /bin/sh ${MAKEOBJDIRPREFIX}
@cp /sbin/reboot ${MAKEOBJDIRPREFIX}
.endif
@echo
@echo "--------------------------------------------------------------"
@echo " Doing an aout installworld using the aout tools in the aout"
@echo " obj tree."
@echo "--------------------------------------------------------------"
@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout \
PATH=${AOUTTMPPATH} OBJFORMAT=aout NOTOOLS=1 \
TOOLROOT=${MAKEOBJDIRPREFIX}/aout${.CURDIR}/tmp \
make -f Makefile.inc1 -m ${.CURDIR}/share/mk installworld
@touch ${MAKEOBJDIRPREFIX}/do_aout_installworld
#
# The installed kernel may not match the world that is installed, so build
# a generic kernel, but don't install it. The user can decide if the kernel
# needs to be installed. Perhaps we should install it in the root
# directory as an obscure name just in case a reboot is required?
# Build and install a new kernel, as well as the boot blocks necessary to
# boot it.
#
${MAKEOBJDIRPREFIX}/do_aout_kernel :
.if ${INSTALLEDVERSION} >= 300003
@echo
@echo "--------------------------------------------------------------"
@echo " You are already running 3.0, so a kernel build"
@echo " is probably not required."
@echo "--------------------------------------------------------------"
.else
@echo
@echo "--------------------------------------------------------------"
@echo " Building a generic kernel using the new aout tools"
@echo "--------------------------------------------------------------"
.if exists(${.CURDIR}/sys/compile/GENERICupgrade)
@rm -rf ${.CURDIR}/sys/compile/GENERICupgrade
.endif
.if !exists(${.CURDIR}/sys/${MACHINE}/conf/GENERICupgrade)
-cp ${.CURDIR}/sys/${MACHINE}/conf/GENERIC \
${.CURDIR}/sys/${MACHINE}/conf/GENERICupgrade
.endif
@cd ${.CURDIR}/sys/${MACHINE}/conf; config GENERICupgrade
@-cd ${.CURDIR}/sys/compile/GENERICupgrade; \
OBJFORMAT=aout make KERNFORMAT=aout depend && \
OBJFORMAT=aout make KERNFORMAT=aout all
@cd ${.CURDIR}/sys/compile/GENERICupgrade; \
OBJFORMAT=aout make KERNFORMAT=aout depend && \
OBJFORMAT=aout make KERNFORMAT=aout all
.endif
@touch ${MAKEOBJDIRPREFIX}/do_aout_kernel
${MAKEOBJDIRPREFIX}/do_elf_kernel :
@if [ -f /var/db/update.cfg -a -f ${.CURDIR}/tools/tools/upgrade/doupgrade.sh ]; then \
env MACHINE=${MACHINE} CURDIR=${.CURDIR} sh ${.CURDIR}/tools/tools/upgrade/doupgrade.sh 2 /var/db/update.cfg; \
fi
@touch ${MAKEOBJDIRPREFIX}/do_elf_kernel
@rm -f /var/db/update.cfg
#
# Install the elf world overwriting just about all the previously installed
@@ -245,7 +217,10 @@ ${MAKEOBJDIRPREFIX}/do_elf_installworld :
@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/elf \
PATH=${AOUTTMPPATH} OBJFORMAT=elf NOTOOLS=1 \
TOOLROOT=${MAKEOBJDIRPREFIX}/aout${.CURDIR}/tmp \
make -f Makefile.inc1 -m ${.CURDIR}/share/mk installworld
${MAKE} -f Makefile.inc1 -m ${.CURDIR}/share/mk installworld
@if [ ! -f /etc/pam.conf ]; then cp ${.CURDIR}/etc/pam.conf /etc; fi
@if [ ! -f /etc/auth.conf ]; then cp ${.CURDIR}/etc/auth.conf /etc; fi
@if [ ! -f /etc/login.conf ]; then cp ${.CURDIR}/etc/login.conf /etc; fi
@touch ${MAKEOBJDIRPREFIX}/do_elf_installworld
#
@@ -261,42 +236,20 @@ ${MAKEOBJDIRPREFIX}/do_set_objformat :
@touch ${MAKEOBJDIRPREFIX}/do_set_objformat
#
# If not already running a current kernel, install the GENERICupgrade kernel
# and reboot.
#
${MAKEOBJDIRPREFIX}/do_install_kernel_reboot :
.if ${INSTALLEDVERSION} >= 300003
@echo
@echo "--------------------------------------------------------------"
@echo " Your system has been updated to run elf by default!"
@echo
@echo " You should reboot your system now."
@echo "--------------------------------------------------------------"
@touch ${MAKEOBJDIRPREFIX}/do_install_kernel_reboot
.else
# Time to reboot!
${MAKEOBJDIRPREFIX}/do_reboot :
.if !defined(NOCONFIRM)
@echo
@echo "--------------------------------------------------------------"
@echo " Your system has been updated to run elf by default!"
@echo " Your system has now been fully updated to elf!"
@echo
@echo " Since you are running ${INSTALLEDNAME}, the kernel must"
@echo " be installed before the system is rebooted. You can type"
@echo " Ctrl-C to abort the kernel installation (at your own risk),"
@echo " or press return for the kernel to be installed and the"
@echo " system rebooted."
@echo " It's now time to reboot from your new ELF kernel."
@echo " You can type Ctrl-C to abort this (at your own risk)"
@echo " or press return to reboot the system."
@echo "--------------------------------------------------------------"
@${MAKEOBJDIRPREFIX}/sh -c "read -p \"Return to continue or Ctrl-C to abort: \" _e"
.endif
@echo
@echo "--------------------------------------------------------------"
@echo " Installing a new GENERICupgrade kernel"
@echo "--------------------------------------------------------------"
@cd ${.CURDIR}/sys/compile/GENERICupgrade; make install
@echo
@echo "--------------------------------------------------------------"
@echo " Rebooting......."
@echo "--------------------------------------------------------------"
@touch ${MAKEOBJDIRPREFIX}/do_install_kernel_reboot
@touch ${MAKEOBJDIRPREFIX}/do_reboot
@-${MAKEOBJDIRPREFIX}/reboot
.endif
+1 -1
View File
@@ -1,5 +1,5 @@
This is the top level of the FreeBSD source directory. This file
was last revised on: $Id: README,v 1.13 1998/09/13 09:38:34 markm Exp $
was last revised on: $Id: README,v 1.14 1999/01/06 14:02:35 peter Exp $
For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
+56 -7
View File
@@ -1,11 +1,52 @@
Updating Information for FreeBSD current users
This file is maintainted by [email protected]. Please send new entries
in it to him. It contains a list, in reverse chronologocal order, of
major breakages in tracking -current. Not all things will be listed
here, and it only starts on Novemeber 18, 1998. If you have an
earlier version of FreeBSD, you are on your own to get to November 18,
1998.
This file is maintained by [email protected]. Please send new entries
directly to him. See end of file for further details.
19990510:
Previously, one would define "NOAOUT" to keep from building
the legacy a.out bits. Now one would define "WANT_AOUT" to
build them.
19990507:
New devstat API requires recompilation of libdevstat, systat,
iostat, vmstat and rpc.rstatd. A new kernel is also required.
make world + building a kernel should do all of this. Any
ports that use devstat need to be recompiled as well.
19990424:
The 'nlpt' driver has changed names to become the 'lpt' driver.
See ppbus(4) or http://www.freebsd.org/~nsouch/ppbus.html
for proper configuration details.
19990209:
New devstat API requires recompilation of libdevstat, systat,
iostat, vmstat and rpc.rstatd. A new kernel is also required.
make world + building a kernel should do all of this. Any
ports that use devstat need to be recompiled as well.
19990125:
Linux threads options has gone away (they are now standard in
the FreeBSD kernel). A recompile of all libkvm using programs
is in order (or better yet a make world).
19990122:
On or about this date there was a small window when the boot
blocks had some minor problems which seemed to force one to
edit /etc/fstab. This has been corrected, if you are seeing this
problem, please rebuild and reinstall your boot blocks.
19990121:
Vinum has changed. The "vinum read" command has changed. For
updates, please see
http://www.freebsd.org/cgi/getmsg.cgi?fetch=800363+0+current/freebsd-current
for details.
19990120:
Stable branch created. You might want to consider using this
branch. It is tagged with RELENG_3.
19990119:
More work on the syscons driver has been committed. Since
@@ -85,4 +126,12 @@ earlier version of FreeBSD, you are on your own to get to November 18,
to silence warnings from authentication programs (login, etc).
See src/etc/pam.conf for a sample.
$Id: UPDATING,v 1.13 1999/01/17 17:39:32 imp Exp $
This file contains a list, in reverse chronologocal order, of major
breakages in tracking -stable. Not all things will be listed here,
and it only starts on Novemeber 18, 1998. If you have an earlier
version of FreeBSD, you are on your own to get to November 18, 1998.
Please filter your entries through Warner ([email protected]) so that
the style, formatting, etc of this file can be maintained.
$Id: UPDATING,v 1.14.2.2 1999/05/10 19:56:49 obrien Exp $
+1 -1
View File
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.13 1998/08/15 12:27:23 jb Exp $
# $Id: Makefile,v 1.14 1998/08/30 20:22:15 gpalmer Exp $
SUBDIR= cat \
chio \
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
# $Id: Makefile.inc,v 1.9 1997/02/22 14:01:23 peter Exp $
# $Id: Makefile.inc,v 1.10 1998/12/07 12:44:12 bde Exp $
BINDIR?= /bin
CFLAGS+= -Wall -Wformat
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $Id: Makefile,v 1.4 1997/02/22 14:01:25 peter Exp $
PROG= cat
+2 -2
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cat.1 8.3 (Berkeley) 5/2/95
.\" $Id: cat.1,v 1.7 1998/05/06 06:49:13 charnier Exp $
.\" $Id: cat.1,v 1.8.2.1 1999/05/08 10:40:49 kris Exp $
.\"
.Dd May 2, 1995
.Dt CAT 1
@@ -91,7 +91,7 @@ characters (with the high bit set) are printed as
.Ql M-
(for meta) followed by the character for the low 7 bits.
.El
.Pp
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
+1 -1
View File
@@ -45,7 +45,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
#endif
static const char rcsid[] =
"$Id: cat.c,v 1.12 1998/09/11 05:48:06 imp Exp $";
"$Id: cat.c,v 1.13 1998/09/13 19:54:54 imp Exp $";
#endif /* not lint */
#include <sys/param.h>
-10
View File
@@ -1,10 +0,0 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
NOSHARED?=yes
PROG= chflags
CFLAGS+=-Wall
SRCS= chflags.c stat_flags.c
.PATH: ${.CURDIR}/../../bin/ls
.include <bsd.prog.mk>
-137
View File
@@ -1,137 +0,0 @@
.\" Copyright (c) 1989, 1990, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)chflags.1 8.2 (Berkeley) 3/31/94
.\" $Id$
.\"
.Dd March 31, 1994
.Dt CHFLAGS 1
.Os
.Sh NAME
.Nm chflags
.Nd change file flags
.Sh SYNOPSIS
.Nm chflags
.Oo
.Fl R
.Op Fl H | Fl L | Fl P
.Oc
.Ar flags
.Ar file ...
.Sh DESCRIPTION
The
.Nm chflags
utility modifies the file flags of the listed files
as specified by the
.Ar flags
operand.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl H
If the
.Fl R
option is specified, symbolic links on the command line are followed.
(Symbolic links encountered in the tree traversal are not followed.)
.It Fl L
If the
.Fl R
option is specified, all symbolic links are followed.
.It Fl P
If the
.Fl R
option is specified, no symbolic links are followed.
.It Fl R
Change the file flags for the file hierarchies rooted
in the files instead of just the files themselves.
.El
.Pp
Flags are a comma separated list of keywords.
The following keywords are currently defined:
.Bd -literal -offset indent compact
arch set the archived flag (super-user only)
dump set the dump flag
sappnd set the system append-only flag (super-user only)
schg set the system immutable flag (super-user only)
sunlnk set the system undeletable flag (super-user only)
uappnd set the user append-only flag (owner or super-user only)
uchg set the user immutable flag (owner or super-user only)
uunlnk set the user undeletable flag (owner or super-user only)
archived, sappend, schange, simmutable, uappend, uchange, uimmutable,
sunlink, uunlink
aliases for the above
.Ed
.Pp
Putting the letters
.Dq no
before an option causes the flag to be turned off.
For example:
.Bd -literal -offset indent compact
nodump the file should never be dumped
.Ed
.Pp
Symbolic links do not have flags, so unless the
.Fl H
or
.Fl L
option is set,
.Nm chflags
on a symbolic link always succeeds and has no effect.
The
.Fl H ,
.Fl L
and
.Fl P
options are ignored unless the
.Fl R
option is specified.
In addition, these options override each other and the
command's actions are determined by the last one specified.
.Pp
You can use "ls -lo" to see the flags of existing files.
.Pp
The
.Nm chflags
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr ls 1 ,
.Xr chflags 2 ,
.Xr stat 2 ,
.Xr fts 3 ,
.Xr symlink 7
.Sh HISTORY
The
.Nm chflags
command first appeared in
.Bx 4.4 .
-180
View File
@@ -1,180 +0,0 @@
/*
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1992, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static const char sccsid[] = "@(#)chflags.c 8.5 (Berkeley) 4/1/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
u_long string_to_flags __P((char **, u_long *, u_long *));
void usage __P((void));
int
main(argc, argv)
int argc;
char *argv[];
{
FTS *ftsp;
FTSENT *p;
u_long clear, set;
long val;
int Hflag, Lflag, Pflag, Rflag, ch, fts_options, oct, rval;
char *flags, *ep;
Hflag = Lflag = Pflag = Rflag = 0;
while ((ch = getopt(argc, argv, "HLPR")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
Lflag = Pflag = 0;
break;
case 'L':
Lflag = 1;
Hflag = Pflag = 0;
break;
case 'P':
Pflag = 1;
Hflag = Lflag = 0;
break;
case 'R':
Rflag = 1;
break;
case '?':
default:
usage();
}
argv += optind;
argc -= optind;
if (argc < 2)
usage();
fts_options = FTS_PHYSICAL;
if (Rflag) {
if (Hflag)
fts_options |= FTS_COMFOLLOW;
if (Lflag) {
fts_options &= ~FTS_PHYSICAL;
fts_options |= FTS_LOGICAL;
}
}
flags = *argv;
if (*flags >= '0' && *flags <= '7') {
errno = 0;
val = strtol(flags, &ep, 8);
if (val < 0)
errno = ERANGE;
if (errno)
err(1, "invalid flags: %s", flags);
if (*ep)
errx(1, "invalid flags: %s", flags);
set = val;
oct = 1;
} else {
if (string_to_flags(&flags, &set, &clear))
errx(1, "invalid flag: %s", flags);
clear = ~clear;
oct = 0;
}
if ((ftsp = fts_open(++argv, fts_options , 0)) == NULL)
err(1, NULL);
for (rval = 0; (p = fts_read(ftsp)) != NULL;) {
switch (p->fts_info) {
case FTS_D:
if (Rflag) /* Change it at FTS_DP. */
continue;
fts_set(ftsp, p, FTS_SKIP);
break;
case FTS_DNR: /* Warn, chflag, continue. */
warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
rval = 1;
break;
case FTS_ERR: /* Warn, continue. */
case FTS_NS:
warnx("%s: %s", p->fts_path, strerror(p->fts_errno));
rval = 1;
continue;
case FTS_SL: /* Ignore. */
case FTS_SLNONE:
/*
* The only symlinks that end up here are ones that
* don't point to anything and ones that we found
* doing a physical walk.
*/
continue;
default:
break;
}
if (oct) {
if (!chflags(p->fts_accpath, set))
continue;
} else {
p->fts_statp->st_flags |= set;
p->fts_statp->st_flags &= clear;
if (!chflags(p->fts_accpath, p->fts_statp->st_flags))
continue;
}
warn("%s", p->fts_path);
rval = 1;
}
if (errno)
err(1, "fts_read");
exit(rval);
}
void
usage()
{
(void)fprintf(stderr,
"usage: chflags [-R [-H | -L | -P]] flags file ...\n");
exit(1);
}
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.2 1997/09/12 15:00:06 jkh Exp $
# $Id: Makefile,v 1.3 1998/09/15 07:48:51 gibbs Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
CFLAGS+=-I${.CURDIR}/../../sys
+1 -1
View File
@@ -30,7 +30,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: chio.1,v 1.7 1998/09/15 07:48:51 gibbs Exp $
.\" $Id: chio.1,v 1.8 1998/11/30 23:05:38 billf Exp $
.\"
.Dd May 14, 1998
.Dt CHIO 1
+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: $ */
/* $Id: defs.h,v 1.1.1.1 1997/03/06 15:30:06 joerg Exp $ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
+1 -1
View File
@@ -1,4 +1,4 @@
/* $Id: $ */
/* $Id: pathnames.h,v 1.1.1.1 1997/03/06 15:30:06 joerg Exp $ */
/*
* Copyright (c) 1996 Jason R. Thorpe <[email protected]>
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $Id: Makefile,v 1.4 1997/02/22 14:01:29 peter Exp $
PROG= chmod
+2 -2
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
.\" $Id: chmod.1,v 1.9 1998/05/06 06:50:06 charnier Exp $
.\" $Id: chmod.1,v 1.10.2.1 1999/05/08 10:40:53 kris Exp $
.\"
.Dd March 31, 1994
.Dt CHMOD 1
@@ -97,7 +97,7 @@ command's actions are determined by the last one specified.
.Pp
Only the owner of a file or the super-user is permitted to change
the mode of a file.
.Pp
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
+1 -1
View File
@@ -42,7 +42,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
"$Id: chmod.c,v 1.11 1998/05/13 07:22:11 charnier Exp $";
"$Id: chmod.c,v 1.12 1998/12/16 04:42:00 imp Exp $";
#endif /* not lint */
#include <sys/types.h>
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.4 1997/02/22 14:01:32 peter Exp $
# $Id: Makefile,v 1.5 1998/11/14 23:43:11 wosch Exp $
PROG= cp
SRCS= cp.c utils.c
+5 -4
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\" $Id: cp.1,v 1.10 1998/05/06 06:50:19 charnier Exp $
.\" $Id: cp.1,v 1.11.2.1 1999/05/08 10:40:58 kris Exp $
.\"
.Dd April 18, 1994
.Dt CP 1
@@ -197,9 +197,10 @@ options are ignored unless the
option is specified.
In addition, these options override each other and the
command's actions are determined by the last one specified.
.Pp
.Nm Cp
exits 0 on success, >0 if an error occurred.
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
.Sh COMPATIBILITY
Historic versions of the
.Nm
+2 -2
View File
@@ -45,7 +45,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
"$Id: cp.c,v 1.16 1998/05/13 07:25:14 charnier Exp $";
"$Id: cp.c,v 1.17.2.1 1999/05/08 10:40:59 kris Exp $";
#endif /* not lint */
/*
@@ -286,7 +286,7 @@ copy(argv, type, fts_options)
* is the case where the target exists.
*
* Also, check for "..". This is for correct path
* concatentation for paths ending in "..", e.g.
* concatenation for paths ending in "..", e.g.
* cp -R .. /tmp
* Paths ending in ".." are changed to ".". This is
* tricky, but seems the easiest way to fix the problem.
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.2 (Berkeley) 4/1/94
* $Id$
* $Id: extern.h,v 1.7 1997/02/22 14:01:33 peter Exp $
*/
typedef struct {
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)utils.c 8.3 (Berkeley) 4/1/94";
#endif
static const char rcsid[] =
"$Id: utils.c,v 1.20 1998/06/10 06:29:23 peter Exp $";
"$Id: utils.c,v 1.21.2.1 1999/05/08 10:41:01 kris Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -171,7 +171,7 @@ copy_file(entp, dne)
/*
* Don't remove the target even after an error. The target might
* not be a regular file, or its attributes might be important,
* or its contents might be irreplacable. It would only be safe
* or its contents might be irreplaceable. It would only be safe
* to remove it if we created it and its length is 0.
*/
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.8 1997/08/07 21:42:01 steve Exp $
# $Id: Makefile,v 1.9 1997/08/08 00:49:23 steve Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
#
# C Shell with process control; VM/UNIX VAX Makefile
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 8/14/93
# $Id$
# $Id: Makefile,v 1.4 1997/02/22 14:02:19 peter Exp $
DIR= usd/04.csh
SRCS= tabs csh.1 csh.2 csh.3 csh.4 csh.a csh.g
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.1 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $Id: csh.1,v 1.5 1997/02/22 14:02:20 peter Exp $
.\"
.EH 'USD:4-%''An Introduction to the C shell'
.OH 'An Introduction to the C shell''USD:4-%'
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.2 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $Id: csh.2,v 1.5 1997/02/22 14:02:21 peter Exp $
.\"
.nr H1 1
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.3 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $Id: csh.3,v 1.4 1997/02/22 14:02:22 peter Exp $
.\"
.nr H1 2
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.4 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $Id: csh.4,v 1.4 1997/02/22 14:02:23 peter Exp $
.\"
.nr H1 3
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.a 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $Id: csh.a,v 1.4 1997/02/22 14:02:24 peter Exp $
.\"
.SH
Appendix \- Special characters
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.g 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $Id: csh.g,v 1.4 1997/02/22 14:02:25 peter Exp $
.\"
.SH
Glossary
+1 -1
View File
@@ -30,6 +30,6 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)tabs 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $Id: tabs,v 1.4 1997/02/22 14:02:26 peter Exp $
.\"
.ta 5n 10n 15n 20n 25n 30n 35n 40n 45n 50n 55n 60n 65n 70n 75n 80n
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)alloc.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: alloc.c,v 1.8 1998/05/06 06:50:37 charnier Exp $";
"$Id: alloc.c,v 1.9 1998/05/13 07:28:48 charnier Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)char.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: char.c,v 1.4 1997/02/22 14:01:37 peter Exp $";
"$Id: char.c,v 1.5 1997/08/07 21:42:02 steve Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)char.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: char.h,v 1.4 1997/02/22 14:01:38 peter Exp $
*/
#include <ctype.h>
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)const.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: const.c,v 1.6 1997/02/22 14:01:39 peter Exp $";
"$Id: const.c,v 1.7 1997/08/07 21:42:02 steve Exp $";
#endif
#endif /* not lint */
+2 -2
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.1 8.2 (Berkeley) 1/21/94
.\" $Id: csh.1,v 1.10 1998/05/06 06:50:38 charnier Exp $
.\" $Id: csh.1,v 1.11.2.1 1999/05/08 10:41:05 kris Exp $
.\"
.Dd January 21, 1994
.Dt CSH 1
@@ -2167,7 +2167,7 @@ and user name completion (see
and a C-like syntax.
There are now many shells that also have these mechanisms, plus
a few more (and maybe some bugs too), which are available through the
usenet.
Usenet.
.Sh BUGS
When a command is restarted from a stop,
the shell prints the directory it started in if this is different
+2 -2
View File
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#else
static const char rcsid[] =
"$Id: csh.c,v 1.12 1997/12/10 22:18:21 eivind Exp $";
"$Id: csh.c,v 1.13.2.1 1999/05/08 10:41:07 kris Exp $";
#endif
#endif /* not lint */
@@ -1223,7 +1223,7 @@ gethdir(home)
/*
* When didfds is set, we do I/O from 0, 1, 2 otherwise from 15, 16, 17
* We also check if the shell has already changed the decriptor to point to
* We also check if the shell has already changed the descriptor to point to
* 0, 1, 2 when didfds is set.
*/
#define DESC(a) (*((int *) (a)) - (didfds && *((int *) a) >= FSHIN ? FSHIN : 0))
+3 -3
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)csh.h 8.1 (Berkeley) 5/31/93
* $Id: csh.h,v 1.5 1997/08/07 21:42:04 steve Exp $
* $Id: csh.h,v 1.6.2.1 1999/05/08 10:41:09 kris Exp $
*/
/*
@@ -306,7 +306,7 @@ Char *lap;
*
* Each command is parsed to a tree of command structures and
* flags are set bottom up during this process, to be propagated down
* as needed during the semantics/exeuction pass (sh.sem.c).
* as needed during the semantics/execution pass (sh.sem.c).
*/
struct command {
short t_dtyp; /* Type of node */
@@ -535,7 +535,7 @@ Char **evalvec;
Char *evalp;
/* word_chars is set by default to WORD_CHARS but can be overridden by
the worchars variable--if unset, reverts to WORD_CHARS */
the wordchars variable--if unset, reverts to WORD_CHARS */
Char *word_chars;
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)dir.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: dir.c,v 1.8 1998/06/09 03:38:37 imp Exp $";
"$Id: dir.c,v 1.9 1998/12/16 04:44:32 imp Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)dir.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: dir.h,v 1.4 1997/02/22 14:01:45 peter Exp $
*/
/*
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)dol.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: dol.c,v 1.7 1998/05/06 06:50:39 charnier Exp $";
"$Id: dol.c,v 1.8 1998/05/13 07:28:52 charnier Exp $";
#endif
#endif /* not lint */
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)err.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: err.c,v 1.7 1998/05/06 06:50:41 charnier Exp $";
"$Id: err.c,v 1.8.2.1 1999/05/08 10:41:11 kris Exp $";
#endif
#endif /* not lint */
@@ -327,7 +327,7 @@ seterror(id, va_alist)
* in bname
*
* This routine always resets or exits. The flag haderr
* is set so the routine who catches the unwind can propogate
* is set so the routine who catches the unwind can propagate
* it if they want.
*
* Note that any open files at the point of error will eventually
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)exec.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: exec.c,v 1.9 1998/02/28 10:49:54 jraynard Exp $";
"$Id: exec.c,v 1.10 1998/05/06 06:50:42 charnier Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)exp.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: exp.c,v 1.6 1998/05/06 06:50:44 charnier Exp $";
"$Id: exp.c,v 1.7 1998/05/13 07:29:01 charnier Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id: extern.h,v 1.4 1997/02/22 14:01:53 peter Exp $
* $Id: extern.h,v 1.5 1997/08/08 00:54:01 steve Exp $
*/
#include <sys/cdefs.h>
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)file.c 8.2 (Berkeley) 3/19/94";
#else
static const char rcsid[] =
"$Id: file.c,v 1.8 1998/02/01 17:11:01 steve Exp $";
"$Id: file.c,v 1.9 1998/05/06 06:50:47 charnier Exp $";
#endif
#endif /* not lint */
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)func.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: func.c,v 1.10 1998/02/28 10:49:56 jraynard Exp $";
"$Id: func.c,v 1.11.2.1 1999/05/08 10:41:13 kris Exp $";
#endif
#endif /* not lint */
@@ -1396,7 +1396,7 @@ dosuspend(v, t)
/* This is the dreaded EVAL built-in.
* If you don't fiddle with file descriptors, and reset didfds,
* this command will either ignore redirection inside or outside
* its aguments, e.g. eval "date >x" vs. eval "date" >x
* its arguments, e.g. eval "date >x" vs. eval "date" >x
* The stuff here seems to work, but I did it by trial and error rather
* than really knowing what was going on. If tpgrp is zero, we are
* probably a background eval, e.g. "eval date &", and we want to
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)glob.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: glob.c,v 1.10 1997/08/08 00:54:03 steve Exp $";
"$Id: glob.c,v 1.11 1998/05/06 06:50:49 charnier Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)hist.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: hist.c,v 1.7 1998/05/06 06:50:50 charnier Exp $";
"$Id: hist.c,v 1.8 1998/05/13 07:29:03 charnier Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: init.c,v 1.4 1997/02/22 14:02:00 peter Exp $";
"$Id: init.c,v 1.5 1997/08/07 21:42:11 steve Exp $";
#endif
#endif /* not lint */
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)lex.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: lex.c,v 1.9 1998/05/06 06:50:52 charnier Exp $";
"$Id: lex.c,v 1.10.2.1 1999/05/08 10:41:15 kris Exp $";
#endif
#endif /* not lint */
@@ -1179,7 +1179,7 @@ gethent(sc)
case '-':
back = 1;
c = getC(0);
/* FALLSTHROUGH */
/* FALLTHROUGH */
default:
if (any("(=~", c)) {
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: misc.c,v 1.7 1998/05/06 06:50:53 charnier Exp $";
"$Id: misc.c,v 1.8 1998/05/13 07:29:08 charnier Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: parse.c,v 1.7 1998/05/06 06:50:56 charnier Exp $";
"$Id: parse.c,v 1.8 1998/05/13 07:29:12 charnier Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
* $Id: pathnames.h,v 1.4 1997/02/22 14:02:05 peter Exp $
* $Id: pathnames.h,v 1.5 1997/08/07 21:42:14 steve Exp $
*/
#define _PATH_BIN "/bin"
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)proc.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: proc.c,v 1.8 1998/02/28 10:49:59 jraynard Exp $";
"$Id: proc.c,v 1.9.2.1 1999/05/08 10:41:16 kris Exp $";
#endif
#endif /* not lint */
@@ -76,7 +76,7 @@ static void okpcntl __P((void));
* pchild - called at interrupt level by the SIGCHLD signal
* indicating that at least one child has terminated or stopped
* thus at least one wait system call will definitely return a
* childs status. Top level routines (like pwait) must be sure
* child's status. Top level routines (like pwait) must be sure
* to mask interrupts when playing with the proclist data structures!
*/
/* ARGUSED */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: proc.h,v 1.4 1997/02/22 14:02:06 peter Exp $
*/
/*
+2 -2
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)sem.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: sem.c,v 1.7 1998/02/28 10:50:00 jraynard Exp $";
"$Id: sem.c,v 1.8.2.1 1999/05/08 10:41:18 kris Exp $";
#endif
#endif /* not lint */
@@ -471,7 +471,7 @@ int i;
* If more than one word is generated, then update the command vector.
*
* This is done differently in all the shells:
* 1. in the bourne shell and ksh globbing is not performed
* 1. in the Bourne shell and ksh globbing is not performed
* 2. Bash/csh say ambiguous
* 3. zsh does i/o to/from all the files
* 4. itcsh concatenates the words.
+4 -4
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)set.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: set.c,v 1.9 1998/05/06 06:51:04 charnier Exp $";
"$Id: set.c,v 1.10.2.1 1999/05/08 10:41:20 kris Exp $";
#endif
#endif /* not lint */
@@ -163,7 +163,7 @@ doset(v, t)
cp = Strsave(value(vp)); /* get the old value back */
/*
* convert to cononical pathname (possibly resolving symlinks)
* convert to canonical pathname (possibly resolving symlinks)
*/
cp = dcanon(cp, cp);
@@ -745,7 +745,7 @@ balance(p, f, d)
break;
case 1: /* was already right heavy */
switch (p->v_right->v_bal) {
case 1: /* sigle rotate */
case 1: /* single rotate */
pp->v_link[ff] = rleft(p);
p->v_left->v_bal = 0;
p->v_bal = 0;
@@ -783,7 +783,7 @@ balance(p, f, d)
p->v_right->v_bal = 0;
p->v_bal = 0;
break;
case 0: /* signle rotate */
case 0: /* single rotate */
pp->v_link[ff] = rright(p);
p->v_right->v_bal = -1;
p->v_bal = 1;
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)str.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: str.c,v 1.5 1997/02/22 14:02:09 peter Exp $";
"$Id: str.c,v 1.6 1997/08/07 21:42:17 steve Exp $";
#endif
#endif /* not lint */
+3 -3
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)time.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: time.c,v 1.7 1997/02/22 14:02:09 peter Exp $";
"$Id: time.c,v 1.8.2.1 1999/05/08 10:41:21 kris Exp $";
#endif
#endif /* not lint */
@@ -219,7 +219,7 @@ prusage(r0, r1, e, b)
(void) fprintf(cshout, "%ld", r1->ru_oublock - r0->ru_oublock);
break;
case 'r': /* socket messages recieved */
case 'r': /* socket messages received */
(void) fprintf(cshout, "%ld", r1->ru_msgrcv - r0->ru_msgrcv);
break;
@@ -227,7 +227,7 @@ prusage(r0, r1, e, b)
(void) fprintf(cshout, "%ld", r1->ru_msgsnd - r0->ru_msgsnd);
break;
case 'k': /* number of signals recieved */
case 'k': /* number of signals received */
(void) fprintf(cshout, "%ld", r1->ru_nsignals-r0->ru_nsignals);
break;
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.6 1997/08/09 22:34:01 brian Exp $
# $Id: Makefile,v 1.7 1998/12/07 12:50:47 bde Exp $
PROG= date
SRCS= date.c netdate.c vary.c
+14 -11
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.3 (Berkeley) 4/28/95
.\" $Id: date.1,v 1.25 1998/05/13 07:56:44 phk Exp $
.\" $Id: date.1,v 1.26.2.2 1999/05/08 10:41:26 kris Exp $
.\"
.Dd November 17, 1993
.Dt DATE 1
@@ -47,7 +47,7 @@
.Op Fl d Ar dst
.Op Fl r Ar seconds
.Op Fl t Ar minutes_west
.Op Fl v Ns Ar [+|-]val Ns Op ymwdHM
.Op Fl v Ns Ar [+|-]val Ns Op ymwdHMS
.Ar ...
.Op Fl f Ar fmt Ar date | [[[[yy]mm]dd]HH]MM[\&.ss]
.Op Cm + Ns Ar format
@@ -108,8 +108,8 @@ Display or set the date in
.Tn UCT
(universal) time.
.It Fl v
Adjust the minute, hour, month day, week day, month or year according to
.Ar val .
Adjust the second, minute, hour, month day, week day, month or year according to
.Ar val .
If
.Ar val
is preceded with a plus or minus sign, the date is adjusted forwards
@@ -117,10 +117,10 @@ or backwards according to the remaining string, otherwise the relevant
part of the date is set. The date can be adjusted as many times as
required using these flags. Flags are processed in the order given.
.Pp
Minutes are in the range 0-59, hours are in the range 1-12, month days
are in the range 1-31, week days are in the range 0-6 (Sun-Sat), months
are in the range 1-12 (Jan-Dec) and years are in the range 80-38 or
1980-2038.
Seconds are in the range 0-59, minutes are in the range 0-59, hours are
in the range 1-12, month days are in the range 1-31, week days are in the
range 0-6 (Sun-Sat), months are in the range 1-12 (Jan-Dec) and years are
in the range 80-38 or 1980-2038.
.Pp
If
.Ar val
@@ -129,9 +129,10 @@ is numeric, one of either
.Ar m ,
.Ar w ,
.Ar d ,
.Ar H
or
.Ar H ,
.Ar M
or
.Ar S
must be used to specify which part of the date is to be adjusted.
.Pp
The week day or month may be specified using a name rather than a
@@ -277,7 +278,9 @@ a record of the user setting the time
.%A S. Zatti
.Re
.Sh DIAGNOSTICS
Exit status is 0 on success, 1 if unable to set the date, and 2
The
.Nm
utility exits 0 on success, 1 if unable to set the date, and 2
if able to set the local date, but unable to set it globally.
.Pp
Occasionally, when
+2 -2
View File
@@ -42,7 +42,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)date.c 8.2 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
"$Id: date.c,v 1.25 1998/05/13 07:31:39 charnier Exp $";
"$Id: date.c,v 1.26.2.1 1999/05/02 06:28:08 kris Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -278,7 +278,7 @@ usage()
{
(void)fprintf(stderr, "%s\n%s\n",
"usage: date [-nu] [-d dst] [-r seconds] [-t west] "
"[-v[+|-]val[ymwdHM]] ... ",
"[-v[+|-]val[ymwdHMS]] ... ",
" [-f fmt date | [[[[yy]mm]dd]HH]MM[.ss]] [+format]");
exit(1);
}
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id$
* $Id: extern.h,v 1.4 1997/02/22 14:02:34 peter Exp $
*/
int netsettime __P((time_t));
+1 -1
View File
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)netdate.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id: netdate.c,v 1.9 1998/05/06 06:51:18 charnier Exp $";
"$Id: netdate.c,v 1.10 1998/05/13 07:31:42 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
+42 -1
View File
@@ -26,7 +26,7 @@
#ifndef lint
static const char rcsid[] =
"$Id$";
"$Id: vary.c,v 1.4.2.1 1999/05/02 06:28:09 kris Exp $";
#endif /* not lint */
#include <time.h>
@@ -332,6 +332,43 @@ adjmin(struct tm *t, char type, int val)
return mktime(t) != -1;
}
static int
adjsec(struct tm *t, char type, int val)
{
if (val < 0)
return 0;
switch (type) {
case '+':
if (!adjmin(t, '+', (t->tm_sec + val) / 60))
return 0;
val %= 60;
t->tm_sec += val;
if (t->tm_sec > 59)
t->tm_sec -= 60;
break;
case '-':
if (!adjmin(t, '-', val / 60))
return 0;
val %= 60;
if (val > t->tm_sec) {
if (!adjmin(t, '-', 1))
return 0;
val -= 60;
}
t->tm_sec -= val;
break;
default:
if (val > 59)
return 0;
t->tm_sec = val;
}
return mktime(t) != -1;
}
const struct vary *
vary_apply(const struct vary *v, struct tm *t)
{
@@ -370,6 +407,10 @@ vary_apply(const struct vary *v, struct tm *t)
which = arg[len-1];
switch (which) {
case 'S':
if (!adjsec(t, type, val))
return v;
break;
case 'M':
if (!adjmin(t, type, val))
return v;
+1 -1
View File
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: vary.h,v 1.3 1997/12/21 12:10:57 brian Exp $
*/
struct vary {
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.5 1998/01/07 22:31:17 joerg Exp $
# $Id: Makefile,v 1.6 1998/01/07 22:32:28 joerg Exp $
PROG= dd
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
+2 -2
View File
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: args.c,v 1.12 1998/05/06 06:51:29 charnier Exp $";
"$Id: args.c,v 1.13.2.1 1999/05/08 10:41:30 kris Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -328,7 +328,7 @@ c_conv(a, b)
* 4) A positive decimal number followed by a m (mult by 512).
* 5) A positive decimal number followed by a w (mult by sizeof int)
* 6) Two or more positive decimal numbers (with/without k,b or w).
* seperated by x (also * for backwards compatibility), specifying
* separated by x (also * for backwards compatibility), specifying
* the product of the indicated values.
*/
static u_long
+1 -1
View File
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#)conv.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: conv.c,v 1.9 1998/05/06 06:51:30 charnier Exp $";
"$Id: conv.c,v 1.10 1998/05/13 07:33:39 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
+1 -1
View File
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#)conv_tab.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id: conv_tab.c,v 1.7 1998/05/06 06:51:32 charnier Exp $";
"$Id: conv_tab.c,v 1.8 1998/05/13 07:33:44 charnier Exp $";
#endif /* not lint */
#include <sys/types.h>
+3 -3
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)dd.1 8.2 (Berkeley) 1/13/94
.\" $Id: dd.1,v 1.7 1998/05/06 06:51:35 charnier Exp $
.\" $Id: dd.1,v 1.8.2.1 1999/05/08 10:41:33 kris Exp $
.\"
.Dd January 13, 1994
.Dt DD 1
@@ -329,10 +329,10 @@ be written to the standard error output
in the same format as the standard completion message and
.Nm
will exit.
.Pp
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success or >0 if an error occurred.
utility exits 0 on success or >0 if an error occurs.
.Sh SEE ALSO
.Xr cp 1 ,
.Xr mt 1 ,
+1 -1
View File
@@ -46,7 +46,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: dd.c,v 1.14 1998/05/06 06:51:39 charnier Exp $";
"$Id: dd.c,v 1.15 1998/05/13 07:33:47 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
+1 -1
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)dd.h 8.3 (Berkeley) 4/2/94
* $Id: dd.h,v 1.7 1997/10/11 20:09:05 joerg Exp $
* $Id: dd.h,v 1.8 1998/02/11 02:23:31 asami Exp $
*/
/* Input/output stream state. */
+1 -1
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.3 (Berkeley) 4/2/94
* $Id$
* $Id: extern.h,v 1.4 1997/02/22 14:02:46 peter Exp $
*/
#include <sys/cdefs.h>
+1 -1
View File
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: misc.c,v 1.14 1998/05/13 07:33:50 charnier Exp $";
"$Id: misc.c,v 1.15 1998/12/07 12:37:11 bde Exp $";
#endif /* not lint */
#include <sys/types.h>
+1 -1
View File
@@ -40,7 +40,7 @@
static char sccsid[] = "@(#)position.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$Id: position.c,v 1.7 1998/05/06 06:51:42 charnier Exp $";
"$Id: position.c,v 1.8 1998/05/13 07:33:54 charnier Exp $";
#endif /* not lint */
#include <sys/types.h>
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.6 1997/08/07 21:30:59 steve Exp $
# $Id: Makefile,v 1.7 1998/01/20 10:39:54 bde Exp $
# @(#)Makefile 8.3 (Berkeley) 5/8/95
PROG= df
+2 -2
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)df.1 8.3 (Berkeley) 5/8/95
.\" $Id: df.1,v 1.12 1998/05/13 07:35:44 charnier Exp $
.\" $Id: df.1,v 1.13.2.1 1999/05/02 12:06:53 kris Exp $
.\"
.Dd May 8, 1995
.Dt DF 1
@@ -50,7 +50,7 @@ displays statistics about the amount of free disk space on the specified
or on the filesystem of which
.Ar file
is a part.
Values are displayed in 512-byte per block block counts.
Values are displayed in 512-byte per block counts.
If neither a file or a filesystem operand is specified,
statistics for all mounted filesystems are displayed
(subject to the
+1 -1
View File
@@ -47,7 +47,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)df.c 8.9 (Berkeley) 5/8/95";
#else
static const char rcsid[] =
"$Id: df.c,v 1.19 1997/10/13 09:36:05 joerg Exp $";
"$Id: df.c,v 1.20 1998/12/16 05:29:09 peter Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id$
# $Id: Makefile,v 1.3 1997/02/22 14:02:59 peter Exp $
PROG= domainname
+2 -2
View File
@@ -30,11 +30,11 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)hostname.1 8.1 (Berkeley) 5/31/93
.\" $Id: domainname.1,v 1.5 1997/06/03 06:19:04 charnier Exp $
.\" $Id: domainname.1,v 1.6.2.1 1999/02/15 08:46:21 fenner Exp $
.\"
.Dd September 18, 1994
.Dt DOMAINNAME 1
.Os "FreeBSD 2.0"
.Os FreeBSD 2.0
.Sh NAME
.Nm domainname
.Nd set or print name of current YP/NIS domain
+1 -1
View File
@@ -42,7 +42,7 @@ static char const copyright[] =
static char const sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: domainname.c,v 1.11 1998/05/13 07:37:26 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $Id: Makefile,v 1.4 1997/02/22 14:03:03 peter Exp $
PROG= echo
+2 -2
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)echo.1 8.1 (Berkeley) 7/22/93
.\" $Id: echo.1,v 1.5 1997/02/22 14:03:05 peter Exp $
.\" $Id: echo.1,v 1.6.2.1 1999/05/08 10:41:37 kris Exp $
.\"
.Dd July 22, 1993
.Dt ECHO 1
@@ -59,7 +59,7 @@ Do not print the trailing newline character. This may also be
achieved by appending `\ec' to the end of the string, as is done
by iBCS2 compatible systems.
.El
.Pp
.Sh DIAGNOSTICS
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
+1 -1
View File
@@ -42,7 +42,7 @@ static char const copyright[] =
static char sccsid[] = "@(#)echo.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$Id$";
"$Id: echo.c,v 1.7 1998/05/13 07:39:11 charnier Exp $";
#endif /* not lint */
#include <stdio.h>
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.15 1997/02/22 14:03:08 peter Exp $
# $Id: Makefile,v 1.16 1998/03/06 16:05:18 bde Exp $
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
+1 -1
View File
@@ -1,4 +1,4 @@
$Id$
$Id: POSIX,v 1.6 1997/02/22 14:03:09 peter Exp $
This version of ed(1) is not strictly POSIX compliant, as described in
the POSIX 1003.2 document. The following is a summary of the omissions,
+1 -1
View File
@@ -1,4 +1,4 @@
$Id$
$Id: README,v 1.6 1997/02/22 14:03:10 peter Exp $
ed is an 8-bit-clean, POSIX-compliant line editor. It should work with
any regular expression package that conforms to the POSIX interface
+2 -2
View File
@@ -1,4 +1,4 @@
/* buf.c: This file contains the scratch-file buffer rountines for the
/* buf.c: This file contains the scratch-file buffer routines for the
ed line editor. */
/*-
* Copyright (c) 1993 Andrew Moore, Talke Studio.
@@ -31,7 +31,7 @@
static char * const rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
#else
static char * const rcsid =
"$Id: buf.c,v 1.14 1997/10/09 11:05:16 eivind Exp $";
"$Id: buf.c,v 1.15.2.1 1999/05/08 10:41:41 kris Exp $";
#endif
#endif /* not lint */
+2 -2
View File
@@ -42,7 +42,7 @@
static char * const rcsid = "@(#)cbc.c,v 1.2 1994/02/01 00:34:36 alm Exp";
#else
static char * const rcsid =
"$Id: cbc.c,v 1.9 1997/02/22 14:03:12 peter Exp $";
"$Id: cbc.c,v 1.10.2.1 1999/05/08 10:41:44 kris Exp $";
#endif
#endif /* not lint */
@@ -124,7 +124,7 @@ init_des_cipher()
/* initialize the initialization vector */
MEMZERO(ivec, 8);
/* intialize the padding vector */
/* initialize the padding vector */
srand((unsigned) time((time_t *) 0));
for (i = 0; i < 8; i++)
CHAR(pvec, i) = (char) (rand()/RAND_DIV);
+1 -1
View File
@@ -1,4 +1,4 @@
.\" $Id: ed.1,v 1.13 1998/05/13 07:41:13 charnier Exp $
.\" $Id: ed.1,v 1.14 1998/07/21 04:53:18 jkoshy Exp $
.Dd May 21, 1993
.Dt ED 1
.Os
+1 -1
View File
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*
* @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp
* $Id: ed.h,v 1.11 1997/12/10 22:18:23 eivind Exp $
* $Id: ed.h,v 1.12 1998/08/07 09:39:11 dfr Exp $
*/
#include <sys/param.h> /* for MAXPATHLEN */
+1 -1
View File
@@ -31,7 +31,7 @@
static char * const rcsid = "@(#)glob.c,v 1.1 1994/02/01 00:34:40 alm Exp";
#else
static char * const rcsid =
"$Id: glbl.c,v 1.7 1997/02/22 14:03:15 peter Exp $";
"$Id: glbl.c,v 1.8 1997/08/07 21:33:41 steve Exp $";
#endif
#endif /* not lint */
+1 -1
View File
@@ -30,7 +30,7 @@
static char * const rcsid = "@(#)io.c,v 1.1 1994/02/01 00:34:41 alm Exp";
#else
static char * const rcsid =
"$Id: io.c,v 1.8 1997/02/22 14:03:16 peter Exp $";
"$Id: io.c,v 1.9 1997/08/07 21:33:42 steve Exp $";
#endif
#endif /* not lint */
Loaded 100 of 10575 files, more files were not shown because too many files have changed in this diff. Show more