Compare commits

...
6656 Commits
Author SHA1 Message Date
Peter Wemm e13b8b8470 MFC: printf-style format fix. warn(string) -> warn("%s", string) 2000-10-04 05:44:33 +00:00
Peter Wemm 4143074561 MFC: change ifa_refcnt from short to int so that lots of cloned routes
from "default" don't overflow it.
2000-05-24 10:20:27 +00:00
Peter Wemm 0354524362 MFC: (sort-of) - remove semconfig op from semsys() call. There is no
direct semconfig(2) call in 2.1.x, but its functionality was available.
2000-05-01 11:34:49 +00:00
Peter Wemm 9ee3d2458b MFC: remove semconfig() calls 2000-05-01 10:53:55 +00:00
Peter Wemm 6f9f42c124 MFC: fix typo "," -> ";"
PR:		15696
Submitted by:	Takashi Okumura <[email protected]>
1999-12-27 16:07:26 +00:00
Peter Wemm f4f9ad4196 $Id$ -> $FreeBSD$ 1999-09-05 11:54:50 +00:00
Peter Wemm c0b6460abc $Id$ -> $FreeBSD$ 1999-09-05 08:39:22 +00:00
Peter Wemm 1c9be56512 MFC: rev 1.30 - free nfs_nofs_hash_lock and np if restarting 1999-06-20 01:16:38 +00:00
Peter Wemm f2266fc326 MFC: Don't duplicate nfsnodes when loosing a race. 1999-06-07 01:08:27 +00:00
Peter Wemm ad559c68bc MFC: don't integer overflow for va_bytes on >2G files (when converting
a blocks-used count to a bytes-used count)
1999-06-07 00:57:01 +00:00
Peter Wemm 9b8de928a7 MFC: don't clobber a mbuf pointer 1999-06-07 00:53:09 +00:00
Guido van Rooij 52a5c11323 MFC: fix the ttcp security problem 1998-05-18 17:14:01 +00:00
Steve Price d2bc3b2e16 Merge from 1.274 1998-05-04 09:25:48 +00:00
John Polstra 0e8501ec99 Chekhov, Act 3: The cherry orchard has been sold. The End. 1998-02-11 20:13:11 +00:00
John Polstra c1b254f398 Chekhov, Act 1: The cherry orchard is going to be sold. 1998-02-11 20:08:35 +00:00
Alexander Langer 9076d3b7d8 MFC (rev 1.9): year 2000 fix. 1998-01-26 01:01:39 +00:00
Peter Wemm 15807db945 HostStatusDirectory doesn't follow symlinks 1998-01-11 14:00:07 +00:00
Peter Wemm 470e6ca104 Check in what is actually running on hub at present 1998-01-11 13:55:14 +00:00
Guido van Rooij e06bf9205a MFC: handle files starting with '\|' more careful. 1997-11-23 13:32:45 +00:00
Satoshi Asami 59ceaa0b04 Merge everything up to 1.23. 1997-11-20 05:37:23 +00:00
Satoshi Asami 3336f83d38 Merge 1.267. 1997-11-20 05:34:49 +00:00
Satoshi Asami 177de9b6bd Merge 1.266. 1997-11-12 10:43:04 +00:00
Guido van Rooij 03fca4db33 Merge IOPL fix from current
CVg: PR:		Fill this in if a GNATS PR is affected by the change.
1997-10-28 21:28:04 +00:00
Alexander Langer 2161c41b0a Merge from rev 1.77: reject illegal combinations of O_RDONLY, O_RDWR, and
O_WRONLY in open(2).
1997-10-24 22:20:45 +00:00
Jonathan M. Bresler 2c334497c0 add /etc/mail--the anti-spam files to Makefile and mtree 1997-10-20 00:59:35 +00:00
cvs2svn f75edc272d This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1997-10-19 16:40:11 +00:00
Satoshi Asami 27b0c8bef0 Merge 1.265. 1997-10-08 05:05:53 +00:00
Bill Fenner f082500ec2 Merge rev 1.62 (Don't consider a SYN/ACK with CC but no CCECHO a
proper T/TCP handshake.)

Requested by:	joerg
1997-10-06 04:44:10 +00:00
Peter Wemm 2f86b471b2 Save hub's .mc here too since this branch is where it's actually being
used. :-)
1997-10-06 04:14:59 +00:00
Peter Wemm 5f9bc5da08 YAMFC: record envelope-from in Received: line. 1997-10-06 04:07:48 +00:00
Peter Wemm bca71c7334 Grab hub.freebsd.org's current config before it gets lost 1997-09-28 12:37:50 +00:00
Joerg Wunsch ca1cce5367 MFC: buffer overflow fix from rev 1.3. 1997-09-16 08:35:14 +00:00
Eivind Eklund 6f2802fb4c Non setuid games -> owner bin (YAMF22) 1997-09-16 00:38:03 +00:00
Peter Wemm fdcd1449b4 Remove reference to tetris in subdir list 1997-09-11 03:04:33 +00:00
Justin T. Gibbs 8359fe3b9b Merge driver changes from current into the 2.1-STABLE branch
Submitted by:	Don Lewis <[email protected]>
1997-09-03 05:04:52 +00:00
Justin T. Gibbs 3f3b135f2c Merge sequencer assembler build changes from current. 1997-09-03 05:00:41 +00:00
Eivind Eklund fd9558cfc4 Implement similar code as in -current to block args() overflow. (This
overflow is probably non-exploitable, but better safe than sorry.)
1997-09-01 01:56:43 +00:00
Alexander Langer 35a9cf80e0 Merge from -current: display file size as an unsigned long. 1997-08-31 01:33:43 +00:00
Warner Losh 7ff167b99e MFC:odd sleep after select 1997-08-29 18:03:01 +00:00
Warner Losh 79b3bede52 MFC: 1.10 sendmail arg sanity 1997-08-28 04:44:12 +00:00
Joerg Wunsch 4226a712eb MFC: rev 1.4, pass all args down to scanident() 1997-08-27 17:21:00 +00:00
Guido van Rooij 83dea3e840 MFC: procfs security patch. 2.1's not dead! Long live 2.1 ;-) 1997-08-25 21:12:33 +00:00
Joerg Wunsch 7b8996269f Fix a panic condition when accidentally installing a route with
a zero mask.  -current uses a different fix for this, so i'm adding
it only as a bandaid here.

PR:		3367
Submitted by:	John Capo <[email protected]>
1997-08-24 18:25:54 +00:00
Masafumi Max NAKANE df65d8b7cc MFC: bring in the latest (08/22/1997) version from Internic. 1997-08-24 10:20:29 +00:00
Peter Wemm eac4ef0604 YAMFC: hub's ForwardPath 1997-08-22 16:55:31 +00:00
Satoshi Asami ea2bcae427 Merge 1.20. 1997-08-22 11:17:06 +00:00
Peter Wemm 659aaadbe0 re-add these files from current after repository surgery to repair lost
default branch.  These files were in sync with HEAD before the operation.
1997-08-22 10:34:01 +00:00
Joerg Wunsch 26af9c067f Sorta MFC. Don't allow PID 1 to compromise our securelevel. Equivalent
to rev 1.9 of the now kern_mib.c.
1997-08-17 15:20:32 +00:00
Tor Egge f2b029f1ad MFC: Add the netboot manual page. 1997-08-15 13:46:28 +00:00
Tor Egge 6088745487 MFC: Remove unused routines. 1997-08-15 13:33:21 +00:00
Tor Egge 0551363a55 MFC: Move commonly used code into static functions. Calculate correct
default value for subnet mask.
1997-08-15 13:31:16 +00:00
Peter Wemm a05a3c320d Update 2.1.x from sendmail-8.8.5 to 8.8.7 1997-08-14 15:05:45 +00:00
cvs2svn a211979169 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1997-08-14 14:42:07 +00:00
Joerg Wunsch dac78f5c08 MFC (fix for CA-97.17) 1997-08-08 21:00:49 +00:00
Joerg Wunsch 9915737991 MFC: fix buffer overflow condition. 1997-08-08 20:55:53 +00:00
David Nugent fbb8b7cc54 MFX: Fix -p switch. 1997-08-01 15:11:45 +00:00
Bill Paul f5229c95e2 Fix heap corruption bug here too (*sigh*). 1997-07-24 16:50:12 +00:00
Stefan Eßer c80a269cba Merge from -current (rev 1.99): Don't access dstat twice. 1997-07-18 19:36:57 +00:00
Warner Losh 6d3463e1ae MFC: 1.5: unlink protection 1997-07-18 18:39:55 +00:00
Nate Williams 990296e89d - Fix braino I did when hand-applying the patch to 1.7.4.4. The braino
shouldn't negatively affect anything, since I didn't remove a line
  from the original patch which assigned to a variable.  However, the new
  patch added a line (after some comments) which assigned a value to the
  same variable, so the end result was I left in extra code that did
  nothing.

Pointed out by:	bde
1997-07-18 17:33:35 +00:00
Satoshi Asami 825ce2c2c8 Merge 1.263 on this branch too. 1997-07-17 22:56:22 +00:00
Nate Williams f86cf6546f YAMFC: I did the later commit which Bruce mentioned in the mailing list, but
I noticed this one wasn't brought in, and was specifically mentioned in the
logs.  I've tested this and the previous vix on my box and it appears to work
as well as before. :)

revision 1.42
date: 1996/11/13 18:31:57;  author: bde;  state: Exp;  lines: +28 -17
Don't fiddle with RTS if RTS flow control is off.  This gives applications
almost complete control over RTS (control of its initial value is still
missing).

This fixes PR 1644 for sio.

The author of PR 1644 wants it in 2.1.6 and 2.2.  This may be safe since
the complications are only in rarely used cases that I hope I've covered.
1997-07-17 19:47:01 +00:00
Nate Williams 6fe7c9e704 Fix my merge from current. cd_inb only takes 2 arguements in 2.1.*. 1997-07-17 15:50:19 +00:00
Nate Williams 4a3df10e3d YAMFC:
Fixed handling of modem status changes.  Only the most common case of
connect/hangup in !CLOCAL mode was handled correctly.  mgetty and ppp
didn't work because they turn on CLOCAL and poll for carrier (or RI?).

Pointed out by:	bde (on mailing list)
1997-07-17 15:29:35 +00:00
David Nugent 1b827e1d4d MFC: getuid() -> geteuid(). 1997-07-17 08:40:38 +00:00
John Fieber 398f36b1c6 Don't make directories for the now non-existant sgml support files. 1997-07-16 13:27:14 +00:00
John Fieber bba88fe896 Poof!
The SGML tools in this branch are long obsolete.  The tools in -current
will be available in port form shortly.
1997-07-16 13:25:22 +00:00
John Fieber c7d35c220b Since Jordan is waiting for people to fix things in 2.1.7 before
thinking about 2.1.8, fix some things, in this case botched default
rules for .cxx files.
1997-07-16 12:53:30 +00:00
Satoshi Asami 48e071cec6 Merge 1.262. 1997-07-10 02:30:51 +00:00
Dima Ruban 97ca4203f6 Fix buffer overflow.
Requested-by:	Warner :-)
1997-07-08 23:39:24 +00:00
John Polstra 9d1d81fd7e Merge from main branch 1.58 -> 1.59: Fix for PR kern/3998.
PR:		kern/3998
1997-07-07 20:56:58 +00:00
Satoshi Asami 6a6441c864 Merge 1.261. 1997-07-01 06:52:35 +00:00
Satoshi Asami fc4cb55fe4 Merge 1.260 (USE_PERL5). 1997-06-24 07:17:15 +00:00
Alexander Langer a4915227fd Merge from current: block write ops to /proc/1/* when securelevel > 0. 1997-06-21 16:18:56 +00:00
Satoshi Asami c6b64cacf3 Merge 1.259 (umask check). 1997-06-18 03:21:31 +00:00
Satoshi Asami e179a86558 Merge BSD.x11.dist rev 1.2 and BSD.local.dist rev 1.28 from -current. 1997-06-10 07:57:02 +00:00
John-Mark Gurney 04fe3398d8 YAMFC: fix doc location 1997-06-09 10:21:21 +00:00
John Fieber f466d0c549 Remove sgml stuff from the build-tools target. They are no longer
used in a make world.
1997-06-08 15:00:40 +00:00
John Fieber 16991754bb Remove the handbook from the 2.1.x branch. 1997-06-08 14:54:29 +00:00
John Fieber 130026489b Remove the FAQ from the 2.1.x branch. 1997-06-08 14:53:29 +00:00
John Fieber b4c313ea92 Turn off the handbook and FAQ. 1997-06-08 14:52:55 +00:00
Satoshi Asami 26419c2a61 Merge 1.91. 1997-06-04 10:51:58 +00:00
Satoshi Asami 4b7583d259 Add this file to 2.1 branch too (just in case). 1997-06-04 00:03:36 +00:00
cvs2svn ffe9a1db07 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1997-06-04 00:02:02 +00:00
Nate Williams b70c4f0835 YAMFC - Fix for promiscuous mode. 1997-05-28 15:08:03 +00:00
David Nugent cefec6e3a9 MFC: fix for -k.
PR:		3666
Reviewed by:
Submitted by:
Obtained from:
1997-05-24 10:46:02 +00:00
Warner Losh d1b30348f0 MFC->2.1: Fix buffer overflow 1997-05-22 21:42:19 +00:00
Nate Williams 90b6d2069b MFC - Remove statement saying the 3c589D is not supported, since the driver
has been patched to support it now.
1997-05-21 18:53:48 +00:00
Nate Williams 3dc5c6c41a MFC - 3C589D support. 1997-05-21 18:43:37 +00:00
Tor Egge 435ca6f78e Merge from current: Don't send arp request for the ip address 0.0.0.0. 1997-05-14 16:45:42 +00:00
Jordan K. Hubbard 575af8e7e9 Yep, I was wrong about this one too - looks like hub's /usr/src
is totally bogus then! :-(
1997-05-14 14:38:00 +00:00
Jordan K. Hubbard 046f3e2876 Whoops!! There is an fsirand here, I must simply be using an
old CVS repository on hub (goes off to investigate).  Will back out
other 2.1 change if it turns out I was wrong about that too.
1997-05-14 14:19:45 +00:00
Jordan K. Hubbard 4888c3290d No fsirand in this branch (did someone update a bunch of Makefiles
into 2.1.0 but forget the subdirs? ;-)
1997-05-14 13:22:10 +00:00
Jordan K. Hubbard 8317c2130e No compat dir in this branch. 1997-05-14 12:46:09 +00:00
Tor Egge 6e6498af84 Use same syntax as netboot for root and swap mounts.
Handle mount options.
Ignore T16 (swap server address) and T6 (DNS server).
1997-05-14 01:36:51 +00:00
Tor Egge 971c494ad7 Bring in some kernel bootp support. This removes the need for netboot
to fill in the nfs_diskless structure, at the cost of some kernel
bloat. The advantage is that this code works on a wider range of
network adapters than netboot. Several new kernel options are
documented in LINT.
Obtained from: parts of the code comes from NetBSD.
1997-05-11 17:56:00 +00:00
Joerg Wunsch d92aeb5c5d YAMFC (rev 1.13, ensure string termination) 1997-05-09 16:02:47 +00:00
Joerg Wunsch a7d831625e YAMFC: rev 1.6, fix error mishandling 1997-05-06 20:54:50 +00:00
Alexander Langer 52ae05e417 Merge from -current: create default rule with IP_FW_F_IN | IP_FW_F_OUT. 1997-05-06 02:21:28 +00:00
Satoshi Asami bb476f6840 Merge 1.257. 1997-04-30 03:16:20 +00:00
Doug Rabson 6061430de0 YAMFC (hesiod support) 1997-04-29 10:14:17 +00:00
Alexander Langer 3325376a4b Merge from -current: disallow debugger attachment when securelevel > 0. 1997-04-27 21:43:09 +00:00
Stephen McKay 963d1456ec Merge from rev 1.80: Prevent stat clock wedging. 1997-04-27 14:17:50 +00:00
Justin T. Gibbs bbdad2a858 Sync with current. 1997-04-26 05:05:00 +00:00
Peter Wemm cfb3342363 YAMFC rev 1.83, copyin export net mask to correct variable 1997-04-25 06:53:07 +00:00
Justin T. Gibbs b87a011539 Sync with current. 1997-04-24 16:53:17 +00:00
Satoshi Asami 11365635a0 Merge 1.256. 1997-04-21 00:25:45 +00:00
Jordan K. Hubbard c3b292b061 Merge changes from 2.2 (not really necessary, but it helps me keep
track of all this).
1997-04-20 16:42:17 +00:00
Justin T. Gibbs 2dbeef63a2 Sync with current.
Noticed-By: rgrimes
1997-04-19 01:24:58 +00:00
Jordan K. Hubbard 4230f5aaec Erm.. This is the 2.1-STABLE branch. Well, it's technically the 2.1.0-STABLE
branch if one were going to try for orthogonality with the tag names
(RELENG_2_1_0 = 2.1.0-STABLE, RELENG_2_2 = 2.2-STABLE) but why perpetuate
the evil? :-)

Noticed-By: rgrimes
1997-04-19 01:11:18 +00:00
Justin T. Gibbs bbbe789f42 Sync with current. 1997-04-18 16:51:14 +00:00
Satoshi Asami 50c7dbf800 Merge rev. 1.255 from -current. 1997-04-15 08:38:36 +00:00
Satoshi Asami df577a4e65 Just for the heck of it, merge rev. 1.47 from -current. 1997-04-15 08:27:23 +00:00
Jordan K. Hubbard d6082f3293 Don't put ifconfig_ppp0 lines in /etc/sysconfig if you're using the ppp
install.  Evil will result.
1997-04-13 05:39:42 +00:00
Dima Ruban 52d689102d From HEAD:
Use "find -print0 | xargs -0" instead of "find -X | xargs"
1997-04-12 06:16:14 +00:00
Justin T. Gibbs d92b619f1a Sync with current. 1997-04-11 16:45:51 +00:00
Bill Paul 6a5f34d3b4 backport paranoia check to 2.1 branch 1997-04-10 21:16:49 +00:00
Bill Paul 504cef6465 Backport extra sanity test from -current (watch out for obviously
wrong domain names).
1997-04-10 14:40:59 +00:00
Bill Paul 803ab49e93 Backport extra ypproc_xfr_2_svc() sanity check to the 2.1 branch.
(Note: in case it doesn't show up, this commit is to the RELENG_2_1_0
branch.)
1997-04-10 14:34:28 +00:00
John Polstra fe5309f69f Merge from main branch 1.3 -> 1.5: Reconcile __[CD]TOR_LIST__ declarations
with those in libgcc.
1997-04-07 21:01:47 +00:00
Justin T. Gibbs 7b328f022a Sync with current. 1997-04-07 18:33:34 +00:00
Justin T. Gibbs 859c0f1a47 By popular demand: Sync with current 1997-04-06 05:08:46 +00:00
Justin T. Gibbs 4653f3682d By popular demand: Sync with current: Build assembler in an obj directory. 1997-04-06 05:08:32 +00:00
Justin T. Gibbs b7df1e4987 By popular demand: Sync with current. 1997-04-06 05:07:59 +00:00
David Greenman e2a60e1021 From -current: be sure not to free cn buffer twice. 1997-04-04 07:43:44 +00:00
Joerg Wunsch 6b72cca35a Fix the completely broken getopt option list.
Found by:	[email protected] (Gerhard Mehldau) (via Usenet)
1997-03-31 19:17:55 +00:00
Mike Pritchard c32be757da YAMF22: make dumpfs compile under 2.1 as well due to breakage from
the fsirand changes.
1997-03-29 20:14:28 +00:00
Jordan K. Hubbard 2b8c471ff5 YAMF22 1997-03-29 19:51:48 +00:00
Jordan K. Hubbard 0ffb3912ff Catch this puppy up to RELENG_2_2 1997-03-29 06:44:57 +00:00
Guido van Rooij 4068e4b9e4 There was no srandomdev() in 2.1 1997-03-27 19:40:36 +00:00
cvs2svn 6c0c0ffb4a This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1997-03-27 18:47:06 +00:00
Jordan K. Hubbard a63ec7cbb3 Sync with 2.2 1997-03-27 01:05:17 +00:00
Guido van Rooij 0f5790c093 Get in the fsirand stuff. 1997-03-26 20:29:14 +00:00
Jordan K. Hubbard f42c82f3b9 YAMF22 1997-03-25 03:12:59 +00:00
Justin T. Gibbs 92995cfa89 Sync with current - Fix fencepost error. 1997-03-24 19:19:08 +00:00
Warner Losh e4d2b7ea81 Use mkstemp rather than mktemp to prevent a small race.
Obtained from: OpenBSD
1997-03-24 05:44:28 +00:00
Justin T. Gibbs 468cdb0ade Sync with current. 1997-03-24 05:17:38 +00:00
Justin T. Gibbs 1d6fb9aab2 Bring in splbio protection to free_xs call from rev 1.47
Submitted by:   Tor Egge <[email protected]>
Obtained from: PR kern/2891
1997-03-24 01:48:39 +00:00
David Greenman 172150e8aa Merged fixes from -current: DP83840A support, bug fix, link0/1/2 support. 1997-03-21 08:02:52 +00:00
Jordan K. Hubbard 3f90f63a32 Update from 2.2 branch. Paul Traina's config changes and Iceland
mirror site.
1997-03-21 05:04:44 +00:00
Jordan K. Hubbard a0578d0470 Default command is intro, not quit. 1997-03-21 02:53:58 +00:00
David Nugent 13761f6e91 Merge from 2.2; #defines for backoff/retries, behaviour of
root login failure to standard authentication failure.
1997-03-19 13:51:56 +00:00
Justin T. Gibbs 6100f6dbbc Sync with current 1997-03-18 19:28:22 +00:00
Justin T. Gibbs 5f4ed2677c Sync with current: aic7xxx driver changes. 1997-03-18 19:27:44 +00:00
Eivind Eklund c9fd62e602 YAMF (tgoto.c 1.6) 1997-03-18 16:44:30 +00:00
David Greenman cfebf5f87b Oops, missed a mostly cosmetic change in the last commit. 1997-03-17 12:12:25 +00:00
David Greenman a9fae91556 Brought in (similar) changes from -current: fixes for full duplex and
PCI Pro/10.
1997-03-17 11:11:34 +00:00
Eivind Eklund 9450e6c4e1 YAMFC (tgoto.c 1.5) 1997-03-17 09:46:01 +00:00
Jordan K. Hubbard b4cf01fb2f YAMF22 1997-03-16 04:07:10 +00:00
Jordan K. Hubbard c32335ebfa YAMF22 1997-03-15 18:01:45 +00:00
Jordan K. Hubbard 0442cc8075 Increase the size of the email address field.
Requested-By: joerg
1997-03-15 16:24:32 +00:00
Nate Williams 0a38ab9ee6 YAMFC:
When compiling with '-Wall -pedantic', the byte swapping macros gave the
following warning:
  warning: ANSI C forbids braced-groups within expressions

Adding __extension__ before the statement-expression seems to work right.

Submitted by:   bde (a *long* time ago)

Requested by:	jkh
1997-03-14 16:19:18 +00:00
Jordan K. Hubbard e698a81db3 YAMFC. 1997-03-14 05:41:33 +00:00
Jordan K. Hubbard 6cc9bf1d13 vi -> ed 1997-03-13 08:24:05 +00:00
Jordan K. Hubbard 6c1d88903a agh! Kill the -lipx that crept in there again (could have sworn I removed
it from the original diff).
1997-03-12 15:42:38 +00:00
Jordan K. Hubbard 0b6b3b8a93 objlink -> obj 1997-03-12 08:18:15 +00:00
Jordan K. Hubbard 9576e96b3b NO_PORTS changes... 1997-03-12 02:42:55 +00:00
Jordan K. Hubbard 71305177ac Merge Joerg's changes in -current. 1997-03-12 02:35:23 +00:00
Jordan K. Hubbard 7aee407736 YAMFC 1997-03-12 02:33:58 +00:00
Jordan K. Hubbard 1816520401 Make the release notes look a little more like the others. 1997-03-12 01:57:58 +00:00
Jordan K. Hubbard db04af9c25 Bring /usr/lib/compat to 2.1 branch. 1997-03-12 01:21:37 +00:00
Bruce Evans f870de081e Merged rev.1.50 from -current (fixed clist limits). 1997-03-11 19:42:46 +00:00
Jordan K. Hubbard 9e2c0bd054 Merge -p argument handling from -current. 1997-03-11 17:51:51 +00:00
Jordan K. Hubbard b27fdb793f YAMFC 1997-03-11 17:49:21 +00:00
Jordan K. Hubbard d48fe9e851 YAMF22 1997-03-11 16:44:00 +00:00
Jordan K. Hubbard b3264de32e Fix _res_close() here too.
Pointed-out-by: joerg
1997-03-11 13:32:38 +00:00
Jordan K. Hubbard bd164538f0 compat21 isn't in the RELENG_2_1_0 branch. 1997-03-11 13:04:00 +00:00
Jordan K. Hubbard 81745559d4 Add compat dir. 1997-03-11 10:15:28 +00:00
Jordan K. Hubbard d58b567089 Merge all my sysinstall changes over to the 2.1 branch.
I just have this feeling... :)
1997-03-11 09:29:42 +00:00
cvs2svn 9d42c1241c This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1997-03-11 00:08:00 +00:00
Guido van Rooij 1835587010 Fix buffer overflow 1997-03-10 19:52:12 +00:00
Guido van Rooij ebf7a5847c From -current: fix possible overflow in FD_SET 1997-03-10 19:37:35 +00:00
Guido van Rooij f19dbb4b8d From current: fix buffer overflow 1997-03-10 19:12:29 +00:00
Satoshi Asami 6e39a05fe9 Merge 1.254. 1997-03-06 08:33:34 +00:00
Jordan K. Hubbard 2b3f534293 Fix pkg_add here too (didn't roll my fix in from -current/2.2). 1997-02-28 06:50:37 +00:00
Jordan K. Hubbard 973fd0a179 Adjust menus. 1997-02-27 13:41:41 +00:00
Jordan K. Hubbard 08a42efe19 back-patch into 2.1. 1997-02-27 11:58:27 +00:00
Warner Losh 1d9759293a YAMFC(1.12: buffer overflow) 1997-02-26 06:14:11 +00:00
Justin T. Gibbs f970528e72 Sync with current. 1997-02-25 03:54:40 +00:00
Eivind Eklund 397d601480 YAMFC (Matches version 1.2 or 1.3, depending on file - security fixes)
This should go in 2.2, but I won't put it there until I find somewhere
to test it for 2.2.
1997-02-24 20:32:22 +00:00
Jordan K. Hubbard bf004a6d09 Correct minor formatting nits.
Submitted-By: gpalmer
1997-02-24 05:03:04 +00:00
Jordan K. Hubbard 3c14851ede Depending on when the user exits, it's not an error to have no
sysconfig file.  Don't whine.
1997-02-23 15:07:22 +00:00
Eivind Eklund 402308a221 YAMFC (rev 1.4 - security fixes) 1997-02-23 13:59:43 +00:00
Eivind Eklund 16b31603d3 YAMFC (1.2 - security fix) 1997-02-23 13:58:04 +00:00
Satoshi Asami 41d0ad865c Merge 1.251, 1.252 and 1.253. 1997-02-23 13:27:40 +00:00
Garrett Wollman bdcbab7fb5 Make the analogous fix to rev. 1.30. Note that this TCP probably
has lots of other bugs still remaining, and it also still has
the mondo switch statement from Hell.
1997-02-21 17:05:52 +00:00
Ollivier Robert d03296652c Import security fix from -current:
Security patch from OpenBSD: fixes potential buffer overflow. (manually
applied because the diff was rejected).

Reviewed by:  Warner Losh
Obtained from:        OpenBSD
1997-02-21 08:32:34 +00:00
David Greenman ce6a5b7bc2 Brought in fix from rev 1.51: don't clear P_SUGID if various {u,g}id don't
match.
1997-02-19 17:58:29 +00:00
Jordan K. Hubbard c2b805c3e2 Might as well update these values too, while I'm at it. 1997-02-19 17:22:19 +00:00
Jordan K. Hubbard 3bd426de32 Merge blunderfix. 1997-02-19 17:06:18 +00:00
David Greenman 725728d3f1 Brought in fix from rev 1.15: protect from stack overrun.
NOTE: I do not plan to move the RELENG_2_1_7_RELEASE tag after this
commit since the release has presumably already been rolled. If Jordan
wants to include this change, then he'll need to move the tag himself.
1997-02-19 08:12:01 +00:00
Justin T. Gibbs 6d14058c93 Sync with current. 1997-02-19 01:02:21 +00:00
David Greenman 0732cb7664 Updated to Jan 22, 1997 revision from the InterNIC. 1997-02-18 23:37:58 +00:00
David Greenman 1dc3787975 Brought in fix from rev 1.18: fix for ccd when using bounce buffers (init
b_bufsize).
1997-02-18 22:40:31 +00:00
Justin T. Gibbs 336a99a142 Sync with HEAD. 1997-02-18 20:31:44 +00:00
Justin T. Gibbs e7573d045e Kill the initialization of two old scratch ram variables. They were removed
to make space for the larger message buffer.
1997-02-18 19:53:23 +00:00
Justin T. Gibbs 54eacce011 Enlarge the message out buffer from 6 to 8 bytes. Now that sync and wide
negotiation messages may be tagged, we were overrunning the old buffer.
The variable that was getting squashed is updated before the message goes
out, causing corrupted SDTR or WDTR messages.  Depending on the phases
traversed before message out, this could cause the wrong offset to be
negotiated allowing data overruns to occur.  The problem is easier to
detect with wide targets on the chain since the allowed offset is smaller.

Also removed the unnecessary  clearing of SPIORDY during the message out
phase.  We don't rely on SPIORDY any more.
1997-02-18 19:52:38 +00:00
Jordan K. Hubbard 95f3479e86 YAMFC (will move tag for this file). 1997-02-18 16:20:43 +00:00
Jordan K. Hubbard d4b8a803d2 YAMFC 1997-02-18 04:39:18 +00:00
Justin T. Gibbs 3edb5b8243 Sync with current - Disable use of AAP in queueing commands and fix a few
error recovery bugs.
1997-02-18 04:27:08 +00:00
Jordan K. Hubbard 9e1e69007e YAMFC 1997-02-18 01:51:09 +00:00
Jordan K. Hubbard 6b131fd325 Update packages to correct versions for 2.1.7 1997-02-18 01:39:37 +00:00
Jordan K. Hubbard 96f6ce831d Merge ftp timeout fix. 1997-02-18 01:36:36 +00:00
Jordan K. Hubbard 722da8795b YAMFC 1997-02-17 22:09:41 +00:00
Jordan K. Hubbard 2a161a564f YAMFC 1997-02-17 13:42:53 +00:00
Jordan K. Hubbard ef6315440d YAMFC 1997-02-17 13:31:52 +00:00
Jordan K. Hubbard 257b64e655 Make sysinstall obj link, as in -current. 1997-02-17 11:04:30 +00:00
David Greenman 5400a1d50b Pass P_SUGID on to the child of a fork(). It was possible to get rlogin
to coredump previously since it (somewhat uniquely) is setuid and forks
without execing, and thus without passing P_SUGID the child could
coredump and possibly divulge sensitive information (such as encrypted
passwords from the passwd database).
1997-02-17 10:58:46 +00:00
Jordan K. Hubbard cb6db0be82 Tweak annoying title. 1997-02-17 08:32:05 +00:00
Jordan K. Hubbard efc20b9b20 YAMFC 1997-02-16 23:36:45 +00:00
Jordan K. Hubbard 3a4a0410ce YAMFC 1997-02-16 10:20:55 +00:00
Jordan K. Hubbard 89ff02f2cd 2.1's tzsetup has the UTC/localtime query - we don't need it in sysinstall
for 2.1.
1997-02-16 06:48:59 +00:00
Jordan K. Hubbard a395a8ddaa Merge install notes. 1997-02-16 00:55:17 +00:00
Jordan K. Hubbard c02d319382 YAMFC 1997-02-15 16:36:16 +00:00
Jordan K. Hubbard e8170c615e Sync. 1997-02-15 15:41:44 +00:00
Bruce Evans 86f0017da6 Restored .endif in 2.1 too. 1997-02-15 14:30:02 +00:00
Jordan K. Hubbard 0f2f75d4cd Merge-o-mat. 1997-02-15 14:18:11 +00:00
Jordan K. Hubbard 760b3ff032 YAMFC 1997-02-15 13:21:19 +00:00
Joerg Wunsch 2007fa5423 YAMFC (rev 1.2: plug a security hole) 1997-02-15 10:18:12 +00:00
Joerg Wunsch 2826b97699 Merge from rev 1.19. 1997-02-15 10:13:25 +00:00
Joerg Wunsch cad0dd6541 Merge the -p option here, to plug an ugly security hole involving
$ENV forwarding over telnet.
1997-02-15 10:09:23 +00:00
Bruce Evans a7536a22f1 Merged from current: 1.12 (deleted confusing -D's) and 1.14 (disabled i387
log1p()).
1997-02-15 05:38:02 +00:00
Jordan K. Hubbard ec8cca06a4 YAMFC 1997-02-14 21:29:27 +00:00
David Greenman 956e27c432 Changed timeout for requesting sense from 100ms to 1 second.
Submitted by:	gibbs
1997-02-14 03:13:37 +00:00
Jordan K. Hubbard 365e7a5627 YAMFC (configResolv()). 1997-02-14 02:56:10 +00:00
Jordan K. Hubbard 036dc9deb5 YAMFC. 1997-02-14 01:54:12 +00:00
Guido van Rooij 588b2ee1f4 Backport -P flag and new default behaviour from -current
(do not allow PORT commands to remote ports less than 1024 or
addresses other than the requestor's address.)
1997-02-13 19:31:55 +00:00
David Greenman 4e0d7f1eeb Last minute fix that might get SMC 9332BDT cards working. Ported from
a -current patch by John Capo <[email protected]>.
1997-02-13 15:14:21 +00:00
Jordan K. Hubbard 41865c3eb8 Merge for 2.1 1997-02-13 00:33:00 +00:00
Justin T. Gibbs 6a1d5c6111 Sync with current:
Fully support auto termination and setting high byte termination.
	Add support for memory mapped I/O.
	Changed initialization order so that the ahc_in/outb functions can
		be used for all I/O even at startup.

Reviewed by: wcarchive
1997-02-12 18:40:17 +00:00
Justin T. Gibbs ae96b458b8 Sync with current:
Fully support auto termination and setting high byte termination.
	Much better error handling and recovery code.
	Add rudimentary Queue Full recovery code.
	Style and type fixes.
	Split up the interrupt handler into subfunctions to improve readability.

Reviewed by: wcarchive
1997-02-12 18:39:03 +00:00
Justin T. Gibbs 53cdd7b2cc Sync with current:
Style and type cleanups.

Reviewed by: wcarchive
1997-02-12 18:36:15 +00:00
Justin T. Gibbs 138d328594 Sync with current:
SCB paging is now performed largely at the sequencer level.
	Totally rewritten mesgin and mesgout phase handling
	WDTR and SDTR message handling replaced with generic extended message
		handling pushing the handling of extended messages up to
		the kernel driver.
	Support the NOOP message.
	Don't clobber in-progress PCI transfers when shutting down DMAs.
	Many other changes to improve error detection and correction.

Reviewed by: wcarchive
1997-02-12 18:35:43 +00:00
Jordan K. Hubbard 779181d670 Small correction for HAVE_PWDB_C macro.
Submitted-By: David Nugent <[email protected]>
1997-02-12 10:47:44 +00:00
Jordan K. Hubbard ea440f5a8c Bump version to 2.1.7.
Reminded-By: Chad R. Larson <[email protected]>
1997-02-11 09:21:24 +00:00
Jordan K. Hubbard 00647e5628 Bring in select CD audio fixes from 2.2.
Approved-By: sos
Submitted-By: John Rochester <[email protected]>
1997-02-10 21:09:18 +00:00
Mark Murray 582231348c YAMFC (buffer overruns and other security fixes)
Tested on: thingy
1997-02-10 20:58:34 +00:00
Bill Fenner b23677495a Another fix related to pr#bin/2585 . That'll teach me to
grep h_length *.c ...
1997-02-10 06:46:37 +00:00
Jordan K. Hubbard c34d79a043 Push RELDATE back; I don't want to break all those ports.
Noted-By: peter
1997-02-10 06:36:10 +00:00
Jordan K. Hubbard 3a27de6a11 Merge r1.12 from HEAD 1997-02-09 23:19:24 +00:00
Bill Fenner 6b98c5e881 Fix possible gethostbyname-related overflows as pointed out in
PR#bin/2585 .
1997-02-09 22:32:04 +00:00
Mark Murray d5eb22b779 YABCFC (Julian Assange's buffer length fixes).
This is a blind commit, but as the diffs are small and very self-contained,
committing them this way is not too much of a hazard.
1997-02-09 21:42:43 +00:00
Eivind Eklund f7a19e923f Removed default setuid bit and added a comment about this to the man page. 1997-02-09 20:53:05 +00:00
Eivind Eklund c259a2c856 Remove setuid bit from default install, and explain in the man page why. 1997-02-09 19:17:34 +00:00
Eivind Eklund 2ec38507c3 Removed a potential buffer overflow. 1997-02-09 15:03:33 +00:00
Eivind Eklund d3c6824031 Removed potential buffer overflow. 1997-02-09 14:20:30 +00:00
Mike Pritchard cd5baeac25 YAMFC: Drop all privs when run with "calendar -a". 1997-02-09 07:50:12 +00:00
Warner Losh b12d22be7d backport 1.11 (possible security hole in rcmd.c) 1997-02-09 06:57:54 +00:00
Warner Losh 2bf0e027c9 Merge buffer oflow from -current (rev 1.5) 1997-02-09 05:20:06 +00:00
Warner Losh ee11a1bf89 Merge buffer oflow from -current (rev 1.3) 1997-02-09 05:10:04 +00:00
Warner Losh 6a1cb1770f Merge buffer oflow from -current (rev 1.4) 1997-02-09 05:05:43 +00:00
Warner Losh 1ee8ce5356 Merge 1.3 from -current (buffer overflow from OpenBSD) 1997-02-09 04:53:42 +00:00
Warner Losh b8498bde4a buffer overflow merge from -current 1.12 1997-02-09 04:41:22 +00:00
Warner Losh 28aa8fa144 Backport IP option parsing from -current 1997-02-09 04:34:54 +00:00
John Polstra aad26cb372 Merge from main branch 1.21 -> 1.22: don't include encrypted passwords
in master.passwd diff output.
1997-02-09 02:08:35 +00:00
Jordan K. Hubbard 9e6e907a18 Update these docs in preparation for 2.1.7 1997-02-08 17:46:06 +00:00
Nate Williams dccedb5e05 Bring in fsck fix from -current, which has been running safely on my 2.1
boxes since it was submitted.

   The following small diff fixes the annoying fsck bug that causes it
   to need to be run twice to end up with correct reference counts for
   inodes for directories that had subdirectories relocated into the
   lost+found directory.
1997-02-08 16:52:55 +00:00
Jordan K. Hubbard 3ec2d329a6 Whoops! There are two changes in here that always need to stay out of
2.1, and I managed to forget about both of them in this merge (even though
I knew about it from before). :-)
1997-02-08 02:02:22 +00:00
Jordan K. Hubbard 44075fb26d Merge 2.1 fetch up to 2.2 level.
Requested-By: wollman
1997-02-07 19:32:14 +00:00
Jordan K. Hubbard 019765e155 Now that this is tagged over, add a small tweak for 2.1.
Submitted by: David Nugent <[email protected]>
1997-02-07 19:15:01 +00:00
Jordan K. Hubbard 13c01cc282 Bring pw into 2.1 branch. 1997-02-07 19:12:19 +00:00
Jordan K. Hubbard b8680a4f43 Whoops! Merged one more line than I meant to. 1997-02-07 19:05:20 +00:00
Jordan K. Hubbard bc879ddf95 Adapt to libftpio changes. 1997-02-07 07:52:44 +00:00
Jordan K. Hubbard 8f3fec335d Apply a quick band-aid to this while we're deciding what to do about
fetch(1) in RELENG_2_1_0.
1997-02-07 06:39:27 +00:00
Jordan K. Hubbard b3c2e1fc0f Roll Peter's typo fix in. 1997-02-07 06:20:03 +00:00
Warner Losh 78b2207ca1 Bring my buffer overflow changes back from -current 1997-02-07 06:11:03 +00:00
Jordan K. Hubbard ed00024f56 It's easier to go forwards than backwards with this, and the RELENG_2_1_0
sysinstall was already broken (I think there's a PR for this somewhere).
This will require some additional changes elsewhere, like bringing in pw.
1997-02-07 04:27:24 +00:00
Warner Losh f2b4a33021 Bring back the OpenBSD inspired fixes to dump.
dumprmt.c (1.7)
	main.c (1.9)
	optr.c (1.4)
1997-02-07 04:15:21 +00:00
Warner Losh 9451b7b706 Bring back my OpenBSD patches, Guido's patches and the fix to Guido's
patches into -stable:
        dirs (1.7)
        main.c (1.3,1.4)
        tape.c (1.5,1.6)
        exterm.h(1.3)
        interactive (1.2,1.3)
1997-02-07 04:13:45 +00:00
Jordan K. Hubbard 864e2d4780 Merge from -current. 1997-02-07 03:24:15 +00:00
Jordan K. Hubbard d4cc0dd698 Merge changes from -current. Quite a lot of bug fixes went into this. 1997-02-07 02:51:33 +00:00
Jordan K. Hubbard 19ea613108 Bring a wide number of improvements over from -current. This is
necessary for sysinstall (in which tag spam causes the HEAD versions to
always appear for certain files, regardless of major branch).
1997-02-07 02:17:47 +00:00
Jordan K. Hubbard 1f8e33d2b6 Bump version info to 2.1.7 so we don't forget. 1997-02-07 01:55:21 +00:00
Mike Pritchard f500949472 Bring in security fixes from -current. 1997-02-06 13:32:25 +00:00
Eivind Eklund ad461bea1f Brought in nescessary changes from -current.
Reviewed by:	jkh
1997-02-06 06:45:01 +00:00
Joe Greco aa1af3afc4 Fix an exploitable buffer overflow condition. From l0pht:
Modstat is sgid kmem which is really handy to become if you feel like
looking through /dev/mem and /dev/kmem (gee, wonder what you might
want to do that for ). Like just about everything else under the sun
it has a buffer overflow problem. The problem exists in the dostat()
routine where an arbitrary sized string is shoved into sbuf.name
through a strcpy().

<http://www.l0pht.com/advisories.html>

This change was committed to 2.2 as rev. 1.4 of modstat.c by joerg, and is
being duplicated verbatim in 2.1-STABLE -JG
1997-02-05 22:58:47 +00:00
David Greenman 3a888d6a17 Brought in various fixes from main branch and wcarchive: some
configuration changes having to do with DMA limits, change to the
way that the board is reset to avoid PCI/system hang, and don't
count short frames as input errors.
Tested extensively on wcarchive.
1997-02-05 12:50:33 +00:00
David Greenman 89b9ab35d9 Killed call to getenv for ENABLE_STARTUP_LOCALE and call to
_startup_setlocale() per recent security hole bug report by
Thomas H. Ptacek <[email protected]>. The bug was also fixed
at a lower level in libc.
hole
1997-02-05 12:04:41 +00:00
David Greenman 32bc8b104a Killed getenv of PATH_LOCALE...similar to rev 1.14 of setlocale.c, but the
calls were spread out all over the place in this 2.1.x version.
1997-02-05 10:04:30 +00:00
Peter Wemm 03675f50e3 Update to 8.8.5 from -current onto 2.1.x branch. Note, this is a blind
commit, I do not have any sane 2.1.x systems within reach.
1997-02-05 07:51:38 +00:00
Paul Traina 2241cdc84a Merge from -current (2.2 is already current) 1997-02-05 06:13:00 +00:00
Paul Traina 10bc76be64 Merge appropriate bits from -current 1997-02-05 06:10:49 +00:00
David Greenman 0ecdbb412d Brought in the important parts of rev 1.186:
Add spltty around call to close
Disallow IO access to everyone if securelevel > 0
Don't corrupt memory if the cursor isn't in the 80x25 area.
1997-02-05 05:41:50 +00:00
David Greenman ff8eca7f6e Killed PG_N from device memory/register mappings. It appears to cause
NMI/parity errors on some machines.
1997-02-05 05:27:15 +00:00
Paul Traina f21c1795b5 Merge from -current 1997-02-05 05:20:20 +00:00
Paul Traina fd65bb44b6 Merge from head:
revision 1.48
    date: 1997/01/26 01:37:05;  author: pst;  state: Exp;  lines: +1 -1
    Don't use /tmp for afterdepend cleanup target
1997-02-05 05:09:13 +00:00
Paul Traina 4af1c15ea4 Merged from head:
revision 1.30 / 1.31
    date: 1997/01/28 07:06:54;  author: davidg;  state: Exp;  lines: +5 -0

    Fix signal handler race condition.
1997-02-05 05:01:24 +00:00
cvs2svn 13c72f074c This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1997-02-05 04:29:54 +00:00
Dima Ruban 296ea871fa Added ``dtterm'' entry.
Reviewed by:	Jordan.
Obtained from: -current/Xinside CDE
1997-01-31 23:21:54 +00:00
Dima Ruban 3c56cf9a5f -L/usr/X386/lib -> -L${X11BASE}/lib 1997-01-31 09:21:58 +00:00
Joerg Wunsch 06176b545f YAMFC (rev 1.11) 1997-01-27 15:40:06 +00:00
Satoshi Asami fb5aed6a17 Merge from 1.249 minus $FreeBSD$ changes. 1997-01-25 02:52:10 +00:00
Satoshi Asami 1fd9820da2 Merge from 1.5: explain interleave and mirroring. 1997-01-25 02:19:15 +00:00
Guido van Rooij a2d44b961b Move intermediary file generation to /var partition (from 1.14 already
in main branch)
1997-01-19 19:42:26 +00:00
Paul Traina 972b9cf163 Fix buffer overrun problem. 1997-01-18 08:35:17 +00:00
Satoshi Asami 7c5e88b7dc Sync everything up to 1.16. 1997-01-13 02:17:00 +00:00
Satoshi Asami 748e263e1d Merge in rev. 1.245 and 1.246. 1997-01-12 12:40:51 +00:00
Satoshi Asami d737fb0b8e Merge 1.244 - "!(" -> "! (". 1997-01-11 11:33:49 +00:00
Satoshi Asami 7b1fa34c8d Merge from 1.10: -C error message fix. 1997-01-07 10:46:31 +00:00
John Polstra 6acd4084ec Merge from main branch 1.12 -> 1.13: Fix -Wall warnings and garbage
exit status.
1997-01-02 16:44:17 +00:00
Satoshi Asami 7a5430c00e Merge from 1.22. 1996-12-31 14:02:05 +00:00
Warner Losh adc988f73d Merge 1.7 from current, at Marc's request 1996-12-27 05:55:12 +00:00
Satoshi Asami 1352103803 Merge from 1.241: checksum code improvements. 1996-12-23 02:53:12 +00:00
Satoshi Asami 257c17f29a Back out my "moving HEAD" fix, apparently this was just a tip of an iceberg
of ugly hacks, and causes many side-effects in places it shouldn't.

The cvs people are aware of the problem but can't solve it, so I don't think
I should be touching it either.
1996-12-19 08:58:07 +00:00
Satoshi Asami d5f02160ba Merge from HEAD. 1996-12-18 02:29:17 +00:00
Satoshi Asami ed288be5ba Merge from HEAD. 1996-12-17 12:24:44 +00:00
Paul Traina e92eaf1075 Merge buffer overrun change in from HEAD 1996-12-16 18:21:49 +00:00
Paul Traina 5e3393116c Fix buffer overrun problems 1996-12-15 20:47:23 +00:00
Paul Traina 093b091bd8 Merge in buffer-overrun fixes from -current 1996-12-15 20:37:59 +00:00
Bruce Evans 9474c9643e Merge from -current (don't use space below the CPU stack). 1996-12-15 15:23:17 +00:00
Bruce Evans 5e5326a1ba Merge from -current (clean up the FPU stack before returning). 1996-12-15 15:15:45 +00:00
Satoshi Asami 378c58eff0 Merge in rev. 1.238. 1996-12-12 04:49:53 +00:00
Satoshi Asami 05d21356fb Bring in "moving HEAD fix" from rev. 1.2 of contrib/cvs/src/diff.c.
I'm sick and tired of it.  I'm going to recompile freefall's cvs now!
1996-12-12 04:40:44 +00:00
Satoshi Asami cfb83353fd Merge from rev. 1.237. 1996-12-11 10:25:04 +00:00
Satoshi Asami 8cd360ec17 Bring in all of 1.236. No more HEAD crap. 1996-12-11 04:53:35 +00:00
Satoshi Asami 1bf5c58257 Merge 1.233, just in case someone's still listening to this branch. 1996-12-04 05:55:07 +00:00
Joerg Wunsch f54ce65bb9 Merge the Makefile changes from -current that allow to build both
versions, the DES-contaminated and the exportable one, during a `make
release'.  This should fix the problems where /sbin/init and /bin/ed
have been missing in the `des' distribution of 2.1.6.

Requested by:	jkh
Reviewed by:	markm
1996-11-24 09:31:43 +00:00
Jordan K. Hubbard ac613515db Update docs to indicate that this is 2.1.6.1 1996-11-24 09:01:52 +00:00
David Greenman 289746cecf Fixed bug that could lead to pmap corruption during asynchronous page
cleans and then cause a panic or worse.

Submitted by:	dyson and wcarchive
1996-11-24 00:19:47 +00:00
Satoshi Asami 625b109de1 Merge 1.4->1.5 diff from -current. Fixes g flag of :S modifier,
courtesy of Adam David.  We need this for the latest bsd.port.mk to
have any chance working.

Approved by:	jkh
1996-11-23 09:56:54 +00:00
Jordan K. Hubbard a42a785e4d [I'm still at COMDEX, but this is an easy commit]
David and I talked for quite awhile today about how to differentiate
2.1.6 from the "service patched" 2.1.6, and while the packaging
can and should stay the same, we still need to know version information
in bug reports.  I'm therefore bumping the version to 2.1.6.1, though
I hope we won't need to refer to it often as such since the 2.1.6 CD will
be, in fact, 2.1.6.1 and I intend to also replace the FTP release with it.
2.1.6a and 2.1.7 were also debated and rejected.  This version number
is the only one we've precedent for (1.1.5.1).
1996-11-23 05:12:21 +00:00
Bill Fenner 207002ac9e Fix previous commit. The patch was appropriate for 4.9.4 but
needed a little tweak for 4.9.3.
1996-11-22 18:07:52 +00:00
Paul Traina 29388f8fe8 Back out rexecd security patch (see note in HEAD) 1996-11-22 09:01:35 +00:00
Nate Williams c470a93b9f Merge-O-Matic.
Bring in the more secure 8.8.3 sources onto the soon to be dead stable
branch in order to have them be part of the 2.1.6a 'security update'.

Reviewed by:	Tom Samplonius <[email protected]>
1996-11-22 05:42:40 +00:00
Paul Traina 9808520bd1 Disable certain commands before login. 1996-11-20 22:25:57 +00:00
Paul Traina 69111243d3 Merge from head 1996-11-20 22:25:39 +00:00
Paul Traina f176719027 Sync with HEAD for 2.1.6 PSU1 1996-11-20 21:44:09 +00:00
Paul Traina 6f8161632a Merge in 1.11 from the main branch for 2.1.6 (SPU1) 1996-11-20 18:36:37 +00:00
Paul Traina c0b59cd1b1 Syn-flood fix (for service pack update 1) 1996-11-20 18:25:30 +00:00
Peter Wemm 5d53a74cd7 fix my previous commit here.. I broke the branch compile with a linker
error due to an undefined function that exists in 8.8 but not 8.7.

Pointed out by: rgrimes
1996-11-18 07:12:49 +00:00
Bill Fenner 6d9a276234 In C, variable declarations are illegal except at the beginning of a
block, even if newer GCC lets you get away with it.  Case labels do
not begin a block, so I added a block around the code that requires
the new variable.
1996-11-17 02:43:29 +00:00
Peter Wemm 52b82940fc adapt rev 1.8 to sendmail-8.7 as in -stable 1996-11-16 16:48:39 +00:00
Jordan K. Hubbard b96a4cd26a Fix various bogons which could cause searches for the console device to
run off a cliff.

Submitted-By: Don Lewis <[email protected]>
1996-11-15 23:40:41 +00:00
Peter Wemm 18938e7ffe Bring in rev 1.8 (don't accumulate unnecessary commas at the end of
the gecos string) and rev 1.9 (don't return pointers to strings on the
stack in struct passwd).
1996-11-15 18:57:36 +00:00
Jordan K. Hubbard 6c5f963f37 Merge BOCA comments from HEAD. 1996-11-15 18:44:20 +00:00
Jordan K. Hubbard 8690eb7f95 Fix minor typo in release notes.
Submitted-By: Don Lewis <[email protected]>
1996-11-15 17:54:18 +00:00
Jordan K. Hubbard c3a6c79d36 This file is just too darn easy to forget about.
Bump to 2.1.6-RELEASE and projected release date of December 1996.
2.2-RELEASE's projected date is January 1997.
1996-11-15 08:20:00 +00:00
Jordan K. Hubbard c27b7c7993 Move TRUE/FALSE outside of #ifdef (as in HEAD). 1996-11-15 08:10:10 +00:00
Jordan K. Hubbard 933a44e8a8 Merge. 1996-11-14 16:24:34 +00:00
Jordan K. Hubbard f6f114b411 Merge lea change from HEAD. 1996-11-14 15:55:40 +00:00
Jordan K. Hubbard bc22467b56 Incorporate some more fixes for floppy auto-sizing from Don.
Submitted-By: Don Lewis <[email protected]>
1996-11-14 14:21:44 +00:00
Satoshi Asami 3c4e06b3f4 Mergetate. 1996-11-14 11:42:14 +00:00
Jordan K. Hubbard ea12cfd3b2 Replace vi with ed on fixit floppy - we're out of space for it and
`ee' on the boot floppy already provides a screen editor anyway (not
the best, but hey - what do you expect for 1.2MB?).

Just getting this off my TODO list, in case this is ever picked up again.
1996-11-14 02:03:52 +00:00
Jordan K. Hubbard fd32efcf44 Since we're not using disklabel's cute cloning feature in 2.1.6, use
a prototype of "auto" instead.
Submitted-By: Don Lewis <[email protected]>
1996-11-13 13:15:45 +00:00
Jordan K. Hubbard 5f3610e40a Merge from HEAD. 1996-11-13 12:07:38 +00:00
Jordan K. Hubbard e8e6fd2156 Merge more robust userconfig selection behavior from -current. 1996-11-13 12:03:17 +00:00
Jordan K. Hubbard f0fd609eff Bump BOOTMFSSIZE again on advice from Don (I'm working on 2.2 right now
so my 2.1.6 builds are somewhat lagging).  Also take out the debugging
info flag as a default in doFS.sh
1996-11-13 11:58:29 +00:00
Satoshi Asami af20617bdb Merge from -current. 1996-11-13 11:42:57 +00:00
Jordan K. Hubbard 73ff38eacc Bruce's suggestion with disklabel and MFS size bump. 1996-11-12 22:32:35 +00:00
Stefan Eßer f3e7959b32 Fix PCI to PCI bridge register bit field masks.
Thanks to "Mike Durian" <[email protected]> for the very good
problem report and his support as a beta tester of this patch.
1996-11-12 22:20:22 +00:00
Jordan K. Hubbard 5d87a35849 Merge r1.140 1996-11-12 18:43:06 +00:00
Jordan K. Hubbard 6e0edc431b Update to version 3.8a.
Requested-By: Bill Fenner <[email protected]>
1996-11-12 18:20:53 +00:00
Jordan K. Hubbard 8f64c1238a Fix the ipfw LKM.
Submitted-By: [email protected] (John Capo)
1996-11-12 17:31:31 +00:00
Jordan K. Hubbard d527b359a9 Continue my work merging the unmerged. 1996-11-12 13:44:27 +00:00
Jordan K. Hubbard 883fbfddd6 [cry, wail, scream]
I thought I *merged* this already!  I even remember fixing the exact
same things I just fixed this time.  Sigh.  Maybe I just dreamed it.
Anyway, this would more than explain my floppy build problems. :-(

If anyone wants me, I'll be in the corner wearing the orange traffic cone.
1996-11-12 12:43:39 +00:00
David Greenman 5d8a5196cf Killed "unknown protocol" printf. 1996-11-12 08:43:32 +00:00
Jordan K. Hubbard 31ccf96e84 Merge r1.6.
Requested-By: bde
1996-11-11 22:32:04 +00:00
Jordan K. Hubbard 1fa8d01d37 Staple RELEASETAG since it's always the same for this branch.
Go back to previous method of specifying vi's location for 2.1 in
fixit floppy (ugh).
1996-11-11 16:07:43 +00:00
Jordan K. Hubbard b77d339c49 Bump Mr. Snake to 2.1.6. 1996-11-11 14:15:08 +00:00
Jordan K. Hubbard dc9b9ab5d2 Whoops, merge the Makefile too! :-} 1996-11-10 20:44:59 +00:00
Jordan K. Hubbard 8053682ed7 Incorporate part of the XT_KEYBOARD change that Nate missed.
Please be more careful when modifying code in this branch!
If my 8 hour release build had died (and it would have, in a few
more hours) because of this, I'd have been displeased. :)
1996-11-10 19:12:48 +00:00
Nate Williams e7a2318397 From -current:
Allow us to enable the 'XT_KEYBOARD' code using a configuration flag.
This allows the user to add modify syscons's configuration flags using
UserConfig that will allow older/quirky hardware (most notably older IBM
ThinkPad laptops) to work with the standard boot kernel.

(note: I used the same flag as in -current so the documentation would be
the same)

Inspired by:    The Nomads
1996-11-10 16:57:43 +00:00
David Greenman 60a0e13292 Put the packet error printf inside #ifdef DIAGNOSTIC. 1996-11-10 13:36:46 +00:00
Jordan K. Hubbard 4cfb401d60 Another merge from HEAD before rolling a 2.1.6 release candidate
(Tuesday is still the cut-off date for bug fixes!).
1996-11-10 13:14:49 +00:00
Jordan K. Hubbard fa82ca0529 Merge r1.24 from HEAD (good idea). 1996-11-10 13:11:30 +00:00
Jordan K. Hubbard dab80884bf Bring in Joerg's changes from the HEAD. 1996-11-10 12:45:04 +00:00
David Greenman 2ce156e490 Updated to a newer version from Matt Thomas. This is the same version
that -current is based on. This has been tested on wcarchive for about
12 hours and in -current for a couple of months.
This update should fix many of the compatibility problems that people
have reported.
1996-11-10 12:32:35 +00:00
Satoshi Asami 7987ae06be Put ccd in the right place. Sorry about the screwup.
Reported by:	Andre Albsmeier <[email protected]>
1996-11-10 11:21:15 +00:00
Jordan K. Hubbard 5bfa20bad8 Merge Makefile fix, an old disks.c fix which somehow didn't get in
and kill the mysterious extra copy of keymap.c appended to itself.
1996-11-09 21:04:03 +00:00
Jordan K. Hubbard 7cc9ceeccb Commit a saner version of this without so much disklabel trickery.
I'll stick to the old way of doing things for 2.1.
1996-11-09 20:32:26 +00:00
Jordan K. Hubbard 19f5c35ec2 Back out previous change - I don't think it's necessary now that
Poul's shown me the real culprit is rawboot.
1996-11-09 20:21:47 +00:00
Jordan K. Hubbard c31f183aa3 Merge in Bruce's cleanups from HEAD. 1996-11-09 09:26:44 +00:00
Jordan K. Hubbard 0f825d05b2 Merge 1996-11-09 09:23:25 +00:00
Jordan K. Hubbard 027d958ed8 Merge r1.83
Requested-By: se
1996-11-09 08:41:50 +00:00
Guido van Rooij 43346dc696 Retrofit rwhod security patches. 1996-11-08 21:49:52 +00:00
Guido van Rooij 506ed58087 Retrofit rwhod security patches. 1996-11-08 21:40:16 +00:00
Jordan K. Hubbard 0e818078c8 Bring in asprintf*() prototypes from HEAD. 1996-11-08 18:31:47 +00:00
Jordan K. Hubbard a1dfdf15cc Merge revision 1.23 from HEAD.
Requested-By: bde
1996-11-08 13:39:42 +00:00
Jordan K. Hubbard 5f1e86edf1 Another distribute target fix.
Submitted-By: Don Lewis <[email protected]>
1996-11-08 13:26:32 +00:00
Jordan K. Hubbard 12519f8ccf Wow, make the vmstat display actually usable! This is a cosmetic
fix, but low-impact and worth the comeasurate risk.  I [jkh] can't even
test it in -current since systat's vmstat display is completely broken
there at the moment, printing out: "The alternate system clock has died!"

Submitted-By: Heiko Blume <[email protected]>
1996-11-08 12:56:36 +00:00
Jordan K. Hubbard c97f49c252 Adapt to gcc 2.6.3 and bring one change across from HEAD. 1996-11-08 09:30:44 +00:00
Jordan K. Hubbard 2fa0b5b21b Add bsd.kern.mk 1996-11-08 06:33:38 +00:00
Jordan K. Hubbard e3888f5ce3 include distribute target.
Submitted-By: Don Lewis <[email protected]>
1996-11-08 06:09:44 +00:00
Jordan K. Hubbard 16802300ec Build c++rt0.o before libg++, just as in -current.
Pointed-Out-By: Don Lewis <[email protected]>
1996-11-08 06:08:10 +00:00
Jordan K. Hubbard 248b7a9530 Remove an extraneous malloc() definition.
Submitted-By: Don Lewis <[email protected]>
1996-11-08 06:05:11 +00:00
Jordan K. Hubbard 00a9c6e916 Yikes! Add rawboot.
Thanks-for-the-reminder-to: Don Lewis <[email protected]>
1996-11-08 05:21:01 +00:00
Bill Paul f62abeca53 - Make _yp_unbind() check for a NULL RPC client handle before
calling clnt_destroy().

- Let yp_order() handle RPC_PROCUNAVAIL that might be returned
  from NIS+ servers in YP compat mode gracefully.

2.1.6 candidate
1996-11-08 02:06:30 +00:00
Bruce Evans dde9b27a7b Brought in fixes from rev.1.146 - don't write to the divisor latch
registers unnecessarily, etc.
1996-11-07 17:53:06 +00:00
Jordan K. Hubbard 690701f2a4 Merge from head. 1996-11-07 14:19:31 +00:00
Wolfram Schneider 23c24233d9 merge 1996-11-07 12:44:43 +00:00
Jordan K. Hubbard 259b77225b Bring new screen map in from HEAD. 1996-11-07 09:26:32 +00:00
Jordan K. Hubbard 95546cc5be Merge from HEAD. 1996-11-07 09:18:15 +00:00
Satoshi Asami db0f082dd4 Merge rev. 1.2 from HEAD. Make xargs take into account the bytes
occupied by the environment.
1996-11-07 05:37:05 +00:00
Satoshi Asami 09326b338e Merge with -current. 1996-11-07 04:14:22 +00:00
cvs2svn 349ef01462 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-11-06 22:49:50 +00:00
Joerg Wunsch a85a4c1fcb Fix my broken config entries for the `od' driver in the !NEW_SCSICONF
case.  I've accidentally copied over the NEW_SCSICONF entries there,
which was totally bogus.

Closes PR #kern/1829: KONICA MO drive config...

Submitted by:	[email protected] (Shunsuke Akiyama)
1996-11-06 17:34:25 +00:00
John Polstra 2e771ebce0 Bring libz into the RELENG_2_1_0 branch. 1996-11-06 17:05:30 +00:00
Joerg Wunsch 1f30a75dfe Disable the `worm' driver for 2.1.6. It doesn't work with the popluar
HP drives, and now that 2.2 is around the corner, there's no need to
also include the required patch to the SCSI subsystem into 2.1.6.
1996-11-06 12:42:11 +00:00
John Polstra fe74552ec0 Merge from HEAD 1.23 -> 1.24: Fix spelling error. 1996-11-05 22:29:52 +00:00
Guido van Rooij 5a997d2b6a New vx driver for:
3COM 3C590 Etherlink III PCI,
        3COM 3C595 Fast Etherlink PCI,
        3COM 3C592 Etherlink III EISA,
        3COM 3C590 Fast Etherlink EISA,
        3COM 3C900 Etherlink XL PCI and
        3COM 3C905 Fast Etherlink XL PCI.

This driver is based on OpenBSD's driver. I modified it to run under FreeBSd
and made it actually work usefully.
Afterwards, [email protected] (HAMADA Naoki) added EISA support as well as
early support for 3C900 Etherlink XL PCI and 3C905 Fast Etherlink XL PCI.
He also split up the driver in a bus independant and bus dependant parts.

Especially the 3c59X support should be pretty stable now.

Submitted by:	partly [email protected] (HAMADA Naoki)
Obtained from:partly OpenBSD
1996-11-04 22:17:20 +00:00
Jordan K. Hubbard bde21cce2d As requested by bde:
Should be in 2.1.5 and 2.2.

  Revision  Changes    Path
  1.22      +10 -6     src/sys/i386/isa/diskslice_machdep.c
1996-11-04 18:28:57 +00:00
Jordan K. Hubbard a4f1d29d68 As requested by bde:
These fixes should be in 2.1.6 and 2.2.

  Revision  Changes    Path
  1.42      +30 -6     src/sys/ufs/ufs/ufs_vnops.c
1996-11-04 18:26:47 +00:00
Jordan K. Hubbard 79f1f6e793 merge-o-tron 1996-11-04 17:44:23 +00:00
Marc G. Fournier 547feaa15b Merge in a patch from 2.2-CURRENT for OpenTunnel
Close PR# bin/1316

Reviewed by:	 J Wunsch <[email protected]>
1996-11-04 14:47:09 +00:00
Jordan K. Hubbard 2bb83d0f01 merge-o-matic. I may have to update some packages in 2.1.6 myself
if it comes down to it, but not that many.  BTW, in case it's not
obvious, I'm mostly merging away in -stable while phk and joerg do the
2.2-current merging for now.  I'm getting 2.1.6 out of the way so that
I can concentrate on 2.2.
1996-11-04 13:08:58 +00:00
Jordan K. Hubbard db2a660432 A more acceptible hybrid of 2.2's and 2.1's versions. May still
need to pull in some of Bruce's changes to make /dev/vn0c work as
it should.
1996-11-03 21:35:08 +00:00
Jordan K. Hubbard dc71bf63a3 Whoops, forgot to prune -lipx from this file. 1996-11-03 11:55:49 +00:00
Jordan K. Hubbard d850279036 d'oh! Forgot about the cvs -d stuff, *again*. 1996-11-03 06:22:58 +00:00
Jordan K. Hubbard 6ba396b65f Set RELEASETAG by default, since there's no reason not to. 1996-11-03 06:02:33 +00:00
Jordan K. Hubbard 2552197c18 2nd try - sync up and try to produce a working -stable release build. 1996-11-03 05:48:18 +00:00
Jordan K. Hubbard 40489a8e51 Remove extraneous copies of vasprintf(). 1996-11-03 05:34:00 +00:00
Jordan K. Hubbard 162e9e4306 Sync up vasprintf() support with -current. 1996-11-03 05:28:16 +00:00
Jordan K. Hubbard a6dad8aa23 Moved to libc, as with -current. 1996-11-03 05:23:45 +00:00
Warner Losh 401fcb586a Backport rev 1.3 and 1.2 which implemented -0 to -stable branch.
Reviewed by:    Warner Losh <[email protected]>
Submitted by:   Marc Slemko <[email protected]>
Obtained from:  OpenBSD
1996-11-01 18:47:57 +00:00
Warner Losh 8f93d972a9 Back port OpenBSD of 961025 merge in -current to -stable 1996-11-01 04:57:52 +00:00
Joerg Wunsch dd92706c78 Merge the fix from rev 1.14: don't modify a malloc()ed pointer. 1996-10-28 23:03:54 +00:00
Warner Losh 4cf2407013 comaptibles->compatibles 1996-10-28 17:16:40 +00:00
Bill Fenner 6773ede3bd Bring in security & -host changes from rev 1.16
Add $Id$
1996-10-27 17:50:49 +00:00
Joerg Wunsch 334e2320d8 Merge the fix from rev 1.8 of getvfsent.c, fix an off-by-one
error.
1996-10-26 21:57:07 +00:00
Warner Losh bc0439b6c9 Backport 1.8 and 1.9 to -stable 1996-10-26 01:16:37 +00:00
David Greenman bb5056e7ae In vm_page_alloc_contig(), round "size" up to the next page boundry. Not
doing so breaks the looping and bad things will happen. This was exposed
when testing some (aha2940) fixes from Justin that didn't work because of
this.
This fix is relevant only to -stable since -current already has the
equivilent in the contigmalloc() routine.
1996-10-24 04:31:51 +00:00
Joerg Wunsch a970253b52 Merge the fix from rev 1.6: properly ignore "nc" if it's not present. 1996-10-22 16:19:09 +00:00
Bill Paul 6b05ddd343 Fix the format strings I botched. 1996-10-22 03:45:15 +00:00
Bill Paul 19698bb448 Part 2 of PR #1519 fix from -current. 1996-10-22 03:31:30 +00:00
Bill Paul a470134aa5 Bring in part 1 of fix for PR #1519 from -current. 1996-10-22 03:21:48 +00:00
Wolfram Schneider b849008b41 add forgotten killall 1996-10-21 21:21:32 +00:00
Joerg Wunsch 1801493821 Merge the -p changes (rev 1.2 of vgrind.sh) into this branch, and
document them.
1996-10-21 18:06:02 +00:00
Bill Paul 28d42418bd Patch in a couple of NIS fixes from -current. This fixes some problems
with parsing +group::: lines.
1996-10-20 20:10:47 +00:00
David Greenman 3d33b451be Brought in change from revs 1.19/1.26: check for P_SUGID before
coredumping.
1996-10-19 01:07:38 +00:00
Guido van Rooij 127220ad3c Backout bzero patch. 1996-10-18 19:57:28 +00:00
Joerg Wunsch d5b27f6340 Update to the improved C/C++ handling (rev 1.4 of regexp.c and
vgrindefs.src).
1996-10-18 17:25:08 +00:00
Joerg Wunsch d6577c47a3 Merge the changes from these respective revisions:
regexp.c 1.3
 vfontedpr.c 1.5
 vgrindefs.5 1.2
 vgrindefs.src 1.3
1996-10-18 14:16:25 +00:00
Guido van Rooij 0bf20bab81 When freeing buffers in the db routines, also zeroize them
This should solve the bug where a coredumping ftpd reveals
encrypted passwords.
Obtained from: OpenBSD
1996-10-17 18:27:58 +00:00
Jordan K. Hubbard 67fb80aeab Revert this to something more compatible with -stable. 1996-10-17 16:54:15 +00:00
Jordan K. Hubbard 1bb4051af6 Bring in the *asprintf() family of routines. 1996-10-17 16:11:46 +00:00
Jordan K. Hubbard f8fd263ecd Remove -lipx; not needed in -stable. 1996-10-17 16:09:59 +00:00
Jordan K. Hubbard b19c0d128c Whoops, I took over the `cvs -d' changes by mistake (which won't work in
2.1-stable).
1996-10-16 19:32:18 +00:00
Jordan K. Hubbard 86788fb75c Document new userconfig options. 1996-10-16 02:21:06 +00:00
Jordan K. Hubbard 252c42d64e Merge boot changes from HEAD to sync with sysinstall. 1996-10-16 02:16:05 +00:00
Joerg Wunsch b113287a33 Merge the Perl definition from HEAD. 1996-10-15 18:59:27 +00:00
Jordan K. Hubbard e2fca6c703 Merge from HEAD. 1996-10-15 18:39:12 +00:00
Jordan K. Hubbard f215037ee6 Mondo-merge of new 2.2 installation technology. 1996-10-15 17:04:56 +00:00
Joerg Wunsch a6678ed23e Merge the rev 1.17 fix. 1996-10-14 22:56:50 +00:00
Joerg Wunsch c4999ac8d4 Bring in the fixes from rev 1.14 and 1.15 of savecore.c and 1.4 of
savecore.8: obey minfree constraints, restrict access permission on
vmcore, and correct a typo.
1996-10-13 21:03:47 +00:00
Joerg Wunsch ee0893b9cc Pull the fix from rev 1.7: prevent a division by 0. 1996-10-12 10:46:58 +00:00
John Polstra 82276f4c64 Bring in fixes from main branch 1.4 -> 1.5: bad "h_errno" declaration,
and missing "const".
1996-10-08 22:35:16 +00:00
Guido van Rooij e0dee0b17f Reviewed by:
Submitted by:
Obtained from:
1996-10-08 14:57:02 +00:00
Joerg Wunsch f8cca2dc47 Pull the fix from rev 1.14: export $TERM only if it does exist. 1996-10-07 10:02:48 +00:00
Justin T. Gibbs 647cde13c4 Try number two. Add missing paren in MSG_IDENTIFY macro. 1996-10-07 03:53:43 +00:00
Justin T. Gibbs 3ebd05b37a Bring in bug fix from 'SCSI' branch. 1996-10-06 22:50:56 +00:00
Justin T. Gibbs c3aa9d2d1d If, during an SDTR negotiation, the target comes back with a response
that is too low for the aic7xxx chip to handle with sync transfers,
negotiate async transfers.
1996-10-06 19:43:36 +00:00
Justin T. Gibbs 46088c5d77 Bring aic7xxx driver bug fixes from 'SCSI' into stable. 1996-10-06 16:42:35 +00:00
cvs2svn 4f5e3a6468 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-10-06 07:58:03 +00:00
David Greenman ba0389a43b Added multicast support and fixed BPF cookie bug.
Submitted by:	Steven McCanne <[email protected]>
1996-10-03 11:01:21 +00:00
David Greenman 2a1a24deec Brought in fixes from rev 1.20. 1996-09-29 10:21:38 +00:00
John Polstra cb2edcd185 Bring in bug fix from main branch 1.6 -> 1.7: correct faulty handling of
12:xx AM and 12:xx PM.
1996-09-25 12:03:27 +00:00
Nate Williams 218be1b49c From the HEAD.
Fix one byte buffer overflow from Eric Allman.
1996-09-22 15:50:22 +00:00
David Greenman de67d6db6a Brought in bugfix and improvements from rev 1.19. 1996-09-22 11:50:19 +00:00
Nate Williams 3b7e12abe4 Bring in Andrey's fix from the HEAD for broken '&' processing in gecos
field.
1996-09-22 03:45:25 +00:00
David Greenman 83198763b6 Brought in fix from rev 1.18: fix for panic when out of mbuf clusters. 1996-09-20 11:06:43 +00:00
Paul Traina d5b2bafb44 Bring in: Grab h2ph from /usr/bin, not /usr/local/bin! from head 1996-09-19 17:22:55 +00:00
David Greenman aa1c206c46 Brought in changes from main branch for some additional stats (listendrop
and others) and some cosmetic changes.
1996-09-19 10:05:04 +00:00
David Greenman 10a87ad77e Brought in the listendrop and udphashmiss stats from main branch. 1996-09-19 09:54:38 +00:00
David Greenman 1f219de96c Brought in fix from rev 1.16: dynamic threshold adjustment. 1996-09-19 09:16:13 +00:00
Paul Traina ce0a993ca4 Bring in the new sysctl variables and TCP timer patches from head 1996-09-19 08:19:00 +00:00
Peter Wemm fbb8be5c8f Simple update of 2.1 branch of sendmail to 8.7.6.
Note: I cannot test this, this is a blind commit.  Somebody else
who has a 2.1.x machine is going to have to look more closely at this.
1996-09-19 04:31:01 +00:00
David Greenman 3f0139e934 Brought in fix from rev 1.15: increase tx threshold to 1024 bytes. 1996-09-18 16:19:28 +00:00
Rodney W. Grimes 79efae40a2 Remove botched up code that attempted to print I/O base address for
the 0x12308086 (Intel PIIX) Bus master IDE Interface, it is already
printed correctly by the generic PCI magreg code.
1996-09-16 08:52:18 +00:00
Jordan K. Hubbard 8fd529e8dc Import -L flag fix from HEAD 1996-09-12 17:27:05 +00:00
David Greenman bb4e613445 Brought in fix from rev 1.47: dequeue mbuf before freeing, not after. 1996-09-08 13:46:46 +00:00
Rodney W. Grimes 0188ecc7f2 First pass at merging minor differences between HEAD and RELENG_2_1_0,
this eliminates cosmetic differences and brings over the staticizing
of this file.

Add detection of several Intel chips recently added to HEAD (Natoma and
Orion GX/KX).

More clean up work will happen after pass 2 of merging once the files
are pretty much identical.  After that additional bootverbose chipset
register dumps will be added (Triton-II and Natoma).
1996-09-06 09:17:05 +00:00
Bruce Evans 6c3f241e16 Brought in change from rev.1.3: fix precision bugs. 1996-08-28 16:42:01 +00:00
Nate Williams 52360938a3 Bump the 'stable' branches name back to '2.1.5', but leave it as
'STABLE'. This will make the almost defunct kernels spit out
'2.1.5-STABLE', which correctly implies post 2.1.5R.

Prodded by:	rgrimes and others
1996-08-16 21:44:08 +00:00
David Greenman a6189554c0 Brought in fix from rev 1.7: fix^2 for continuation lines. 1996-08-15 17:11:13 +00:00
David Greenman 7afb7e7ace Brought in fix from rev 1.58: splbio() protect vnode block lists in
reassignbuf().
1996-08-15 17:08:20 +00:00
Rodney W. Grimes 69aaa91ec3 Add kzip to list of clean and cleandir SUBDIR's.
Noticed by:	Matt Bartley <[email protected]>
1996-08-13 18:15:37 +00:00
Rodney W. Grimes 1bb33e2a0b Add missing includes: entries for gnu/lib/lib{gmp,mp}, lib/csu/${MACHINE},
lib/libdisk, and secure/lib/libdes.  Now a make -DCLOBBER includes _fully_
recreates /usr/include, which then allows the x2ph stuff to get all of the
files when DESTDIR is set.

Alphabetize the gnu/lib/lib* section of includes:
1996-08-11 03:05:16 +00:00
Rodney W. Grimes 93552a48be Add two missing entries, share/doc/psd/05.sysman and
share/zoneinfo/America/Indiana.
1996-08-10 21:59:41 +00:00
Stefan Eßer 92fc438c2a Small modification to the configuration mechanism 1 detection algorithm.
This ought to make it more tolerant against another chip set that does
not conform to the PCI spec with regard to the configuration address
register ...
1996-08-05 19:25:41 +00:00
Stefan Eßer e0b2901d8f Add support for FAILSAFE options line in kernel config file.
This had been added to -current some time ago, and somehow failed
to be moved over to -stable in time for 2.1.5R ...
1996-08-05 19:10:33 +00:00
Alexander Langer 5ac7c3a69f Change version to 2.1.5. Closes PR 1406. 1996-08-05 02:55:15 +00:00
Peter Wemm 55e572c101 Now that 2.1.5-RELEASE is done, and the -stable code has had two commits,
it's time to stop calling it -RELEASE anymore.  Revert last change and
set the "name" back to 2.1-STABLE again.

Reviewed by: jkh (about a week ago)
1996-08-02 01:11:10 +00:00
Jordan K. Hubbard 796b13787e Do my good deed for the day and merge in some recent pkg_install fixes
for those folk still supping -stable in the fond hope that folks might
occasionally do nice things to it.
1996-08-01 12:17:44 +00:00
Paul Traina 323b5b1147 Patch rlogin environment variable overflow 1996-07-25 18:29:35 +00:00
Jordan K. Hubbard 231387f437 Merge 1996-07-16 17:34:39 +00:00
Jordan K. Hubbard d37ec9d43f Might as well update the handbook while I'm at it - some sections have
been added.
1996-07-16 16:01:35 +00:00
David Greenman 91506762c9 Ported the 3Com 3c590/3c595 driver from -current to -stable (for 2.1.5).
Done against my better judgement, but at least we won't be sued for false
advertising. Sigh.
1996-07-16 08:53:21 +00:00
David Greenman 7ef6b908ff Woops, one change snuck in that I wanted in a seperate commit... 1996-07-16 08:47:09 +00:00
David Greenman 270dbb52f8 Add forgotten fxp0 entry. 1996-07-16 08:45:52 +00:00
David Greenman ccc6f7bfcd Add forgotten fxp0 entry. 1996-07-16 08:44:57 +00:00
David Greenman 79bfcc2d22 Back out that last patch since it is causing people's cards to hang. 1996-07-16 00:15:17 +00:00
Jordan K. Hubbard 91e01093ad Bring over to 2.1-stable branch, to be tagged into RELENG_2_1_5_RELEASE
as soon as Peter sees this. :-)  Peter:  Another problem:  There were
two files modified in -current; installUpgrade.c and label.c.  Of the two,
only label.c is branched properly (re: our earlier conversation with apache.c).
I don't know what effect this has, if any, but just FYI..
1996-07-14 01:57:49 +00:00
Peter Wemm f77743a7ad Bump REVISION to "2.1.5" and BRANCH to "RELEASE" in preperation for 2.1.5
tree tagging.

Reviewed by:	davidg
1996-07-13 14:29:13 +00:00
David Greenman 9cd782cad9 Brought in fix from rev 1.50: enable transmit complete interrupt. 1996-07-13 10:51:10 +00:00
Jordan K. Hubbard b69605d8fa Mergosity. 1996-07-13 05:52:02 +00:00
Jordan K. Hubbard 964edc739b Mergicate. 1996-07-13 05:45:41 +00:00
Jordan K. Hubbard 56c1874f21 Mergitate. 1996-07-13 05:14:52 +00:00
Jordan K. Hubbard 513b4d54e0 Mergification. 1996-07-13 05:10:22 +00:00
Jordan K. Hubbard cb53fe8f5c .xsession should be perm 755
Submitted by:	pst
1996-07-13 04:29:10 +00:00
Bill Fenner cdef477c3d Bring in fix in rev 1.34: copy the pullup'd mbuf to avoid corruption
of packets received on the router.

Ok'd by:	davidg
1996-07-12 18:35:45 +00:00
David Greenman 8f501224d4 Brought in fix from revs 1.18/1.19: fix bug in slow timeout processing. 1996-07-12 17:31:46 +00:00
Jordan K. Hubbard 2db3fa8d19 Mergitude. 1996-07-12 16:35:29 +00:00
Jordan K. Hubbard bef735d294 Mergify 1996-07-12 16:33:27 +00:00
Jordan K. Hubbard 8daf812670 Merge-o-lator. 1996-07-12 15:26:58 +00:00
Jordan K. Hubbard d5ce44021b Remove reverence to sr.4 that crept in - that's not in -stable yet! 1996-07-12 12:00:37 +00:00
Jordan K. Hubbard eabb76aa81 Merge 1996-07-12 11:42:33 +00:00
Jordan K. Hubbard 72d49eac59 Get this ready for 2.1.5-RELEASE 1996-07-12 11:41:45 +00:00
Paul Traina 51d4ad369a Correct security problem in 8lgm advisory 1996-07-12 06:19:48 +00:00
Jordan K. Hubbard 287563c307 Merge. 1996-07-11 20:13:44 +00:00
Mike Pritchard 75b8a7d052 Bring in zero.4 from -current. Update null.4 to xref it. 1996-07-11 20:11:36 +00:00
Jordan K. Hubbard 90753d7a98 Merge. 1996-07-11 20:06:57 +00:00
Mike Pritchard 1b898727d9 Install some new man pages from -current (the files have
already been tagged onto the -stable branch):

aic.4, eg.4, el.4, ep.4, mtio.4, ncr.4 and wt.4

Also include some additional MLINKS for the spkr and pcvt man pages.
1996-07-11 20:03:32 +00:00
Jordan K. Hubbard 1516b86bf6 Merge. 1996-07-11 11:18:45 +00:00
Jordan K. Hubbard eabecb60b3 Add sio2 and sio3 back as disabled devices. Sheesh, you'd think I killed
Nicole Simpson and Ron Goldman for all the impassioned feedback I've gotten
on this one!
1996-07-11 01:09:47 +00:00
David Greenman 6c2bdcfefa Bump RELDATE to 199607. Note that REVISION and BRANCH still need to be
updated prior to the release tag being applied.
1996-07-10 13:30:51 +00:00
Jordan K. Hubbard 593a5fbf19 Why, it's another merge! How 'bout that, eh folks? 1996-07-10 11:48:07 +00:00
Jordan K. Hubbard 980d5c3d27 Merge. 1996-07-10 09:43:47 +00:00
Mark Murray ae6dc34a93 libgcc.so.261.0 is moving to compat20
OKed by: jkh
1996-07-10 06:30:09 +00:00
Mark Murray 843dee5a3f Remove this so it can go into compat20 (the dist). 1996-07-10 06:29:12 +00:00
Jordan K. Hubbard 6caa351bc9 Merge. 1996-07-10 05:02:35 +00:00
Jordan K. Hubbard b70b7df39c Bring in Garrett's NO_CLOBBER_EVER change and Bruce's disabled keyword handling. 1996-07-10 04:15:24 +00:00
Jordan K. Hubbard 939e59b85e It might help if we actually brought ee into -stable finally.. :-) 1996-07-10 03:51:26 +00:00
Jordan K. Hubbard 2d6f11b4be Do the same for 2.1-stable. Those who'll note that sio2 and sio3 have
gone away can talk to David - this was done with his explicit OK. :-)
1996-07-10 03:41:12 +00:00
Peter Wemm cb7418d606 Back out the temp disable of setproctitle, it's been in -stable for a while.
Shorten the line passed to setproctitle, as in rev 1.4

OK'ed by:	jkh
Reviewed by:	freefall :-)
1996-07-09 23:07:53 +00:00
Jordan K. Hubbard a8d9c0672b Merge. 1996-07-09 17:01:59 +00:00
Jordan K. Hubbard ddd1b9fbd5 Merge. 1996-07-09 14:37:12 +00:00
Jordan K. Hubbard 93a5bd9bf5 Merge. 1996-07-09 12:19:03 +00:00
Jordan K. Hubbard 9e3c0eab47 MFSINODE actually needs to be a good deal higher now - make it 64K 1996-07-09 11:25:10 +00:00
Jordan K. Hubbard 9904d6317c Merge. 1996-07-09 07:17:36 +00:00
Jordan K. Hubbard 29f86c7bab Merge. 1996-07-09 03:13:15 +00:00
Jordan K. Hubbard 011d4ccc61 Merge. 1996-07-09 02:41:35 +00:00
Jordan K. Hubbard 349d67883b Yikes! The wcd0 driver got left out of -stable's GENERIC! No wonder
the ATAPI 2.1-SNAP testers have been having problems! :-(
1996-07-08 23:01:41 +00:00
Jordan K. Hubbard dbcad9b82e Merge. 1996-07-08 12:04:59 +00:00
Jordan K. Hubbard a40698a96e Cosmetic tweak. 1996-07-08 11:06:41 +00:00
Jordan K. Hubbard f9482206fc merge-o-matic. 1996-07-08 10:20:15 +00:00
Jordan K. Hubbard 461acf0cf7 Merge. 1996-07-08 09:07:32 +00:00
Alexander Langer 68513f7ce4 Merge typo fix from HEAD. 1996-07-07 23:46:45 +00:00
Jordan K. Hubbard b28842e70a Merge. 1996-07-07 23:26:49 +00:00
Alexander Langer 2f228b8390 Fix the setting of the interface unit wildcard flag. 1996-07-07 04:11:15 +00:00
David Greenman 2d26d694c0 Applied changes similar to rev 1.52: treat kmem_map and mb_map equally
in special cases.
1996-07-07 03:29:44 +00:00
Jordan K. Hubbard 68abc405be Merge. 1996-07-06 02:10:06 +00:00
Jordan K. Hubbard 1cf7e1bd11 Merge. 1996-07-05 11:30:22 +00:00
Jordan K. Hubbard 3d92eee11f Tweak docs for a spur-of-the-moment snapshot. 1996-07-05 10:35:39 +00:00
Jordan K. Hubbard 52fda84eeb Merge. 1996-07-05 08:57:31 +00:00
Jordan K. Hubbard ab9d0aa3e3 Merge. 1996-07-05 08:44:10 +00:00
Jordan K. Hubbard 6a55af626d Merge. 1996-07-05 08:12:28 +00:00
Jordan K. Hubbard 0d6fc294fa Merge. 1996-07-05 06:54:15 +00:00
Jordan K. Hubbard ea1de1e20f Update docs. 1996-07-05 01:24:13 +00:00
Jordan K. Hubbard a198c9a96e Merge. 1996-07-05 01:04:10 +00:00
Jordan K. Hubbard ce0454166c Merge. 1996-07-05 00:55:17 +00:00
Jean-Marc Zucconi 6d3fc10a33 Merge from HEAD 1996-07-05 00:25:31 +00:00
Jordan K. Hubbard 5f063083eb Merge from HEAD 1996-07-04 05:47:31 +00:00
Gary Palmer 474eff4850 Fix typo
Submitted by:	 Philippe Charnier <[email protected]>
1996-07-03 22:07:39 +00:00
John Polstra 6221185ef1 Merge from main branch 1.14 -> 1.15: Fix uninitialized field in object
file.
1996-07-03 15:47:38 +00:00
Nate Williams 555f872cd7 Bring in changes from the HEAD:
Document MAXMEM.
1996-07-03 05:31:39 +00:00
Nate Williams 2d4cc1ae5d Bring in changes from the HEAD:
GENERIC - Add a commented out line for adding support for IBM ThinkPad
            keyboards

  LINT - Add SCANSET=2 support to the LINT kernel and comments reflecting it's
         purpose.
1996-07-03 05:23:13 +00:00
Jordan K. Hubbard f986be9f6a Merge from head, sans hw.sgml which still needs more work. 1996-07-03 01:39:28 +00:00
Jordan K. Hubbard 685c0af9e2 Merge with HEAD. 1996-07-03 01:31:18 +00:00
Jordan K. Hubbard 9e8df2d15b Merge from HEAD. 1996-07-03 01:19:11 +00:00
cvs2svn 1396c555ea This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-07-02 23:16:18 +00:00
Bruce Evans 65bc0c8fb3 Brought in change from rev.1.30: fixed a vnode reference leak in
nfsrv_rename().
1996-07-02 20:28:20 +00:00
Bruce Evans d561d94608 Brought in changes from rev.1.42: fixed handling of device flags. 1996-07-02 20:18:35 +00:00
Bruce Evans 09b8ce2ef9 Brought in fix from rev.1.80: don't turn off the motor on active drives. 1996-07-02 19:58:11 +00:00
Bruce Evans 149ad431b5 Brought in changes from rev.1.6: fixed scrolling and removed bogus
save/restore of BIOS memory.
1996-07-02 19:25:19 +00:00
Bruce Evans a4f7379cd4 Brought in change from rev.1.28: fixed getdirentries() on nfs mounted
msdosfs's.
1996-07-02 18:40:22 +00:00
Bruce Evans deeb8155dd Brought in changes from revs.1.3-1.4: don't exit before attempting to
count all the files.
1996-07-02 17:22:17 +00:00
Bruce Evans a8e8c42f75 Brought in fix from rev.1.7: use strtoq() instead of strtol() to avoid
overflows.
1996-07-02 17:08:40 +00:00
Bruce Evans 6681856467 Brought in change from rev.1.6: fix a null pointer bug in printreg(). 1996-07-02 16:58:39 +00:00
Bruce Evans 4084f8b6b2 Install pt.4 and worm.4. 1996-07-02 16:43:05 +00:00
Bruce Evans 542992ec17 Brought in change from rev.1.9: fixed bugs in the fix for defaulting to
udp if no flags are specified.
1996-07-02 15:55:56 +00:00
Bruce Evans c81fbb7cb4 Brought in change from rev.1.3: stat() before open() because opening of
special files may be harmful.
1996-07-02 15:44:59 +00:00
Bruce Evans 65ceb8151b Brought in changes from rev.1.6: initialize arrow key data completely. 1996-07-02 15:34:02 +00:00
Bruce Evans c0a150389d Brought in changes from HEAD. 1996-07-02 15:25:11 +00:00
Bruce Evans 86e10751e5 Merged with HEAD: fixed spelling and added support for Cyclades and
Digiboard devices.
1996-07-02 14:39:34 +00:00
Bruce Evans 60831bf968 Merged from HEAD. Everything except perfmon, wcd bugs (wcd doesn't
decode the partition bits, so having both wcd0a and wcd0c is dangerous
and almost useless) and sound and mouse anachronisms.  All cosmetic
except for fixing some transiently wrong permissions and one missing
chgrp (there are still many minor bugs in this area).
1996-07-02 14:24:56 +00:00
David Greenman 2a17234a73 Retrofitted changes from main branch: do pfsnode locking to prevent
concurrent access. Fixes system hang resulting from multiple simultaneous
ps(8)'s when coupled with heavy paging activity.
1996-07-02 13:55:16 +00:00
David Greenman f592e0c7d8 Brought in changes from revs 1.13, 1.14, 1.18, and 1.20...various fixes
for calcru().

Reviewed by:	bde
1996-07-02 12:49:34 +00:00
David Greenman b9f4917c5f At the urgence of several people, not the least of whom are the folks
of the Intel Architecture Lab, disabled the optimized Pentium microtime.
It causes two bugs in 2.1.x: it doesn't account for laptops with power
management and it sometimes is broken completely because the cycle_counter
comes up with the wrong value. I've seen this latter bug occur dozens of
times.  The implementation in the main branch addresses some of these
issues, but we're too close to the release to consider bringing in all
of those changes, so this is the safest solution.

Reviewed by:	bde
1996-07-02 12:46:28 +00:00
Bruce Evans 737c256605 Merged with HEAD: fixed some descritions and a macro. 1996-07-02 12:45:08 +00:00
David Greenman d41f579b57 From main branch: Kill a bogus VM_WAIT in vm_fault_wire() that may have
undesired effects.

Submitted by:	dyson
1996-07-02 10:59:04 +00:00
David Greenman 17f5e06a21 Retrofitted new procfs_rwmem() from main branch. This version is similar
except that upages are handled differently in -stable. This version
fixes a potentially serious hole dealing with incorrect object locking.

Reviewed by:	dyson
1996-07-02 01:58:38 +00:00
Alexander Langer cf3770074f Correct definition of 'established' keyword. 1996-07-02 00:29:22 +00:00
Bruce Evans e6d4ee46f1 Brought in changes for specifying the BIOS drive number to boot from.
Requested by:	Joerg
1996-07-01 16:35:55 +00:00
Joerg Wunsch ad9ed1a8ca Update the sample copyright to the -current version (leave out the
``no advertisment'' clause).

NB that i've also included the find_interface examples into 2.1.X, but
this happened by a CVS tag operation behind the scene, thus no commit
message.  The parent Makefile is supposed to pick this change
automagically.
1996-07-01 14:36:05 +00:00
David Greenman be094295a6 Fixed rather serious bug in the use of pmap_kenter() in kmem_malloc().
It's important that pmap_enter() be used here because the pages won't
be removed from the kernel VM when freed otherwise. This would result
in the potential for the wrong page(s) being used if a vm_map_pageable()
was done on this same address space (since no fault would occur, the
previous page(s) would be bogusly used instead). This is almost
certainly yet another cause of wcarchive instabilities.

Thanks to John Dyson for helping me track this one down!
1996-07-01 14:22:22 +00:00
Joerg Wunsch dcb7326689 Make the lkm examples buildable and working again. Mostly taken
from -current.
1996-07-01 14:20:42 +00:00
Peter Wemm efd93305b2 Bring in rev 1.47, fix typo that prevented the locked termios state devices
from working.

OK'ed by: davidg
1996-07-01 11:01:58 +00:00
Jordan K. Hubbard 51efcdc49a Update reference for netscape. 1996-07-01 02:56:44 +00:00
Jordan K. Hubbard 25aaeb7f2d Bring in the README I actually used, just for consistency. 1996-07-01 02:55:35 +00:00
Jordan K. Hubbard cdae44a8f4 Document ncftp / fetch changeover. 1996-06-30 23:31:05 +00:00
Mark Murray a8f02e9fff Make telnet part of the krb distribution 1996-06-30 12:50:58 +00:00
Joerg Wunsch c93936f249 Back out the change from rev 1.4.4.2: it was unnecessary and broke
setuid scripts.
1996-06-30 09:52:45 +00:00
Joerg Wunsch e9516d1916 Merge rev 1.5: create ktrace.out with mode 0600. 1996-06-30 09:42:42 +00:00
David Greenman 59fe90f426 Brought in fix from rev 1.94: make sure pages involved in I/O are not
mapped into any processes.
Also set b_pages[]=0 when the pages are removed from the buffer - this
is to satisfy my paranoia by making sure that nothing bogusly messes with
the pages after the buffer has been reclaimed. A similar change was made
in the main branch some time ago.
1996-06-30 05:23:41 +00:00
Alexander Langer 306e7711c5 Merge fixes from HEAD (rev 1.6). 1996-06-30 02:59:16 +00:00
Nate Williams 64d3da9399 Fixes for MSS sound support. These are pretty harmless and shouldn't affect
anyone else.

Submitted by:	Thomas Graichen <[email protected]>
1996-06-29 13:48:06 +00:00
David Greenman 717eb31334 Make sure we have an object in the map entry before trying to trim pages
from it.
1996-06-29 09:17:17 +00:00
Alexander Langer db0991f7df Merge fixes from HEAD (rev 1.28).
Commit approved by:	jkh
1996-06-29 03:55:46 +00:00
Jordan K. Hubbard d76d90600b Merge Lynx change from HEAD 1996-06-29 03:50:24 +00:00
Jordan K. Hubbard bbad9c5164 Merge from HEAD (unspam myself) 1996-06-29 03:47:44 +00:00
Jordan K. Hubbard 0f525cd786 Add 3rd ZA site. 1996-06-29 02:41:44 +00:00
Alexander Langer d945b5d1f0 Merge port syntax fix from HEAD. 1996-06-29 01:36:22 +00:00
Gary Palmer a832b62759 Bring in change from rev. 1.20: add links for the fts(3) set of functions. 1996-06-28 23:22:54 +00:00
Joerg Wunsch 91bb19895f Fix two small nits in the -stable `od' driver.
Submitted by:	[email protected] (Shunsuke Akiyama)
1996-06-28 16:59:47 +00:00
Sujal Patel 015260907e Added missing prototype for sigaltstack() 1996-06-28 04:33:51 +00:00
Nate Williams 7b69d2d085 Trivial bugfix which occurs when DEBUG_FLAGS is defined. If DEBUG_FLAGS
is defined, STRIP is undefined and causes the Makefile to blow up, so
make sure STRIP is defined if you plan on using it.
1996-06-27 21:48:50 +00:00
Joerg Wunsch 9058c77fa2 Merge the fix from rev 1.158: repair the keyboard reset i broke. 1996-06-27 21:39:55 +00:00
John Polstra 46e4a51691 Merge in a portion of the profiling fixes from main branch 1.78 -> 1.79.
Specifically, this corrects the profiling of system times, which were
underreported by a factor of 8.

Suggested by:	Bruce Evans <[email protected]>
1996-06-27 16:44:29 +00:00
David Greenman 5cf25e9cfd Add another check to vm_pageout_clean: make sure the page isn't wired. 1996-06-27 10:29:09 +00:00
David Greenman 6b48c17a15 Correct a minor ommision: I left out a vput() when unwinding an exceptional
condition. Also, it's possible that we might not be dealing with the same
page if the vget() should block but still succeed (this is possible), so
be sure to check to see that the page is still dirty and on the PG_INACTIVE
queue. Checks in vm_pageout_clean() will guarantee that the page is still
a condidate for pageout (busy, hold, PG_BUSY, etc).
1996-06-27 10:15:40 +00:00
Jordan K. Hubbard 8290802c6b Whups! I didn't mean to take all that across! 1996-06-27 07:23:43 +00:00
Jordan K. Hubbard 5d3fba2f2e Merge from HEAD 1996-06-27 07:20:56 +00:00
David Greenman e0959bc037 Increased slptime threshold for swapout from 4 seconds to 10. The old
value was far too aggressive.
1996-06-27 05:48:51 +00:00
David Greenman 423cc73364 Retrofitted the non-recursive RSS limiting code from main branch. Due
to the major differences in the VM systems in current and stable, this
retrofit does have some significant algorithmic differences. In any
case, it should be superior to the old (recursive) algorithm in every way.
This, along with the vm_glue.c fix, should fix all of the recent
paging performance complaints.

Reviewed by:	dyson
1996-06-27 05:46:44 +00:00
David Greenman dd46dfc21e pmap_remove() the upages when swapping out the process. Not doing so
will cause the pages to never be cleanablei - leading to a pageout
daemon loop.

Reviewed by:	dyson
1996-06-27 05:39:02 +00:00
Gary Palmer 4a6da35900 Bring over intro(4) from -current 1996-06-27 05:38:51 +00:00
Gary Palmer a18f40d21f Bring in a bunch of man page fixes from the HEAD 1996-06-27 05:33:29 +00:00
Gary Palmer 780ca05343 Bring in change from rev. 1.22:
Set IFF_RUNNING on the loopback interface.
1996-06-27 05:11:04 +00:00
John Polstra 7184e99eb9 Merge profiling bug fix from main branch 1.35 -> 1.36.
This fixes a serious profiling bug:  All addresses >= 256K caused
an overflow, and had their times tallied in the wrong counters.

Bruce Evans has devised a more complete fix that addresses other
issues as well.  But for now, this simple fix is effective and
easy to understand, making it worthy of inclusion in 2.1.5.
1996-06-27 00:46:20 +00:00
Nate Williams 206edda4ff Add libftpio to 'includes'. 1996-06-26 22:48:47 +00:00
Gary Palmer 10fe505495 Bring in change from rev. 1.215: missing space in comment 1996-06-26 21:15:29 +00:00
Gary Palmer 72d63537b4 Merge from HEAD: it's ftpGetModtime, not ftpModtime. 1996-06-26 20:33:57 +00:00
Gary Palmer dfb78badb9 Update comment relating to PTY's, as we can have 256, not 64 as it suggested 1996-06-26 19:43:19 +00:00
Nate Williams 9295078e30 Fix for " CERT Advisory CA-96.12 - Vulnerability in suidperl"
Submitted by:   The Perl Gods as described in the advisory
1996-06-26 19:13:30 +00:00
Mark Murray 07bde751cb Correct comment - this firs appeared in 2.1.5, not 2.2 1996-06-26 17:08:02 +00:00
Joerg Wunsch b85033aad3 Correct two minor nits i've been botching yesterday. 1996-06-26 15:54:13 +00:00
Jordan K. Hubbard 6c78aa1860 Merge with HEAD 1996-06-26 09:32:02 +00:00
Jordan K. Hubbard 6be2387e46 Merge from HEAD 1996-06-26 09:24:03 +00:00
David Greenman 25a8c28df7 Fix the immediate problem: add missing arg to freeer() routine. The last
few edits to this still don't solve the original problem. It appears
that the recursion is *much* worse than we thought - I'm already testing
at 30 levels deep, and it still terminates before finishing the job.
This problaby explains some people's stack overflow problems... :-(
1996-06-26 08:19:48 +00:00
David Greenman d156743657 Fix yet another editing mistake that caused physio() to be really
broken and return wrong data to the user. Sigh...I need a vacation.
This patch is copied directly from John's edit on the main branch,
so I'm *sure* it is correct. :-)
1996-06-26 07:39:31 +00:00
David Greenman 757e32e0a6 Woops, I was a bit overzealous in my editing...add back the missing line. 1996-06-26 06:58:12 +00:00
Mark Murray 512b8eb6b5 Disable the fancy i586 timer stuff. Making this work at this late stage
is not good for my health or my popularity.
1996-06-26 06:24:25 +00:00
David Greenman d85ce565b2 In pmap_object_init_pt, limit the scan of pages through an object to the
object's size. This is mostly just a precaution, but makes John and me
sleep slightly better at night. :-)

Submitted by:	dyson
1996-06-26 06:18:10 +00:00
David Greenman fcb73f9930 Fix a panic that occurs when an I/O is attempted with more than
MAXPHYS/PAGE_SIZE pages. This occurs when there is a non-page aligned
I/O of MAXPHYS size. The fix is to trim the request to MAXPHYS-PAGE_SIZE.
It apparantly wasn't noticed previously because of other bugs.
1996-06-26 06:12:45 +00:00
David Greenman d27715b921 1) Limit recursion when duing RSS trimming.
2) Fix a bug that caused the page stats to get messed up.
3) Re-enabled RSS limiting.

Submitted by:	mostly by John Dyson
1996-06-26 06:08:45 +00:00
David Greenman 9700103308 Brought in fix from rev 1.6: fix for the line continuation fix. 1996-06-26 05:55:45 +00:00
David Greenman 18f3fce383 Brought in most of the improvements/bugfixes from the main branch. Thanks
to Stefan Esser for taking the time to sort all of this out.
1996-06-26 04:36:54 +00:00
Jordan K. Hubbard c64e7dc86b Add more device driver entries for Specialix / Stallion cards.
Submitted-By: peter
1996-06-26 02:36:06 +00:00
Jordan K. Hubbard 4afce3a31f Merge from HEAD. 1996-06-25 22:19:08 +00:00
Bill Paul c1f9987f70 Bring in two small fixes from the head:
- Install Makefile.yp as /var/yp/Makefile.dist and only make a link
  to it from /var/yp/Makefile if /var/yp/Makefile doesn't already
  exist. This way we won't clobber an existing copy of /var/yp/Makefile
  which the user may have modified and wants to keep.

- Make the services.byname target generate proper map keys.

This will probably be my last commit to this branch unless the
freeze deadline changes for some reason.
1996-06-25 21:17:58 +00:00
Gary Palmer 189a55fea1 Back out part of rev. 1.9.4.5. We don't have the updated kmod stuff from
-current and the modload command still needs the entry point
1996-06-25 21:14:52 +00:00
Bill Paul 8485dbe68a Bring in small fix from HEAD:
Remove two unnecessary calls to free(result).
1996-06-25 21:02:18 +00:00
Mark Murray 92817935b2 Merge (sorta) with HEAD - add rndcontrol. rndcontrol itself got
added with a tag operation, and the subdirs paragraph got refomatted
- it was looking a tad messy.
1996-06-25 20:39:37 +00:00
Mark Murray d28f19f9e5 Merge with HEAD. Add /dev/random 1996-06-25 20:26:40 +00:00
Mark Murray d644e37a8c Merge with HEAD - bring in /dev/random 1996-06-25 20:19:56 +00:00
Jordan K. Hubbard 752fdc4069 Break the "what's new since 2.1.0-RELEASE?" section into categories.
Jumbling it all together makes it hard to figure out what's changed.
1996-06-25 19:43:33 +00:00
Jordan K. Hubbard fbbf45f462 Adjust documentation for 2.1.5 1996-06-25 19:05:49 +00:00
Bruce Evans 6b993751fe Merged from HEAD (rev.1.4): fixed comparisons to stop malloc(INT_MAX) from
dumping core.
1996-06-25 18:57:44 +00:00
Joerg Wunsch 1c8d3e27ec Merge from HEAD: kill the various BUGS sections since the bugs
have been fixed since.
1996-06-25 18:32:46 +00:00
Joerg Wunsch 277414286b Merge the "retension" command -- userland part 1996-06-25 18:31:55 +00:00
Joerg Wunsch 2aefbb0dd2 Merge rev 1.3: kill gets() 1996-06-25 18:31:22 +00:00
Joerg Wunsch be521a2501 Merge various fixes from HEAD:
. localization
. dynamic buffers
. fix a core-dump condition
1996-06-25 18:30:55 +00:00
Joerg Wunsch f8196e2f46 Fix from rev 1.24:
Provide a better handling of partially corrupted directory entries.
1996-06-25 18:30:21 +00:00
Joerg Wunsch 581aa2ba56 Merge from rev 1.50:
Add the Emulex MD21 ESDI-to-SCSI bridge as a known device (with more than
one LUN).
1996-06-25 18:29:53 +00:00
Joerg Wunsch f3648f9ee8 Merge the fix from rev 1.28 1996-06-25 18:29:28 +00:00
Bruce Evans 9ac5748e80 Merged from HEAD rev.1.11-1.12: enabled .c rule; added suffix and rule;
removed special sparc support; added ${LDFLAGS} to linker rules.

Enabling the .c rule fixes PR 1347.  The bugs in null suffix rules that
stopped this being enabled in 2.0.5R were fixed long before 2.1R.
1996-06-25 18:24:50 +00:00
Bill Paul d1597564b9 Bring in one fix from the HEAD:
In _yp_dobind(), don't spew an error message on failure to contact
ypbind unless it's for something really out of the ordinary. This stops
_yp_check() from generating a lot of pointless noise. (Example: set your
system domainname but don't turn on NIS, then do an rpcinfo -p. Watch
as 'clnttcp_create' errors scroll by.)
1996-06-25 17:53:33 +00:00
Joerg Wunsch 322d56e65d Merge from HEAD:
kernel-side of the MTRETENS implementation.
1996-06-25 17:46:01 +00:00
Joerg Wunsch b6dac1da1c Merge the fixes from rev 1.66 of fd.c and rev 1.8 of rtc.h:
add an alias for 2.88 MB floppy drives
1996-06-25 17:39:21 +00:00
Joerg Wunsch 8621635a42 Oversight when merging the "od" driver 1996-06-25 17:38:19 +00:00
Joerg Wunsch ee1bfc2bf4 Merge from HEAD: add sysexits.3 1996-06-25 17:38:04 +00:00
Joerg Wunsch 2b9f3ac075 Merge from rev 1.110: fix the /dev/io security hole 1996-06-25 17:37:52 +00:00
Joerg Wunsch 00e64820f0 Merge with HEAD:
add the CD-ROM Audio Control Parameter Page
1996-06-25 17:37:27 +00:00
Joerg Wunsch f7b0b03a43 Add cfree.3 1996-06-25 15:08:00 +00:00
Joerg Wunsch 88d77308a1 Merge the fix from gcc.c rev 1.8 1996-06-25 15:05:07 +00:00
Joerg Wunsch 4817d2c384 Merge the changes from rev 1.19 of /etc/daily and 1.92 of /etc/rc --
Hint about alternatives to the boot-time cleanup of /tmp
1996-06-25 14:56:02 +00:00
Joerg Wunsch 05d8b864dc Sync with HEAD: update mkisofs to version 1.04 1996-06-25 14:54:07 +00:00
Joerg Wunsch 66e84962fd Sync with HEAD: update mkisofs to version 1.04 1996-06-25 14:46:56 +00:00
Joerg Wunsch 9aa81d1872 Sync easy-import with HEAD 1996-06-25 14:45:10 +00:00
Joerg Wunsch c615850513 Merge the fixes for rev 1.9 and 1.10 of parser.c, and
1.9 of Makefile
1996-06-25 14:37:46 +00:00
John Hay 3f4f1fe04d Bring selected changes in from HEAD to stop the LCP state machine from
getting stuck when the link had gone down. It also fix some of the
flags in raw Cisco HDLC mode.
1996-06-25 14:17:40 +00:00
Jordan K. Hubbard 455d6da9ef Add worm to /usr/share/examples 1996-06-25 08:40:13 +00:00
Jordan K. Hubbard d1af10a3fe Merge from HEAD 1996-06-25 05:33:38 +00:00
Gary Palmer 5eb89ad95b If you are going to test compile something, better check it's in your
config file first. Make the last commit actually work.
1996-06-25 04:44:55 +00:00
Gary Palmer 3e2a062f27 Change the use of if_lastchange to be more SNMP compliant. This is NOT
a merge from the head as the two versions of ppp are very different.
1996-06-25 04:28:54 +00:00
David Greenman e2c0f34946 Retrofitted fix from rev 1.11: rewrite of obreak(). 1996-06-25 03:48:34 +00:00
Bill Paul dcda7677a9 Merge in some NIS fixes from the HEAD:
- Fix bugs in gethostbynis and getnetbynis.

- Add NIS support to getservent(3).
1996-06-25 03:22:25 +00:00
Alexander Langer 3903ba4a4b Merge with HEAD. 1996-06-25 03:16:43 +00:00
Gary Palmer a03952c3fc Sync with the HEAD 1996-06-25 03:15:06 +00:00
David Greenman bdb2942624 Brought in fix from rev 1.21: fix end condition for clustered reads. 1996-06-25 03:02:11 +00:00
Nate Williams 5de512060c Finish removing this from -stable. 1996-06-24 23:21:26 +00:00
Gary Palmer e964af08c0 Bring in change from rev. 1.9:
Use a dynamically-sized buffer for SIOCGIFCONF so that `ifconfig -a'
actually retrieves all the information no matter how many interfaces
there are.
1996-06-24 22:27:01 +00:00
Gary Palmer 9556f39143 Bring in change(s) from the head: alter the way if_lastchange is used
to be more in line with what SNMP wants.

OK'ed by: David Greenman
1996-06-24 22:04:24 +00:00
Jordan K. Hubbard 5d121d94a4 Put this back to being a perl script after tagging in the spkrtest.pl
and spkrtest.8 files.
1996-06-24 21:46:48 +00:00
Mark Murray 2c15b166c9 Merge with HEAD - create libdescrypt.
Pointed out by: rgrimes
1996-06-24 18:19:22 +00:00
Bill Paul 993b72dc3d Merge in a couple of fixes from the HEAD:
pw_yp.c:

- Fix silly bug in copy_yp_pass().

- In yp_submit(), use the password from the pw struct passed in as
  an argument instead of calling getpwnam() to find it: for one thing
  this is unnecessary since we already have the crypted password, and
  for another it cause us to pick the wrong password in the event that
  the user exists both in the local database and in YP.

edit.c:

- Change shell restriction policy: if the shell field isn't restricted
  and it's valid, or if the the user is root, allow the shell field to
  be edited.
1996-06-24 17:18:04 +00:00
Jordan K. Hubbard 86d5101b4e Uh, this is a shell script, not a perl script. :-) 1996-06-24 15:28:12 +00:00
Joerg Wunsch d9d1efa667 Remove some old and unused cruft so that `swap generic' kernels will
actually link again.  (I wonder whether i'm the only one who's ever
been using them...)
1996-06-24 14:30:32 +00:00
Jordan K. Hubbard e038d7bcbc Merge from HEAD. 1996-06-24 02:40:24 +00:00
Jordan K. Hubbard 38b4dc401d Merge with HEAD 1996-06-24 02:30:37 +00:00
Jordan K. Hubbard 2407940ce0 Merge from HEAD 1996-06-24 02:29:29 +00:00
Peter Wemm 8c58217582 Selected fixes from HEAD, including:
- Show the "B" flag on blackhole routes (as documented)
 - fixes from 4.4Lite-2 to make the dns reverse-lookups a little less
   broken in the face of subnets (and show network route size)
 - more sensible trimming of the local host's domain name.
 - more readable '-w' statistics output
1996-06-24 00:13:50 +00:00
Peter Wemm 0c1b38c41a Add the stallion subdir, now that it's on the 2.1 branch. 1996-06-23 23:41:39 +00:00
Peter Wemm a87c029736 Bring the two Stallion serial card drivers (both cd1400 and intelligent)
into the 2.1 branch from -current.  The other files have been tagged.

OK'ed by: davidg
1996-06-23 23:24:36 +00:00
Wolfram Schneider 5bb16227a5 add hosts.equiv.5 hosts.lpd.5 1996-06-23 23:15:11 +00:00
Wolfram Schneider 0e97690ac1 Merge from HEAD: add 05.sysman 1996-06-23 23:09:12 +00:00
Wolfram Schneider ba5363085e Merge from HEAD
install forgotten INDEX.*
1996-06-23 22:10:29 +00:00
Wolfram Schneider 766cdadf01 Merge from HEAD. 1996-06-23 22:03:56 +00:00
Alexander Langer 16f571e736 Merge fixes from HEAD (rev 1.27). 1996-06-23 20:51:37 +00:00
Wolfram Schneider b18b803f33 Merge from HEAD. 1996-06-23 20:35:22 +00:00
Justin T. Gibbs e451e08192 Merge with HEAD. 1996-06-23 20:13:13 +00:00
Joerg Wunsch de4a480cda Update the bugs section. Mostly merged from HEAD, with one addition
that is 2.1.X-specific.
1996-06-23 18:33:04 +00:00
Joerg Wunsch 230a4227ca Ooops, forgot to update worm(4). 1996-06-23 16:50:11 +00:00
Joerg Wunsch 835f901f21 Merge scsiformat from HEAD, and enable it in the Makefile. The old
(4.4BSD) version was defunct, while Peter Dufault's wrapper for scsi(8)
works well, so there's no reason to hide it uninstalled.
1996-06-23 15:05:09 +00:00
Joerg Wunsch 822cfeecd5 Add wormcontrol, now that worm(4) has been updated.
(The actual import of wormcontrol(8) into the branch is done behind
the scene by a cvs tag operation, you'll only see a commit message for
the Makefile change.)
1996-06-23 14:58:30 +00:00
Joerg Wunsch 29223026f1 Merge the worm driver into -stable, untested, but eyeball-reviewed.
The existing worm driver there was entirely useless, you couldn't do
anything with it.  Thus i believe that shipping a beta-quality driver
is still better.  (The only other option would have been to remove it
from the branch.)
1996-06-23 14:48:39 +00:00
Bruce Evans 9e81ff7cfa Brought in fix from rev.1.8: made strip failures fatal. 1996-06-23 14:24:57 +00:00
Mark Murray 925a5110ce Merge with HEAD. 1996-06-23 14:07:40 +00:00
Bruce Evans bcf7e0317b Disabled unusable union lkm as in -current and rearranged comments to get
closer to -current.
1996-06-23 13:47:31 +00:00
Mark Murray 219f58e41a kerberosIV/des.h -> des.h 1996-06-23 13:08:41 +00:00
Joerg Wunsch 2fcab564a6 Merge my changes from Mar 9, 1996. Basically, this makes talk able
to work on multi-homed hosts.  As a side effect, this was a major
cleanup of the sources.
1996-06-23 11:47:09 +00:00
Jordan K. Hubbard 7336a8acac Merge various useful things from HEAD. 1996-06-23 07:52:27 +00:00
Peter Wemm e3a12519a7 Bring in rev 1.41; fix timeout estimation with a B0 hangup.
Bring in rev 1.46; fix output flow control and break sending.
1996-06-23 04:14:43 +00:00
Jordan K. Hubbard f461d01768 Merge with HEAD 1996-06-23 01:44:07 +00:00
Gary Palmer ccf639f947 Merge in man page fixes from the head 1996-06-22 23:52:34 +00:00
Gary Palmer f62325277f Merge in change from rev 1.213. Fix spelling errors.
Submitted by: jraynard
1996-06-22 21:34:40 +00:00
Joerg Wunsch 5f8fa8829f Merge the fix from rev 1.69: bump the timeout for st_erase(). 1996-06-22 15:00:00 +00:00
Joerg Wunsch bb54293e04 Fix the major number of the `od' driver.
Submitted by:	[email protected] (Shunsuke Akiyama)
1996-06-22 13:03:56 +00:00
Gary Palmer d80e34ed48 Bring in change from rev. 1.26: keep in/out byte counters. 1996-06-22 09:45:18 +00:00
James Raynard 093a7beb67 Document the fact that it only works if the trace record is a regular file. 1996-06-22 02:15:28 +00:00
Wolfram Schneider f44aad9ecb Merge from HEAD
EOF bug
1996-06-21 23:18:44 +00:00
Mark Murray 3e8ee7c922 Remove reference to eBones/des, as this is now gone. 1996-06-21 19:41:35 +00:00
Mark Murray 0f8f646de4 Oops - forgot to remove these 1996-06-21 18:48:43 +00:00
Mark Murray 3536c916a7 Make this makefile work with STABLE 1996-06-21 18:39:54 +00:00
Mark Murray ca2abb0668 Merge with HEAD 1996-06-21 17:32:26 +00:00
Jordan K. Hubbard d2211cb251 Merge 2 bug fixes from HEAD 1996-06-21 13:12:09 +00:00
David Greenman d5b5ede018 Brought in fix from rev 1.5: handle continuation lines correctly. 1996-06-21 06:06:57 +00:00
James Raynard 9a04aede04 Change brought over from HEAD.
Merged in 4.4Lite2 version, added $Id$'s. This should fix the garbage
error messages printed out under certain circumstances.
1996-06-21 01:12:18 +00:00
Jordan K. Hubbard 2bec671fa7 Merge from HEAD 1996-06-20 23:53:28 +00:00
Mark Murray 6a237fbb48 Remove $log's. These are a pain. 1996-06-20 21:21:01 +00:00
Jordan K. Hubbard 9489798d39 Don't try to build config.new 1996-06-20 17:27:55 +00:00
Jordan K. Hubbard f279958ef7 Sync with HEAD. 1996-06-20 15:52:04 +00:00
Jordan K. Hubbard 95199a2b93 Merge from HEAD 1996-06-20 14:35:33 +00:00
Jordan K. Hubbard 17957bdcab Add fetch, which was just tagged in. 1996-06-20 14:30:56 +00:00
Jordan K. Hubbard ae33388439 Bye bye ncftp 1996-06-20 14:21:31 +00:00
Jordan K. Hubbard 7be9bfb073 Merge from HEAD - nuke ncftp 1996-06-20 14:21:05 +00:00
Jordan K. Hubbard 14a1dcd038 Merge from HEAD 1996-06-20 14:15:44 +00:00
Jordan K. Hubbard 4300d4453a Get rid of libforms (didn't notice the reference here). 1996-06-20 14:03:52 +00:00
David Greenman 91c1af269b Brough in fix from rev 1.66: account for non-page aligned buffers. 1996-06-20 08:08:29 +00:00
David Greenman 1375c38d9e Brought in the rewritten versions of vmapbuf/vunmapbuf from main branch.
Not only is the code higher quality, but it also fixes a rounding/off-by-
one bug that caused a panic when doing physio() with DIAGNOSTIC. This
fix closes PR#1195.
1996-06-20 01:55:54 +00:00
Nate Williams 19b07353bf No need for this in -stable either. 1996-06-19 22:41:44 +00:00
Nate Williams b51848fe13 rpc.yppasswd doesn't exist in -stable. Use yppasswd instead. 1996-06-19 21:41:56 +00:00
Jordan K. Hubbard c533f332e0 Merge from HEAD 1996-06-19 20:57:04 +00:00
Jordan K. Hubbard fb69d5c62f Merge from HEAD. This is part of a multi-part commit since the SGML tools
need to be merged as well for this to work, but they're in a different part of
the subtree.  I have to merge this because a) our -stable docs are way out of
date and b) I need the "doc" distribution to appear in -stable if I'm to use
a single copy of sysinstall for both.  Reviewers of this MOST welcome!
1996-06-19 20:28:57 +00:00
cvs2svn a44f2067f9 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-06-19 09:32:13 +00:00
David Greenman 5387177170 Fixed several serious bugs that had to do with traversing the page
queues and inadvertantly stepping off the queue via a page that was
previous removed from it. Also killed the potentially evil RSS limiting
code in the vmdaemon - it traverses allproc which would not be consistent
if the code should block for some reason (it shouldn't block, but we're
not completely sure of that...).

Submitted by:	dyson
1996-06-19 07:26:57 +00:00
David Greenman 4cebcd747c Add m->hold_count != 0 to the list of exceptions for not putting a page
on the cache queue. The previous behavior might have allowed a page
to get on the cache queue that shouldn't have been.

Reviewed by:	dyson
1996-06-19 07:22:45 +00:00
David Greenman e7a57e693f Make certain that pages (especially cached pages) are pulled off the
page queue immediately so that they aren't used by something else before
we get to them.

Submitted by:	dyson
1996-06-19 07:20:21 +00:00
David Greenman 7fcb71d82b Brought in fix from rev 1.18: gain a reference to the vmspace and do
proper map locking to avoid a potential panic.
1996-06-18 08:36:18 +00:00
Alexander Langer 7cb1ec8363 Merge fix from rev 1.26. 1996-06-18 02:03:29 +00:00
Jordan K. Hubbard 453a26ef54 Merge (again!) 1996-06-17 21:57:54 +00:00
Jordan K. Hubbard 04640727e3 Merge with head. 1996-06-17 21:12:35 +00:00
Jordan K. Hubbard f46d950f00 Include libftpio. 1996-06-17 20:54:26 +00:00
Jordan K. Hubbard ecfd1091be Merge very small, selected parts of this directory from HEAD. Mostly
motivated by a desire to see the local_startup stuff work correctly
for the packages collection in 2.1.5.
1996-06-17 09:17:53 +00:00
Jordan K. Hubbard 25e0f22636 Merge from HEAD 1996-06-17 09:04:59 +00:00
Alexander Langer 0c4387a47f Merge in two bug fixes from HEAD: chain numbering bug (rev 1.40) and
deletion of default policy (rev 1.37).
1996-06-17 00:03:55 +00:00
Satoshi Asami 0c881fd16d Merge from HEAD: create .../etc/rc.d. Without this change the new
apache startup scripts won't install correctly.
1996-06-16 22:33:58 +00:00
Joerg Wunsch 3baa4aa17f Upgrade the `od' driver in -stable. Merge the fixes from the
following respective revisions:

	sys/scsi/scsi_disk.h		1.9
	sys/scsi/scsi_driver.c		1.16
	sys/scsi/od.c			1.18
	sys/i386/conf/LINT		1.265
1996-06-16 20:10:37 +00:00
Bruce Evans 94a1304f8c Removed comments about history. These were turned into the log message
in the previous commit.
1996-06-16 11:54:16 +00:00
Bruce Evans 3c1a12ac40 Latest fixes from the author (committed to -stable because the -current
version isn't ready and the version in -stable is quite broken):

- read optimization
- corrections in data flow mechanism
- restoring board memory window state while returning from
  reentrable functions
1996/03/16:
  - now several boards can coexist and share the same memory window
1996/03/24:
  - eliminated 'b_to_q to a clist..' message while turning off modem
1996/04/10
  - 'static int nports'... - next attempt to drive several boards.
    Reported that with this fix it works with 2 boards.
1996/04/20
  - Overloading channel (ping -f host) caused 'No buffer space..'
    state until slip unit restart. Fixed.

Submitted by:	"Serge A. Babkin" <[email protected]>
Changes by:	Oleg Panashchenko <[email protected]>
1996-06-16 11:50:40 +00:00
Bill Paul 6445760383 Bring in fix from HEAD: add missing semicolon. 1996-06-15 16:19:57 +00:00
David Greenman 2682597cbe vm_map_entry_dispose() needs splimp protection, too, so add it. 1996-06-15 14:03:33 +00:00
David Greenman 3901d8e3f2 Protect map entry allocations with splimp. This is necessary since malloc
can/will allocate map entries at interrupt time. This is similar to a
(splvm) change that was made in the main branch, but much simpler. The
code in the main branch is broken (the thresholds are of such that
freed map entries will accumulate on the non-kernel pool)...so the fix
was re-implemented with just the spl protection and minor algorithmic
simplification.
1996-06-15 12:29:19 +00:00
David Greenman ea881e14a3 Added splbio() protection to active and inactive page queue manipulations.
This is similar to the splvm() protection that was added in the main
branch. It protects the queues from page insertions that can happen during
buffer rundown of asynchronous I/O read-aheads.
1996-06-15 09:58:43 +00:00
David Greenman 765f8d09b1 Brought in fix from rev 1.10: fix off-by-one in structure allocation so
that triple indirect blocks have a chance of working.
1996-06-15 09:25:16 +00:00
David Greenman b4d8bc0d3d Brought in some fixes from main branch: similar to last commit...move
setting of PG_MAPPED (and in this case, PG_WRITEABLE too) to after
pmap_enter() has finished.
1996-06-14 23:23:39 +00:00
David Greenman 4f2f157888 Brought in a fix from main branch: move setting of PG_MAPPED to after a
call to pmap_enter(). Closes a window where PG_MAPPED might be cleared
if the process blocked and someone else does a vm_page_protect(NONE)
before the process unblocks.

Reviewed by:	dyson
1996-06-14 23:21:01 +00:00
Jordan K. Hubbard e0748b411c Merge with HEAD 1996-06-14 18:36:28 +00:00
David Greenman 96a6d85233 Brought in a fix from main branch: close a window in pmap_object_init_pt()
that has to do with the PG_MAPPED flag not being set at the right time,
and PG_BUSY the page rather than doing a vm_page_hold/unhold. This
fixes a potential problem where some mapped pages might go unnoticed by
other parts of the vm system, which can be a real problem if the page(s)
are reclaimed.
Reviewed by:	dyson
1996-06-14 04:34:35 +00:00
David Greenman 0d53a0a640 Brought in fix from main branch: call semexit when appropriate. 1996-06-14 02:26:17 +00:00
Satoshi Asami 8968c81353 Merge from head. I've tried it here and built many packages, it seems
to work fine with -stable.
1996-06-13 06:06:25 +00:00
David Greenman 29f8aa53ae Brought in changes from main branch: move MALLOC of fsnode to avoid a
potential panic during sync.
1996-06-12 03:42:54 +00:00
Wolfram Schneider a01916a698 Merge from HEAD:
chown home directory if don't copy dotfiles
1996-06-12 00:03:35 +00:00
Satoshi Asami 8704e4dc1f Merge with HEAD:
Add man9/cat9, move man/skel -> share/skel, add share/doc.

Noticed by:	ports/editors/beav
1996-06-11 22:04:55 +00:00
Jordan K. Hubbard 9363c0d35b Sync with HEAD. 1996-06-11 10:01:05 +00:00
Bruce Evans 3b7ccb04a9 Brought in the fix from rev.1.33 - use the freespace() macro
instead of buggy explicit code to fix the `Avail' count returned
by statfs() for file systems larger than 11GB.  This also fixes
a minor rounding bug.  The count is still wrong for file systems
larger than 1TB/minfree (normally 128GB).
1996-06-11 05:17:34 +00:00
Bruce Evans e14f11ef9b Brought in the fixes from rev.1.8 - use the freespace() macro
instead of buggy explicit code to fix the `Avail' count for
(non-mounted) file systems larger than 11GB, and don't replace
"Avail" counts of < 0 by 0.
1996-06-11 04:38:08 +00:00
James Raynard c783776133 Bug fix brought in from HEAD as suggested by dg.
Fixed bug in clnt_{tcp, udp}create() where pointers could be free'd
even if they hadn't been successfully malloc()'d.
1996-06-10 20:22:12 +00:00
Andrey A. Chernov 7652784297 Sync with -current 1996-06-10 09:41:49 +00:00
Justin T. Gibbs 2a01c79e30 Detect and report dataphase overruns. Put the adapter into 'Bit Bucket'
mode when this occurs and allow the target to complete the transaction.
Force a retry on overruns since they are usually caused by termination or
cable problems.
1996-06-09 17:33:18 +00:00
Joerg Wunsch e8ec05d06c Merge the fix from rev. 1.28: fix the spl handling, and a deadlock
condition.
1996-06-09 14:25:45 +00:00
Gary Palmer 5a6063ff0a Somehow got missed from the last commit. Stick these in -stable's
attic as they are suffering from nasty bitrot
1996-06-09 11:22:22 +00:00
Gary Palmer ca0e4cb05b Remove devfs from stable. This version is suffering from extreme bitrot 1996-06-09 11:17:35 +00:00
Gary Palmer c981d07473 Bring in changes from revs 1.24 and 1.25 and fix PR 1304: return
EBUSY rather than ENXIO
1996-06-09 11:05:07 +00:00
Jordan K. Hubbard 9cd8157775 Merge from HEAD. 1996-06-09 09:35:01 +00:00
David Greenman baded1b2f2 Backed out changes in revs 1.58.4.2 and 1.58.4.3. The version this was
based on from -current wasn't ready for prime-time yet and the new stuff
is far too green. This reverts the code to what we released in 2.1R.
1996-06-09 08:54:57 +00:00
Paul Traina 171acfbbeb Oops...missed one file in the HEAD sync 1996-06-08 20:25:51 +00:00
Paul Traina a907bb1385 Bring fix for kern/1159 in from HEAD 1996-06-08 20:22:38 +00:00
Paul Traina b1a7e10b62 Bring in changes from head 1996-06-08 20:18:56 +00:00
Paul Traina 1a69aa9f14 Bring in notify changes from head. 1996-06-08 20:13:03 +00:00
Nate Williams 8138815f49 Added a BUGS section to the manpage. Note, this is only relevant to -stable.
BUGS
     This version of fsck may require multiple passes over your disk in order
     to fix all inconsistancies.
1996-06-08 17:28:28 +00:00
Jordan K. Hubbard 473771e53d Merge from HEAD. 1996-06-08 12:06:44 +00:00
Joerg Wunsch 162b1b584b Merge from HEAD:
. preserve the fdisk table if possible,
. allow for disklabel ... auto,
. major cleanup
1996-06-08 11:44:43 +00:00
Joerg Wunsch 1b1cb97915 Teach config(8) about the od driver.
Reviewed by:	[email protected] (Greg Lehey)
1996-06-08 11:39:45 +00:00
Joerg Wunsch 5000f13409 Merge the changes from rev 1.55 into -stable. Required in
particular by some SONY drives.
1996-06-08 11:38:16 +00:00
Joerg Wunsch 8ab74ce9e4 Retrofit the od driver into -stable. It's now stable enough to
deserve a life there, and chances that it compromises some other part
of the system are low.

Reviewed by:    [email protected] (Greg Lehey)

(Should have made it into a single commit, but i've botched this.)
1996-06-08 11:31:03 +00:00
Joerg Wunsch 7a796ac8d9 Retrofit the od driver into -stable. It's now stable enough to
deserve a life there, and chances that it compromises some other part
of the system are low.

Reviewed by:	[email protected] (Greg Lehey)
1996-06-08 11:28:49 +00:00
Bruce Evans c03d25376a Restored rev.1.2.6.1. It was undone by the 3rd mega-commit. 1996-06-08 08:25:28 +00:00
Jordan K. Hubbard 767f366073 Merge changes from HEAD. 1996-06-08 07:15:55 +00:00
Justin T. Gibbs 4559a6b02f Sync with HEAD. 1996-06-08 07:10:57 +00:00
David Greenman 6bd0628fee Brought in fix from rev 1.25: add unit number correctly. 1996-06-08 06:14:15 +00:00
David Greenman 04edb7a671 Brought in fix from rev 1.38: reference count fix for relookup(). 1996-06-08 02:06:08 +00:00
David Greenman ef8edf6df7 Brought in fix from rev 1.30: fix for memory leak when adding a host route
on top of another one.
Brought in fix from rev 1.33: fix for rtfree panic.
1996-06-08 02:02:03 +00:00
David Greenman 20bbc7fba4 Brought in fix from rev 1.38: fix for PF_REMOTE case of ptcwrite() which
was broken in rev 1.22.
1996-06-08 01:40:08 +00:00
Alexander Langer 88c0303515 Merge with HEAD. 1996-06-08 00:55:26 +00:00
Jordan K. Hubbard cdb217b562 Looks like the cut-and-paste monster got somebody - an extra brace was
inserted here.  Please compile before committing! :)
1996-06-07 06:35:40 +00:00
Jordan K. Hubbard 144554db5f OK, I said I wasn't going to touch -stable, but I'm afraid I'm still going
to have to muck around in release/ in order to make 2.1.5 happen so consider
this the exception... :)
1996-06-06 22:53:21 +00:00
Marc G. Fournier 16d158e215 Brought in a change from -current to ftp.c that reports transfer states
in "human" form instead of "scientific notation"
1996-06-06 21:42:31 +00:00
Jordan K. Hubbard 48b664f842 Make info.sh ignore other bogus files.
Submitted-by: wollman
1996-06-06 20:54:24 +00:00
Nate Williams 0572714c9d Bring in KNF formatting changes from HEAD. 1996-06-06 00:13:19 +00:00
Nate Williams abbe627ca1 Fix typo I made when fixing a previous typo. 1996-06-06 00:08:47 +00:00
Nate Williams 83388ccf94 Bring in changes from the HEAD.
Note, I'm only bringing in the bare minimum necessary to support doing
reverse PTR using CNAME's, which is necessary for the
'Classless in-addr.arpa delegation' draft, which is now in use by many
ISPs.  This file is now the at the 'bind-4.9.3-REL' revision level.

Inspired by:	John Capo
1996-06-06 00:05:42 +00:00
Nate Williams 48aa14f0dc Bloat the etc tree in stable with the PCCARD files. I also fixed the
bogus tags on the files and made them branch tags.
1996-06-05 21:20:22 +00:00
Nate Williams edea2e61c5 Add an 'echo ""' that was on the end of the file on the previous version
that I missed when I updated the stuff after mega-commit.
1996-06-05 21:19:03 +00:00
Nate Williams aa7489f93d Mega-commit cleanup. Don't use newsyslog(8) for logfile rotations since
it doesn't exist in -stable, so revert to using the old methods.
1996-06-05 20:28:15 +00:00
Nate Williams d8bba1694b Whoops, forgot one.
Fixed bogus changes from mega-commit 3.  This reverts the files to their
revisions *before* the mega-commit but makes sure any subsequent fixes
are brought in.
1996-06-05 19:50:37 +00:00
Nate Williams 7c5e76d052 Fixed bogus changes from mega-commit 3. This reverts the files to their
revisions *before* the mega-commit but makes sure any subsequent fixes
are brought in.

TODO - netiso
1996-06-05 19:49:29 +00:00
Jordan K. Hubbard 198d8d0786 Back out the previous change - apparently it causes problems
elsewhere!  Sigh..
1996-06-05 09:07:10 +00:00
Jordan K. Hubbard 14fb3f9b4a Resurrect Joerg's 2.1 commit (it was on my list, I just skipped over it
by mistake).  CVS is acting _very_ strangely here; claims everything in
/sys/sys for 2.1 is in conflict, even if I remove it every time.  I'm starting
to REALLY HATE CVS and will do no more merge work with it once the tree is
working again.  I've had it with trying to merge things with CVS - that's it,
I quit!  I've merged my last change into 2.1.
1996-06-05 08:22:35 +00:00
Jordan K. Hubbard be212f13d4 Roll something forward to -current; apparently this was moved back erroneously. 1996-06-05 08:15:31 +00:00
Jordan K. Hubbard 78e55a1f29 This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
1996-06-05 02:59:00 +00:00
John Polstra 885f2f31b4 Merge from main branch 1.16 -> 1.17: "persist" state bug fix. 1996-06-04 23:34:06 +00:00
Nate Williams 5baa9b6d14 Bring in changes from the HEAD.
Bring in changes from if_ep.c for PCCARD driver.

  Properly determine the offset of the remaining bytes we need to
  transfer after outsl'ing all the long words we can during transmission
  in 32bit mode.
1996-06-04 21:42:29 +00:00
cvs2svn 38f70e7a6e This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-06-04 19:09:51 +00:00
Nate Williams ed1cde0b4a Update from HEAD.
M_DEVBUG -> M_DEVBUF.
1996-06-04 17:51:21 +00:00
Nate Williams 2309c4a999 Bring in changes from the HEAD.
Fix typo.
1996-06-04 17:38:28 +00:00
David Greenman 78983fc28f Implemented zpfind() which returns the struct proc * of a zombie PID.
Used the above as part of a fix for an architectural flaw in the way that
sysctl_doproc works. sysctl_doproc can block while traversing the proc
lists and the state of the list may have changed during this time. The
fix is to check that the process still exists, and if not, restart the
loop from the beginning.

Note that I don't understand how to unwind SYSCTL_OUT things in -current,
SO SOMEBODY ELSE WILL HAVE TO IMPLEMENT THIS FIX THERE!!! (Poul?)
1996-06-04 02:46:09 +00:00
David Greenman 1b7cb109d3 Brought in (most) of the changes in revs 1.24, 1.25 and 1.43: Fix for
set-id ktrace bug, some cosmetic changes (brought in to make the merge of
other fixes possible), and use kmem_alloc_wait/kmem_free_wakeup to
eliminate a transient string space allocation failure due to running out
of map space.
1996-06-04 02:11:37 +00:00
Gary Palmer 49d406e646 Merge from head:
Close a file descriptor leak. Possibly closes PR #1212
1996-06-03 21:39:23 +00:00
John Fieber da18bb0244 Fix incorrect handling of .cxx files in default rules. 1996-06-03 13:26:16 +00:00
Joerg Wunsch e3de2fcdac Merge the corrections from rev 1.4. 1996-06-03 10:45:13 +00:00
Joerg Wunsch 1f7e52748f Merge from HEAD: add a prototype for ftok(). 1996-06-03 10:44:25 +00:00
Jordan K. Hubbard 37a1e3d683 Revert these back on advice of wpaul. 1996-06-03 07:46:11 +00:00
Jordan K. Hubbard e2cc078246 Whoops - this part should not have come across. 1996-06-03 06:57:52 +00:00
Jordan K. Hubbard accd7f182e Phase 2 of merge - also fix things broken in phase 1.
Watch out for falling rock until phase 3 is over!

libc completely merged except for phkmalloc & rfork (don't know if David
wants that).

Some include files in sys/ had to be updated in order to bring in libc.
1996-06-03 05:12:29 +00:00
David Greenman c3287ad65e Fix declaration of ps_strings. 1996-06-03 04:09:36 +00:00
Joerg Wunsch 0d5d5c6590 Retrofit the change from rev 1.54: make the bootverbose case slightly
more verbose to break the long silence after the ``npx0'' message.
1996-06-02 19:24:05 +00:00
Joerg Wunsch 10c40a2962 Merge from HEAD: hide the ``wrong sig'' message behind bootverbose. 1996-06-02 19:00:18 +00:00
Gary Palmer eef505415e Close PR i386/1223. Correct typo in comment. 1996-06-02 15:10:07 +00:00
Gary Palmer cc36530818 Correct spelling error in comment 1996-06-02 00:15:19 +00:00
Gary Palmer 5ee6f4079a Bring in changes from HEAD. Set ifnet.baudrate for ethernet & FDDI also.
Reviewed by:	 Garrett Wollman
1996-06-02 00:01:51 +00:00
Jordan K. Hubbard 916897d602 Merge from HEAD 1996-06-01 20:52:34 +00:00
Bruce Evans e2750f9798 Brought in the fix from rev.1.3: clean up the FP stack before returning. 1996-06-01 18:02:15 +00:00
Wolfram Schneider 4b8fece1be Merge from HEAD:
add ruid and rgid to file /proc/<pid>/status
this allow killall(1) to kill suid programs
1996-05-31 23:39:16 +00:00
Mike Pritchard eb4b0b134c Bring in update.4 from -current. 1996-05-31 22:04:05 +00:00
Paul Traina fdc6bfeb8d Fix ioctl() operations...nasty typo 1996-05-31 17:35:07 +00:00
Bill Paul d2862cf2f9 Patch the -stable yppasswdd so that it doesn't try to call getpwnam().
The problem with doing this is that getpwnam() will process all the special
inclusion and exclusion lines in /etc/master.passwd, including substitution.
So, for example, if you have a line on your NIS master server that says:

+@disallowed-users:::::::::/etc/nologin

Then yppasswdd will end up with a user record that has /etc/nologin as
a shell. This in turn will get propagated into /var/yp/master.passwd
when an update is performed, and the user's shell will be changed to
/etc/nologin, thus locking them out of the system.

To fix this, yppasswdd now retrieves the user's master.passwd record
directly from ypserv using a call to yp_match(). This bypasses all
the inclusion/exclusion/substitution processing in getpwent(3).

Note that rpc.yppasswdd in FreeBSD-current does not suffer from this
problem: it digs directly into the map database files when searching
for user records, which means it not only bypasses getpwent(3), it
will also work even if your NIS master server isn't set up as an NIS
client. I could have done something similar here, but that would have
meant adding DB interface code which would have been much more complicated.

Bug pointed out by: Tom Samplonius
1996-05-31 14:47:45 +00:00
Peter Wemm 8728e9a57f Lookup value of KERN_PS_STRINGS instead of using a value derived from
constants that can be overridden at kernel config time that are not
visible while running that kernel.

Also, dont dig into /proc/<pid>/mem to read process space if working
on a crashdump.
1996-05-31 08:13:18 +00:00
Peter Wemm 1ee58d620a Look up KERN_PS_STRINGS sysctl, and use that if it is present instead of
the calculated value from a whole series of values that can be overridden
at kernel config time, making the result invalid.
1996-05-31 08:09:42 +00:00
Peter Wemm 32e3836bbe Add sysctl hooks for user-mode setproctitle() and libkvm to see,
taken from -current, but implemented in old-style sysctl.
1996-05-31 08:04:12 +00:00
Peter Wemm 49e0e08d6d Add entries for KERN_PS_STRINGS and friends to allow setproctitle() and
libkvm to adapt to the kernel VM layout changing. (such as on wcarchive,
and some of the stuff I'm experimenting with at the moment.  -current
already has this, so that 2.1 programs that have setproctitle statically
linked will work on 2.2 even if 2.2 ends up with PS_STRINGS in a different
location)

Also, added the somaxconn etc entries, because of the way that the
user-mode sysctl program is built and it was either add the real things, or
some placeholder stubs.
1996-05-31 07:58:47 +00:00
Justin T. Gibbs d5977acceb Stop the selection hardware before acking the SELTO interrupt. The rest
of the main branch changes will come back once they've seen more testing.
1996-05-31 06:37:53 +00:00
Alexander Langer 286216e0ce Bring in changes from 1.22 (disallow LKM manipulations in secure
mode) into stable.
1996-05-31 01:41:54 +00:00
Jordan K. Hubbard b64ae2d968 Bring in just some of the RUNE stuff from HEAD. I'm holding off
on any more aggressive merging of libc for now.
1996-05-30 16:16:37 +00:00
Jordan K. Hubbard 26aeafec71 Merge in symorder (larger usr.bin merge to follow, this just handles the
LKM building problem I just noticed).
1996-05-30 04:52:13 +00:00
Paul Traina 1bdcc92bcc Merge security changes in from head.
Submitted by:	smpatel
1996-05-30 02:31:00 +00:00
Jordan K. Hubbard d9515625fd Remove extra copy of vasprintf.c 1996-05-30 02:15:28 +00:00
Jordan K. Hubbard 1790d7b066 Remove a redundant copy of vasprintf.c 1996-05-30 02:14:12 +00:00
Jordan K. Hubbard ad465d0820 Bring the vasprintf() family of routines in - there are many needlessly
redundant copies in -stable as well.
1996-05-30 02:10:02 +00:00
David Greenman ede96f76f2 Brought in fixes from current: fix for panic caused by dereferencing
(proc)->p_session of an exiting process. This problem manifested itself
via a panic in fill_eproc() when running "top".
1996-05-30 01:24:41 +00:00
Jordan K. Hubbard 5c6b0b3917 Merge from HEAD, except:
Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
1996-05-29 22:38:37 +00:00
Jordan K. Hubbard d2d02801b9 Merge from HEAD. 1996-05-29 04:37:20 +00:00
Jordan K. Hubbard 85d8618c07 Merge from HEAD. 1996-05-28 22:51:19 +00:00
John Polstra 6e0323e4cf Bring in manual page fixes from main branch 1.2 -> 1.4. 1996-05-28 19:06:24 +00:00
Jordan K. Hubbard e46d49258d Merge from HEAD 1996-05-28 18:31:13 +00:00
Jordan K. Hubbard 43615d1ed6 Merge with HEAD. 1996-05-27 23:59:08 +00:00
John Polstra 77bd1b2de8 Bring change 1.3 -> 1.4 into -stable: bug fix for erroneous mbuf display. 1996-05-27 23:22:29 +00:00
Justin T. Gibbs 0bdfca6fa5 Merge with HEAD:
Fix a race condition in p_mesgout* and inb* code that could allow a
phasemiss to sneak by without detection.  This should fix the
Wide/Narrow boot problems that have been reported since this bug
caused the driver ignore a narrow target rejecting wide negotiation.
1996-05-27 23:18:28 +00:00
Joerg Wunsch ad4bc993e9 Merge from HEAD:
Explain ``ESC-Enter'' to leave `ee' in the main help window.
1996-05-27 21:08:09 +00:00
Bruce Evans 64ac1deeaf Nuke the local, broken, termcap.h so that the system one gets used.
The nuking of it in -current on 95/08/04 was overlooked when all
the -current changes were merged into pre-2.1 on 95/08/30.

This should fix PR 1255.
1996-05-27 17:26:08 +00:00
Jordan K. Hubbard daf37a5fad Merge with HEAD. 1996-05-27 16:06:55 +00:00
Jordan K. Hubbard 725e03410b Add -lmd for boot_crunch (from HEAD). 1996-05-27 16:01:57 +00:00
Jordan K. Hubbard 4c4930c846 Fix an evil bogon in the Makefile. 1996-05-27 14:11:46 +00:00
Marc G. Fournier 0ad8632147 Wrong copyright, wrong place 1996-05-27 06:56:42 +00:00
Marc G. Fournier 319d761698 Added in appropriate copyright & RCS Id 1996-05-27 05:21:03 +00:00
Jordan K. Hubbard 919766f209 Remove the x11 subdirectory and its contents (as in -current) - X is a separate
distribution, as are its games.
1996-05-27 01:38:19 +00:00
David Greenman 4078969762 Brought in fix from rev 1.26: fix for "vm_page_free: freeing busy page"
panic.
1996-05-26 18:35:22 +00:00
Joerg Wunsch 58f8c280ed Merge the fix from rev 1.2:, closes PR # bin/1244: rs(1) dumps core with -s 1996-05-26 18:27:55 +00:00
David Greenman 6e6ddf8eda Retrofitted a portion of rev 1.73: be sure to start inactive scan over if
"next" page is no longer on the inactive queue. This fixes a potential
panic during heavy paging.
1996-05-26 18:01:16 +00:00
Justin T. Gibbs efec88c18b Merge with HEAD:
Properly determine the offset of the remaining bytes we need to transfer
after outsl'ing all the long words we can during transmission in 32bit mode.

Closes PR:i386/1243
Submitted by:   [email protected]
1996-05-24 15:25:16 +00:00
Jordan K. Hubbard 0631427a4f Sync from HEAD 1996-05-24 06:09:44 +00:00
Justin T. Gibbs d33c9001a1 Merge with HEAD:
Use the right patch file this time.
1996-05-23 15:14:40 +00:00
Gary Palmer a15d7d6877 Bring in change from rev. 1.8. Fix missing semicolon problem. 1996-05-23 02:03:19 +00:00
Paul Traina 5d1eca7c67 Remove seuid bit, it's not necessary. 1996-05-22 15:54:52 +00:00
Paul Traina 1eef9d2ac7 Call groff directly to avoid nroff shell script
Submitted by:	peter
1996-05-22 15:54:40 +00:00
Justin T. Gibbs 45667ce06d Merge with HEAD:
Setup ULTRAEN in SXFRCTL0 to match the syncrate we are using during the
call of ahc_scsirate.  Otherwise, the proper setting may not get set until
the next reconnection/selection.

The saved_queue used to re-order the QINFIFO during error recovery or
certain SCB paging operations should be an array of u_chars not ints.

saved_queue type error pointed out by: Noriyuki Soda <[email protected]>
1996-05-22 15:34:55 +00:00
Paul Traina eaa7cff9c8 Bring in changes from head 1996-05-22 05:44:12 +00:00
Dima Ruban b27bd16ec7 add missed "\n" when printing an address. 1996-05-22 00:27:36 +00:00
Dima Ruban f0fef65807 "board not responding" -> "board is not responding"
Reviewed by:	gibbs
1996-05-21 23:33:52 +00:00
Justin T. Gibbs ea0a451a2a Merge with HEAD.
Detect the lack of BIOS initialization by looking for all 1s as well as
all 0s.
1996-05-21 18:46:47 +00:00
Justin T. Gibbs 52ce739856 Merge with HEAD.
Dynamically Enable/Disable Ultra mode on a per target basis.  Remove
broken Ultra sync rate entries.  Remove an unneeded printf.  Turn a
panic into a printf since the sequencer will recover if a bad phase
is detected.
1996-05-21 18:46:05 +00:00
Justin T. Gibbs b2fa969f88 Merge with HEAD. Dynamically Enable/Disable Ultra mode on a per target
basis.
1996-05-21 18:43:51 +00:00
Bill Paul 1578fd8c47 Sync with HEAD: bring over fix for PR #1207 and take out one unneeded
instance of free(result).
1996-05-21 16:13:32 +00:00
Jordan K. Hubbard 4d368f5da3 Bring over verbose `make world' feature from -current. 1996-05-21 15:44:17 +00:00
Paul Traina 0bebdde676 Clean out all the FreeBSD 2.2 code to avoid confusion 1996-05-21 00:41:26 +00:00
Satoshi Asami d8ad5a9a3f Merge from HEAD: much nicer format of output from the "superblock
backups" section when you are dealing with a >5GB partition.
1996-05-21 00:35:04 +00:00
Jordan K. Hubbard a0c0dd6046 Invoke proper gzip 1996-05-20 12:52:08 +00:00
cvs2svn 60ef7d845f This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-05-19 19:26:22 +00:00
Nate Williams 5ab6eb11a0 Bring in changes from the HEAD.
Fixed *annoying* error where the following error is generated.

Rebuilding locate database:
stty: stdin isn't a terminal
TERM: Undefined variable.
1996-05-18 20:33:19 +00:00
Paul Traina 9592440293 Disable setuid permission for mount_union(1).
This covers the security problem descibed in SA-96:10 and Jeff says that
when we upgrade to Lite2 (which fixes this problem), mount no longer needs
to be setuid, so we'll never be going back.

Submitted by:   hsu
Reviewed by:    pst
1996-05-17 22:46:56 +00:00
Garrett Wollman 9a08fb3f11 Merge vfsloaD(3) bug fix from head. 1996-05-17 18:20:56 +00:00
Jordan K. Hubbard a59bf652cb Smash this into conformance again. I'm just trying to test a 2.1-snap
build right now and need this to work.  Talking with Peter now about
a better solution to my merging problems.
1996-05-16 13:42:58 +00:00
Jordan K. Hubbard 7635313216 Merge from HEAD. 1996-05-16 12:17:12 +00:00
Jordan K. Hubbard 6334fa7d69 Comment out BUILDNAME and CHROOTDIR. 1996-05-16 03:22:02 +00:00
Mike Pritchard 95d47841b3 Bring in changes from main brnach: allow the user to
specify a range of uids when using the -p option.
1996-05-15 19:22:08 +00:00
Joerg Wunsch 69809bc570 Merge from rev 1.84: mention Ernst Winter for the 2.88 MB floppy drive. 1996-05-15 17:35:24 +00:00
Nate Williams e48bc1519c Bring in changes from the HEAD.
- makedefs and hack.onames.h build
- Changed install to ${INSTALL}
1996-05-15 17:00:07 +00:00
Satoshi Asami 13691f5029 Merge from HEAD:
Add #ifndef/#endif around the "#define CCD_OFFSET 16", so you can override
it in your kernel config file.

Requested (in essence) by:      phk
1996-05-13 09:18:26 +00:00
Satoshi Asami a35d83dc32 Merge from HEAD:
Leave 16 lines in front of each component partition.  It's now safe to
use sd87a or sd237e even if they start at the beginning of the slice.

You can also use sd85c if you prefer, although you need to change the
type field in the disklabel to "4.2BSD".
1996-05-13 08:39:02 +00:00
Justin T. Gibbs e9751602f4 Merge with HEAD:
Fix a brain-o.  The scratch ram on aic78X0 controllers is initialized to 0x00
not 0xff after POST, so test for that when trying to determine if a BIOS
intialized the card for us.
1996-05-12 16:26:23 +00:00
Joerg Wunsch 7b1985dd1c Merge from rev 1.149:
Fix the "well-known retries bug" (a logic-o).
1996-05-12 12:38:56 +00:00
Justin T. Gibbs 761e54501e Free our device information in one error case in the driver probe. 1996-05-12 01:50:33 +00:00
Justin T. Gibbs 272462119b Merge with HEAD.
Add io_port to SCSICONF when
Add missing '+ io_port' to two outbs.
Add missing splx() in one error case during probes.
Remove unnecessary return and break.

Submitted by: Noriyuki Soda <[email protected]>
1996-05-12 01:47:13 +00:00
Joerg Wunsch 11d48d1b06 Merge the hack from rev 1.148:
Don't spin-loop forever waiting for a successful keyboard reset.
1996-05-11 23:18:22 +00:00
Justin T. Gibbs 694c80d174 Merge with HEAD. Add scheme for determining if the BIOS was installed or
not.  THis allows us to honor the settings made by the BIOS on chips that
don't have a SEEPROM attached.
1996-05-10 16:43:19 +00:00
Justin T. Gibbs 331e712d81 Merge with HEAD. Only reset the channel if the user asked us to. Add
support for probing channel B before channel A on twin channel adapters.
1996-05-10 16:42:17 +00:00
Justin T. Gibbs b46ed566c4 Merge with HEAD. Honor the SCSIID, bus off time, and primary channel selection
set by the ECU even if the BIOS is not installed.
1996-05-10 16:41:24 +00:00
Justin T. Gibbs a246afa542 Merge with HEAD. Add bit definitions for determining if we should reset
the scsi bus on probe, probe the B channel first, etc.
1996-05-10 16:39:43 +00:00
John Polstra a6bf85e2e9 Bring in clarification of FNM_PERIOD flag from main branch (1.2 -> 1.3). 1996-05-10 00:35:55 +00:00
Jordan K. Hubbard 250f2cb4d4 1. Merge latest sysinstall changes.
2. Nuke libdisk from here in preparation for a move to /usr/src/lib, as in
   -current.
3. Remove explicit references to libdisk in Makefile (which will probably
   be merged outright from the HEAD later, but this will do for now).
1996-05-09 13:34:21 +00:00
Jordan K. Hubbard 5db695f1b4 Add groff to build-tools target so we get eign installed.
Suggested by:	rgrimes
1996-05-09 06:15:02 +00:00
Jordan K. Hubbard 254d331a9b Remove locale directories properly before linking to them. 1996-05-09 05:58:59 +00:00
John Polstra 75cf23ab3f Merge in bugfix from main branch 1.1 -> 1.2. Fixes problem of "time -l"
dumping core with a floating point exception.
1996-05-08 15:33:10 +00:00
Bill Paul 1238eeed5a Bring in one line fix from HEAD: take out unneeded free(result)
from _havemaster().
1996-05-07 20:54:12 +00:00
Jordan K. Hubbard 3ce1dfc1a8 Merge from HEAD for a fuller, rounder examples directory. This also
drags in some of the new locale directories, but I don't see as they
hurt anything.
1996-05-07 20:15:49 +00:00
Nate Williams dc33a5c23e Bring in changes from the HEAD.
Format changes.
1996-05-07 20:13:11 +00:00
Nate Williams 0be361e833 Bring in changes from the HEAD:
Create share/examples/{meteor|sliplogin|slattach} in the mtree step now
that we're using the Makefile from -current which no longer creates
them.
1996-05-07 15:34:50 +00:00
Gary Palmer d2809bd279 Bring in a change from the main branch:
Record PID in /var/run/inetd.pid and document same.
1996-05-07 03:12:00 +00:00
Poul-Henning Kamp 6c96d2c008 Merge from head. 1996-05-06 20:32:01 +00:00
Peter Wemm d23848c2c4 Part of rev 1.38: just tweakable parameters, no sysctl (it's too painful
under 2.1)
1996-05-05 18:17:06 +00:00
Peter Wemm bcc4b23e86 Rev 1.39 of si.c: Interrupt/poll loop reorganise.
(This was actually tested under -stable first and ported to -current. :-)
1996-05-05 18:00:30 +00:00
Peter Wemm de1781a6cf Rev 1.2 from -current: avoid possible trademark 1996-05-05 17:57:44 +00:00
John Polstra cd74604cdd Update an offset field for i386 a.out core files, so that the program
name comes out right again.
1996-05-04 15:35:04 +00:00
Jordan K. Hubbard a4f38bd841 Bring this much nicer, far more functional Makefile over from -current. 1996-05-04 13:57:02 +00:00
Jordan K. Hubbard 135d378ec3 Update from HEAD 1996-05-04 11:18:32 +00:00
Satoshi Asami 02cb6e8506 Brought in from HEAD: Connect ccd man page and ccdconfig to parent
Makefiles.

Ok'd by:        peter
1996-05-04 08:39:27 +00:00
Paul Traina 8c1fca893f Bring in qcam driver 1996-05-04 07:18:45 +00:00
Paul Traina bfbc575b27 Bring qcam driver into -stable 1996-05-04 07:15:15 +00:00
Jordan K. Hubbard 9c09dd25d9 Sync with HEAD 1996-05-03 23:32:32 +00:00
Joerg Wunsch 812a0e0392 Update from HEAD: man page goes to section 8. 1996-05-03 18:11:02 +00:00
Satoshi Asami 8d17804411 Bring in ccd support from -current. Note that conf.c has two missing
entries in front of ccd (stl and qcam) and the ccd driver won't work
(wrong character special major) until someone fills the two slots.
1996-05-03 06:02:49 +00:00
Joerg Wunsch 861e44f806 Merge from HEAD:
Replace the dependency of `install' from `kernel' by a test for the
existance fo `kernel'.

Submitted by:   peter
1996-05-02 21:43:04 +00:00
Joerg Wunsch b7e44174a7 Add a man page. 1996-05-02 21:42:18 +00:00
Mark Murray d7390d0da0 Merge with HEAD. Patch docs fixes. 1996-05-02 17:04:59 +00:00
John Polstra c77d3aa154 Bring in changes from main branch.
Makefile 1.15 -> 1.18: Safer installation on a running system.
rtld.1   1.2  -> 1.3:  Add LD_PRELOAD, remove LD_NO_INTERN_SEARCH and
                       LD_NOSTD_PATH.
rtld.c   1.27 -> 1.33: Major speedups, code cleanups, LD_PRELOAD support.
1996-05-02 16:14:05 +00:00
John Polstra 3092beeb7c Bring in minor manual page fixups from main branch 1.7 -> 1.8. 1996-05-02 16:09:55 +00:00
John Polstra 658bcc5f0e Bring in small speedups from main branch 1.2 -> 1.3. 1996-05-02 16:08:53 +00:00
John Polstra b2f01a7ab6 Bring in changes from main branch.
ld.c    1.29 -> 1.31: open/fopen error checking, remove LD_NOSTD_LIB
ld.h    1.14 -> 1.16: prototypes for new functions in shlib.c
lib.c   1.15 -> 1.16: open/fopen error checking
shlib.c 1.13 -> 1.15: new functions for dynamic linker
1996-05-02 16:07:33 +00:00
Bill Paul f5dda3dad8 Sync with HEAD: simplify NIS marker keys 1996-05-02 16:03:30 +00:00
Bill Paul a2da4d8617 Sync with HEAD: encode NIS master.passwd entries in a simpler manner. 1996-05-02 16:02:42 +00:00
Bill Paul 759761b0c1 Merge with HEAD. Revamp the NIS netgroup inclusion/exclusion code. 1996-05-02 16:01:19 +00:00
David Greenman c99f1d30b8 Fixed two oversights pointed out to me by dyson:
1) remove unused assignment of "mpte" in pmap_remove()
2) retrofit new pmap_protect() from -current
1996-05-02 15:07:05 +00:00
David Greenman 0be7b5f27f Brought in fix from rev 1.21: initialize p_vmspace to 0 so that
pmap_growkernel doesn't kill us.
1996-05-02 12:09:04 +00:00
Mike Pritchard 078f9c1287 Bring in changes from main branch: various man page cleanups. 1996-05-01 23:21:43 +00:00
Mike Pritchard 21ce69b458 Bring in changes from main branch: some of my various man page cleanups
from the last few months
1996-05-01 22:44:14 +00:00
Mike Pritchard e3857bbe00 Bring in changes from main branch: fix a man page xref, an error
description and a typo.
1996-05-01 22:28:58 +00:00
Bruce Evans d1fbe51ac3 Brought in fix from rev 1.146: fixed a race that caused panics in kernel
printfs.
1996-05-01 04:01:29 +00:00
Joerg Wunsch 710a102eda Merge from HEAD:
Correct a typo.
1996-04-30 05:21:14 +00:00
Bill Paul 7ca69134ba Sync with HEAD. Closes a PR (rlogind dumps core when netgroups are
used in /etc/hosts.equiv and /etc/netgroup doesn't exist), fixes another
bogon that I discovered independently (_yp_innetgr flag not reset at
the right time) and small performance tweak.
1996-04-29 15:05:55 +00:00
Justin T. Gibbs 88a42dd7be Merge with HEAD. 1996-04-28 19:47:54 +00:00
Justin T. Gibbs 3bec1d3130 Merge with HEAD.
Update my copyright.
Allow SCB paging on aic7770 chips Rev E or greater.
1996-04-28 19:38:18 +00:00
Justin T. Gibbs d2d743d878 Merge with HEAD.
Allow 4 bit host adapter SCSI ids for wide cards.
Allow SCB Paging to be turned on.
Add support for the aic7850, aic7855, aic7860.
1996-04-28 19:37:09 +00:00
Justin T. Gibbs f91b4e7ccc Merge with HEAD.
Implement SCB PAGING.
Fix timeout handler bugs.
Fix bug in RESTART_SEQUENCER.
1996-04-28 19:34:00 +00:00
Justin T. Gibbs 3714b6c2cb Merge with HEAD.
Implement SCB PAGING. Fix some bugs in find_scb.
1996-04-28 19:33:05 +00:00
Joerg Wunsch ff17e8c3ab Merge from HEAD:
Add entry for xterm-color.
1996-04-28 18:21:51 +00:00
Joerg Wunsch 2e25e8604b Merge from HEAD:
Make `install' depend on `kernel'.
1996-04-27 07:31:40 +00:00
Satoshi Asami f2c9b7539a Backport this to 2.1-stable. 1996-04-27 06:57:54 +00:00
cvs2svn 9b7ce22cbf This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-04-26 21:35:12 +00:00
David Greenman fa70835c8d Fixes for a couple of minor bugs:
1) allocate map VM from the kernel_map, not the kmem_map.
2) update map hint properly when simplifying a map and remove unnecessary
   restriction on object->paging_in_progress.

   The above problems wouldn't have caused any panics, and it's unlikely
that there were any noticeable effects due to the bugs...but they're bugs
nonetheless.

Submitted by:	dyson
1996-04-26 04:12:18 +00:00
Paul Traina d50feef990 Bring in security fix from -current. 1996-04-24 20:20:00 +00:00
David Greenman a42f801c98 Retrofitted much of the substance of the changes in -current, minus some
of the optimizations. Most of this is a rewrite to get rid of the inline
assembly.  I've been seeing some very strange page table related panics
on wcarchive with the old code; the current thinking on this is that the
inline assembly in pmap_remove isn't getting along with the gcc code
generator for some reason (possibly due to a bad or missing register
constraint) and in any case the problems seem to disappear with the C
(new) version of this code.

Reviewed by:	dyson
1996-04-24 05:58:06 +00:00
Nate Williams 822aa5fd10 Bring in changes from the HEAD:
- This code adds some backwards compatability hacks for buggy APM BIOS
  implementations, and synchronizes us with the Nomad's latest code.

This code is based on the Nomad code, but heavily hacked by me.

Reviewed by:    phk
Submitted by:   the 'Nomads'
1996-04-23 19:59:52 +00:00
Nate Williams e7542a7cb4 Bring in changes from the HEAD:
Add the APM hooks into the generic pccard kernel files.  With this code
in place device drivers can now register power-down/power-up routines so
that we can use common routines to power-up/power-down cards for
insert/removals, suspend/resume, etc..

Reviewed by:    phk
Submitted by:   the 'Nomads'
1996-04-23 16:09:07 +00:00
Nate Williams 9e17b25c75 Bring in changes from the HEAD:
Updated the laptop 'kludge' file.  Hopefully this can go away soon.

Submitted by:   The 'Nomads'
1996-04-22 22:30:38 +00:00
Paul Traina 9fe08c001d Typo shmrsh -> smrsh 1996-04-22 20:31:16 +00:00
Nate Williams 3dd53e7ad4 Whoops, this got missed.
- Add commented out apm support to GENERIC.
1996-04-22 19:49:45 +00:00
Nate Williams e6d31664bc - add apm to the GENERIC kernel (commented out), and add some comments
regarding apm to LINT
- Disabled the statistics clock on machines which have an APM BIOS and
  have the options "APM_BROKEN_STATCLOCK" enabled (which is default
  in GENERIC now)
- move around some of the code in clock.c dealing with the rtc to make
  it more obvios the effects of disabling the statistics clock

Reviewed by:	bde
1996-04-22 19:48:26 +00:00
Paul Traina 84b89df2a7 Bring in change from HEAD.
Create /usr/libexec/sm.bin directory
1996-04-22 07:04:22 +00:00
Paul Traina 0d17f6a08b Bring in changes from head. Build and install smrsh. 1996-04-22 06:34:38 +00:00
Garrett Wollman 91be4928b6 Pull Mountain time fix over into -stable. 1996-04-19 15:17:04 +00:00
Nate Williams de5a5ed6a2 Bring in changes from the HEAD.
- Addition of my name to the APM Copyright
- More code cleanups
- #ifdef DEBUG debugging code
- More consistant printfs
- Better handling of the apm_int() assembly code (mostly from Bruce Evans)
- Save/restore the FS data segment.

Reviewed by:	bde
1996-04-18 19:26:19 +00:00
Nate Williams 45534a87df Added comment out psm0 (PS/2) mouse device entry so that users can find
it easier.
1996-04-18 04:04:21 +00:00
Joerg Wunsch e36212e172 Merge from HEAD:
Document the possible EPERM return.

Submitted by:   [email protected] (Warner Losh)
1996-04-17 20:53:24 +00:00
Joerg Wunsch 03bbd3019d Merge from HEAD:
Mention swapinfo as .Nm, so it will be referenced by mkwhatis.
1996-04-17 20:52:49 +00:00
Joerg Wunsch 6bb17fec07 Pull the fix from rev. 1.53 into -stable, after receiving some
confirmation from the users.
1996-04-15 17:14:12 +00:00
David Greenman 405b22bceb Brought in fixes from -current: rev 1.20 of tcp_output.c, and 1.16 of
tcp_timer.c...time-out connections in the CLOSING state better.
1996-04-15 03:49:53 +00:00
Bruce Evans 4a23cacbbc Brought in fifo fixes from revs 1.130 and 1.140: don't change the fifo
settings for the non-speed of 0.
1996-04-13 15:01:25 +00:00
Mark Murray dcb4a4aa2a Merge with HEAD: split libcrypt and libcipher man pages. 1996-04-13 08:24:41 +00:00
Mark Murray e8fbbfaace Dang. Forgot to remove this. 1996-04-13 08:14:19 +00:00
Mark Murray e24e5eb9dc Merge with HEAD: Split libcrypt and libcipher man pages. 1996-04-13 08:12:29 +00:00
Marc G. Fournier aadbae2e22 nfsd now defaults to UDP if no flags given on command line 1996-04-13 06:14:51 +00:00
Mike Pritchard 4d3056d654 Bring in typo fix from main branch.
Closes pr#1137.
1996-04-13 02:12:15 +00:00
Bruce Evans 83576757b0 Brought in change from rev.1.37: fix comparison of wrong field against
EXTPROC.
1996-04-12 07:45:07 +00:00
Dima Ruban 63cdbc0be9 Comment both examples because certain security reasons. We do have
it in -current, and I've no idea why we didn't have it in -stable.
1996-04-12 06:14:53 +00:00
David Greenman c3006c0250 Brought in change from rev 1.70: add spl0() to vmdaemon. 1996-04-12 00:43:08 +00:00
David Greenman 8f83184f65 Fix weird patching snafu that somehow snuck in - what should have been
"buflen" was "len" instead. I might have gotten my slcompress/pppcompress
patches mixed up (this being the only difference).
1996-04-11 21:01:38 +00:00
Mark Murray 33f3008eb8 Merge with HEAD an improved Index: priority fix. 1996-04-11 10:33:45 +00:00
David Greenman 50dae86932 Fix editing mistake in the last commit...sorry. 1996-04-11 08:22:31 +00:00
David Greenman 565be2e534 Brought in fix from rev 1.5: Fix panic: check header length before copying
header.
1996-04-11 08:18:05 +00:00
Marc G. Fournier a6acf5ce35 removed xrefs to icheck(8), ncheck(8) that don't exist 1996-04-11 07:52:20 +00:00
Marc G. Fournier 4fbd64882b added ports-www to supfile 1996-04-11 07:41:08 +00:00
David Greenman e356442fbe Bugfix based on rev 1.7 of slcompress.c in -current:
When cslip gets an uncompressed packet, it attempts to save off the TCP/IP
header for use in decompressing subsequant packets. If cslip gets garbage
(such as what happens when there is a port speed mismatch or modem line
noise), it will occasionally mistake the packet as a valid uncompressed
packet. When it tries to save off the header, it doesn't bother to check
for the validity of the header length and will happily clobber not only
the cslip data structure, but parts of other kernel memory that happens
to follow it...causing, ahem, undesired behavior.
1996-04-11 06:51:53 +00:00
Marc G. Fournier f81673587e fixed bug PR#bin/722 (1.9.9e confirms accuracy of fix) 1996-04-11 06:45:15 +00:00
Nate Williams c29a4d4f05 hp300 -> i386 1996-04-10 05:27:11 +00:00
Marc G. Fournier 889db30f68 Merged changes from -current 1996-04-09 21:23:11 +00:00
David Greenman 972c3fb099 From main branch: updates to my copyright. 1996-04-08 01:32:00 +00:00
David Greenman 82f26cf52a From current: updates to my copyright. 1996-04-08 01:28:10 +00:00
Nate Williams a7597ca26d Bring in changes from the HEAD.
- Changed #includes of <i386/include/foo.h> to #includes of <machine/foo.h>.
- pccard.c:
        #include <i386/include/clock.h> to get sysbeep() prototype
- pcic.c:
        add appropriate #ifdef around a prototype to quiet GCC because
        fn decl. is also #ifdef'd.
1996-04-07 18:13:21 +00:00
David Greenman 6178932cb0 Brought in fix from rev 1.24: Fix panic via splnet protection for interface
address changes.
1996-04-07 07:02:05 +00:00
Joerg Wunsch 6f6ec01338 Merge from HEAD: fix a typo. 1996-04-07 01:19:01 +00:00
Joerg Wunsch 742ade1078 Merge from HEAD: add rplay. 1996-04-07 01:17:26 +00:00
Mark Murray c5fad916cd Merge path corrections from HEAD. 1996-04-06 16:35:17 +00:00
Joerg Wunsch e677c0ac5b Merge from HEAD:
Don't immediately give up if a single read() or write() wasn't
sufficient to transfer all the data from stdin, or to stdout.  Working
on pipes causes further fragmentation.
1996-04-06 11:01:48 +00:00
Joerg Wunsch 02653efcc4 Merge all the changes to this man page from HEAD. 1996-04-06 09:56:25 +00:00
Joerg Wunsch f1d02b48c5 Merge from HEAD: Xref clocks(7). 1996-04-05 09:01:57 +00:00
Joerg Wunsch f8ea6612e7 Merge from HEAD: add clocks(7). 1996-04-05 09:00:29 +00:00
Rich Murphey 59079338c0 add Nakamichi MBR-7 CD changer to knowndevs.
Each platter is on a separate LUN, all sharing one scsi ID.
Reviewed by:	davidg, julian
Submitted by:	rich
Obtained from:  rich
1996-04-04 22:43:59 +00:00
Joerg Wunsch 05f66e3896 Merge from HEAD: mention amd. 1996-04-04 17:30:31 +00:00
Gary Palmer 22228e8b42 Import change from rev. 1.12: change what could be an error to be more
obviously a warning.
1996-04-03 23:39:26 +00:00
Poul-Henning Kamp 33b6b9adb1 Pickup CWARNFLAGS from /etc/make.conf 1996-04-03 12:10:28 +00:00
Poul-Henning Kamp 947be77799 Typo. sorry. 1996-04-03 05:51:55 +00:00
Peter Wemm 777b7ea81a Re-remove these undead files. These were supposed to go with the sendmail
update, but for some reason they got missed and are still around.
1996-04-03 03:22:36 +00:00
Peter Wemm 5013526046 Add the "8" flag to the smtp and esmtp mailers. This makes sendmail-8.7.5
behave like the older 8.6.12 that was in the tree when talking to
an older sendmail that does not speak esmtp or advertise the 8bitmime
capability.
1996-04-03 02:58:48 +00:00
Garrett Wollman 55aa3fde74 Change from main branch: spell Bogota correctly. 1996-04-02 16:23:32 +00:00
Poul-Henning Kamp 8f0b05c51d Align help text.
Add gateway command
1996-04-02 15:19:20 +00:00
Poul-Henning Kamp 8ad11607c3 Fix to ldconfig to handle shlibs with . in their actual names.
Taken from -current.
1996-04-02 13:10:30 +00:00
Poul-Henning Kamp 710fd6c9c9 Fix two cases where ia->ia_ifp could be NULL 1996-04-02 12:27:22 +00:00
Poul-Henning Kamp 09ee2f6cc5 A couple of bug-fixes.
Reviewed by:	phk
Submitted by:	"Frank ten Wolde" <[email protected]>
1996-04-02 11:43:53 +00:00
Joerg Wunsch ab4680874f Merge from HEAD:
Copy the file /etc/localtime, unless it's already a symnlink.
1996-04-01 08:22:22 +00:00
Justin T. Gibbs efeda8dfa0 Merge with HEAD.
Add SLISTs and STAILQs.
1996-04-01 00:27:36 +00:00
Justin T. Gibbs 9e2be01a3f Merge with HEAD.
Purge the SCSI system from its internal types int32, int16, int8, u_int32,
u_int16, u_int8.  Add support for the XS_SELTIMEOUT error code.
1996-04-01 00:26:17 +00:00
Justin T. Gibbs e5e4722527 Merge with HEAD.
Purge the SCSI system from its internal types int32, int16, int8, u_int32,
u_int16, u_int8.

aic7870.c
    Remove "scb walking" code.  Its replaced by the dynamic SCB discovery
    code in aic7xxx.c.  Fix setup of SCSICONF.

bt9xx.c
    spaces -> tabs

ncr.c
    Use XS_SELTIMEOUT error code for selection timeouts.
1996-04-01 00:25:28 +00:00
Justin T. Gibbs 9175817626 Merge with HEAD.
Purge the SCSI system from its internal types int32, int16, int8, u_int32,
u_int16, u_int8.

aic7xxx.c aic7xxx.h
    Change method for dealing with parity errors.  Support the aic7850.
    Fix the timeout code.  Remove bogus declaration of RESTART_SEQUENCER
    and UPDATE_SEQUENCER from aic7xxx.h.  Dynamically determine the number
    of SCBs.  This driver is identical to the one in -current except I've
    left parity error handling disabled until it is verified in -current.

bt.c
    Use varargs/stdarg in bt_cmd.  Use the XS_SELTIMEOUT error code for
    selection timeouts.
1996-04-01 00:23:17 +00:00
Justin T. Gibbs dfdefff7a8 Merge with HEAD.
Purge the SCSI system from its internal types int32, int16, int8, u_int32,
u_int16, u_int8.

aha1542.c
    Use stdarg/varargs in aha_cmd.  Use the XS_SELTIMEOUT error code for
    selection timeouts.  Staticize.

bt5xx-455.c
    Overide the unit number passed in in our isa_device structure with the
    current unit in bt_unit.  This kludge makes the unit numbers sane when
    there are PCI/EISA/ISA probes going on.

isa.c
    Regester the ISA bus as "ISA bus" instead of "ISA or EISA bus".

if_ep.c
    Many bug fixes from -current.  Split out the eisa probe into an
    eisaconf probe so it doesn't conflict with the aic7xxx driver.
1996-04-01 00:19:44 +00:00
Justin T. Gibbs 8fac4e2a11 Merge with HEAD.
Bring all changes to the eisaconf code from -current back to -stable.

aha1742.c
    Don't pass unit numbers around.  Use softcs instead.

3c5x9.c
    Eisaconf probe for the 3c579 and 3c509(in eisa configuration mode).
1996-04-01 00:14:16 +00:00
Justin T. Gibbs ac83763b6a Merge with HEAD. Create a true eisaconf probe for the ep driver
(prevents a conflict with the aic7xxx driver) which can be found
in i386/eisa/3c5x9.c
1996-04-01 00:12:07 +00:00
Justin T. Gibbs 0d20cbe8b0 Merge with HEAD. Fix comments, change handling of parity errors, and support
the aic7850.
1996-04-01 00:11:16 +00:00
Justin T. Gibbs a053b8f9ff Merge with HEAD. Add SLIST and STAILQ. 1996-04-01 00:10:21 +00:00
Justin T. Gibbs b6834b1b11 Merge with HEAD. Deal with new eisaconf data structures for I/O and memory
addresses.
1996-04-01 00:09:48 +00:00
Joerg Wunsch d332dc97d7 Merge from HEAD:
Make the `uk' device useable again.
1996-03-31 18:10:26 +00:00
Joerg Wunsch afb1529a4c Merge from HEAD:
Fetch dummy READY CHANGED condition interrupt stati.

Submitted by:	bde
1996-03-31 18:09:00 +00:00
Joerg Wunsch 9bac00f680 Merge from HEAD:
Fix a bogus message:
ed0: Invalid irq configuration (2) must be 2-5 for 3c503
                                ^          ^
1996-03-31 15:55:01 +00:00
Joerg Wunsch 5f3986bd29 Merge from HEAD:
Another round of fixes:

. Replace my NIH-suffering code to detect the number of lines on
  the terminal by the curses variable LINES.

. Fix the selection code for countries with more than one screenful
  of locations.  The very few people living in America/US/Pacific
  now won't be charged for Indiana any longer... :)

. Removed the gross code that copied over the timezone file to
  /etc/localtime, and create a symlink now instead.

I've also added tzsetup.8 while i was at it.
1996-03-31 09:59:43 +00:00
David Greenman 33c36ac217 Brought in change from rev 1.32:
Change v_usecount & v_writecount from a short to an int. As shorts they
can and will overflow on large machines - especially on machines with
filesystems with lots of files (like netnews servers), and the result
is a "free vnode isn't" panic or worse.
This fixes one of the causes of these panics that I've been experiancing on
wcarchive.
1996-03-29 06:41:19 +00:00
David Greenman e2a11da437 Revert to previous calculation of vm_object_cache_max: it simply works
better in most real-world cases. This comes after extensive analysis of
file caching behavior on wcarchive...
1996-03-29 06:30:18 +00:00
David Greenman ab3784b2b2 Fix declarations for nfs_sillyrename and nfs_lookitup. 1996-03-29 06:04:46 +00:00
Joerg Wunsch 5673341b32 Add bootparams.5.
Obtained from: NetBSD
1996-03-28 20:57:49 +00:00
Torsten Blum 1a6675a6d4 The etc.i386/fstab.* files have been nuked from -stable too, so don't try
to install them

Obtained from: -current
1996-03-27 22:42:05 +00:00
Poul-Henning Kamp 0daa877b30 Check the validity of ia->ia_ifp before dereferencing it. 1996-03-25 17:42:41 +00:00
Peter Wemm 60bf70a735 install freebsd.cf as sendmail.cf, not the freefall.cf file from sendmail.
freebsd.mc/cf is a generic configuration, while freefall.mc/cf is the
industrial-strength configuration that we actually use on freefall.

The freebsd mailing list mail-relays may find freefall.mc template a much
better starting point.
1996-03-25 07:32:05 +00:00
Peter Wemm 527339cc21 Use the libutil setproctitle(), and add a tiny bit of lint to to give a hint
about how to compile this sendmail on older releases. (see Makefile)
1996-03-25 07:23:13 +00:00
Peter Wemm 71e8712890 Update sendmail to -current version (8.7.5) to fix various known security
holes and a lot of bugs.

8.7.* has pretty much finished development, 8.8 is in alpha testing.

A seperate commit will follow to do a couple of 2.1.x specific things and
to turn off the infamous 8bitmime->quoted-printable conversion when talking
to older sendmails.

OK'ed by: davidg

(Note: a lot of tags were added behind the scenes for the new files)
1996-03-25 06:54:33 +00:00
Joerg Wunsch e783ed7fdd Rename private' into private_data' for libdisk data elements. 1996-03-24 19:05:46 +00:00
Joerg Wunsch f3297de099 Bring in from HEAD: make libdisk C++ aware. 1996-03-24 19:04:51 +00:00
Joerg Wunsch aae40a3d45 Merge all the fixes from HEAD. 1996-03-22 22:24:16 +00:00
Nate Williams 147205e2f4 Removed some completed tasks, plus add my name to the laptop taskes. 1996-03-22 21:27:44 +00:00
Stefan Eßer aba844261d Disable handshake timeout mechanism, which seems to have caused more
trouble than it solves ...
1996-03-22 20:22:15 +00:00
Nate Williams 3e150748a4 Bring in from the HEAD
revision 1.14
date: 1996/03/18 15:15:42;  author: jkh;  state: Exp;  lines: +1 -2
Fix bogus MLINKS line.
1996-03-22 20:02:41 +00:00
Nate Williams 0f8e618ca0 Removed unused files.
Obtained from: -current
1996-03-22 17:29:58 +00:00
Nate Williams bc5ab83e95 Bring in changes from the HEAD.
Bloat the -stable etc tree with unused PC-CARD support hooks to make
testing go easier.  This code won't do anything in -stable, but it
minimizes the # of patches the testers will have to make to their
systems.
1996-03-22 17:26:48 +00:00
Nate Williams 5e0ce1662b Open up /dev/apm instead of /dev/apm0 (which is no longer used). 1996-03-21 20:54:32 +00:00
Poul-Henning Kamp 8dddf92404 Remove KADB, we havn't had it ever I think.
Add support for NFS_SERVER and NFS_CLIENT options.
1996-03-21 20:30:15 +00:00
Poul-Henning Kamp e6bf4af0d4 Changes to split out NFS_SERVER and NFS_CLIENT, first bit. 1996-03-21 20:25:56 +00:00
Nate Williams 9338a1d5fa Bring in changes from the HEAD.
- Updated PC-CARD support from the BSD Nomads.

(I forgot to do this a long time ago)
1996-03-21 20:19:18 +00:00
Nate Williams ee61439e6e Bring in changes from the HEAD.
- Fixed apm device name
- Bring in PC-CARD device support
1996-03-21 19:52:18 +00:00
Joerg Wunsch e5adfa8d01 Fix from HEAD:
Cast char's to (u_char) before passing them to isctype() functions.
1996-03-19 21:22:10 +00:00
Nate Williams 0eaf38064e Bring in changes from the HEAD.
- Always enable interrupts before calling the APM idle/busy routines.
1996-03-19 17:06:22 +00:00
Nate Williams ab5bd2dbcf Bring in changes from the HEAD.
- Fix the APM 'idle/busy' functions.
- Call apm_int() instead of doing direct assembly calls.
- Added kernel compile time failure if more than one APM device is configured.
- Always enable interrupts before calling the APM idle/busy routines.
- Minor bugfixes from the recent PC-CARD release.
1996-03-19 17:05:51 +00:00
Garrett Wollman b664ae1640 Copy Portugal change over to -stable. 1996-03-19 16:35:06 +00:00
Bruce Evans 3df7a83b1c alarm -> ualarm (same as in HEAD). 1996-03-19 14:06:55 +00:00
Nate Williams db7e641fba "options APM" is no lnoger necessary for APM support. 1996-03-19 04:20:45 +00:00
Joerg Wunsch 68c5b58067 Bring in the fix from rev 1.4 of copyin.c (fix for infinite loop,
and for sparsely stored links).
1996-03-18 23:10:16 +00:00
Nate Williams fa41d9f3d8 Bring in changes from the HEAD.
- DEVCONF support
- Removed multiple device support
- Cleanup
1996-03-18 22:49:58 +00:00
cvs2svn 8759b73be4 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-03-18 21:42:32 +00:00
Nate Williams 68dd1de4ec Bring in relevant staticizing and cleanups from -current. 1996-03-18 21:24:32 +00:00
Joerg Wunsch 97fff7126e Add libdisk. 1996-03-18 18:59:08 +00:00
David Greenman 3260dd9eb3 Brought in fix from rev 1.15: fix coredump with passive and !logged in. 1996-03-18 11:10:16 +00:00
Joerg Wunsch d1a5153100 Bring over rev 1.13 from HEAD. 1996-03-17 23:25:31 +00:00
Joerg Wunsch 451aefc410 libdisk is now standard. 1996-03-17 23:17:19 +00:00
Poul-Henning Kamp b8a69800bd Always dsgone slices when we leave. 1996-03-17 20:33:50 +00:00
Peter Wemm e48769d944 Add NOPIC=yes, as per HEAD to avoid any chance of version mismatches
and the dire consequences.
1996-03-17 19:04:07 +00:00
Joerg Wunsch 41f127481f Merge man page changes from HEAD. 1996-03-17 09:51:18 +00:00
Joerg Wunsch dab936defb Merge in the fix from rev. 1.6:
Move the YP initialization earlier, so it's done before the evaluation
of -p/-s/-a related cruft.

Closes PR # misc/933 "chpass -s <shell>" does not work
1996-03-17 09:03:17 +00:00
Joerg Wunsch c0d19c3fc5 Merge from HEAD (fix of sign-extension bugs). 1996-03-17 09:01:44 +00:00
Mark Murray 50268f6c5d Merge with HEAD 1996-03-16 13:50:14 +00:00
Peter Wemm e35a8d4c12 Correct spelling of [email protected]'s email address 1996-03-15 07:52:28 +00:00
Bill Fenner c3426e7852 Bring in revision 1.30 from HEAD: copy IP header when queueing packet
so that it doesn't get stepped on, and clean up uninitialized pointer usage.
1996-03-14 17:13:50 +00:00
Paul Traina e42005ec2b Bring in fix for kern/1058 from head (along with LBL setsockopt operation) 1996-03-13 08:13:17 +00:00
Nate Williams 4277b40138 Add the '-s' flag to apm which returns the status of the APM support
(enable/disabled) now that the APM_GETINFO ioctl returns the necessary
information.  Also, print out the status along with the other
information as the default behavior.
1996-03-13 00:48:06 +00:00
Nate Williams 42c3976a26 Return the status of the APM support (enabled/disabled) with the
APM_GETINFO ioctl.
1996-03-13 00:42:56 +00:00
Nate Williams e693e9d5d3 Removed last bit of remaining APM_SLOWSTART code. 1996-03-12 21:53:57 +00:00
Nate Williams b1f160949b Bring in changes from the HEAD - Fixeup typos in comments. 1996-03-12 21:28:18 +00:00
Nate Williams dab9d1a479 Whoops, forgot to include 'apm.h' to pickup definition of NAPM. 1996-03-12 16:39:15 +00:00
Poul-Henning Kamp ccc54c07d2 Move "dialer" to gid==68. 1996-03-12 15:18:51 +00:00
Poul-Henning Kamp 4a91b20265 Move user & group "xten" from [ug]id == 100 to 67.
This is less likely to collide with site policies.
1996-03-12 15:17:29 +00:00
Poul-Henning Kamp dfe8fbad35 Remove ingress user and group. 1996-03-12 15:09:39 +00:00
Poul-Henning Kamp 713caf5e4e Treat all kinds of EOF as HUP.
Allow "anonymous" CHAP.
Log user, peer, auth-proto and time on exit.
1996-03-12 13:43:10 +00:00
Poul-Henning Kamp bc964384be A fix for malloc-abuse pulled from -current. 1996-03-12 13:14:09 +00:00
Nate Williams 4fa9f244f1 Always initialize master_softc. This avoids panics in the idle loop due
to unitialized data if the APM support is compiled in and the probe
fails.
1996-03-12 06:09:34 +00:00
Nate Williams b9e04c7ab1 Bring in changes from the HEAD. 1996-03-12 05:54:30 +00:00
Nate Williams c27b34a150 Removed undocumented and unused APM_SLOWSTART code. 1996-03-12 05:49:56 +00:00
Nate Williams 6876a5d303 Fix 'stutter' in manpage.
The man page for date(1) talks about "a a" maximum, not just
    "a" maximum.

Submitted by:   Simon Burge <[email protected]> via NetBSD GNATS
1996-03-12 05:32:12 +00:00
Nate Williams f2dc01af18 Do a APM BIOS dis-connect before attempting to do a 32-bit connection
just in case a connection already existed.

Also, a minor optimization in the code which determins if a APM BIOS exists.

Reviewed by:	phk

This is based on the APM-0.5 patch for Linux, but written entirely by me.
1996-03-11 21:55:18 +00:00
Nate Williams f708de2952 Removed conditionals on BDE_DEBUGGER around the loading for the IDT
since it's necessary for interrupt processing to be enabled.  Modify
comment to reflect this condition.

Submitted by:	bde
1996-03-11 21:42:52 +00:00
Stefan Eßer 55eea8e118 Apply diff from 1.65 to 1.66 from -current:
Negotiate WIDE first, then SYNC.
1996-03-11 19:59:46 +00:00
Joerg Wunsch 8c0e41ba61 Update from HEAD (err-->errx) 1996-03-11 11:04:23 +00:00
Nate Williams 4ca1e2ae08 Bring in most of Bruce's prot_to_real() changes into the APM BIOS
startup code.

Reviewed by:	bde
1996-03-11 06:45:43 +00:00
Nate Williams 74aecea13c Removed unused MACH_KERNEL code. 1996-03-11 06:39:52 +00:00
Bruce Evans 461f63736d Brought in fixes for restoring segment registers in prot_to_real()
from asm.S (rev 1.7) and table.c (rev 1.9).
1996-03-10 00:50:18 +00:00
Rodney W. Grimes febdd57e3b Bring in revision 1.21, timeout fix.
Reviewed by:	ache, [email protected] (Peter da Silva)
1996-03-09 19:03:37 +00:00
Poul-Henning Kamp 7f31ee452a phkmalloc strikes again.
Found by:	asami
1996-03-07 09:01:07 +00:00
Bruce Evans 72f64e5855 Brought in fix from rev 1.57: don't forget the (1 << intr) bit.
Submitted by:	gibbs
1996-03-06 23:20:42 +00:00
Rodney W. Grimes 1c6ef639b8 Fix the botched addition of the lpd knob, it was stuck in the middle
of the nfs_client knob.  Put it in the same place that -current has it.
1996-03-06 08:54:01 +00:00
Poul-Henning Kamp f5458faca1 Man page on Laplink TCP/IP.
Reviewed by:	phk
Submitted by:	[email protected]
1996-03-05 16:53:23 +00:00
Nate Williams bf672a0e91 Removed MACH_KERNEL ifdef's to bring the code closer in-line with
-current.  DEVFS and static changes have not yet been brought in.
1996-03-05 05:50:51 +00:00
Nate Williams 071112cdc7 Bring in changes from -current.
revision 1.4
date: 1996/01/30 22:53:13;  author: mpp;  state: Exp;  lines: +2 -2
Fix a bunch of spelling errors in the comment fields of
a bunch of system include files.
1996-03-05 04:53:49 +00:00
Peter Wemm bfeb800d4b Whack a #ifdef DEBUG around the printf about syslog being replaced by
a sigreturn,  There's up to 20 of these per second, and syslogd is
fsync()'ing the /var/log/messages file.. :-(

This is "expected behavior" for the level of code in -stable.
1996-03-04 19:48:38 +00:00
Peter Wemm 5844cf44f9 Make time(0) work.. Netscape's scroll bars dont work without it. 1996-03-04 19:46:16 +00:00
Poul-Henning Kamp fccfc0d56b Validate length before we trust it.
Submitted by:	[email protected]
1996-03-04 16:03:15 +00:00
David Greenman 622c62d193 Brought in fix from rev 1.18: Fix for u_map allocation failure panic. 1996-03-04 12:47:06 +00:00
David Greenman 7e2fc20e13 Brought in Path MTU Discovery implementation from main branch. This has
been running on wcarchive now for several weeks and makes a substantial
improvement in TCP performance.
1996-03-04 04:56:27 +00:00
Mark Murray 49866c35eb Bring the COAST/MIT random number fixes in. 1996-03-03 11:39:41 +00:00
Garrett Wollman 0ad8abc451 Bring new timezone files onto vendor branch. Kill Presidential Election
Time and solar goop.  (backward was not pulled over since it's not used
by default.)
1996-03-02 21:52:50 +00:00
Poul-Henning Kamp 00e8910460 Use libmd.
Add support for negotiating (more like "informing peer") about DNS.
Pull in a lot of cosmetic changes from -current to narrow the gap.
1996-03-01 19:35:00 +00:00
Jordan K. Hubbard 06c368b9be Merge from HEAD. 1996-03-01 18:28:57 +00:00
Nate Williams d6cfa55dce Fix for 3C589C model. This patch allows people with the new models to work and
doesn't break support for the older models (tested with my 3C589B).

Reviewed by:	Joshua Gahm <[email protected]>
Submitted by:	[email protected] (HOSOKAWA Tatsumi)
1996-02-28 16:22:43 +00:00
Peter Wemm 0b6890b5b3 Fix bootstrapping problem I introduced with stuff using install -C,
build/install xinstall before doing a 'beforeinstall' in includes.

allow "make -DNOCLEAN" to avoid the clean/cleandir/cleandist altogether

"tools" -> "build-tools" label to avoid the risk of "make tools" actually
seeing a stray "tools" directory when working with both -current and -stable

Obtained from: -current
1996-02-27 20:51:58 +00:00
Gary Palmer 911acace6f Add a missing space to a panic message:
panic: ahcintr: AWAITING_MSG for an SCB thatdoes not have a waiting message.
                                           ^^
1996-02-27 03:04:22 +00:00
Poul-Henning Kamp ee9219e78c Update to lates reality. 1996-02-26 15:27:00 +00:00
Poul-Henning Kamp ad9ff076ab Update ipfw code to same level as -current. 1996-02-26 15:23:39 +00:00
Poul-Henning Kamp 4fdaf3d047 Make getsockopt handle a link of mbufs, rather than just one. 1996-02-26 14:01:20 +00:00
Bruce Evans 046ed9b3c0 Don't trash %ebp.
Obtained from: NetBSD
1996-02-25 20:34:46 +00:00
Paul Traina 8c37640079 back out size==0 -> initialize change 1996-02-25 18:58:13 +00:00
Poul-Henning Kamp 4c20fd2619 Disable ipfw until I can test the new code on -stable. 1996-02-25 08:03:19 +00:00
Peter Wemm d2e32a284d Add libmp/libgmp to Makefile SUBDIR, after having tagged them into 2.1
from -current.  The ssh port is expecting these to be present.
1996-02-23 21:48:31 +00:00
Peter Wemm 9f2b801eaf Bring some of the updates to the si driver on -current onto -stable.
This is a selection of deltas from 1.10 through 1.16.  The rest are
mainly specific to 2.2-current.
1996-02-23 21:00:55 +00:00
Poul-Henning Kamp 5f3ba77460 Overloooked this one. 1996-02-23 20:10:52 +00:00
Paul Traina cac832a7d0 Bring in router discovery 1996-02-23 18:06:56 +00:00
Paul Traina d1c886c942 remove unneeded file 1996-02-23 18:05:21 +00:00
Paul Traina e2762d6b0c Bring in router discovery from -current 1996-02-23 18:04:35 +00:00
Paul Traina f683da8346 If a .db file is 0 length, initialize it properly as if it didn't exist.
Reviewed by:	wollman
1996-02-23 17:58:34 +00:00
Poul-Henning Kamp 6ddbd89391 Fix a one-line "Oops". 1996-02-23 15:49:06 +00:00
Poul-Henning Kamp a0601d56d8 Make ipfw handle the new kernel stuff. Put notice in man-page that it
doesn't match reality right now.
1996-02-23 15:28:39 +00:00
Poul-Henning Kamp 0440c9042c Big sweep over the IPFIREWALL and IPACCT code.
Close the ip-fragment hole.
Waste less memory.
Rewrite to contemporary more readable style.
Kill separate IPACCT facility, use "accept" rules in IPFIREWALL.
Filter incoming >and< outgoing packets.
Replace "policy" by sticky "deny all" rule.
Rules have numbers used for ordering and deletion.
Remove "rerorder" code entirely.
Count packet & bytecount matches for rules.
1996-02-23 15:26:13 +00:00
Peter Wemm 4c61726fea If the process has successfully done a setuid, rip away read/write to
the "ctl" file, otherwise it can be "attached" by the user while it has
priviliged information in core.  This is a small part of the fixes
in -current.
1996-02-23 15:12:02 +00:00
Peter Wemm 5dc837617d Add usr.sbin/quot to Makefile, which was brought in from -current 1996-02-23 14:59:32 +00:00
Peter Wemm a7ec89abd9 Add sbin/fsdb to Makefile, which was bought in from -current 1996-02-23 14:57:11 +00:00
Peter Wemm 496d2d7711 Bring across cvs from -current (which is at about version 1.6.3).
This has remote repository access via "rsh".
(eg: $CVSROOT = freefall.freebsd.org:/home/ncvs)

This is not quite the latest version, but it's a "known quantity".

There were a few covert tagging operations done as well to bring some
new files onto the -stable branch, these do not show here.
1996-02-23 12:18:52 +00:00
Peter Wemm 5e2044dcbe Bring rcs-5.7 from -current, since probably the most common use
of rcs on FreeBSD systems is to read the RCS/CVS repository, which is
maintained by rcs-5.7.  Also, later versions of CVS get advantages
from it.
1996-02-23 09:32:22 +00:00
Paul Traina 2667b626f8 Add in support for ICMP router advertisements 1996-02-23 01:36:18 +00:00
Peter Wemm 90dcf1f68d Update the diff tools to diffutils-2.7 as in -current. This is more
compatable with the more recent cvs releases with remote access.
1996-02-22 21:52:49 +00:00
Peter Wemm 5382a48184 Make nfsd use setproctitle from libutil now, because the original version
in it did not mix well with the BSD/OS support changes to libkvm.
1996-02-22 20:34:10 +00:00
Peter Wemm dfbd3bbe54 Add beforeinstall in libutil to the "includes" target, from -current 1996-02-22 20:31:49 +00:00
Peter Wemm 9baeaf22aa Bring ps -U username from -current. 1996-02-22 19:51:40 +00:00
Peter Wemm b3240ebab9 Bring the wollman/bde enhancements from -current. Namely the -C and -p
flags.  This is so that all the "cmp -s foo /usr/xyz/foo || install -c .."
gunk doesn't need to be re-added to a couple of things heading this way
from -current.
1996-02-22 19:43:36 +00:00
Peter Wemm 5ec0c12134 Add setproctitle to makefile (which was manually tagged onto the branch)
Bump shared lib version to libutil.so.2.1, as per -current
1996-02-22 19:36:20 +00:00
Peter Wemm 31cdc03245 Teach libkvm about the new layout of the user stack top caused by BSD/OS 2.x
executable support.  Also, the different contents of "struct ps_strings".
1996-02-22 19:25:43 +00:00
Peter Wemm 059f274907 Fill in the eproc's e_login field before it's passed out to the user via
sysctl.  This makes 'ps -ax -O login' work.
1996-02-22 19:22:30 +00:00
Peter Wemm b5e47c10aa Bring my BSD/OS 2.x executable support from -current over..
Note that the user-mode parts of this will follow shortly.
1996-02-22 19:20:48 +00:00
David Greenman 1f993b918b Retrofitted changes to add NO_SWAPPING option from -current (actually, it's
the other way around - the changes in -current were based on these).
The NO_SWAPPING option disables U-area paging (struct user & kernel stack)
and can help improve performance in some special circumstances where a
system has plenty of main memory and also has a lot of processes that are
often in short waits (< 1 minute) but wake up frequently. Such is the
case on a busy FTP archive like wcarchive. This option does not affect
generic VM system paging.
1996-02-22 11:10:09 +00:00
Nate Williams 4d1df654da Updated the PC-CARD support files to -current status.
Note, this stuff is completely disabled in /sys/i386/conf.c, so this
commit is made to make it easier to integrate the Nomad's PC-PCARD code.
1996-02-21 20:24:27 +00:00
Bill Fenner 95147e546f Make "can't allocate llinfo" error more useful. 1996-02-20 17:55:04 +00:00
Jordan K. Hubbard 5f7872dfbb Merge in broken `test -h' functionality from -current. This also
accounts for the weird behavioral differences that Satoshi and I saw
when testing out the new link testing changes to bsd.port.mk - he was
running -current and I -stable.
1996-02-20 09:48:53 +00:00
Justin T. Gibbs 7376c6dbfb Bring in changes from rev 1.7 - Return immediately from our interrupt handler
if there is no work to do.  Allows for shared interrupts.

Submitted by:	[email protected]
1996-02-18 07:49:25 +00:00
Justin T. Gibbs 82dad92749 Bring in changes from rev 1.7 - Add PCI ID for older Buslogic 946 cards.
Submitted by:	[email protected]
1996-02-18 07:48:38 +00:00
David Greenman 2facedcfc9 Brought in most of rev 1.8 (minus sysctl hook): fix for bad performance
for certain sized writes to a TCP socket.
1996-02-16 19:04:52 +00:00
Justin T. Gibbs 932411b898 Merge with HEAD. Allow I/O ports above the standard ISA ports so
PCI probes succeed.

Reviewed by:	Richard J Kuhns <[email protected]>
1996-02-16 17:56:22 +00:00
Justin T. Gibbs adf178c0cd Merge with HEAD. Properly scan for the I/O port in the PCI map registers.
Reviewed by:	Richard J Kuhns <[email protected]>
1996-02-16 17:55:55 +00:00
Jordan K. Hubbard cb3aa50926 Merge from HEAD. I've been testing this under -stable, actually. 1996-02-16 11:23:31 +00:00
Poul-Henning Kamp b9d29a1d36 Fix the bpf stuff I broke. Sorry. 1996-02-15 10:57:26 +00:00
Poul-Henning Kamp a8db986a29 Document that reordering of rules in no longer the rule. 1996-02-13 15:22:05 +00:00
Poul-Henning Kamp a304b29bdb Fix & Update printing of CPU features. 1996-02-13 10:33:12 +00:00
Mike Pritchard a4099e4a42 Brought in changes from main branch: added .Fx macro. 1996-02-12 19:33:23 +00:00
Justin T. Gibbs a55bac977b Correct PCI ID for the Buslogic 946. 1996-02-12 17:03:27 +00:00
Poul-Henning Kamp 9cf11e38b1 Make this compile again. Sorry. 1996-02-12 16:20:53 +00:00
Poul-Henning Kamp a3d9df55da Remove the stuff for auto cdevsw registration. Hopefully this compiles now. 1996-02-12 14:40:10 +00:00
Poul-Henning Kamp 1db463ae20 Add Crynwr mode to lpt.c. 1996-02-12 14:37:24 +00:00
Poul-Henning Kamp bf1848eb6a Release-note material:
The ipfw code will no longer sort the rules as default.
This means that access-lists may take a different meaning now.
>>> Please review your access lists <<<
1996-02-12 14:34:19 +00:00
Jordan K. Hubbard e99acd7ec9 Sync with HEAD 1996-02-11 09:05:56 +00:00
Jordan K. Hubbard 88a83c5400 Disable use of setproctitle() in 2.1 until it arrives.
Thanks to Rod Grimes for helping me get my cvs mess straightened out!
1996-02-11 07:17:00 +00:00
cvs2svn 5dc5f556f5 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-02-11 00:16:21 +00:00
Jordan K. Hubbard e19063fc8d Merge from HEAD 1996-02-08 11:56:19 +00:00
Paul Traina e19d5bdf54 Fix kern/627 in stable too - panic on open if syscons disabled 1996-02-08 06:32:45 +00:00
Peter Wemm 7d35de9b8e Mark Murray's "Trivial" change to support mixed MD5 and DES passwords.
If the salt starts with $1$, preserve it rather than overwriting it.
This allows a dual-personality crypt to sense which algorithm to use.

Some other cosmetic nits from HEAD too (null terminate a salt string in
#ifdef'ed out code).
1996-02-07 15:10:16 +00:00
Peter Wemm a26361f8a1 Add Mark Murray's md5 recognition ($1$) into the libdescrypt library.
This is a "trivial" change - if it is presented with a "$1$ salt (which
is illegal for the DES crypt), it switches to the md5 routine instead.
If it never sees a MD5 string, it behaves exactly as before.

This will be a lifesaver for people who install from cdrom, add users or
set passwords, then go and select the "secure" dist from the ftp server
and would have locked themselves out of their machine.

Some -Wall cleanups came along with it.
1996-02-07 15:01:46 +00:00
Jordan K. Hubbard 2c99009787 Add sup to Makefile now that I've tagged it into -stable 1996-02-06 23:30:58 +00:00
Bill Fenner d13807e7c8 Bring in ARP patch from rev 1.23. 1996-02-06 18:11:56 +00:00
Doug Rabson 300c1ef4f8 Brought in changes from main branch: Compile time warnings, various stability
fixes
1996-02-05 17:03:26 +00:00
David Greenman 630150f702 Brought in changes from revs 1.31 and 1.35: bugfix for T/TCP and window
scaling plus sync with cosmetic changes.
1996-02-04 12:46:20 +00:00
David Greenman 30a7cd5252 Brought in fix from rev 1.28: back out of rev 1.27 fix. 1996-02-02 18:31:59 +00:00
Mike Pritchard f185378bc1 Bring in changes from HEAD: mdoc macro package updated:
Added/updated some standards for the .St macro.
Updated the .Os macro to stop reporting "BSD Experimental", and
taught it about FreeBSD and our various versions.
1996-02-01 18:22:56 +00:00
Bill Fenner 955b1875aa Bring in changes from HEAD; install correct netmasks. 1996-02-01 17:45:43 +00:00
Joerg Wunsch 225c8750d5 Pull from HEAD:
. No need to leave out the Makefiles when installing the examples.
. Let find(1) do all the dirty work, instead of grepping.
1996-01-31 22:17:34 +00:00
Mike Pritchard f51bf8703c Bring in some of the spelling fixes from the main branch. 1996-01-31 14:32:32 +00:00
Mike Pritchard 5fad3c49d3 Bring in spelling fixes. 1996-01-31 13:55:15 +00:00
Mike Pritchard 0ae7e5c514 Bring in spelling fixes. 1996-01-31 13:42:47 +00:00
David Greenman 3c2c718001 Brought in change from rev 1.60: "out of space" -> "out of swap space" 1996-01-31 13:15:21 +00:00
David Greenman 631688cac6 Brought in sigexit()/killproc() bugfix, associated improvement to their
output, and new killproc usage from main branch.
1996-01-31 13:12:39 +00:00
David Greenman 2318b8dd04 Brought in change from rev 1.22: better message when mb_map is filled. 1996-01-31 12:06:48 +00:00
David Greenman 1ab09b46f5 Brought in changes from rev 1.5: Nov 8, 1995 version from the InterNIC. 1996-01-31 11:26:18 +00:00
David Greenman 84d501b6a9 Brought in 'fix' from rev 1.18: be sure not to send data and/or FIN in SYN
segments if not doing T/TCP.
1996-01-31 11:09:44 +00:00
David Greenman 9e5479e60f Brought in T/TCP fixes from main branch: retransmitted SYN segments could
have different CC options.
1996-01-31 11:02:05 +00:00
Nate Williams 2c778829f0 ctm(5) has been written, so remove comment about it not existing. :) 1996-01-31 02:01:56 +00:00
David Greenman 8cbdb9f935 Brought in change from rev 1.21: fix for aliases & all-ones netmasks. 1996-01-30 21:41:34 +00:00
Mike Pritchard b87f91f13d Bring in another batch of spelling fixes from the main branch. 1996-01-30 18:16:52 +00:00
Mike Pritchard e824e3a0f2 Bring in changes from HEAD:
Fix even more spelling errors in various man pages.
1996-01-30 16:47:06 +00:00
Mike Pritchard fdd7805ad4 Bring in changes from HEAD:
Fix a bunch of spelling errors in a bunch of man pages.
1996-01-30 14:03:50 +00:00
David Greenman a1f403f522 Brought in fix from rev 1.27 of swtch.s: properly adjust the saved stack
pointer to pop the return address.
1996-01-30 12:56:30 +00:00
David Greenman 35b06fb39e Retrofitted fix from rev 1.22: fix panic due to a computational overflow
with large sparse files.
1996-01-30 11:53:56 +00:00
David Greenman 2c5a630d11 Brought in changes from revs 1.12-1.14 of db_trace.c and related changes:
rewrite of DDB's stack traceback code to fix multiple bugs in it.
1996-01-30 09:19:27 +00:00
David Greenman f2ef6d5414 Brought in change from rev 1.61: increased tmpstk size to 8K. 1996-01-30 08:00:14 +00:00
Gary Palmer df71eff13a Changes from the HEAD branch: add options to load the linux LKM,
mrouted and disable lpd.
1996-01-29 14:47:03 +00:00
David Greenman f8f3569b3f Added fxp device driver. Sorted pci/ entries. 1996-01-29 13:03:14 +00:00
David Greenman c054e98bfe Changes to make this driver work properly with the 2.1 kernel. 1996-01-29 12:59:47 +00:00
David Greenman 5853f90f42 Brought in change from rev 1.61: increased vm_object_cache_max to handle
more small files.
1996-01-29 12:36:36 +00:00
David Greenman 6992d84356 Brought in change from rev 1.8: increase SOMAXCONN to 128. 1996-01-29 12:33:09 +00:00
David Greenman d48372ba27 Brought in changes from rev 1.26 of swtch.s and related changes: bugfix
for savectx() returning garbage in %eax for the child.
1996-01-29 12:31:01 +00:00
David Greenman ae265e49c4 Retrofitted change from rev 1.38: check for failure of vm_map_find when
forking.
1996-01-29 12:11:30 +00:00
David Greenman 8814eee6c9 Retrofitted changes from revs 1.18 and 1.19: fix bugs with malloc area
size calculations.
1996-01-29 11:20:25 +00:00
Bruce Evans 76c2440aa9 Brought in some critical changes from main branch:
part of rev.1.115:
Fix the tests for being a console by reverting to the ones that
were used before the the RB_SERIAL changes...

all of rev.1.123:
Removed builtin list of port addresses.  The address for sio3
conflicted with S3 graphics cards...
1996-01-29 08:17:15 +00:00
Bruce Evans ddf00a1f09 Brought in critical changes from main branch (one in rev.1.19):
Fixed setting of speed B0 - don't output a bogus divisor of 0 and a
random prescaler, just hang up.  This may fix hangup problems with
mgetty.
1996-01-29 04:44:13 +00:00
cvs2svn 3ec408c6eb This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-01-29 00:33:03 +00:00
Rodney W. Grimes bc9112fb36 Add missing ${DESTDIR} to afterinstall: target. (cvs update -j1.4 -j1.5) 1996-01-28 00:00:10 +00:00
Jordan K. Hubbard c591b1e93f Merge from HEAD, modulo a tweak to get it to compile under 2.1. This code
has also been tested under 2.1.
1996-01-21 20:18:38 +00:00
Jordan K. Hubbard 91d82037e6 Bring in various bug fixes from the HEAD. 1996-01-21 20:11:54 +00:00
Nate Williams 161a0e34c6 Added a comment just before the npx0 device.
# Mandatory, don't remove
1996-01-20 06:13:20 +00:00
Stefan Eßer ad8679e1c4 Improve PCI probe messages by printing the bus number.
Add missing newline to PCI to PCI bridge message.

Submitted by:   Matt Thomas <[email protected]>
1996-01-19 19:21:03 +00:00
Stefan Eßer 45b89a0d6c Fix bad typo: > was used instead of >> ...
Submitted by:   Matt Thomas <[email protected]>
1996-01-19 19:15:36 +00:00
David Greenman 9314eadda6 Retrofitted fix from rev 1.46: make sure mp is busy before doing a stat on
it.
1996-01-16 13:09:33 +00:00
Nate Williams eaba91132d The order of entries in the host file was reversed. It should have been
Internet address
official host name
aliases

Submitted by:   [email protected] (David Kelly)
1996-01-15 19:11:59 +00:00
Jordan K. Hubbard fbc488b5aa Merge change 1.57 from HEAD. Leave other diffs alone for now as it
appears that some infrastructural changes have occurred as well.
1996-01-15 06:14:12 +00:00
Jordan K. Hubbard 84e4066ec0 Merge from HEAD. 1996-01-14 11:45:47 +00:00
David Greenman 1b451fbf5c Brought in changes from revs 1.14-1.15: fix for multicasting on point-to-
point interfaces.
1996-01-13 10:49:45 +00:00
David Greenman 889e6518dc Retrofitted my double-fault handler changes from -current. These are too
important to leave out of the next release.
1996-01-13 10:46:51 +00:00
Justin T. Gibbs 0ba45696f3 Merge with HEAD:
Take a different approach to the SPIORDY race condition.  Simply clear
SPIORDY just before we ack on the bus so that there is no chance to
see SPIORDY for the same byte twice.

Make some small modifications so that the Linux aic7xxx driver can use
our sequencer and register definition files verbatum.
1996-01-11 06:20:57 +00:00
Justin T. Gibbs a6f4abbee5 remove reference to i386/isa/aha1742.c. This driver has moved into
i386/eisa.
1996-01-11 05:12:19 +00:00
Joerg Wunsch f90008a627 Move the -r flag from HEAD here: it allows to export regular files,
which seems to be required for diskless Suns in order to mount their
swap space.
1996-01-11 00:12:45 +00:00
Jordan K. Hubbard 6b419c555d Merge from HEAD. 1996-01-10 13:59:24 +00:00
Joerg Wunsch 182688c219 Merge from HEAD: be more verbose about the floppy formats, and
mention the sony650 MOD format.
1996-01-09 21:47:48 +00:00
Justin T. Gibbs f36f57f79d Merge with HEAD. Don't set DSCommand. 1996-01-09 16:19:27 +00:00
Justin T. Gibbs a23c7a796b Merge with HEAD. Change inb_first to not poll SPIORDY. 1996-01-09 16:19:04 +00:00
Jordan K. Hubbard 3de47b52bc Merge strength-reduction fix from HEAD.
Submitted by:	Richard Henderson <[email protected]>
1996-01-08 03:32:29 +00:00
Justin T. Gibbs 201ac2aba0 Merge with HEAD.
Add adapter_softc entry to the scsi_link structure.
1996-01-08 02:54:46 +00:00
Justin T. Gibbs de0c965f3a Merge with HEAD.
Fix a printf (was missing an arg).

Write the new value of CSIZE_LATTIME back into configuration space.
Turn CACHETHEN on in DSCommand.
1996-01-08 02:54:20 +00:00
Justin T. Gibbs c4278ecd9a Merge with HEAD.
Use the adapter_softc field in the scsi_link structure instead of an array
of per unit data.
1996-01-08 02:53:19 +00:00
Justin T. Gibbs 61be425234 Merge with HEAD.
aic7xxx.seq:
Add additional checking to the message out phase.

aic7xxx_reg.h:
Add definition of the DSCommand register.
1996-01-08 02:52:24 +00:00
Joerg Wunsch 73483c5efc Merge in the BUGS section from HEAD. 1996-01-07 15:50:55 +00:00
David Greenman 080bac6d9d Brought in fixes from revs 1.80, 1.82 and 1.83, with slight retrofitting
for 2.1: fix for credentials leak and negative page index bug.
1996-01-07 00:03:00 +00:00
Nate Williams 65d95e784c Added the sliplogin examples files. 1996-01-06 07:34:36 +00:00
Nate Williams 594d476838 Bring in changes from the HEAD.
-Added support for the slip.hosts options 'normal', 'compress', 'noicmp',
 and 'autocmp'.
-Additionly parse /etc/sliphome/slip.slparms* to set keepalive,
 outfill and slunit.
-Make it more POSIXed.
-Describe undocumented stuff.
1996-01-06 07:19:55 +00:00
Nate Williams e945181967 Updated man-page from head. 1996-01-06 07:09:54 +00:00
Justin T. Gibbs 75336e14c1 Merge with HEAD. Check for REJECT_MSG instead of MSG_REJECT in intstat. 1996-01-05 16:19:51 +00:00
Justin T. Gibbs 328503dec0 Merge with HEAD. Revert to safer inb* routines. 1996-01-05 16:19:07 +00:00
Paul Traina 31774e01db Fold in support for QIC-3080 format tape drives from -current. 1996-01-05 06:19:36 +00:00
Jordan K. Hubbard 364f634e45 Merge changes from HEAD 1996-01-05 04:04:46 +00:00
Justin T. Gibbs 87e6b43c79 Merge with HEAD. Null terminate execl's arg list. For some reason this
didn't cause a problem on my -current system. :(

Submitted by:	Ron Lenk <[email protected]>
1996-01-05 01:52:24 +00:00
cvs2svn ceb57be184 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-01-04 16:10:43 +00:00
Justin T. Gibbs dfcd331efa Merge with HEAD. Much improved aic7xxx driver. 1996-01-04 08:55:14 +00:00
Justin T. Gibbs 4fb36a5b96 Merge with HEAD. Much improved aic7xxx driver and reorganized bt driver. 1996-01-04 08:54:55 +00:00
Justin T. Gibbs 1dfc49cb89 Remove old eisaconf conflict detection code from the isa* files. Remove
old ISA versions of eisaconf drivers.
1996-01-04 08:54:13 +00:00
Justin T. Gibbs b528a54887 Add esiaconf support from HEAD. 1996-01-04 08:53:03 +00:00
Justin T. Gibbs e23753eb90 Merge with HEAD. Probe the PCI and Eisa busses before the ISA bus and
enable interrupts before any bus configuration is performed.
1996-01-04 08:52:42 +00:00
Justin T. Gibbs 8375fc8247 Merge with HEAD. Add eisaconf support and update all eisaconf based drivers
(ahb, ahc, bt).
1996-01-04 08:51:31 +00:00
Justin T. Gibbs 6f69ddf5a7 Merge with HEAD. New and improved aic7xxx driver. 1996-01-04 08:50:01 +00:00
Justin T. Gibbs 7937f0334c Add pci/bt9xx.c from HEAD 1996-01-04 08:49:25 +00:00
Justin T. Gibbs 55b0199189 Add eisaconf support from HEAD. 1996-01-04 08:48:48 +00:00
David Greenman c04800cf04 Brought in changes from revs 1.76, 1.77, 1.78: disabled sleep in ttyflush
that causes a panic, adjusted the output queue reserved/max counts.
1996-01-03 17:59:21 +00:00
David Greenman dc8de77c8a Brought in changes from rev 1.89: fixed two cases of "=" that should have
been "==", updated copyright, other minor changes.
1996-01-03 17:51:32 +00:00
David Greenman 9de403ff4c Brought in part of rev 1.42: add SWI_NET_MASK to SWI_TTY_MASK. 1996-01-03 17:12:01 +00:00
Peter Wemm 41b96f63b7 Backport the reserved port checking for mountd requests from the NFSv3 code
in -current.  The existing code was not very useful... :-(
1996-01-03 14:14:49 +00:00
Peter Wemm 3586b69e5a Copy in change from rev 1.4 to fix the infamous bug which allows
users to avoid the ``secure mode''...
1996-01-03 09:53:43 +00:00
Jordan K. Hubbard ac8e73ce3d Bring in changes from HEAD. 1996-01-02 06:42:46 +00:00
Joerg Wunsch 5cfd2d35d1 Add io.4 to the 2.1.X branch.
Reviewed by:	peter
1996-01-01 18:04:55 +00:00
cvs2svn 9963660cb5 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1996-01-01 11:01:14 +00:00
Joerg Wunsch 15a04a0c6d Sigh, this was long overdue... Pull the fix from rev 1.126 into
the 2.1.X branch: only allow EUID==0 processes to gain IO privs.
1995-12-31 09:29:52 +00:00
Joerg Wunsch 0df1c0c43b Merge from HEAD:
. fix the bug that caused ``tr a-z m-za-l'' to fail
. use setlocale() while i've been here
1995-12-30 18:17:56 +00:00
Joerg Wunsch ce2437ec6e Update man page from HEAD. 1995-12-30 13:53:17 +00:00
Gary Palmer e630fa7528 Bring in fixes from the head 1995-12-29 12:26:00 +00:00
Joerg Wunsch b85d7489de >Number: 917
>Category:       bin
>Synopsis:       -s option in jot is broken

Submitted by:	[email protected] (Edward Wang)
1995-12-29 12:20:24 +00:00
Joerg Wunsch a1d7610881 I report a problem about shmget(). (I'm using FreeBSD-2.1.0R)
int shmget(key_t key, int size, int shmflg);

If the 'key' has already existed in the system and set 'shmflg'
as '(IPC_CREAT|IPC_EXC)', then shmget() must return the error 'EEXIST'.

Submitted by:   [email protected] (Mihoko Tanaka)
1995-12-26 16:05:08 +00:00
Joerg Wunsch cd37f582f8 Add /tftpboot as an argument to the commented-out example for tftp, so
people don't compromise their system by blindly un-commenting the
entry.
1995-12-23 17:12:49 +00:00
Joerg Wunsch 9bb2ad4cd1 Bring the fixes from rev 1.4 in both files into 2.1.X: declare
SHM_{R,W,X} and SEM_{R,W,X}.
1995-12-23 17:09:49 +00:00
Joerg Wunsch e3d10a0b91 Bring the AF_UNIX fix from rev. 1.9 into the 2.1.X branch. 1995-12-23 17:08:24 +00:00
Jordan K. Hubbard 45ca3bdf51 Also merge from HEAD, just to be consistent. 1995-12-23 15:24:52 +00:00
Jordan K. Hubbard 01cc4b256f Merge from HEAD. I need this stuff for sysinstall. 1995-12-23 15:22:10 +00:00
Peter Wemm b7d2bb0d1e Add the subdirectories to share/examples/cvs from HEAD so that
cvs from -current can be compiled/installed on a -stable system
without too much pain.
1995-12-22 23:37:50 +00:00
Peter Wemm b2c36e6c6e One line change to each of these from HEAD..
Add a name to the context structures for compatability
with the CVS in -current.  Basically,
typedef struct { ... } MDx_CTX; becomes
typedef struct MDxContext { ... } MDx_CTX;
1995-12-22 22:09:31 +00:00
David Greenman 7d61a9a29e Brought in change from rev 1.54: fix bug with using lots of CDROM drives. 1995-12-21 12:01:50 +00:00
Nate Williams f708f5f5b8 Bring in the changes from ver 1.11 to allow this to compile with C++.
---
date: 1995/08/26 20:46:43;  author: bde;  state: Exp;  lines: +2 -4
Don't declare a nonexistent function.

Fix formatting of recent changes.
---
1995-12-20 17:29:53 +00:00
Nate Williams f61f06eff2 C++ doesn't allow implicit conversions from 'void *' to other pointer
types.   Explicitly cast the pointer to the correct type.
1995-12-20 17:06:35 +00:00
Jordan K. Hubbard be20b9f22e Remove 2 US mirrors which have either died or gone to reduced user logins. 1995-12-17 07:45:36 +00:00
Joerg Wunsch d3d1f45931 Move over from 2.2-current: allow for ``su -c''. 1995-12-11 23:06:12 +00:00
Joerg Wunsch e91d611053 Move all known fixes from 2.2-current into the 2.1 branch, with the
minor exception of rev 1.10 of parser.c (where i'd like to see if any
ill side-effects might show up).
1995-12-11 23:05:26 +00:00
Joerg Wunsch 0ed4f23096 Move over some /bin/sh-specific cruft to there.
(Fix brought over from 2.2-current.)
1995-12-11 23:01:41 +00:00
Joerg Wunsch 4dd1af5a97 Move over the fix from 2.2-current for nice(1) dumping core when faced
with no command arguments at all.
1995-12-11 23:00:36 +00:00
Joerg Wunsch 5ed3d9fa9e Finally fix expr in all respects, so it's now handling all numeric and
string cases correctly.

Moved over from 2.2-current.
1995-12-11 22:59:22 +00:00
Jordan K. Hubbard 5b79a0d6a8 Fix a subtle bug that *may* be responsible for the clobber-disk-zero bug.
Also try to see if a device can still be `detected' by checking errno == EACCES
even if the open fails (idea from Bruce).
1995-12-11 16:30:25 +00:00
David Greenman cd6c9c2250 Brought in change from rev 1.6: initialize some variables that need to be
initialized. msgs would do some strange things if the bounds file didn't
exist or contained garbage.
1995-12-06 07:38:35 +00:00
Jordan K. Hubbard 3c14a01aef Make SLIP work properly again.
Submitted by:	Dave Rivers <no valid email addr>
1995-12-05 00:24:00 +00:00
Jordan K. Hubbard d15a8445ee Merge 1.12 from HEAD. 1995-12-04 02:29:40 +00:00
Jordan K. Hubbard e52325f993 mountdbtab -> mountdtab; whoops!
A small extra diagnostic for loading packages.
1995-12-04 02:22:02 +00:00
Satoshi Asami 3ffb95b544 Update Japanese mirror list.
Requested by:	jkh
1995-11-21 10:18:18 +00:00
Jordan K. Hubbard c109e50d44 Update Polish site entry. 1995-11-19 19:52:59 +00:00
Jordan K. Hubbard e2152a520a Merge from HEAD. 1995-11-19 19:52:21 +00:00
Jordan K. Hubbard 2651d5ab35 Merge from HEAD. 1995-11-19 19:41:00 +00:00
Jordan K. Hubbard 51f2fae106 Merge from HEAD. 1995-11-19 19:39:29 +00:00
Jordan K. Hubbard 529168c26d Correct URL for Hong Kong site. 1995-11-19 19:37:38 +00:00
Jordan K. Hubbard 3d2fd688ef Put myname.my.domain by default on the loopback, resulting in less confusing
startup behavior for newly installed hosts not on a network.
1995-11-19 17:53:28 +00:00
Jordan K. Hubbard c21c63f75f Fix bug where /stand/sysinstall wouldn't work post-install with CDROM. 1995-11-19 13:48:32 +00:00
David Greenman 648ccc899d From rev 1.14:
Disallow setgroups() with ngroups=0. There should always be one group (the
effective gid). This works around a panic ("nfsreq nogrps") that occurs
with NFS clients. This change is too late for 2.1-release.

Obtained from:  4.4BSD-Lite2
1995-11-19 01:52:43 +00:00
David Greenman bdf5d34f80 Add missing splx(s) - from rev 1.70. Note that this change is too late for
2.1-release. The effects of the missing splx would be seen on NFS clients
with soft or intr mounted filesystems and then only after a timeout had
occurred.

Submitted by:	dyson
1995-11-19 01:42:34 +00:00
Jordan K. Hubbard 4e2d078f4f *really* shut this thing up. Debugging output was permanantly stapled
to "on". Fix that.
1995-11-18 10:02:10 +00:00
Jordan K. Hubbard 0727c66b4d Correct small typo. 1995-11-17 23:53:37 +00:00
Jordan K. Hubbard a226da7d5b Ack. How embarassing. The PCNFSD and GATED config items were essentially
no-ops up to now, and the samba configuration didn't bother to add the package
either.  Whoops!
1995-11-17 23:49:45 +00:00
Jordan K. Hubbard a9195c0c7b Shut this up for 2.1.1. 1995-11-17 23:04:04 +00:00
Jordan K. Hubbard b7da3fcd3f Remove tabs, argh! 1995-11-17 13:34:54 +00:00
Jordan K. Hubbard fd174d51e7 Fix a bogus paragraph fill. 1995-11-16 11:48:37 +00:00
Jordan K. Hubbard 72f3d3214f Whoops! Add the section 3.1 that's been missing all this time (weak,
but better than nothing).
1995-11-16 10:58:21 +00:00
Jordan K. Hubbard f07a676728 Whoops! Correct munge. 1995-11-16 08:35:16 +00:00
Jordan K. Hubbard 2e6c99e032 Set a reasonable geometry in the face of failure. 1995-11-16 08:10:14 +00:00
Gary Palmer b151402efe Merge change in from revision 1.8 1995-11-16 02:03:30 +00:00
Jordan K. Hubbard ab687ca146 Pull this in from the HEAD 1995-11-16 01:59:13 +00:00
Jordan K. Hubbard 4c3154d9fd Go through this with a chainsaw. I wrote this? Ye gods! 1995-11-15 10:28:14 +00:00
Jordan K. Hubbard 2489f72add Add Peter Wemm to core team.
Remove comment about IDE CDROMs
1995-11-15 08:32:34 +00:00
Jordan K. Hubbard 9180cf8eff Merge from HEAD 1995-11-15 07:58:12 +00:00
Jordan K. Hubbard 3841bc2679 Update from HEAD. 1995-11-15 07:51:46 +00:00
David Greenman 26f0d64ac2 Brought in changes from rev 1.85: fix broken probe for 8216/8416 cards. 1995-11-15 07:46:35 +00:00
Jordan K. Hubbard a0ca111e06 ft0 -> rft0 1995-11-15 07:17:18 +00:00
Jordan K. Hubbard 86f28c6f97 Whoops, ft0 -> rtf0 here too. 1995-11-15 06:59:52 +00:00
Jordan K. Hubbard d510f28b3e ft0 -> rft0 1995-11-15 06:57:02 +00:00
Jordan K. Hubbard 88055b7a9d Significant tweaks to this document. 1995-11-14 11:17:56 +00:00
Jordan K. Hubbard b1ccf6c634 Merge from HEAD. 1995-11-13 05:40:23 +00:00
Jordan K. Hubbard 774a3b188f Don't say that /cdrom is explicitly mounted anymore because it's
not - we've gone to the noauto flag.
1995-11-12 21:16:48 +00:00
Jordan K. Hubbard af78325b4e BUILDNAME=2.1.0-RELEASE 1995-11-12 20:48:43 +00:00
Jordan K. Hubbard dae66c317b Some additional cosmetic tweaks. 1995-11-12 11:12:25 +00:00
David Greenman 6a7f78e817 Brought in fixes from main branch: check properly for read-onlyness, and
provide correct error returns when attempting to set the file attributes.
1995-11-12 10:40:36 +00:00
Jordan K. Hubbard a90694e9ba Fixup some missing parameters (non-fatal). 1995-11-12 10:35:58 +00:00
David Greenman 6022327014 Brought in change from rev 1.26: moved vm_map_lock call to close window. 1995-11-12 08:59:56 +00:00
Jordan K. Hubbard 97a5d4a184 Make editor start on right screen for anonFTP setup.
Don't clobber mediaDevice if post-configuring networking from CDROM.
1995-11-12 07:27:58 +00:00
Jordan K. Hubbard e978caf32b Argh. Fix missing quote. 1995-11-11 12:01:46 +00:00
Jordan K. Hubbard 746adcb120 Make things a little easier to use based on my experiences with
the first 2.1 CDROM installation.
1995-11-11 11:44:29 +00:00
Jordan K. Hubbard 09b93d4292 Clean up a prompt that wrapped. 1995-11-11 11:20:45 +00:00
David Greenman b76c2888ed Brought in change from rev 1.17: set B_BUSY to avoid panic. 1995-11-10 15:08:05 +00:00
Jordan K. Hubbard 13c290d4df Bump RELDATE 1995-11-10 12:03:20 +00:00
Jordan K. Hubbard 59b6334caf Every time I swear I'll never touch this again, I end up touching it.
Bleah.  Now the chained dependency adds work from FTP sites.  This was
really totally broken before, despite my claims to the contrary.  Sorry
folks.  I guess nobody uses the pkg_add ftp://... feature or somebody
would have reported it by now! :-)
1995-11-10 06:44:53 +00:00
Jordan K. Hubbard f202e841d1 Make gusmax use the faster DSP. Also collapse some of the
`rm foo; ln -s bar foo' entries into the simpler `ln -fs bar foo'
1995-11-10 04:42:37 +00:00
Jordan K. Hubbard 028dd5fc32 Add:
cd ${.CURDIR}/eBones/lib/libkadm &&     ${MAKE} beforeinstall

To includes target.  Move the other one inside the eBones .ifdef too; must
have been really sleepy before!

[Mark, you really don't need a diff for this - it's pretty obvious! :-)]
1995-11-10 03:06:55 +00:00
Jordan K. Hubbard 0273ba731e Sigh. I didn't test it enough. A change to the beforeinstall target (same
idea as the other one) was necessary here too.
1995-11-10 03:03:16 +00:00
Jordan K. Hubbard 0db4b78cbc Add short-hand entries for gusmax, pas16 and sb sound cards.
Submitted by:	lowe
1995-11-09 15:53:38 +00:00
David Greenman bd83fced50 Brought in changes from rev 1.3: bugfix for >17 character names. 1995-11-09 11:06:44 +00:00
Jordan K. Hubbard ec991c1c74 Bring in change from the HEAD. 1995-11-09 10:57:04 +00:00
Jordan K. Hubbard 82215a9a23 Install krb_err.h properly in beforeinstall target. 1995-11-09 09:54:14 +00:00
Jordan K. Hubbard a191b7a504 o Now that Coranth has made the anonymous FTP configuration not use adduser,
bring it back.
o Simplify the vsystem() call by ripping out a good deal of the extraneous grot.
1995-11-09 02:32:05 +00:00
Jordan K. Hubbard 39ec8ac4c4 o Document dangers of `W' options in help screens also. 1995-11-08 07:13:10 +00:00
Jordan K. Hubbard 1280ea8c74 o Use correct device for Wangtek tapes.
o Caution against use of `W' options in label/partition screens (dangerous!)
o Make various types of debugging dreck conditionalize on DEBUG flag
o Make a fake /var/db/mountdbtab file so new system doesn't complain
o Apply uniform permissions to entire /usr/X11R6 tree.
o Set erase character to ^H for all interactive commands.
o Don't panic if user exits upgrade shell, reboot.
o Document dangers of `W' options in help screens also.
1995-11-08 07:09:36 +00:00
John Fieber c248536a70 Fix up some URLs. 1995-11-07 18:24:47 +00:00
Jordan K. Hubbard 2f357b75ae 1. If kerberos is selected but not DES, auto-select DES.
2. Fix a stupid bug that resulted in strange (but usable) looking entries in
   /etc/hosts.
3. Make sure /usr/X11R6/bin is executable by all (I really need an mtree
   script to run for the entire /usr/X11R6 hierarchy since cpio is scrambling
   the perms for some reason and I suspect that this is only a partial fix!)
1995-11-07 10:45:50 +00:00
David Greenman 0e86c6f975 Brought in fixes from rev 1.24: fix data corruption with wide drives. 1995-11-07 07:01:50 +00:00
Jordan K. Hubbard f820b338f1 Some general fixes for the package menu (still need to fix the "more than 10
items checked bug though).  Now allow user to specify a PKG_TMPDIR.  If
not selected, we try to make one.
1995-11-06 12:49:27 +00:00
Jordan K. Hubbard 3fcb396334 Correct some *serious* brain-o's in the upgrade procedure. Thanks for
your patience, Julian!
1995-11-06 08:28:12 +00:00
Jordan K. Hubbard f55af8e7e2 Slight correction to previous commit - it just occurred to me that
putting up a network device menu in multi-user mode is probably
superfluous.
1995-11-06 07:28:51 +00:00
Jordan K. Hubbard f303543a44 Add IDE CDROM device to default devs.
Fix a bug where sysinstall would crash when run post-config time to
load something over the network.
1995-11-06 07:27:31 +00:00
Jordan K. Hubbard 06d2d2e852 Merge from HEAD. 1995-11-05 23:05:26 +00:00
John Fieber a830863d4c Add sgmlfmt to the tools target so make world with 2.1 source
on a <= 2.0.5 machine doesn't fall over.
1995-11-05 18:38:16 +00:00
Jordan K. Hubbard e2b2235cb6 Add the apache help file. 1995-11-05 02:22:53 +00:00
Jordan K. Hubbard ebcdaf6079 Reverse the sort order to put swap devices at the very top of fstab. 1995-11-05 01:45:03 +00:00
Jordan K. Hubbard 5e0fa92438 More bug fixes noticed from last install. 1995-11-05 01:00:31 +00:00
Jordan K. Hubbard 95e5b9561d Remove the anonymous FTP configuration from menus and prompts. It appears
that the adduser command is just too broken to allow it to be used
in automated creation mode (it loops forever) and this option is therefore
retired until we get it fixed.
1995-11-05 00:16:36 +00:00
Jordan K. Hubbard 5f0dbed004 Be more brutal about writing out /etc/hosts (it's not like there's much
to preserve there initially anyway).
More tweaks to FTP.
1995-11-04 17:16:45 +00:00
Jordan K. Hubbard 1ff815f8c1 Deal with the case where an FTP connection has been left so long, it
times out.

Make sure that anon ftp's home directory exists before calling adduser
or it (adduser) will have kittens.
1995-11-04 17:00:10 +00:00
Jordan K. Hubbard 687defdca7 Avoid doing disk selection twice in novice install.
Finally sort the fstab file entries correctly!  qsort() either
doesn't work or isn't working as documented.
1995-11-04 15:45:28 +00:00
Jordan K. Hubbard 18512a9e2e Fix the anon ftp installation to use the correct init function (doh!).
Some more error message reform, since I'm here.
1995-11-04 15:08:23 +00:00
Jordan K. Hubbard 2a5266ec73 Whoops! It might help if I made the device node before swapping on it.. 1995-11-04 12:20:20 +00:00
Jordan K. Hubbard 9ebebdddf5 Always add swap space as soon as we can in an effort to save the occasional
4MB machine.
1995-11-04 12:02:16 +00:00
Jordan K. Hubbard 977c4fc479 Check for possible NULL value in command stack. 1995-11-04 11:42:32 +00:00
Jordan K. Hubbard 386f151b1e Cosmetic tweaks. 1995-11-04 11:21:24 +00:00
Jordan K. Hubbard 4a461b9185 Move MBR selection to write/quite stage of disk editor for a more logical
grouping.

Don't print geometry warning in "all disk" case.

Clean up some unnecessary newlines in confirmation messages.
1995-11-04 11:09:16 +00:00
Jordan K. Hubbard 4497f6e3b0 Clean up outdated options menu docs. 1995-11-04 09:58:43 +00:00
Jordan K. Hubbard bc9ddd8975 Correct a typo. 1995-11-04 09:33:17 +00:00
Jordan K. Hubbard c9d81e8d84 Finally read through all the docs again and found much I didn't like.
Tweak tweak.
1995-11-04 08:48:15 +00:00
Jordan K. Hubbard b4263d8b07 Various tweaks to adjust things more to my liking. Also bring in Rich's
changes to update XFree86 to 3.1.2-S.
1995-11-04 08:47:33 +00:00
Jordan K. Hubbard 76f6586e69 Document the Novice install 1995-11-03 12:10:14 +00:00
Jordan K. Hubbard 21ae094686 Small tweaks. 1995-11-03 12:03:14 +00:00
Jordan K. Hubbard 6161b8559f Lots-o-cleanup(tm):
1. Fix the bogon I introduced that made some root filesystems fail to be
   made with `unable to make filesystem on sd1s1a' or some such error
   message.

2. Latest installment in the never-ending chapter on making FTP do the right
   thing on a cruel internet.

3. Make `express install' a truly express install and split off what it used
   to do into a `novice install' that's even more geared to the novice
   by asking questions in order, rather than forcing them through the menu
   interface.

4. Make anonymous FTP setup truly DTRT.

5. Build lndir directly into sysinstall and make the novice install offer
   to set up the ports tree.  Also make the ports setup truly explanatory
   about what it's doing, and always link the ports destination to /usr/ports
   if necessary so that bsd.port.mk doesn't need to be tweaked.
1995-11-03 12:02:45 +00:00
David Greenman 50513e23ca Brought in changes from rev 1.33: add missing manual pages. 1995-11-03 08:57:19 +00:00
David Greenman d8da814585 Add a special case check to allow Acer PCI chipsets to work with FreeBSD.
Submitted by:	se
1995-11-03 08:07:20 +00:00
David Greenman 671029b2dc Brought in revs 1.15-1.17: lessen severity of no pre-allocated cblocks
for a tty to a printf rather than a panic.

Reviewed by:	bde, peter
1995-11-03 08:05:05 +00:00
David Greenman 23e22be33d Brought in fix from rev 1.71: initialize TS_CONNECTED and line discipline
properly.

Reviewed by:	bde
1995-11-03 08:01:04 +00:00
David Greenman b229c54cb0 Brought in fix from rev 1.26: autodelete a cloned route if it gets in the
way of adding a new route.

Reviewed by:	wollman
1995-11-03 07:59:19 +00:00
David Greenman 4d60289671 Brought in fix from rev 1.17: start 2MSL timer for FIN_WAIT_2. 1995-11-03 07:53:59 +00:00
Jordan K. Hubbard 0a99c650c1 Update Hensa site to point to new location.
Submitted by:	"N.G.Smith" <[email protected]>
1995-11-03 06:21:47 +00:00
Jordan K. Hubbard 9b5bec1214 These patches fix two problems :
1 ) Tar was being called to process the archive after chdir()ing into the
    playpen, but the pathname given to it was uncorrected for the chdir().
    This is corrected by converting _all_ pathname arguments using
    realpath() (fileFindByPath() is used as a last-ditch attempt if the
    argument can't be found)

2 ) min_free was being called on the saved invocation directory, not on
    the playpen at one point.  (There are currently two seperate space
    checks, one when the playpen is created, and one later.  This is
    harmless cruft)
Submitted by:	Michael Smith <[email protected]>
1995-11-03 02:54:57 +00:00
David Greenman 872602d715 Brought in revs 1.8-1.9: security fix. 1995-11-02 03:39:47 +00:00
David Greenman ef472a375e Brought in revs 1.10-1.11: security patch. 1995-11-02 03:27:39 +00:00
John Fieber b2355ca3df Changes submitted by the author. 1995-11-01 16:40:14 +00:00
John Fieber 643a0f73d5 Sync with head. 1995-11-01 03:15:14 +00:00
Jordan K. Hubbard cc59f844e6 Sync with HEAD. 1995-10-31 20:35:20 +00:00
Jordan K. Hubbard aa15d33031 Add new Korean site to mirrors. 1995-10-30 18:05:32 +00:00
John Fieber f31884e2bb 2.1-ification, round 2.
The contraction police will be throwing Jordan behind bars if
he does not clean up his act....      ]:>
1995-10-30 17:48:19 +00:00
John Fieber 9918ddf180 Start 2.1-ifying these. 1995-10-30 16:18:55 +00:00
John Fieber cd90f3a62a Fix incorrect url for the FAQ. 1995-10-30 15:44:32 +00:00
John Fieber 5f951a14ad Completely rewritten section on DMA.
Submitted by:	Frank Durda IV <[email protected]>

Revised section on SCSI
Submitted by:	Wilko Bulte <[email protected]>
1995-10-30 15:23:57 +00:00
David Greenman 53e3af9af5 Brought in changes from revs 1.74-1.75: fix for vi recovery files. 1995-10-30 08:30:31 +00:00
Jordan K. Hubbard 6d19661039 Merge in Coranth's latest Apache setup fixes.
Add support for wcd0 back in.
Incorporate some of Frank Durda's doc fixes.
Other miscellany.
Submitted by:	SNAP testers & myself.
1995-10-30 08:04:58 +00:00
Jordan K. Hubbard f8f0a3d25c Add wcd0 to `all' target. 1995-10-30 02:59:41 +00:00
David Greenman 72e63aaa62 Brought in Justin's recent fixes: Work correctly with aha-2940U, fix
timeout time (was 1 tick rather than 2 seconds).
1995-10-29 09:46:11 +00:00
David Greenman cd87a67087 Put telnet, telnetd, and libtelnet in the krb distribution where they
belong. They should be actually moved in the source tree to be under
eBones, but I don't want to mess with that now. This should hopefully
fix the main problem people were having when they selected the "des"
distribution and not krb, but got the Kerberos version of telnet and
friends as a side effect.

Submitted by:	Justin Gibbs <gibbs>
1995-10-29 06:55:03 +00:00
David Greenman 92f2d2bb06 Brought in fix from 1.37: fix for hang caused by missing vfs_unbusy(). 1995-10-28 10:11:40 +00:00
Jordan K. Hubbard 5b50e0cade Change the script-driven custom distribution selection mechanism. This is
a bit simpler.
1995-10-27 17:00:27 +00:00
Jordan K. Hubbard 5b511fef3b Suggested doc changes from Michael Smith. 1995-10-27 16:43:01 +00:00
Jordan K. Hubbard 8a029d69a0 Just when you thought it was safe to go back in the water... 1995-10-27 16:42:46 +00:00
Jordan K. Hubbard 300e6588c6 Add the power logo to the root floppy. 1995-10-27 05:03:26 +00:00
Jordan K. Hubbard 5e837c527f Be more aggressive about writing out configuration files. 1995-10-27 03:59:38 +00:00
Jordan K. Hubbard b8884b9121 Last minute nits. 1995-10-27 03:07:14 +00:00
Jordan K. Hubbard 29f5bc299d Clean up some last bogons with the WEB server setup (now that I'm far
enough along to worry about such things!).
1995-10-27 02:12:58 +00:00
Jordan K. Hubbard d50e2f92d3 Fix a slightly confusing (and concerning) dialog in the case of an
installation abort.
1995-10-27 01:36:45 +00:00
Jordan K. Hubbard e120d1ddb5 Fix the bug I introduced with /etc/sysconfig not being updated
properly.
Make some cosmetic doc changes here and there in response to user
feedback.
1995-10-27 01:22:58 +00:00
John Fieber 3ab82e7e23 2.0.5 -> 2.1 1995-10-26 21:40:20 +00:00
David Greenman 3122ff0b75 Sync with main branch. 1995-10-26 12:22:23 +00:00
David Greenman 82c4297cf9 Brought in changes from main branch: move FS readonly checks into the
filesystem layer to fix related panics from vgone()'d vnodes.
1995-10-26 09:17:50 +00:00
Jordan K. Hubbard fe0c641b74 Sync up for this snapshot. 1995-10-26 08:56:18 +00:00
David Greenman dc8ebd9f1b Brought in changes from main branch: fixes for pty data lossage. 1995-10-26 08:38:08 +00:00
Jordan K. Hubbard c846e4a635 Grrrr. Soon! 1995-10-26 08:23:28 +00:00
Jordan K. Hubbard 4c05c1a1eb o Lots of documentation fixes. 1995-10-26 08:11:50 +00:00
Jordan K. Hubbard c933ba870f o Fix installUpgrade to start the holographic shell as well.
o  Lots of documentation fixes.
o  Rename FTP active to "FTP" and explain passive mode better.
o  Make tcpip screen a bit more friendly.
o  Literally dozens of nits.
1995-10-26 08:11:24 +00:00
David Greenman 783d732941 Brought in 1.35: fix incorrect burstsize initialization. 1995-10-26 07:47:14 +00:00
John Fieber 73b3929c3f Change commented SUPFILE examples to reflect where the supfiles
actually are (share/examples/sup).
Obtained from: -current
1995-10-26 02:39:24 +00:00
Jordan K. Hubbard f288fa875f Don't make the failure to declare a /usr so fatal. 1995-10-25 21:18:00 +00:00
Jordan K. Hubbard cef0845a40 Bring in Nate's changes from the HEAD.
Submitted by:	nate
1995-10-25 20:28:18 +00:00
Jordan K. Hubbard 3751f00dda Merge from HEAD, also eliminate the now-useless ATAPI description. 1995-10-25 17:29:53 +00:00
Jordan K. Hubbard 2d9c5d4e6e Merge from HEAD 1995-10-25 17:26:31 +00:00
Jordan K. Hubbard fe1a8d83da Merge from HEAD. 1995-10-25 17:20:27 +00:00
David Greenman 7cfc804900 Brought in parts of rev 1.138 and 1.144: fix printing of BIOS disk geoms. 1995-10-25 11:14:38 +00:00
Jordan K. Hubbard 1ae2248d78 Merge with HEAD. Really Strange since I thought I already *did* this!
I must be getting way too little sleep or something.
1995-10-25 00:50:32 +00:00
Jordan K. Hubbard 2d15cfde64 Bring in changes from the HEAD. 2.1 slattach is not happy. 1995-10-24 21:27:07 +00:00
Jordan K. Hubbard 8507c9324f Bring in _PATH_UUCPLOCK from HEAD. 1995-10-24 21:23:10 +00:00
Jordan K. Hubbard 626de628e1 Merge bug fix from HEADMerge bug fix from HEAD 1995-10-24 13:47:34 +00:00
Jordan K. Hubbard 66fb04064c Move next SNAP to Wednesday in order to give David more time to bring
other fixes in (I'm sure I'll also put the extra day to good use).
1995-10-24 04:03:53 +00:00
Jordan K. Hubbard fedb8876f4 Fix a typo.
Submitted by:	Brad Krebs <[email protected]>
1995-10-24 02:21:29 +00:00
Jordan K. Hubbard 5c8b739893 Make upgrades actually work (thanks, Julian).
Many other bug fixes.
1995-10-24 02:18:23 +00:00
Jordan K. Hubbard a570532630 Update to tomorrow's SNAP date. 1995-10-24 02:17:05 +00:00
Jordan K. Hubbard 3beb445f4e Add startslip examples from HEAD. 1995-10-23 20:39:13 +00:00
Jordan K. Hubbard b530f5a69a Merge from HEAD. The 2.1 version was totally broken, as opposed to
this one which is just insufficient.. :-)
1995-10-23 19:40:47 +00:00
Jordan K. Hubbard 7d474bde7c Reshuffle the network config code a little so that it's actually
usable.  Also fix the package extraction code.
1995-10-23 13:19:51 +00:00
Jordan K. Hubbard 3d7ba19679 Prevent slave mode from collapsing under certain circumstances. 1995-10-23 12:33:43 +00:00
David Greenman 54fdce0677 Brought in rev 1.4: initialize pty name template properly - fixes a bug
that prevents multiple pty opens.
1995-10-23 11:13:31 +00:00
David Greenman 733dde2c1a Brought in rev 1.2: fix typo. 1995-10-23 00:52:17 +00:00
David Greenman b5e8fd85a6 Walk on egg shells by bringing in pieces of Serge's recent fixes. I've
tried to bring in just the most important fixes and leave out the
controversial "open reference counting" changes that appear to be mostly
wrong.
1995-10-22 23:14:38 +00:00
Jordan K. Hubbard c02309d460 Fixes and updates. 1995-10-22 21:38:26 +00:00
Jordan K. Hubbard 905acabff3 Add Poland. 1995-10-22 21:35:34 +00:00
Jordan K. Hubbard b1487c2a94 Put this into alphabetical order and update it a little. 1995-10-22 21:30:32 +00:00
Jordan K. Hubbard 58026a65f5 1. Add Coranth Gryphon's Apache WWW server setup screen.
2. Fix an infinite recursion bug in FTP retry.  Tricky, this FTP install!
3. Add messaging routines for scripts.
4. Fix yet more bogons.  I think I'm fixing them faster than they're growing,
   but it's hard to say.  I'm really glad we're throwing this code away for
   2.2!
1995-10-22 20:15:07 +00:00
Jordan K. Hubbard d311e970fe Second round of screen update changes. Now handle the yes/no dialogs
as well as the confirmation dialogs.
1995-10-22 17:39:29 +00:00
Jordan K. Hubbard afe3f3c126 Style changes. Clear the screen before a lot of error dialogs so that they
don't bogusly restore the screen to the message that was the cause of the
abort.  That resulted in lots of weird flickering dialog boxes that appeared
to be displayed out of sequence.
1995-10-22 17:18:36 +00:00
Jordan K. Hubbard d2f6feed0d Merge from HEAD:
Preserve the state of IEXTEN across raw()/noraw() calls, but turn off
IEXTEN while raw() is active.
Submitted by:	joerg
1995-10-22 14:19:25 +00:00
Jordan K. Hubbard 2a72309b63 Merge changes from HEAD. Also bring in the German message catalog. 1995-10-22 14:14:25 +00:00
Jordan K. Hubbard b9ed94abbf Make sure that $HOME is always set. Applications like ee shouldn't
blithly assume that HOME *is* set, but it's probably easier to just set
it to some reasonable default here rather than assuming that no other
apps will get similarly confused.
1995-10-22 14:06:38 +00:00
Jordan K. Hubbard 892429c15a Just fixin' them bugs as fast as they pop up.
Also add instrumentation for adding packages from scripts.
1995-10-22 12:04:12 +00:00
Jordan K. Hubbard 7594d483f7 Update from HEAD. 1995-10-22 11:45:34 +00:00
Jordan K. Hubbard b54958350d Fix a bug in dist extraction when a dist was missing.
Allow instrumentation for adding packages from scripts.
1995-10-22 11:32:58 +00:00
Jordan K. Hubbard 211331cf5b Add more knobs to the preconfiguration stuff. 1995-10-22 10:25:20 +00:00
Jordan K. Hubbard 06d8c430d4 Fix a stooooopid bug I introduced with the CPIO verbose flag that broke
the root floppy extract (d'oh!).  No doubt about it, gotta stop programming
without sleep! (yeah, right!)
1995-10-22 08:33:22 +00:00
Jordan K. Hubbard bcaa900d72 The day that all the bugs are out of the FTP code is the day I retire
to Fiji..
1995-10-22 02:15:42 +00:00
Jordan K. Hubbard 2dbf4dcf4b Style police throughout.
Fix the ppp startup code.
Make the disklabel and fdisk screens "automatable"
1995-10-22 01:33:02 +00:00
John Fieber 26d60e82b9 Sync with head. 1995-10-22 00:50:33 +00:00
cvs2svn c95f4bc5fb This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-10-21 23:47:44 +00:00
Jordan K. Hubbard b08409b051 Error message reform. Make an unnecessarily fatal error a warning. 1995-10-21 20:03:07 +00:00
Jordan K. Hubbard 8bb20c3016 Every time I think I have the FTP reselection code working, I find another
case to check for.  SIGH!
1995-10-21 19:44:02 +00:00
Jordan K. Hubbard 7a1199fa36 Make all FTP failures "bounce" the connection properly. 1995-10-21 18:28:08 +00:00
Jordan K. Hubbard 93f70f753d Fix a couple of things I broke while fixing them. 1995-10-21 16:44:24 +00:00
Jordan K. Hubbard 23857c0d99 Missed a gus max reference. 1995-10-21 15:03:22 +00:00
Jordan K. Hubbard 5c63c6c628 Fix a few bogitties in this doc. 1995-10-21 14:07:48 +00:00
Jordan K. Hubbard f7096d0387 1. Of course, the day after you roll the snapshots is the day you realize
that the FTP install doesn't deal with timeouts and hasn't since it was
   written.  Fixed.

2. Totally eliminate the OptionFlags.  I only had to work harder to
   sync them with configuration variables, so why not simply always use
   configuration variables?  This has actually greatly simplified areas
   of the code.
1995-10-21 14:07:02 +00:00
Jordan K. Hubbard 52e389472d remove now-bogus gusmax device from list. 1995-10-21 11:50:35 +00:00
David Greenman 8fd6ceb63b Brought in fix from rev 1.23: handle PRU_CONTROL to prevent a panic. 1995-10-21 03:02:54 +00:00
Jordan K. Hubbard f95141db73 This small change allows express installation to invoke the last config
menus before the final stage operations are done.
1995-10-20 22:48:49 +00:00
Jordan K. Hubbard 32b07f7d18 Very small nit. 1995-10-20 22:34:55 +00:00
David Greenman c415b4ecf7 Kill unnecessary outl (CONF1_DATA_PORT, 0) that was killing some non-PCI
machines.

Submitted by:	Stefan Esser <[email protected]>
1995-10-20 22:12:53 +00:00
Jordan K. Hubbard 978ac356e3 Slip some more fixes in under the wire (build hasn't gotten this far yet). 1995-10-20 21:57:25 +00:00
Jordan K. Hubbard 9992d8734c Slip some fixes under the wire. Mostly cosmetic cleanup and
an attempt to make the package installer a little more robust (it's
still a little shakey, but will improve between now and the release)..
1995-10-20 20:10:49 +00:00
Jordan K. Hubbard 5ffcd5ed7c Update. 1995-10-20 16:50:01 +00:00
Jordan K. Hubbard 8081430ed6 Now I can do all the TCP and FTP configuration from config files. 1995-10-20 16:49:50 +00:00
Jordan K. Hubbard 8c6b0eea35 The accursed snapshot date rolls forward to today. 1995-10-20 16:17:48 +00:00
Jordan K. Hubbard 538ec2e1f1 Split the preconfiguration code off into its own location.
Make it possible to preconfigure TCP setup.
1995-10-20 15:40:52 +00:00
Jordan K. Hubbard b9e02be9a5 Sync for Westhill build. 1995-10-20 14:26:15 +00:00
Jordan K. Hubbard a3dd10c9ac Fix fix. 1995-10-20 10:38:49 +00:00
Jordan K. Hubbard 6ff6033390 More bug fixing, make debug settable two ways, put more meat into
the upgrade.
1995-10-20 10:01:26 +00:00
Jordan K. Hubbard b200a7a1bd Give user the option to bail out of a failing FTP installation. 1995-10-20 07:37:11 +00:00
Jordan K. Hubbard 7c112b2b1f Too many bugs fixed to mention. This code just seems to BREED them.
Many interfaces were also simplified or generally cleaned up in an
attempt to curb this problem.
1995-10-20 07:02:53 +00:00
Jordan K. Hubbard 84732d348d Remove a little TOO much verbosity from here. 1995-10-20 07:00:40 +00:00
Jordan K. Hubbard f39b84b2cf Set SNAP to today's date. Yes, today a snapshot is going out - one way
or another!
1995-10-19 18:38:31 +00:00
Jordan K. Hubbard c4aec2afac Sync. 1995-10-19 18:37:50 +00:00
Jordan K. Hubbard 9bb9a88b9f Sync with today's sources:
o Implement the 2.0.5->2.1 upgrade procedure (gah).
o Bring in Coranth's support for configuration of anon ftp and Samba
  plus some changes of my own.
o More attempts to actually write the documentation in english.
o Update docs to contain more 2.1-centric information.
1995-10-19 15:57:23 +00:00
Jordan K. Hubbard 243796bf02 Update apache port knob to point to right executable.
Submitted by:	"Eric L. Hernes" <[email protected]>
1995-10-19 08:07:09 +00:00
Jordan K. Hubbard 9da8b61c00 Merge from HEAD 1995-10-19 06:29:30 +00:00
John Fieber 8b8b37c685 Sync with head. 1995-10-18 05:08:52 +00:00
Jordan K. Hubbard a120b7bf4b Some rethinks on the way the attribute interface worked (now that
I'm really, truly using it).  Allow distribution fetch to get .info
files from the root.flp OR the distribution in question, allowing us
to add flexibility to the scheme.  At some point, perhaps soon, the
cached copy should probably go away entirely!
1995-10-18 05:02:02 +00:00
John Fieber 39be696fed Sync with head. 1995-10-18 04:36:31 +00:00
Jordan K. Hubbard a81cb882b8 2 More important bug fixes. 1995-10-18 00:47:09 +00:00
Jordan K. Hubbard 824e7fa37e Almost snapshot time..
Merge today's work.

Now support an attributes file loaded at startup (true front-loaded install).
Add fuller debugging support to all device I/O routines.
Lots-o-bug fixes.
1995-10-18 00:12:55 +00:00
David Greenman 8a96ce97be Brought in rev 1.32: add dgb man page. 1995-10-17 21:45:30 +00:00
David Greenman e33272cc90 Brought in changes from rev 1.107: fix dgb driver portion. 1995-10-17 21:42:38 +00:00
Jordan K. Hubbard 209ecd4923 Sync with me in prep for snapshot. 1995-10-17 02:57:11 +00:00
Jordan K. Hubbard 6dd7de81c3 Sync to my current development srcs. I'm about to go off the air here for
awhile wwhile they work on my phone lines.
1995-10-16 23:02:35 +00:00
David Greenman 394858ca16 Brought in changes from rev 1.28: remove unnecessary tsleep that could
result in processes not being swapped in when they were supposed to be.
1995-10-16 20:43:05 +00:00
Jordan K. Hubbard b2bb9cc6c8 Fix many more bogons, add some stuff to make the docs folk happy. 1995-10-16 15:14:28 +00:00
Jordan K. Hubbard 1c82a6784e Fix the ancient lurking evil that prevented the `Undo' commands from
ever really working.
1995-10-16 10:33:47 +00:00
Jordan K. Hubbard c0fe50d391 Switch to fds from FILE *'s. Fix a problem with FTP media device
and INDEX file.
1995-10-16 09:25:22 +00:00
Jordan K. Hubbard a550eb3936 Sync up to today's development snapshot for the other folks working on this. 1995-10-16 07:31:11 +00:00
John Fieber 941c940189 Sync with head. 1995-10-15 16:52:34 +00:00
Jordan K. Hubbard a91815ae04 Bring in John's change from the HEAD. 1995-10-15 16:30:48 +00:00
Jordan K. Hubbard ebe0bf575a Turn zip back on - the MFS image blew up without it. 1995-10-15 16:24:52 +00:00
Jordan K. Hubbard f0b3e7d1c9 Add 2 missing distributions. 1995-10-15 15:45:33 +00:00
Jordan K. Hubbard c472960924 As bits become scarce, start tightening up. 1995-10-15 15:45:20 +00:00
Jordan K. Hubbard a897b8e32c Another cleanup pass through here. About one more before final release
and I should be done.
1995-10-15 14:54:05 +00:00
Jordan K. Hubbard 411f25bce7 Last pen sanitize pass. 1995-10-15 14:08:42 +00:00
Jordan K. Hubbard 98133480f5 Remove wcd0 from list of devices on boot.flp. 1995-10-15 12:55:13 +00:00
Jordan K. Hubbard bde602e4d1 Sync. Split into more rational package support functions and clients
of those functions.
1995-10-15 12:41:09 +00:00
Jordan K. Hubbard a65986e99b Same for this file: DISTRIBUTION doc -> bin 1995-10-15 08:33:48 +00:00
Jordan K. Hubbard e88d6ee1de We don't have a "doc" distribution right now. Set this to bin. 1995-10-15 08:32:22 +00:00
Jordan K. Hubbard fe07a7b8fc Adjust for new location of MIRROR.SITES file. 1995-10-15 06:25:43 +00:00
Jordan K. Hubbard cb5fcc6d1e Fix a few long-standing bogons in the playpen code. Don't worry, folks,
this will come into -current just as soon as I'm finished.
1995-10-15 04:39:56 +00:00
Jordan K. Hubbard e57f50cb01 Substantially simplify the package install code by running pkg_add in
slave mode.
1995-10-15 04:37:07 +00:00
John Fieber dc72c140b9 Sync with head. 1995-10-14 21:55:34 +00:00
Jordan K. Hubbard d9a99a13ea Try for a more realistic SNAP date. 1995-10-14 19:15:10 +00:00
Jordan K. Hubbard eafa5b3c5f *Preliminary* pass over the docs to start bringing things up to 2.1 level.
Still not done in here by a long shot, but this takes care of most of the
cosmetic/bug fixing work.
1995-10-14 19:14:26 +00:00
Jordan K. Hubbard 8f017d1c08 Sync up to today's cleanup work. 1995-10-14 19:13:35 +00:00
Jordan K. Hubbard b2202a8d0a Make playpens more suitable for nested use. 1995-10-14 19:11:47 +00:00
Jordan K. Hubbard 5bb3b50645 Adapt to changes in leave_playpen(). 1995-10-14 19:11:27 +00:00
Jordan K. Hubbard 2a7488e9f0 Handle chained adds by URL. 1995-10-14 19:11:02 +00:00
David Greenman abcbf889da Brought in fix from rev 1.14: fix off by one page bug in pcmmap(). 1995-10-14 13:56:59 +00:00
David Greenman 34a051ae40 Brought in fix from rev 1.101: use nommap rather than nxmmap to close
security hole.
1995-10-14 13:52:32 +00:00
Jordan K. Hubbard 3f1da8e1bc Sync with my development sources, smashing an annoying bug and making
the options editor a little less pathological.
1995-10-14 09:30:53 +00:00
Jordan K. Hubbard 3d30af9fd7 Add some debugging abilities to this. 1995-10-14 09:29:58 +00:00
John Fieber 44070b24ec Add sup. 1995-10-13 09:03:49 +00:00
Jordan K. Hubbard 4f6f10295a Sync with development sources. 1995-10-13 08:19:45 +00:00
David Greenman 2602086362 Brought in changes from main branch: fix digiboard driver to not use old
select.
1995-10-13 03:41:37 +00:00
Jordan K. Hubbard 0268640ad3 Waaak! Mis-spelled a function name. 1995-10-12 08:00:16 +00:00
Jordan K. Hubbard afebc45674 Whups! Make the root slice before mounting it. 1995-10-12 07:35:33 +00:00
John Fieber abc6b746e9 Enable FAQ and handbook. 1995-10-12 03:22:03 +00:00
John Fieber 3b1e3c8f84 Sync with head. 1995-10-12 03:18:14 +00:00
John Fieber 860dc70b0f Remove /usr/share/FAQ, add /usr/share/examples/sup 1995-10-12 03:11:11 +00:00
John Fieber 9416eec5b8 Remove FAQ. 1995-10-12 02:28:03 +00:00
John Fieber 0a91963773 Sync with head. 1995-10-11 23:19:16 +00:00
John Fieber d427515ec5 Sync with head. 1995-10-11 23:03:50 +00:00
Jordan K. Hubbard c5a6807d5e Make the fixit floppy work again; ran out of inodes. 1995-10-11 20:45:51 +00:00
Jordan K. Hubbard 23fc5ee58c Make the `floppies' target work the right way. 1995-10-11 20:11:51 +00:00
Jordan K. Hubbard a3ebdfb581 Remove added cruft for ATAPI CDROM floppy.
It simply doesn't work yet.
1995-10-11 10:10:14 +00:00
Jordan K. Hubbard e17853c7ff Use more proper value of 20 for tape blocksize. 1995-10-11 10:00:20 +00:00
Jordan K. Hubbard d5e8ed023a Fix a couple of doc or appearance nits.
Remove the ATAPI kernel hack.
Remove the now-unnecessary work-around for booting root off a slice; it
appears to work just fine now and will confuse a lot fewer folks.
1995-10-11 09:57:30 +00:00
David Greenman 5189f75dd3 Updated config line for Cyclades driver. 1995-10-11 06:26:55 +00:00
David Greenman 6cc276ab08 Brought in change from rev 1.31: man page for cy driver. 1995-10-11 06:23:29 +00:00
David Greenman 1f1e45e3d2 Brought in changes from rev 1.15: fix probe for the 16-Ye. 1995-10-11 02:42:42 +00:00
Jordan K. Hubbard 9b2e8eb55d Be highly optimistic and set the next snapshot date for the 12th of October. 1995-10-11 01:00:31 +00:00
Jordan K. Hubbard d46936a924 Fix a long-standing bug that enabled you to stomp a boot manager
on a drive NOT selected!  Woo doggies!
1995-10-11 00:59:37 +00:00
Jordan K. Hubbard 77ec2293ed Tweak a message to be a bit more clear.
Declare missing fd.
Fix options bug where old text was still weird shades of blue when you came back.
1995-10-11 00:54:01 +00:00
Justin T. Gibbs 2ed956f14b Remove MAKE_EBONES conditionals. Besides being wrong, this was what screwed
up secure telnet in the previous snapshots.
1995-10-11 00:12:21 +00:00
David Greenman 115555f787 Brought in changes from rev 1.7: fix include file problem that I created. 1995-10-10 12:19:00 +00:00
David Greenman 060d520eb8 Sync with main branch. 1995-10-10 01:15:24 +00:00
David Greenman 69da6fae3c Brought in change from rev 1.6: bugfix for the bugfix. 1995-10-10 01:04:38 +00:00
David Greenman c5c6b8c51d Brought in changes from rev 1.16: fix typo that broke PCI probing on some
machines.
1995-10-10 01:00:58 +00:00
David Greenman ee463c3d83 Brought in changes from rev 1.61: Fix tracing of syscalls. 1995-10-10 00:45:46 +00:00
David Greenman b76c56970e Sync with main branch: fixes for worm drives. 1995-10-10 00:42:03 +00:00
David Greenman cbf6bf8acf Brought in changes from revs 1.43-1.49: numerous bug fixes. 1995-10-10 00:28:31 +00:00
Jordan K. Hubbard b5953a4bc4 Argh. NOW it's the correct version. 1995-10-09 11:54:27 +00:00
Jordan K. Hubbard 723b5202fe Remove something that got committed by mistake. 1995-10-09 11:49:45 +00:00
Jordan K. Hubbard 15c2e6abe1 Bring in the first half of my changes to handle dependencies when
fetching by URL.  This only effects the little-used get-by-URL feature
right now.
1995-10-09 11:16:31 +00:00
Jordan K. Hubbard 5482d60bb9 Syncronize with my current sources. pkg installer not quite in final
form yet, but close.
1995-10-09 11:14:56 +00:00
David Greenman 1c067ad84a Sync with main branch. 1995-10-09 08:51:32 +00:00
David Greenman 01eb1fc511 Sync with main branch: add -v to synopsis. 1995-10-09 08:48:07 +00:00
David Greenman 9caf218bb0 Brought in change from rev 1.5: use strtoq() not strtoul(). 1995-10-09 08:45:30 +00:00
David Greenman 5fde9eae16 Sync with main branch: Bill Fenner's recent fixes. 1995-10-09 08:43:09 +00:00
David Greenman aabeb33cb4 Sync with main branch: fix lpr -r. 1995-10-09 08:39:17 +00:00
David Greenman 6d7ab0a861 Sync with main branch: fix output formatting in 'day' non-plural case. 1995-10-09 08:25:35 +00:00
David Greenman 975a621d60 Sync with main branch: initialize memory returned by malloc. 1995-10-09 08:18:57 +00:00
David Greenman 6ab4141a4d Sync with main branch: initialize memory returned by malloc. 1995-10-09 08:13:52 +00:00
David Greenman f67f0ac833 Brought in change from rev 1.5: fflush stdout. 1995-10-09 07:57:35 +00:00
David Greenman a7ec6793d0 Sync with main branch: back out an old (Dec, 1994) hack by Andrey. 1995-10-09 07:53:14 +00:00
David Greenman ffa9f0f483 Brought in changes from rev 1.30: fix panic with rename("foo/","../../"). 1995-10-09 07:42:46 +00:00
David Greenman caac3c9181 Sync with main branch: add vendor ID for Compaq, cosmetic changes. 1995-10-09 06:35:59 +00:00
David Greenman 22ffb3f11a Brought in changes from rev 1.33: grok SIOCGIFADDR. 1995-10-09 06:29:11 +00:00
David Greenman 83b5784e4c Brought in changes from rev 1.15: indentify the 2940U. 1995-10-09 06:27:50 +00:00
David Greenman 3b64f63992 Brought in changes from rev 1.23: fixup syslog messages. 1995-10-09 06:22:13 +00:00
David Greenman bb4f185f72 Brought in changes from rev 1.24: fix rename("dir1", "dir2/..") panic. 1995-10-09 06:13:08 +00:00
David Greenman 520b0e7825 Sync with main branch. 1995-10-09 05:55:41 +00:00
David Greenman e831ab4885 Sync with main branch. 1995-10-09 05:39:49 +00:00
David Greenman 396ae6ea15 Sync with main branch: fix for -speed option. 1995-10-09 05:23:48 +00:00
David Greenman 5b7360d4c0 Brought in changes from rev 1.3: Handle trailing slashes in source
filenames correctly.
1995-10-09 05:12:21 +00:00
David Greenman db210d3fc2 Brought in change from rev 1.22: workaround for "ktrace panic". 1995-10-09 04:31:29 +00:00
Jordan K. Hubbard eaecce8007 Try to set up the environment a little more comfortably for the
fixit shell.
1995-10-07 21:18:58 +00:00
Jordan K. Hubbard 08a8e03deb Try to increase the number of inodes available on the fixit floppy. 1995-10-07 21:12:10 +00:00
David Greenman e09022f3b7 Brought in changes from rev 1.14: always check input UDP checksums even
if checksum generation is disabled.
1995-10-07 20:20:58 +00:00
David Greenman c9264fbece Brought in changes from rev 1.22: bugfix for IP_HDRINCL. 1995-10-07 20:17:31 +00:00
David Greenman 039805043d Brought in changes from rev 1.13: return correct error code an permission
failure.
1995-10-07 20:13:01 +00:00
David Greenman fbf270e4c3 Brought in changes from rev 1.10: properly handle BPF writes and multicasts. 1995-10-07 20:10:10 +00:00
David Greenman 08a19a5617 Brought in changes from rev 1.32: fix for race condition. 1995-10-07 12:57:41 +00:00
David Greenman 57cdab952d Brought in chanegs from rev 1.22: discard output immediately on close to
avoid a panic.
1995-10-07 12:55:50 +00:00
David Greenman 15d87cd4e4 Brought in changes from main branch: fix to properly understand BPF writes. 1995-10-07 12:51:13 +00:00
David Greenman d7fbdd710e Brought in changes from revs 1.12-1.13: allocate a header mbuf instead of
(bogusly) a regular mbuf; only print attached messages if bootverbose.
The change to move ifpromisc() (part of rev 1.13) was NOT brought in.
1995-10-07 12:47:58 +00:00
David Greenman fbbc57b1aa Brought in changes from rev 1.2: fixes for vnode locking bugs. 1995-10-07 12:31:18 +00:00
David Greenman dbdb63f319 Brought in changes from rev 1.2: bugfix for linux_readdir(). 1995-10-07 12:23:53 +00:00
David Greenman d13604dc62 Sync with main branch: Properly find PCI on Compaq and other machines. 1995-10-07 12:16:05 +00:00
Jordan K. Hubbard d58c7d4e9c Whoops! Eliminate a relic. 1995-10-07 12:12:37 +00:00
David Greenman 27014746b0 Brought in changes from main branch: fixes for irq logic. 1995-10-07 12:01:40 +00:00
Jordan K. Hubbard 49fa7c71f3 Clean up a few long-standing offenses against the english language. 1995-10-07 11:56:03 +00:00
Jordan K. Hubbard ca9fea5680 Whole mass of changes from first code review. Eliminate some
long-standing bogons, try to make things more fault tolerant
in general, bring in the first version of my new package installation
menu.
1995-10-07 11:55:37 +00:00
David Greenman a3dc6592f2 Brought in changes from revs 1.47-1.48: properly recognize 1542CP
controllers.
1995-10-07 11:54:53 +00:00
David Greenman c41a724e11 Sync with main branch. 1995-10-07 11:50:22 +00:00
David Greenman 377c945aeb Sync with main branch: various bugfixes (part of Cronyx driver update). 1995-10-07 11:36:59 +00:00
David Greenman 6e3eb7d3ae Sync with main branch: various bugfixes and improvements. 1995-10-07 11:34:22 +00:00
David Greenman 835a6189b9 Brought in changes from rev 1.8: handle tabs in the config file. 1995-10-07 04:31:20 +00:00
David Greenman ae3f5e457d Sync with main branch: various bugfixes. 1995-10-07 04:28:06 +00:00
David Greenman 1088ebc9d8 Brought in changes from rev 1.10: various bugfixes. 1995-10-07 03:40:48 +00:00
David Greenman 75edafb665 Brought in changes from main branch: various fixes, man page corrections,
and DCF77 support.
1995-10-06 12:05:35 +00:00
David Greenman 764424fc15 Brought in changes from main branch: various fixes. 1995-10-06 11:54:22 +00:00
David Greenman 4d446681d5 Sync with main branch: fix 'Usage'. 1995-10-06 11:37:45 +00:00
David Greenman 2c66386c5c Brought in changes from rev 1.18: add si driver support. 1995-10-06 11:34:20 +00:00
David Greenman 2688b66bf2 Brought in changes from main branch: fix broken mask logic and fix broken
proxy arp support.
1995-10-06 11:28:59 +00:00
David Greenman ea3678bbb2 Brought in changes from main branch: various bugfixes. 1995-10-06 11:24:47 +00:00
David Greenman 671cc6a043 Sync with main branch: fix compiler warning. 1995-10-06 11:04:35 +00:00
David Greenman 4f21fb1cde Sync with main branch. 1995-10-06 11:01:58 +00:00
David Greenman 5af9b5cc4e Brought in changes from main branch: fix Usage. 1995-10-06 10:50:53 +00:00
David Greenman 8559312262 Sync with main branch. 1995-10-06 10:48:57 +00:00
David Greenman aacbe9aede Syc with main branch. 1995-10-06 10:32:11 +00:00
David Greenman 1742f17dff Brought in changes from 1.5-1.6: support 57600-115200 and fix security
hole.
1995-10-06 10:30:44 +00:00
David Greenman ef62fdd0f5 Brought in changes from rev 1.6: handle escaped (%) characters correctly. 1995-10-06 10:28:43 +00:00
David Greenman b56830a31d Sync with main branch. 1995-10-06 10:12:53 +00:00
David Greenman 516e0a12c2 Brought in changes from main branch: widen TTY field by one char. 1995-10-06 10:07:07 +00:00
Jordan K. Hubbard a3374a9920 Correct a bogon I introduced while trying to make redisplay more
efficient.
1995-10-06 08:51:00 +00:00
Jordan K. Hubbard ad48d6cae2 Merge from HEAD. 1995-10-06 05:43:44 +00:00
Jordan K. Hubbard d4e686626d Bring in changes from the HEAD
Submitted by:	Gary Jennejohn <[email protected]>
1995-10-06 04:43:28 +00:00
Jordan K. Hubbard 3dad934218 Bring Peter's import in from the HEAD (I need these changes in 2.1 *now*!).
BTW, It's Gary Jennejohn, not Gary Jones.
Submitted by:	[email protected] <Gary Jennejohn>
1995-10-06 02:53:48 +00:00
Jordan K. Hubbard a2d7ca5896 Bring in my change from the HEAD. 1995-10-06 02:48:59 +00:00
David Greenman d29eb2063d Sync with main branch: fix plural for "1day" case. 1995-10-06 02:26:44 +00:00
David Greenman df3ce8204f Brought in changes from main branch: fix build order problems "tools" and
stop using gets().
1995-10-06 02:23:32 +00:00
David Greenman 9b44fb9697 Brought in change from rev 1.3: initialize 'pid' properly. 1995-10-06 02:11:44 +00:00
David Greenman 7a02f3e5b4 retrofitted change in rev 1.4: don't loop forever if NFS isn't in the
kernel.
1995-10-06 02:06:43 +00:00
David Greenman 697887804a Sync with main branch: exit with 1 on no hosts failure. 1995-10-06 02:00:09 +00:00
David Greenman 31278d3589 Sync with main branch: NIS fixes. 1995-10-06 01:58:47 +00:00
David Greenman 2bd7b11813 Sync with main branch: fix mangling of argv strings. 1995-10-06 01:50:05 +00:00
David Greenman c05e2ebcfd gack. Back out that last change for a bit. 1995-10-06 01:42:26 +00:00
David Greenman 5006c3b992 Sync with main branch: widen TTY field by one char. 1995-10-06 01:36:45 +00:00
David Greenman 3a5fe3c33a Sync with main branch. 1995-10-06 01:33:08 +00:00
David Greenman 3e54ef6335 Sync with main branch. 1995-10-06 01:07:02 +00:00
David Greenman 2b3b90e4f5 Sync with main branch: NIS fixes. 1995-10-06 00:58:51 +00:00
David Greenman 7dfdf4df3c Sync with main branch. 1995-10-05 20:58:56 +00:00
David Greenman 88f42f773e Sync with main branch. 1995-10-05 20:32:57 +00:00
David Greenman 67c62cfbdf Sync with main branch. 1995-10-05 20:27:09 +00:00
David Greenman ef6fe84a04 Sync with main branch. 1995-10-05 20:22:00 +00:00
David Greenman e1c2e91e0d Brought in changes from main branch: add missing manual pages. 1995-10-05 20:21:01 +00:00
David Greenman ee5d2b6c4a Sync with main branch. 1995-10-05 20:13:12 +00:00
David Greenman 934486c8eb Sync with main branch. 1995-10-05 20:02:57 +00:00
Jordan K. Hubbard c7cd5a06a8 wcd0a -> wcd0c 1995-10-05 09:55:01 +00:00
David Greenman 9b38fe6325 Brought in change from rev 1.3: Add fr_FR.ISO_8859-1 to LANGS 1995-10-05 09:46:01 +00:00
Jordan K. Hubbard 4e815f76bf Do a little handwaving to get the wcd0 device onto the various
floppies since it's not in MAKEDEV's all target yet.
1995-10-05 09:42:13 +00:00
David Greenman f91dc7d77b Brought in changes from main branch: Rename ISO8859-1 to ISO_8859-1 per
RFC1700. I originally had decided not to do this, but this creates a
incompatibility in our ports tree.
1995-10-05 09:39:39 +00:00
Jordan K. Hubbard 8d393daf82 Strip out two (strangely) redundant pwd binaries. 1995-10-05 09:31:39 +00:00
David Greenman c7c5b837ec Brought in change from main branch: Rename ISO8859-1 to ISO_8859-1 per
RFC1700. I originally had decided not to do this, but this creates a
incompatibility in our ports tree.
1995-10-05 09:31:38 +00:00
Jordan K. Hubbard ecdfd64796 Whups - need gnuregex for grep. 1995-10-05 09:27:06 +00:00
Jordan K. Hubbard 4a4295ee45 Try to make the fixit floppy a more hospitable place. 1995-10-05 09:15:29 +00:00
Jordan K. Hubbard 849b8284e3 Create termcap entries a little differently. 1995-10-05 09:11:02 +00:00
Jordan K. Hubbard 9ef33da5de Add grep to fixit. I missed it. 1995-10-05 09:08:29 +00:00
Jordan K. Hubbard 55480c15fe Don't mount fixit floppy read-only; that's where our /tmp is! 1995-10-05 09:03:30 +00:00
Jordan K. Hubbard 33fc5a9fd5 Include pwd. Subshells behave strangely without it. 1995-10-05 08:58:19 +00:00
Jordan K. Hubbard 4b257d5e0e Correct another stupid botch. 1995-10-05 08:18:57 +00:00
Jordan K. Hubbard 899802e9b3 Ack. Embarassing mistake. Use return code from FtpChdir() properly. 1995-10-05 08:14:54 +00:00
David Greenman e9a68bf85c Brought in changes from main branch: widen TT field by one char. 1995-10-05 07:46:37 +00:00
David Greenman 197829329f Sync with main branch. 1995-10-05 07:28:28 +00:00
David Greenman 9a28700e4c Brought in changes from rev 1.5: preserve sticky bit. 1995-10-05 07:24:24 +00:00
David Greenman eab97c27fa Brought in changes from rev 1.3: return proper exit status. 1995-10-05 07:20:59 +00:00
Jordan K. Hubbard f39843b8c6 Remake fs-image before rolling IDE CDROM floppy. 1995-10-05 06:55:28 +00:00
Jordan K. Hubbard bc1c0b1f76 Fix this to stop bogusly replacing `options ATAPI' 1995-10-05 04:36:59 +00:00
Jordan K. Hubbard b7f3474737 Set date in prep for next SNAP. 1995-10-04 23:06:09 +00:00
Jordan K. Hubbard 64312c62ce Since we're jettisoning ballast, toss PROCFS overboard from MFS kernel too. 1995-10-04 20:28:43 +00:00
Jordan K. Hubbard 600ebc6ce7 Document the option screen as it exists now. 1995-10-04 12:08:39 +00:00
Jordan K. Hubbard 2a45e79047 General cleanup - sanitize use of variables.
Do more rational things in a number of other instances.
1995-10-04 12:08:27 +00:00
Jordan K. Hubbard c5cea4955c Complete changes for creation of ATAPI boot floppy. 1995-10-04 12:07:26 +00:00
Jordan K. Hubbard b511d3cc63 o Search much more aggressively for distributions in all extraction
methods.  This should make the process rather more robust in the face
  of entropy.
o Let tape cpio extract guess type of tape format.
o Hide cursor better in options screen.
1995-10-04 10:34:08 +00:00
Jordan K. Hubbard 512d27ca40 Build ATAPI kernel now in default build sequence. 1995-10-04 10:31:52 +00:00
Jordan K. Hubbard e84fa01cec Back out this attempt. I was too hasty. We'll revisit this
later, after more correspondence.
1995-10-04 10:24:54 +00:00
Jordan K. Hubbard 47f965533a Whups! Get mount_mfs the right way, by linking it to newfs. 1995-10-04 09:49:48 +00:00
Jordan K. Hubbard 0adeea0633 appended are patches to kzipboot and kzip to allow uncompressing the
gzip'ed kernel image over itself.

I've tested this on a 4 MB machine using a MFSKERNEL provided to me by
Jordan and it worked. It was possible to finally do an install of a SNAP
on the machine.
Submitted by:	Gary Jennejohn <gj%[email protected]>
1995-10-04 09:24:25 +00:00
Jordan K. Hubbard 07be105bda Bring fancy userconfig into 2.1. It appears to have molified all
the critics and works well, so why not?
1995-10-04 09:13:51 +00:00
Jordan K. Hubbard 4e1f951727 Sync with CONTRIB.FreeBSD. Soon there will be only one. 1995-10-04 08:15:25 +00:00
Jordan K. Hubbard d3bd58bcc3 Make the release name to load a configurable parameter.
Don't gratuitously shutdown network after NFS or FTP install.
Centralize release version string to one location included by everyone.
Bring in new options screen.
1995-10-04 07:55:05 +00:00
Jordan K. Hubbard d1bbcef896 o Completely re-wrote options screen. Previous one too confusing.
o Allow user to specify blocksize to cpio for tape extract.
o Allow user to chose cpio extraction verbosity level (-V or -v).
o Hopefully stomp the fstab sorting bug once and for all.
o Create termcap file for fixit operation.
o Create spwd.db file for fixit operation.
o Upgrade to XFree86 3.1.2 (and add a few new collections for same).
1995-10-03 23:36:56 +00:00
Jordan K. Hubbard cdd1bd0a63 Add more devices to fixit floppy (quite a few more).
Missing commands: mount_mfs
Removed: init (from fixit - not needed).
1995-10-03 23:29:44 +00:00
Jordan K. Hubbard df50d954e5 IRQ 11 -> 12 for GUS. Now this is correct. 1995-10-03 01:13:47 +00:00
David Greenman d3db8022d6 Brought in changes from rev 1.32: deal with failure to map interrupt. 1995-10-02 14:05:37 +00:00
David Greenman 447bfdd0bc Brought in change from rev 1.32: check correct variable for NULL before
calling free().
1995-10-02 13:45:44 +00:00
David Greenman 0de417c4cc Brought in changes from main branch: Frank's recent bugfixes. 1995-10-02 10:59:54 +00:00
David Greenman 6c26a75398 Sync with main branch. 1995-10-02 08:14:31 +00:00
David Greenman 997b178b15 Brought in changes from main branch: conform to POSIX.2 with -c; #undef
things first to avoid redefined compile warnings.
1995-10-02 07:55:18 +00:00
Jordan K. Hubbard 58abfb5689 Someone suggests that an IRQ of 11 is a better default value for GUS cards
than 10.
1995-10-02 04:44:39 +00:00
David Greenman a2331e3138 Brought in changes from revs 1.64-1.65: fix several serious bugs. 1995-10-01 20:25:42 +00:00
David Greenman bb2451bfbe Brought in changes from rev 1.8: add _BSD_OFF_T and _BSD_PID_T; needed
to smooth future upgrades to -current.
1995-10-01 06:29:18 +00:00
David Greenman 10dd550892 Brought in changes from rev 1.6: fix for PR 721. 1995-10-01 06:12:38 +00:00
David Greenman f1edcc9a44 Brought in changes from rev 1.4: fix job table corruption bug. 1995-10-01 06:08:43 +00:00
David Greenman 03111bc0d9 Sync with main branch: misc minor bugfixes, recognize dc21041 NICs and
ZNYX cards.
1995-10-01 06:03:59 +00:00
Jordan K. Hubbard 5ec6f15311 cpio V -> cpio v. It would seem that people don't like the dots, they
want to see the files extracted.  Watched installs are boring enough
as it is, I guess. :)
1995-09-30 19:13:31 +00:00
David Greenman 3c56b63404 Brought in changes from rev 1.35: BPF and multicast support. 1995-09-30 14:22:17 +00:00
David Greenman 8486c5a38f Brought in changes from rev 1.11: od driver hook. 1995-09-30 13:50:10 +00:00
David Greenman d7d01696bc Brought in changes from rev 1.56: fixed/updated Cyrix cache control. 1995-09-30 13:42:32 +00:00
David Greenman 1491593fde Enable cdcontrol and sicontrol. 1995-09-30 13:35:08 +00:00
David Greenman c3fbc20f61 Brought in changes from revs 1.15-1.16: kludge for booting 2.88MB floppies. 1995-09-30 11:52:28 +00:00
David Greenman d609be87c9 Sync with main branch: add some comments. 1995-09-30 11:49:28 +00:00
David Greenman 0a2716117c Sync with main branch up to rev 1.96. 1995-09-30 08:03:07 +00:00
David Greenman 3a85169348 Sync with main branch minus changes in rev 1.42. 1995-09-30 08:01:55 +00:00
Jordan K. Hubbard 280398ad0d Add -lscsi to fixit flp. 1995-09-30 07:03:27 +00:00
Jordan K. Hubbard e44732bb40 Update to new names for XFree86 3.1.2 distribution. 1995-09-30 06:42:35 +00:00
Jordan K. Hubbard d9a6b498e9 Revise the install guide to reflect recent changes to sysinstall. 1995-09-30 06:40:41 +00:00
Jordan K. Hubbard d4d22092c0 Reshuffle some menus, prepare for XFree86 3.1.2 version. 1995-09-30 06:40:23 +00:00
Jordan K. Hubbard 639c9739b6 Add `scsi' command to fixit floppy by request from Julian Elischer. 1995-09-30 06:40:04 +00:00
David Greenman 6c140c9d42 Synced with main branch. 1995-09-29 19:56:27 +00:00
Jordan K. Hubbard e16ac9b6e0 1. Bump snap date to reflect recent changes. [jkh]
2. Remove SYSV* options from boot kernel (not GENERIC).
Submitted by:	nate
1995-09-29 06:16:24 +00:00
Jordan K. Hubbard 7b0796d1cd Make the custom installation steps a little more self-explanatory.
Fix a bug where (W)rite in disklabel editor crashed.
1995-09-29 05:17:01 +00:00
David Greenman f294da5afc Brought in changes from rev 1.10: add ability to have a fifo open for
read & write simultaneously. Needed for proper SCO support.
1995-09-28 13:32:03 +00:00
David Greenman 273b2933ef Brought in changes from revs 1.26-1.27: print better diagnostic information
on failures.
1995-09-28 13:26:25 +00:00
David Greenman df8e1b771e Brought in changes from rev 1.18: print additional failure information. 1995-09-28 13:16:24 +00:00
Jordan K. Hubbard 0c9d5cf994 Eradicate a lurking -H tar. 1995-09-26 20:53:43 +00:00
David Greenman 079fcd5208 Brought in change from rev 1.21: don't zero out the session pointer in
ptcclose().
1995-09-26 15:38:27 +00:00
David Greenman 98b615e518 Brought in changes from main branch: security fixes. 1995-09-26 07:54:51 +00:00
David Greenman 08dd95c6cc Brought in changes from revs 1.105-1.106: add a comment and make it easier
to create Specialix devices.
1995-09-26 07:41:19 +00:00
Justin T. Gibbs a9d0f98f25 Merge with HEAD:
Add -L paths for all locally built eBones libraries.  Many of the programs
already did this, but this catches the straglers.
1995-09-26 06:14:26 +00:00
David Greenman a86f9d9815 Sync with main branch (comment changes). 1995-09-26 05:24:34 +00:00
David Greenman 7469bd133f Brought in changes from rev 1.2: add EISA hook for Specialix driver. 1995-09-26 05:22:13 +00:00
David Greenman a1663d46c7 Brought in changes from rev 1.29: fix for rename bug. 1995-09-26 04:08:15 +00:00
Jordan K. Hubbard db48e32d81 Make direct write from the label editor work. 1995-09-25 15:18:41 +00:00
Jordan K. Hubbard 1c6c2aa875 Cosmetic: Clean up an output dialog. 1995-09-25 13:46:37 +00:00
Jordan K. Hubbard 7795a88c85 Return FALSE instead of TRUE so that we return to parent menu. 1995-09-25 05:40:30 +00:00
Jordan K. Hubbard 42d3a5d22a Some cosmetic cleanup + decision to be more sociable and use /mnt2 instead
of /mnt for my own use.
1995-09-25 05:36:45 +00:00
Jordan K. Hubbard eec3dd2d1a Use a better PATH for fixit and a confirmation dialog when removing. 1995-09-25 04:16:19 +00:00
Jordan K. Hubbard 223661dbe6 Add the fixit floppy back to default release procedure. Fixit is back! 1995-09-25 02:15:26 +00:00
Jordan K. Hubbard 0f98ce3847 Root crunch needed updating for `ee'. 1995-09-25 01:35:53 +00:00
Jordan K. Hubbard 39a3360b7d Tweak some of the fixit code. 1995-09-25 01:20:48 +00:00
Jordan K. Hubbard c7b3927ece Great big batch-o-fixes.
jkh:
	Change the fixit floppy paradigm somewhat.  Rather than having
	a fixit floppy be a stand-alone boot floppy with emasculated
	command set due to space crunch, make boot floppy a filesystem
	of nice utilities and *no* kernel.  The idea is that you boot
	the standard boot floppy and choose the "Fixit" item off the top
	menu.  It then asks for and mounts the fixit floppy, adds the mount
	point to $PATH and then forks a shell with the inherited PATH.  You
	can use the shell to traipse around the filesystem, tweaking things
	as desired.

	Mutate the useless shell option in first menu to far more useful fixit.

	Fix the bogus `ifconfig sl0' case once and for all with a special case
	hack for cuaa0.

gpalmer:
	Fix benign-yet-bogus incorrect `password' to anon ftp sites.

joerg:
	Allow cpio to guess at input format again.
Submitted by:	jkh, gpalmer, joerg
1995-09-25 00:52:15 +00:00
Justin T. Gibbs 1f1bf49e7a Remove duplicate rkinit_err.c entry in the SRCS line. 1995-09-24 02:33:42 +00:00
Jordan K. Hubbard 44e67ef695 Add ee to the boot floppy as official emergency rescue editor.
(there was none before).
1995-09-23 22:31:50 +00:00
Jordan K. Hubbard a3bfdedae8 vi -> ee. Shrinkage. 1995-09-23 22:29:28 +00:00
Jordan K. Hubbard 2331d5b4ed A few cosmetic tweaks. 1995-09-23 22:20:12 +00:00
Jordan K. Hubbard 76f034a338 Argh. You don't want to use system() to launch a shell! :-) 1995-09-23 22:03:23 +00:00
Jordan K. Hubbard 230315a464 Bloat GENERIC a little by seeing of SYSV* stuff fits. If it's
too big on the floppy, we'll pare it back.
1995-09-23 00:50:05 +00:00
Jordan K. Hubbard fb74f52166 Actually have the help files found again. Whoops! 1995-09-22 23:35:26 +00:00
Jordan K. Hubbard 8dada4fb5b Change some of Garrett's text to be more applicable to this release.
Invoke subshells by absolute path.
1995-09-22 23:22:22 +00:00
cvs2svn ee10ac4cca This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-09-22 20:00:13 +00:00
David Greenman ca17627475 Brought in changes from rev 1.3: kill beforeinstall that tried to make
the man8 directory.
1995-09-22 00:13:15 +00:00
David Greenman d9893e6a3f Make the CFLAGS '-O -pipe' rather than '-O2 -pipe'. 1995-09-21 11:16:28 +00:00
David Greenman e57b0ff86b Brought in changes from main branch: fixes for 3940 controller. 1995-09-21 02:11:29 +00:00
David Greenman 31592ffaaf Brought in changes from revs 1.13-1.14: fix "CMAP busy" panic. 1995-09-20 13:04:07 +00:00
Jordan K. Hubbard b23a4bf88a Bump the snap date. 1995-09-20 10:45:14 +00:00
Jordan K. Hubbard 06adc5357d 1. Pick a proper default netmask in the TCP/IP install screen.
2. Handle the `all disk for FreeBSD' case more gracefully.
Submitted by:	joerg
1995-09-20 10:43:13 +00:00
David Greenman 5d3ce8c3d9 Brought in change from rev 1.4: don't dereference a NULL pointer in null
pipes.
1995-09-20 08:34:47 +00:00
David Greenman 2592240dbd Brought in changes from revs 1.4-1.5: killed redundant ${DESTDIR} in the
LINKS=, and change install to ${INSTALL}.
1995-09-20 07:30:33 +00:00
Jordan K. Hubbard aacf49e411 Back this out of 2.1 until we can reach some concensus about how to
do all this right in -current.  Sorry, Satoshi.
1995-09-19 12:09:03 +00:00
Jordan K. Hubbard 3a499e9f0e Merge from HEAD 1995-09-19 10:23:43 +00:00
Jordan K. Hubbard bfebbb97f5 Bring in Satoshi's changes from the HEAD so that our ports and packages
are compat for 2.1 and -current.
1995-09-19 08:36:15 +00:00
Jordan K. Hubbard 579f2b1da3 Bring in changes from the HEAD. Also fix the local rc file changes
to:
	A) Use consistent variable expansion syntax.

	B) *NOT* expect rc files to be directly in /usr/local/etc.  That
	   was a very poor choice since lots of ports dump things straight
	   into /usr/local/etc and invoking anything with a .sh suffix in
	   there would be a bad idea indeed.  It's now /usr/local/etc/rc.local.d
	   for much greater clarity and safety.
1995-09-19 08:30:41 +00:00
Jordan K. Hubbard 91b5e197ca Tweaks to build the next snapshot. Tomorrow, folks! 1995-09-19 08:06:48 +00:00
Jordan K. Hubbard f7caef4e5b Add Linux LKM to Makefile. From HEAD. 1995-09-19 06:49:37 +00:00
Peter Wemm 0974ee1f34 Part 2 of the mega-commit. This syncs the 2.1 and 2.2 trees. I will move
RELENG_2_1_0 tags to effect the reorg of the directories and files below
the help directory.  (which is why I did it via the HEAD.. cvs cannot add
files to a branch in this version)
1995-09-18 17:00:27 +00:00
David Greenman 51d8b393de Sync with main branch. 1995-09-18 08:52:26 +00:00
David Greenman 26eb85561c Brought in the rest of Andrey's "ospeed" and related changes...I somehow
missed these ones here.
1995-09-18 08:48:58 +00:00
David Greenman b28d4cdb9a Sync to rev 1.66: add kbdmap, other cosmetic changes. 1995-09-18 06:23:49 +00:00
David Greenman b1165dd961 Brought in chages from revs 1.16-1.18: fix use of buffer flags. 1995-09-18 06:15:15 +00:00
David Greenman 1c5a58eb0b Brought in some changes from main branch: add missing args to VOP_CLOSE()
calls. This is mostly cosmetic since unionfs doesn't work for other
reasons.
1995-09-18 05:33:21 +00:00
David Greenman 955e4be624 Brought in change from rev 1.32: add missing args to VOP_OPEN. (This is
more or less cosmetic since unionfs doesn't work for other reasons).
1995-09-18 05:30:19 +00:00
David Greenman 8617c05758 Brought in changes from revs 1.41 and 1.43: add share/nls/C and targets
for FAQ and handbook.
1995-09-18 03:37:50 +00:00
David Greenman 920dae3a3f Brought in changes from main branch: install -> ${INSTALL} and add
bsd.sgml.mk.
1995-09-18 03:27:17 +00:00
David Greenman 427f53059e Sync with main branch: check major/minor numbers for truncation. 1995-09-18 03:24:07 +00:00
David Greenman 780b1c87b0 Sync with main branch: rtprio.2 was moved to libc/sys/. 1995-09-18 03:21:17 +00:00
David Greenman 5341b723a8 Brought in changes from revs 1.3-1.4: check major/minor numbers for
truncation.
1995-09-18 03:19:22 +00:00
Jordan K. Hubbard 29df01de98 Comment out the IDE CDROM entries here. 2.1 doesn't *have* IDE CROM
support!
1995-09-18 01:02:17 +00:00
David Greenman f830993a1b Sync with main branch. 1995-09-17 23:42:46 +00:00
Justin T. Gibbs 9c07cd999e Merge with HEAD. Correct path to srvtab file. 1995-09-17 15:23:45 +00:00
David Greenman a20e0c12db Sync with main branch. 1995-09-17 11:19:51 +00:00
David Greenman adc9dacd10 Brought in changes from main branch: compress doc and info files. 1995-09-17 11:14:36 +00:00
David Greenman c0f50fd8d5 Add EOF newline. 1995-09-17 11:03:26 +00:00
David Greenman 467ca79be8 Brought in change from rev 1.4: avoid dereferencing a NULL. 1995-09-17 09:58:26 +00:00
David Greenman bbf67e85ee Brought in change from revs 1.10-1.12: fix maxcontig calculation and don't
complain about secs/cyl != disklabel unless -t or -u is specified.
1995-09-17 09:56:20 +00:00
David Greenman cf40305664 Brought in change from rev 1.5: use default COPTS. 1995-09-17 06:59:04 +00:00
David Greenman 5c5df980dc Change version to "FreeBSD-2.1". 1995-09-17 06:54:30 +00:00
David Greenman fffc65b2f2 Brought in change from rev 1.3: re-init screen after resume from <susp>/fg. 1995-09-17 06:43:16 +00:00
David Greenman 530f55089a Brought in changes from rev 1.6: Give 'Index:' priority over other paths. 1995-09-17 06:39:59 +00:00
David Greenman 4538598dfc Brought in changes from rev 1.9: bandaid for NULL pointer dereference. 1995-09-17 06:37:42 +00:00
Jordan K. Hubbard 448adbf13b Somebody inserted a space into the libraries target for the eBones stuff,
causing make world to fall over.  Fix it.  This entire file needs to be
napalmed!  "Warty things too big, start over."
1995-09-17 02:08:26 +00:00
David Greenman 71cffb9df3 Brought in changes from rev 1.26: check return value of vm_map_pageable()s. 1995-09-17 01:51:19 +00:00
Justin T. Gibbs f776f4b0d0 The problem. If the first request to kerberos is not a ticket
request, it cores due to using the unitialized global req_name_ptr
pointer.  -Wall does not reveal this.

Repeat by having an old valid ticket and start kerberos.  rsh to
a non-realm system.

Also intialize lifetime to DEFAULT_TKT_LIFE and kerno to KSUCCESS since
they can be refernced before being initialized.

Submitted by:   John Capo <[email protected]>
1995-09-17 00:41:12 +00:00
Justin T. Gibbs 227ed9e590 Update for the new directory structure of eBones.
Submitted by: Paul Traina <[email protected]>
1995-09-16 23:24:31 +00:00
Justin T. Gibbs cbc1f9f164 Fix printf formatting error %ls -> %s. 1995-09-16 23:05:59 +00:00
Justin T. Gibbs 9745a8c8f3 Merge with HEAD. Use Mark Murray's version of new_rnd_key.c. It is almost
identical to the MIT version except for a few places where it is more
efficient by dealing with the key and sequence as u_int32s.
1995-09-16 22:30:20 +00:00
Justin T. Gibbs b03b5de644 Merge with Head:
Add TELNETOBJDIR and CRYPTOBJDIR for use in LDADD entries.  This makes
secure reference the libraries that were just built instead of in /usr/lib.
1995-09-16 03:13:38 +00:00
Jordan K. Hubbard a7c3514299 Bring in changes from the HEAD. 1995-09-16 00:02:11 +00:00
Justin T. Gibbs 47085fee67 Merge with HEAD. Brings in rkinit and krb_prop entries plus some additional
"PROBLEMS" comments in services that warn about overlapping entries.
1995-09-15 22:16:21 +00:00
cvs2svn bfbc580797 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-09-15 20:15:11 +00:00
Justin T. Gibbs 93ecce1be0 Merge with HEAD. Brings in new secure telnet suite + eBones fixes. 1995-09-15 18:19:36 +00:00
Justin T. Gibbs 8517bf983f Merge with the head. Bring in fixes to deal with krb.h declaring all
necessary prototypes.
1995-09-15 17:28:28 +00:00
Justin T. Gibbs 3578c0cc6f Bring in changes from revision 1.18. Update paths to kpasswd.c and
eBones include files.
1995-09-15 17:21:51 +00:00
David Greenman f74c34de0a Brought in change from rev 1.11: killed 'total'. 1995-09-15 10:20:10 +00:00
David Greenman 4ae775712c Brought in change from rev 1.23: killed maxmem. 1995-09-15 10:18:05 +00:00
David Greenman 19adccfaa0 Brought in change from rev 1.2: indicate backlog limit is 32. 1995-09-15 10:14:00 +00:00
David Greenman ff5146b289 Brought in changes from rev 1.7: increase SOMAXCONN to 32. 1995-09-15 10:13:05 +00:00
David Greenman fb0fba74ee Brought in changes from rev 1.16: fix rare mbuf leak. 1995-09-15 09:01:55 +00:00
David Greenman fdb227d222 Brought in changes from rev 1.12: deal properly with mbuf allocation
failure.
1995-09-15 08:58:07 +00:00
David Greenman 0ad48b81f5 Brought in changes from rev 1.23: add hook for cyclades driver. 1995-09-15 08:41:12 +00:00
David Greenman ad473ba302 Sync with main branch - Jordan missed this one when he brought the new
sound code into 2.1.
1995-09-15 08:38:50 +00:00
David Greenman 528fb3f45a Brought in changes from revs 1.6-1.7: use NDINIT(), and unlock vnode
before paging (results in a deadlock or panic otherwise).
1995-09-15 08:36:10 +00:00
David Greenman 8d425d332e Brought in changes from main branch: misc fixes. 1995-09-15 08:18:29 +00:00
David Greenman 9a8f090c86 Brought in change from rev 1.8: tcpsyn -> syn. 1995-09-15 08:08:59 +00:00
David Greenman 92b3192e35 Brought in change from rev 1.5: fix args to startslave(). 1995-09-15 08:05:13 +00:00
David Greenman dd56a67ef8 Brought in changes from main branch: new sound device names, entries for
Specialix, Digiboard, ATAPI CDROM, 'od', matrox meteor, spigot, etc.
1995-09-15 07:42:41 +00:00
David Greenman 1a6a36376a Brought in changes from rev 1.89: kill vat_audio and misc cleanup. 1995-09-15 06:20:43 +00:00
David Greenman d346524f86 Brought in changes from rev 1.15 (pstat.c) plus associated documentation:
update to support changes in kernel tty flags.
1995-09-15 01:57:54 +00:00
Jordan K. Hubbard d21afc22cb Bring in miscellaneous changes to the HEAD.
I also brought the ATAPI stuff into files.i386 where it shouldn't
cause any trouble and will also save David a few minescule diffs.
1995-09-14 23:47:10 +00:00
Jordan K. Hubbard 5f28eaa0d8 Bring in the new sound driver from the HEAD. 1995-09-14 23:37:24 +00:00
Jordan K. Hubbard f01fabc89f Bring in the sound code from 2.2 (HEAD). 1995-09-14 23:34:27 +00:00
Jordan K. Hubbard 9f646b4e66 Bring in my changes from the HEAD:
Add pcnfsd / apache_httpd hooks.
1995-09-14 23:16:34 +00:00
David Greenman e1c99711e6 Brought in changes from main branch:
1) Bruce and Andrey's tty fixes
2) many of Bruce's prototype and function argument fixes/corrections
3) Bruce's version of the Cyclades driver
4) Improvements to the RISCom/8 driver
1995-09-14 07:10:24 +00:00
David Greenman 820572979b Brought in change from rev 1.4: fix comment. 1995-09-12 09:24:47 +00:00
David Greenman 3ed0428ab0 Brought in change from rev 1.21: fix broken BUFHASH calculation. 1995-09-12 09:22:59 +00:00
David Greenman cd86ea59b4 Brought in change from rev 1.3: include systm.h. 1995-09-12 09:19:23 +00:00
David Greenman c90b4baab1 Brought in change from rev 1.22: pass "proc" correctly (kill &). 1995-09-12 08:57:53 +00:00
David Greenman 5cd35e1fb1 Brought in changes from rev 1.16: disallow delete/rename. 1995-09-12 08:52:41 +00:00
David Greenman 38fd2f9648 Brought in fixes from main branch: don't allow delete/rename and initialize
mnt_stat struct.
1995-09-12 08:48:26 +00:00
David Greenman 75446622e8 Brought in fix from rev 1.9: fix for amd direct maps. 1995-09-12 08:39:06 +00:00
David Greenman 5ad09bc37d Brought in change from rev 1.11: kill extra arg to a pr_usrreq call. 1995-09-12 08:29:56 +00:00
David Greenman 4af1be2325 Brought in change from rev 1.9: kill gratuitous #include's. 1995-09-12 08:09:31 +00:00
David Greenman 5e13fbf5c0 Brought in change from rev 1.14: kill unused variable declaration. 1995-09-12 08:06:48 +00:00
David Greenman 8d35005820 Synced with main branch: various fixes. 1995-09-12 07:23:00 +00:00
David Greenman 468231947f Brought in change from main branch: initialize d_ncylinders. 1995-09-12 07:19:45 +00:00
David Greenman e3fdf1b4b7 Brought in changes from main branch: misc cleanup plus a few additions. 1995-09-12 06:22:36 +00:00
David Greenman a387aec6c6 Brought in changes from rev 1.25: include kernel.h instead of declaring
extern int hz.
1995-09-12 06:17:26 +00:00
David Greenman eab027ba2e Brought in changes from revs 1.74 and 1.76: use bcmp instead of memcmp,
and kill bogus extra arg to ds_crc().
1995-09-12 06:12:23 +00:00
David Greenman e0ad05a51b Brought in change from rev 1.4: include systm.h. 1995-09-12 05:56:54 +00:00
David Greenman 9e589bd80f Brought in changes from main branch: kill bogus extra args to 'getit'
function.
1995-09-12 05:55:35 +00:00
David Greenman 2a903feb54 Brought in changes from rev 1.40: kill 'memory' constraint from
enable_intr().
1995-09-12 05:48:43 +00:00
David Greenman 068e87e8c4 Brought in change from main branch: kill duplicate (and wrong) declaration
of phys_avail[[].
1995-09-12 05:36:42 +00:00
David Greenman 20250643f1 Brought in changes from main branch: update to Sept. 1 version. 1995-09-12 04:39:44 +00:00
David Greenman 5b6dcc6dcd Brought in changes from main branch: fix command funcs to have correct #
of args.
1995-09-12 04:21:43 +00:00
David Greenman e3dd00fd89 Brought in changes from main branch: set erase character correctly, and
fix problem with negotiation getting screwed up by login starting too
soon.
1995-09-10 04:02:16 +00:00
David Greenman 6f6f8e0e66 Revert bogus change in rev 1.184.4.2 that broke GUS support. 1995-09-10 01:55:38 +00:00
David Greenman e8c26f4e13 Revert bogus change in rev 1.98.4.3 that broke GUS support. 1995-09-10 01:51:13 +00:00
David Greenman 8dbec9f734 Brought in changes from main branch: mostly cosmetic, a fix or two, and
recognize more chips.
1995-09-09 23:10:21 +00:00
David Greenman 8bcb37718e Brought in change from rev 1.30: SIOCGIFADDR ioctl for rarp. 1995-09-08 13:58:31 +00:00
David Greenman ce26430674 Fixed my copyright. 1995-09-08 13:25:46 +00:00
David Greenman 61b1f0dbe5 Brought in changes from rev 1.28: part of memory sizing rewrite. 1995-09-08 04:23:52 +00:00
David Greenman d4a9d73af8 Brought in changes from revs 1.133, 1.134, 1.139, and 1.140: rewrite of
memory test code and changes to "memory" printf's.
1995-09-08 04:22:49 +00:00
David Greenman 71e4535885 Brought in changes from main branch: various stability bug fixes. 1995-09-07 21:55:27 +00:00
David Greenman 140c7cb4d4 Brought in changes from main branch: killed compile warnings and extra \r. 1995-09-07 21:12:55 +00:00
David Greenman 24e5dcbb33 Brought in changes from rev 1.5: Convert \n to \r\n in serial_putchar(). 1995-09-07 21:09:59 +00:00
David Greenman dce0ed84a7 Commented out ip_mrouter_mod for now as it doesn't build. 1995-09-06 15:16:06 +00:00
David Greenman e712ae04cf Back out that last change; we don't build this shared. 1995-09-06 14:34:50 +00:00
David Greenman 63bf0dfa9a Bumpbed shared lib rev to 2.1. 1995-09-06 14:24:45 +00:00
David Greenman 0d3d1c3478 Brought in changes from main branch: change to match new libmd API. 1995-09-06 14:21:07 +00:00
David Greenman 9169817f89 Brought in changes from main branch: add output buffer pointer to improve
performance.
1995-09-06 14:18:36 +00:00
David Greenman 360604bd5e Brought in changes from main branch: update to mrouted v3.6.
Reviewed by:	Bill Fenner <[email protected]>, wollman
1995-09-06 10:34:19 +00:00
David Greenman 13afcfc135 Brought in changes from main branch: support for mcast v3.5. 1995-09-06 10:32:47 +00:00
David Greenman 3005853c68 Brought in changes from main branch: update to multicast v3.5.
Reviewed by:	Bill Fenner <[email protected]>, wollman
1995-09-06 10:31:43 +00:00
David Greenman 05521b251c Brought in changes from main branch: Andrey's "ospeed" fixes, plus some
minor (mostly compiler warning) fixes in related files.
1995-09-02 17:43:31 +00:00
David Greenman 6f926d27c0 Brought in changes from main branch: check & honor account expiration. 1995-09-02 14:40:12 +00:00
Jordan K. Hubbard 5fcef1426d Jim's attempt to fix the new sound code somewhat. Tested with
the pas-16, GUS, and GUS-MAX cards.  Sound blaster owners, please
test also!
Submitted by:   Jim Lowe <james>
1995-09-01 19:09:49 +00:00
David Greenman 9fda490853 Brought in changes from main branch: updated to UUCP 1.06.1
Reviewed by:	ache
1995-09-01 06:05:50 +00:00
David Greenman 72d8ed4501 Brought in changes from revs 1.7-1.8: added 'wheel su' #ifdefs, and check
account expiration.
1995-09-01 03:31:53 +00:00
David Greenman 431275e6bd Brought in change from rev 1.5: limit for B115200 instead of 15 (38400) 1995-09-01 03:09:47 +00:00
David Greenman 2bae10d783 Brought in change from rev 1.12: check for expired accounts. 1995-09-01 03:07:17 +00:00
David Greenman 6028599f9d Brought in changes from rev 1.3: set SA_RESTART to avoid EINTR on ^Z. 1995-08-31 21:56:31 +00:00
David Greenman 5c2ef16428 Brought in changes from main branch: fix -c/COPY, install->${INSTALL} 1995-08-31 21:50:18 +00:00
David Greenman 71e0d540e1 Brought in change from rev 1.9: use -c, not COPY. 1995-08-31 21:41:18 +00:00
David Greenman 30df1a578e Brought in changes from main branch: we no longer need tzfile.h 1995-08-31 21:30:59 +00:00
David Greenman 625ccdc96e Brought in change from main branch: fix build dependency. 1995-08-31 21:21:45 +00:00
David Greenman 0550b4a9bf Brought in changes from rev 1.6: deal with failures better. 1995-08-31 21:03:46 +00:00
David Greenman 279f7900b7 Brought in changes from rev 1.3: add missing entries to tty speed table. 1995-08-31 20:57:55 +00:00
David Greenman ffa4caf22c Brought in changes from main branch: update to new version from InterNIC. 1995-08-31 20:50:29 +00:00
David Greenman 037fb2e6a7 Brought in changes from main branch: fix for "text file busy" bug. 1995-08-31 10:00:43 +00:00
David Greenman cc62235edc Brought in changes from main branch: code to allow probing past SCSI ID 7. 1995-08-31 06:36:26 +00:00
David Greenman f1420fc5c7 Brought in change from rev 1.33: fix declaration. 1995-08-31 06:26:08 +00:00
David Greenman 9df2a042ec Brought in changes from revs 1.40-1.41: fix return status so operations
are retried, and fix diagnostic message.
1995-08-31 06:23:20 +00:00
David Greenman 4f9907a46d Brought in changes from revs 1.37-1.39: fixes for fast sync, bogus
variable, and probe message.
1995-08-31 06:17:11 +00:00
David Greenman 7ed86cde2d Brought in changes from revs 1.3-1.4: don't barf if argc < 1. 1995-08-31 05:37:53 +00:00
cvs2svn 09adf59b71 This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-08-30 17:42:29 +00:00
David Greenman 11ae5136af Brought in change from rev 1.58: remove libftp. 1995-08-30 14:23:40 +00:00
David Greenman 877c9231e4 Brought in changes from main branch: build strip striped to avoid circular
dependency; add "maybe_stripped" to CLEANFILES.
1995-08-30 10:36:34 +00:00
David Greenman aea7c9aac1 Brought in change from rev 1.2: fix "split -l <n>" 1995-08-30 10:31:42 +00:00
David Greenman 44193e8922 Brought in changes from rev 1.3: fix "id <user>". 1995-08-30 10:25:41 +00:00
David Greenman 727b54ab17 Brought in changes from main branch: include unistd.h, allow escaped
quotes.
1995-08-30 10:23:54 +00:00
David Greenman c30ed836a0 Brought in changes from main branch: updated timezone files. 1995-08-30 10:13:09 +00:00
David Greenman 04b2e45883 Brought in changes from main branch. 1995-08-30 10:06:34 +00:00
David Greenman a422d41b56 Brought in changes from main branch: document -A option, implement -p. 1995-08-30 09:28:31 +00:00
David Greenman 665f944e8d Brought in changes from main branch: document 'noauto' fstab mount option. 1995-08-30 09:22:20 +00:00
David Greenman 56f2366256 Brought in changes from main branch: implement 'noauto' fstab mount option. 1995-08-30 09:22:02 +00:00
David Greenman bcea4db9a9 Brought in change from rev 1.3: enable ETC_ETHERS. 1995-08-30 09:03:41 +00:00
David Greenman a0eaed38fd Brought in change from rev 1.2: handle DLT_NULL type interfaces 1995-08-30 08:51:45 +00:00
David Greenman d74d62e477 Removed libftp. 1995-08-30 07:51:58 +00:00
Jordan K. Hubbard 3882688cee Merge changes from the HEAD. 1995-08-30 07:50:02 +00:00
David Greenman 4a053744bd Brought in changes from main branch. 1995-08-30 07:43:03 +00:00
David Greenman d56b71ad20 Brought in changes from main branch: use ctime (again, sigh!). 1995-08-30 07:33:30 +00:00
David Greenman f6cc2b861f Brought in changes from main branch: various fixes. 1995-08-30 07:31:12 +00:00
David Greenman ce22730876 Brought in changes from main branch: your basic rewrite. 1995-08-30 07:24:54 +00:00
David Greenman 9f3da246ba Brought in change from rev 1.2: "-c" isn't optional for installation of
source files.
1995-08-30 07:19:46 +00:00
David Greenman 1d2c5f658f Brought in change from rev 1.8: fix dependency 1995-08-30 07:16:34 +00:00
David Greenman 5f8e89b3b9 Brought in change from rev 1.3: fix typo. 1995-08-30 07:08:17 +00:00
David Greenman dc4101fcc5 Brought in changes from main branch: add rtld.1 man page. 1995-08-30 07:05:48 +00:00
David Greenman 0b8592cd9a Brought in change from rev 1.2: fix dependencies. 1995-08-30 06:58:36 +00:00
David Greenman 0ac6354bb1 Brought in chage from rev 1.3: depend on regex.h 1995-08-30 06:48:47 +00:00
David Greenman 53a9d9c89a Brought in changes from main branch: fix library/c++rt0.o dependencies. 1995-08-30 06:46:26 +00:00
David Greenman 362c406893 Brought in changes from main branch: fix path to X11, misc compiler
warnings.
1995-08-30 06:42:43 +00:00
David Greenman f04cb40cf5 Brought in change from rev 1.14: add rsvp-encap 1995-08-30 06:21:28 +00:00
David Greenman 51e5177463 Brought in change from main branch: add rsvp. 1995-08-30 06:19:30 +00:00
David Greenman 10bc66ae67 Brought in changes from main branch: in.identd -> identd. 1995-08-30 06:17:38 +00:00
David Greenman 85e7eea353 Brought in changes from main branch: fix comments. 1995-08-30 06:16:06 +00:00
David Greenman 32f252bd16 Brought in changes from main branch: everything except the new sound code
device changes. The sound code in 2.1 hasn't (yet?) been updated.
1995-08-30 06:14:21 +00:00
David Greenman 221520bf00 Brought in changes from main branch: install -> ${INSTALL} 1995-08-30 06:05:42 +00:00
David Greenman a9954fc3ea Brought in change from rev 1.3: use warnx rather than warn to avoid printing
a bogus errno message.
1995-08-30 05:56:31 +00:00
David Greenman cb5505572a Brought in changes from main branch: disable debug and handle null commands
in &&/||.
1995-08-30 05:53:08 +00:00
David Greenman 7714aeba24 Brought in change from rev 1.3: fix compile warning. 1995-08-30 05:44:18 +00:00
David Greenman 1834813499 Added zic(8) to tools build rule. 1995-08-30 05:40:34 +00:00
David Greenman 3139720337 Brought in changes from main branch: update to BIND 4.9.3-beta24 1995-08-30 04:09:27 +00:00
David Greenman fa1835d0e5 Brought in misc manual page corrections from main branch. 1995-08-29 11:46:24 +00:00
David Greenman cce0b20ad8 Brought in correction from rev 1.3; 1995-08-29 11:14:21 +00:00
Jordan K. Hubbard e1253154a9 Same for this branch. Back out previous change. 1995-08-28 17:53:34 +00:00
Jordan K. Hubbard dfa072b2bd Take -DKLUDGELINEMODE out of 2.0.5 Makefile 1995-08-28 17:48:47 +00:00
Jordan K. Hubbard 59b3b1ec0e Put sio3 back, add ATAPI to -current GENERIC kernel. 1995-08-28 17:45:46 +00:00
David Greenman 20947268fd Brought in change from rev 1.2: use strftime %c to xlate date. 1995-08-28 11:27:34 +00:00
David Greenman a269dff5f1 Brought in change from rev 1.8: don't use tzfile.h 1995-08-28 11:26:29 +00:00
David Greenman 0528a668a5 Brought in change from rev 1.4: don't use tzfile.h 1995-08-28 11:24:01 +00:00
David Greenman c28fe3c24e Brought in change from rev 1.2: don't use tzfile.h 1995-08-28 11:22:43 +00:00
David Greenman 7ed9fbe913 Brought in changes from rev 1.2: don't use tzfile.h 1995-08-28 11:21:23 +00:00
David Greenman 9712b3a6f2 Brought in changes from rev 1.5: use strftime %c to xlate date. 1995-08-28 11:20:12 +00:00
David Greenman 5641196755 Brought inchanges from revs 1.3-1.5: don't use tzfile.h and fix bug with
>1 year uptimes.
1995-08-28 11:18:34 +00:00
David Greenman fd55ba8237 Brought in changes from rev 1.11: don't use tzfile.h 1995-08-28 11:15:54 +00:00
David Greenman 48fb6556a9 Brought in changes from rev 1.2: don't use tzfile.h 1995-08-28 11:14:05 +00:00
David Greenman 2be3e1591c Brought inchanges from revs 1.4-1.5: don't use tzfile.h and use strftime
%c to xlate date.
1995-08-28 11:12:35 +00:00
David Greenman 7cef36346d Brought in changes from revs 1.2-1.5: don't use tzfile.h, and strftime %c
and related changes.
1995-08-28 11:10:58 +00:00
David Greenman fe5bab1a8e Brought in changes from rev 1.2: don't use tzfile.h 1995-08-28 11:08:30 +00:00
David Greenman 29e98091db Brought in changes from rev 1.4: don't use tzfile.h 1995-08-28 11:07:44 +00:00
David Greenman 9652d5b4fa Brought in change from rev 1.4: don't use tzfile.h 1995-08-28 11:06:20 +00:00
David Greenman b60b0e2394 Brought in changes from revs 1.3-1.4: don't use tzfile.h and use strftime
%c to get date.
1995-08-28 11:02:47 +00:00
David Greenman c0533b72e0 Brought in change from rev 1.10: don't use tzfile.h 1995-08-28 10:58:40 +00:00
David Greenman 80d23a93ee Brought in change from rev 1.3: don't use tzfile.h 1995-08-28 10:57:23 +00:00
David Greenman a6b18133c2 Brought in change from rev 1.6: use strftime to get date string 1995-08-28 10:54:34 +00:00
David Greenman f411ea8318 Brought in change from rev 1.3: use strftime to get date string. 1995-08-28 10:53:22 +00:00
David Greenman 1e1ce1c254 Brought in change from rev 1.2: don't depend on tzfile.h 1995-08-28 10:47:12 +00:00
David Greenman 322e6cd011 Brought in change from rev 1.8: don't depend on tzfile.h. 1995-08-28 10:44:53 +00:00
David Greenman d9a1a1accd Brought in change from rev 1.5: don't depend on tzfile.h. 1995-08-28 10:41:14 +00:00
David Greenman b53c1ee463 *** empty log message *** 1995-08-28 10:33:04 +00:00
David Greenman 255198c06c Brought in changes from rev 1.5: use %+ as default format. 1995-08-28 10:31:25 +00:00
David Greenman a1cb0b4a03 Brought in changes from main branch: eliminate use of tzfile.h and use
strftime %c to get date.
1995-08-28 10:30:27 +00:00
David Greenman fe249e9798 Brought in changes from main branch...everything except the BIND 4.9.3-b24. 1995-08-28 05:07:13 +00:00
David Greenman 1d6005f288 Fix an 'oops' in a previous commit - part of a patch got applied twice. 1995-08-28 02:23:07 +00:00
David Greenman 89053199cc Brought in change from rev 1.25: use tsort/lorder with .so libs. 1995-08-27 03:12:58 +00:00
David Greenman 97dd20c831 Backed out change in rev 1.2/1.1.1.1.6.1. 1995-08-27 02:04:18 +00:00
Jordan K. Hubbard 8356092ddb Add mse0 back to GENERIC, as I'd intended. Also remove sio3 - do
we really want a serial probe on IRQ 9?  I think not.  I certainly
don't see that as GENERIC fodder, anyway.
1995-08-26 13:17:47 +00:00
David Greenman 1848fa5e80 Brought in changes from main branch: various NIS fixes. 1995-08-26 12:56:07 +00:00
David Greenman d3f78f478b Brought in changes from rev 1.5: initialize ospeed. 1995-08-26 12:49:35 +00:00
David Greenman de5da5a526 Brought in change from rev 1.4: NIS fix for 'unchanged' warning. 1995-08-26 12:47:38 +00:00
David Greenman 83978a8a1f Brought in changes from rev 1.3: "hang forever" bugfix. 1995-08-26 12:43:58 +00:00
David Greenman ba75fd0aee Brought in changes from main branch: update to 8.6.12. 1995-08-26 12:29:04 +00:00
David Greenman 5eb5547702 Brought in changes from rev 1.5: added some fprintf newlines. 1995-08-26 12:14:12 +00:00
David Greenman 43b6a51888 Brought in changes from main branch: various fixes. 1995-08-26 12:11:50 +00:00
David Greenman ce9e54f6b7 Brought in changes from main branch: various fixes. 1995-08-26 11:56:49 +00:00
David Greenman 49ea67dc08 Brought in change from rev 1.7: use fts_errno, not errno. 1995-08-26 11:54:30 +00:00
David Greenman f77dac0782 Brought in change from rev 1.3: fix typo. 1995-08-26 11:50:53 +00:00
David Greenman d7bbefdf76 Brought in changes from rev 1.3: deal with sticky-bit directories. 1995-08-26 11:48:39 +00:00
David Greenman d182ec73c4 Brought in change from rev 1.5: add 57600 and 115200 baud to table. 1995-08-26 11:40:07 +00:00
David Greenman 8d3b8c0846 Brought in change from rev 1.2: fix comment. 1995-08-26 11:38:27 +00:00
David Greenman cf3bef6985 Brought in change from rev 1.2: comment out LOG_FILE #define. 1995-08-26 11:35:17 +00:00
David Greenman 9d1be8093c Brought in changes from main branch: misc cleanup, add missing usage arg. 1995-08-26 11:32:31 +00:00
David Greenman 274abc75ac Brought in change from rev 1.3: add missing -f flag. 1995-08-26 11:28:43 +00:00
David Greenman 39db387d4b Brought in change from rev 1.6: improve output for -x. 1995-08-26 11:24:34 +00:00
David Greenman 3167a4d98a Brought in change from rev 1.2: don't unlink target on failure of strip. 1995-08-26 10:35:43 +00:00
David Greenman 1235736954 Brought in changes from revs 1.5-1.6: fix path bugs. 1995-08-26 10:33:20 +00:00
David Greenman 26ea5d9f9e Brought in changes from revs 1.6-1.7: fix too long DNS timeout and properly
surpress headers with -h.
1995-08-26 10:30:26 +00:00
David Greenman cffec71d65 Brought in change from rev 1.4: fix for "TIOCGWINSZ: Interrupted system
call" on return from ctrl-Z.
1995-08-26 10:25:29 +00:00
David Greenman 422a7ab2dd Brought in change from rev 1.3: fix off by ten error in year calculation. 1995-08-26 10:16:22 +00:00
David Greenman ad02a7f9a3 Brought in change from rev 1.3: "decode" baud rate properly. 1995-08-26 10:13:17 +00:00
David Greenman 2629310229 Brought in change from rev 1.14: don't attemmpt to read 'total' from kernel. 1995-08-26 10:10:23 +00:00
David Greenman aeaf8d8653 Brought in changes from main branch: various fixes for SCO compatibility. 1995-08-26 09:57:17 +00:00
David Greenman c38e3e20e7 Brought in changes from main branch: changes for NIS. 1995-08-26 09:53:11 +00:00
David Greenman 6ca174558d Brought in changes from main branch: substitute weof for eof. 1995-08-26 09:45:34 +00:00
David Greenman 08e327f957 Brought in change from rev 1.2: fix handling of comment characters. 1995-08-26 08:44:42 +00:00
David Greenman 20c7cedb8d Brought in change from rev 1.2: handle EOF properly. 1995-08-26 08:38:58 +00:00
David Greenman caca67ae05 Brought in changes from main branch: restricted ports support. 1995-08-26 07:27:52 +00:00
David Greenman db431061d9 Brought in change from rev 1.6: only check for .nofinger if user matches. 1995-08-26 07:20:23 +00:00
David Greenman 91cd8fa22f Brought in changes from main branch: NIS additions and other fixes. 1995-08-26 07:15:17 +00:00
David Greenman 6351ebd5ad Brought in change from rev 1.2: fix core dump by terminating string. 1995-08-26 06:44:28 +00:00
David Greenman 35deabf283 Brought in change from revs 1.8-1.9: delete bogus fclose() and don't print
a newline when done.
1995-08-26 06:28:39 +00:00
David Greenman 91df8c1e53 Brought in change from rev 1.2: reset dev_bsize so that quotacheck -a
doesn't always fail after first partition.
1995-08-26 06:25:42 +00:00
David Greenman 1f724f05f7 Brought in changes from rev 1.2: NIS documentation. 1995-08-26 06:16:47 +00:00
David Greenman e75fed78b1 Brought in changes from rev 1.5: use the correct file pointer. 1995-08-26 06:10:57 +00:00
David Greenman cc9ff42e62 Brought in changes from revs 1.8-1.9: getty exiting too quickly fix. 1995-08-26 05:05:30 +00:00
David Greenman a3ad8a70d5 Brought in change from rev 1.4: fix final negotiation of DO_BINARY. 1995-08-26 04:45:10 +00:00
David Greenman cdee8d675f Brought in changes from revs 1.6-1.7: decode "baud rate" properly. 1995-08-26 04:41:49 +00:00
David Greenman ccbfd637f2 Brought in change from rev 1.3: default 'im' should be "FreeBSD". 1995-08-26 04:37:09 +00:00
David Greenman 5998ebada6 Brought in changes from rev 1.6: call setlogin() so that getlogin()
doesn't always return "root".
1995-08-26 04:33:59 +00:00
David Greenman 5c4eff16b8 Brought in changes from main branch: use ports 40000-44999. 1995-08-26 00:53:52 +00:00
David Greenman 6bd7399d2f Brought in changes from revs 1.4-1.7: various bug fixes. 1995-08-25 11:52:12 +00:00
David Greenman 87e32b1e91 Brought in changes from rev 1.2: make NIS ethers data appear inserted at
"+".
1995-08-25 11:46:33 +00:00
David Greenman d3ebd55bac Brought in change from rev 1.4: add missing fclose(). 1995-08-25 11:41:22 +00:00
David Greenman 225adf2a02 Brought in change from rev 1.3: add missing fclose(). 1995-08-25 11:37:42 +00:00
David Greenman 32d7e9e6f1 Brought in changes from rev 1.4: NULL terminate strings, produce sane
version string.
1995-08-25 11:35:37 +00:00
David Greenman 922c328628 Brought in changes from revs 1.10-1.11: various bug fixes. 1995-08-25 11:31:39 +00:00
David Greenman eceba2a18b Brought in changes from main branch. 1995-08-25 11:18:41 +00:00
David Greenman 4373334441 Brought in changes from main branch. 1995-08-25 11:11:26 +00:00
David Greenman e165b60c75 Brought in changes from main branch: handle cursor keys and window change
signals properly.
1995-08-25 10:58:35 +00:00
David Greenman f2516e1db5 Brought in change from rev 1.35: add missing quote. 1995-08-25 07:21:46 +00:00
David Greenman d834ed858d Brought in changes from main branch: fixes for dlopen/dlclose. 1995-08-25 07:08:38 +00:00
David Greenman aece5218b6 Brought in change from rev 1.11: reset umask. 1995-08-25 04:41:14 +00:00
David Greenman 518eeca971 Brought in change from rev 1.29: make error message consistent with gcc. 1995-08-25 04:39:51 +00:00
David Greenman 235ea4e224 Brought in change from rev 1.11: fix LINK_SPEC so f77 works. 1995-08-25 04:32:08 +00:00
David Greenman 5931da3704 Brought in changes from main branch. 1995-08-25 03:58:05 +00:00
David Greenman 2988a6b975 Brought in changes from revs 1.7-1.8: print a better message about using
'su'.
1995-08-25 03:42:24 +00:00
David Greenman ba0a4e5851 Brought in changes from revs 1.67-1.68: support for dumpdev and
nis_ypsetflags sysconfig variables.
1995-08-25 03:37:21 +00:00
David Greenman 90f0425460 Brought in changes from revs 1.5-1.6: print an appropriate error if stdin
isn't a tty.
1995-08-25 03:23:33 +00:00
David Greenman 2d33244e09 Brought in changes from rev 1.7: deal with backquote and EOF correctly. 1995-08-25 03:21:06 +00:00
David Greenman 12cad807a5 Brought in changes from rev 1.4: handle "-f foo" and "-ffoo" indentically
as required by posix.
1995-08-25 03:19:17 +00:00
David Greenman d5bed4037d Brought in change from rev 1.4: use major/minor(). 1995-08-25 03:15:56 +00:00
David Greenman 79ee3f4681 Brought in changes from rev 1.10: conform to POSIX.2 when comparing
integers.
1995-08-25 03:06:36 +00:00
David Greenman 1867e3b519 Brought in changes from rev 1.4: fix event number handling. 1995-08-25 03:02:28 +00:00
David Greenman 8cc42dd092 Brought in changes from rev 1.4: fix ttys setting for filec mode. 1995-08-25 03:01:01 +00:00
David Greenman 60129c752b Brought in changes from rev 1.4: fix bugs with 'which'. 1995-08-25 02:58:40 +00:00
David Greenman b8d9929ea7 Brought in change from rev 1.4: print error when getwd fails. 1995-08-25 02:57:08 +00:00
David Greenman d2cc47c256 Brought in changes from main branch: fix path warning to apply to
interactive use only.
1995-08-25 02:55:49 +00:00
David Greenman eb32ed8894 Brought in changes from rev 1.4: don't unlink the target on error. 1995-08-25 02:51:35 +00:00
David Greenman d99bb91591 Brought in changes from rev 1.30: Matt's version of a previous bugfix. 1995-08-25 02:07:56 +00:00
David Greenman 3edc8556a2 Brought in change from rev 1.22: fix SYN blocking code. 1995-08-25 01:58:04 +00:00
David Greenman 6d39011b72 Brought in changes from rev 1.21: fix cookies for NFS. 1995-08-25 01:54:39 +00:00
David Greenman de817b7f0b Brought in Bruce's "trailing slash" fixes. 1995-08-25 01:49:15 +00:00
David Greenman dce7feb62b Brought in changes from rev 1.11: fix mfs reboot panic. 1995-08-24 06:06:25 +00:00
David Greenman df541ac4b8 Brought in changes from revs 1.14-1.15: implement -async mount option and
fix flags botch IO_SYNC->B_SYNC.
1995-08-24 06:03:02 +00:00
David Greenman 9849cdc62e Brought in changes from rev 1.28: removed redundant if() and fixed typo. 1995-08-24 05:52:06 +00:00
David Greenman de51b090b1 Brought in changes from rev 1.10: fix "ifpromisc failed" panic. 1995-08-24 05:41:52 +00:00
David Greenman 97ee7f3e59 Brought in changes from rev 1.15: don't dereference NULL credentials. 1995-08-24 05:35:05 +00:00
David Greenman eb32c7d599 Brought in part of rev 1.15: defer incrementing v_writecount a bit so that
it isn't bumped in a failure case.
1995-08-24 05:29:36 +00:00
David Greenman 11e7d60a71 Brought in changes from rev 1.31: use FNONBLOCK, not IO_NDELAY in
VOP_CLOSE().
1995-08-24 05:21:05 +00:00
David Greenman d28786863c Brought in changes from revs 1.11-1.12: fix bugs with shutdown_nice(). 1995-08-24 03:50:12 +00:00
David Greenman 4a81ddecf5 Brought in changes from rev 1.136: fix bugs/anomolies with boot(). 1995-08-24 03:48:25 +00:00
David Greenman e08a970fee Brought in change from rev 1.9: unround hzto(). 1995-08-24 03:46:26 +00:00
David Greenman ab2fef92bd Fix up comments that didn't get fixed in a previous commit. 1995-08-23 10:13:55 +00:00
David Greenman b82d64a1f5 Brought in change from rev 1.34: make 'cheat' static so that it doesn't
conflict with the buslogic driver.
1995-08-23 10:03:12 +00:00
David Greenman cfb7f4544f Brought in change from rev 1.124: add missing semicolon. 1995-08-23 10:00:54 +00:00
David Greenman a379d0109c Brought in change from rev 1.35: declare 'cheat' static so that it doesn't
conflict with the ultrastore driver.
1995-08-23 09:45:18 +00:00
David Greenman c426c0b675 Brought in change from rev 1.9/1.10: added 'memory' constraint to prevent
bogus inline asm optimizations.
1995-08-23 09:43:11 +00:00
David Greenman 60f238dacf Brought in changes from revs 1.38-1.39: added 'memory' contraint to
various inline asm functions to prevent bogus gcc optimizations from
taking place.
1995-08-23 09:40:21 +00:00
David Greenman f48871a6db Brought in changes from revs 1.29 and 1.30: killed device probe/attach and
added reset command.
1995-08-23 09:37:28 +00:00
David Greenman 7de8dbe619 Brought in changes from revs 1.56-1.59: POWERFAIL_NMI kernel option,
compiler warning fixes, bugfix for experimental trap_pfault, and minor
performance tweak.
1995-08-23 07:31:17 +00:00
David Greenman c434a40cb3 Brought in change from rev 1.5: commented out "total" global as it no
longer exists in the kernel.
1995-08-23 07:24:58 +00:00
David Greenman a709d30443 Brought in changes from rev 1.13: fix a whole pile of printf's that ended
with \n\r.
1995-08-23 07:20:29 +00:00
Jordan K. Hubbard dc81f2f742 Bring in revisions from the HEAD. I've brought dumpdev and
nis_ypsetflags in as well with this rev, though they may
be no-ops for the moment until we bring whatever corresponding
changes are required in.
1995-08-23 07:18:06 +00:00
David Greenman 7b239e5628 Brought in changes from revs 1.129-1.130: partial fix for sysctl
machdep.console_device and kill redundant vnode_pager_uncache() call.
1995-08-23 07:16:42 +00:00
David Greenman d3ff9898fb Brought in change from rev 1.10: fake a call frame so that debugger stack
tracebacks work correctly for traps.
1995-08-23 05:22:34 +00:00
David Greenman 1721a7efd0 Brought in changes from revs 1.29-1.30: partial fix for sysctl
machdep.console_device, and output \r\n, not \n\r for newline.
1995-08-23 05:17:52 +00:00
David Greenman 3a9f2e8c62 Brought in change from rev 1.101: fix aic7xxx_asm clean rule. 1995-08-23 05:05:54 +00:00
David Greenman 72f7f7bbac Brought in change from rev 1.65: fix clean target. 1995-08-23 05:00:48 +00:00
David Greenman 001540be3f Brought in change from rev 1.3: install with correct permissions. 1995-08-23 04:41:23 +00:00
David Greenman 0564919c70 Brought in changes from rev 1.8: add dflname for default kernel name to fix
file not found loop bug..
1995-08-23 04:38:47 +00:00
David Greenman 19103f2fb4 Brought in change from rev 1.10: fix function prototype. 1995-08-23 04:36:42 +00:00
David Greenman 7506d1aabc Brought in changes from rev 1.15: fix compiler warnings. 1995-08-23 04:35:52 +00:00
David Greenman 021c1a4685 Brought in changes from rev 1.14: relax cylinder restriction. 1995-08-23 04:34:30 +00:00
David Greenman 4b77dbf388 Brought in changes from rev 1.11: fix prototypes. 1995-08-23 04:32:44 +00:00
David Greenman af7fad2088 Brought in changes from revs 1.45-1.46: fix broken FORCE_COMCONSOLE, and
print newline after symbol info.
1995-08-23 04:29:21 +00:00
David Greenman 9a9a7820aa Brought in changes from rev 1.7: improvements to DDB's "ps" command. 1995-08-23 04:25:16 +00:00
David Greenman 44e74a2463 Brought in changes from rev 1.11: remove use of GATEWAY in nmbclusters
calculation.
1995-08-23 04:22:29 +00:00
David Greenman c95597a8e9 Brought in all of Justin's changes/fixes from the main branch. 1995-08-23 03:52:27 +00:00
David Greenman 1c02e34bd6 Add support for an NFS_ASYNC kernel option. 1995-08-23 03:38:56 +00:00
David Greenman b3bdc8938e Brought in changes from revs 1.26 and 1.28 (all remaining diffs from
the main branch): BSDI compatibility in ogetkerninfo and fix sysctl
to return as much info as possible.
1995-08-20 03:12:38 +00:00
David Greenman e8991fa32b Brought in change from rev 1.7: use microtime() rather than "time" to
avoid time becoming negative for short-lived processes.
1995-08-20 02:51:59 +00:00
David Greenman ad5feed752 Brought in fix from rev 1.5: fix stating of "associated" files. 1995-08-20 02:26:03 +00:00
David Greenman 5d56ad1bef Brought in the rest of changes from rev 1.123 that were accidently
overlooked.
1995-08-20 02:20:38 +00:00
David Greenman a7b76c6751 Brought in changes from rev 1.6: sync with author's rev 1.3. 1995-08-20 02:12:13 +00:00
David Greenman 4e72be1c56 Brought in change from rev 1.11: fix race condition. 1995-08-20 00:23:50 +00:00
David Greenman 1ba919e206 Brought in changes from revs. 1.118-1.120: fix race condition; don't
convert \n, and small performance improvement.
1995-08-20 00:17:12 +00:00
David Greenman 23a6b8f362 Brought in change from rev 1.45: increased GETREPLY timeout to 5 secs. 1995-08-20 00:06:56 +00:00
David Greenman e9bdd020fd Brought in changes from revs. 1.30-1.33: fix interface type and use if_mtu
correctly.
1995-08-20 00:04:04 +00:00
David Greenman d1f4553d7d Brought in changes from rev 1.8: Fix to work with BNC connector. 1995-08-19 23:27:14 +00:00
David Greenman 780c671d2f Brought in changes from rev 1.18: add missing call to bpf_mtap(). 1995-08-19 23:24:14 +00:00
David Greenman 12ebeaad77 Brought in changes from rev 1.29: protect ioctl function with splimp. 1995-08-19 23:21:56 +00:00
David Greenman d6b22adb58 Brought in change from rev 1.53: Make kernel path absolute if necessary. 1995-08-19 00:51:53 +00:00
David Greenman 5248c5a02c Brought in change from rev 1.13: check udp length for sanity. 1995-08-18 23:59:25 +00:00
David Greenman 6d395fcf6d Brought in change from rev 1.10: changed default optimization back to -O. 1995-08-18 23:50:42 +00:00
Jordan K. Hubbard 983d6e6e67 Bring in changes to support `-m' flag from the HEAD. 1995-08-13 13:26:25 +00:00
David Greenman e8c44941af Brought in changes from rev 1.6: fix message buffer range checking. 1995-08-11 04:04:20 +00:00
David Greenman a40c2aa33f Brought in changes from rev 1.9: fix message buffer range checking. 1995-08-11 04:02:25 +00:00
David Greenman e16068afab Brought in change from revs 1.14-1.17: fix message buffer range checking
and printf %p printing.
1995-08-11 04:01:06 +00:00
David Greenman 6a1c3ad4d4 Brought in changes from rev 1.10: move mbuf frees to after sorflush(). 1995-08-11 03:53:38 +00:00
David Greenman 8f237e8256 Don't supress sysctl variable change information for [no] tcp extensions. 1995-08-09 01:45:51 +00:00
Jordan K. Hubbard 6d55d77d2c Bring in changes from the HEAD.
Submitted by:	Stephen Hocking <[email protected]>
1995-08-08 12:29:36 +00:00
Jordan K. Hubbard 5a8fa6b5e4 Bring up revision 1.123 from the HEAD. This just incorporates
John's malloc() patches, it doesn't bring it what looks to be a number
of Bruce's changes which probably depend on the tty changes.
Submitted by:	dyson
1995-08-08 12:28:59 +00:00
Andrey A. Chernov 1735246c43 Bring setreuid changes to 2.1 1995-08-08 04:07:22 +00:00
Andrey A. Chernov 1d6a79bc33 Copy 2.2 changes to 2.1 branch, including ^\t\n fixes and SYSV include
processing
1995-08-08 04:00:37 +00:00
David Greenman 90a2b819e3 Brought in changes from rev 1.4 and 1.5: deal with comment characters. 1995-08-06 07:21:30 +00:00
David Greenman fcab7241c2 Brought in changes from main branch: fix to work with MD5 crypt and fix
password change message.
1995-08-05 08:41:36 +00:00
David Greenman e963750ea1 Brought in change from rev 1.11: YP_NODOM should map to YPERR_DOMAIN. 1995-08-05 08:34:46 +00:00
David Greenman f27c624580 Brought in changes from rev 1.9: fixes for PRs 507, 508, and 509. 1995-08-05 08:29:25 +00:00
David Greenman cc8a9fb724 Brought in changes from main branch: check for NULL pointers. 1995-08-05 08:20:27 +00:00
David Greenman 12a86e8ffe Brought in change from rev 1.5: use daemon() to background. 1995-08-05 08:04:30 +00:00
David Greenman c8a82f8bab Brought in changes from rev 1.6: check with lkexists() before loading
module.
1995-08-05 07:42:51 +00:00
David Greenman 899b05e50e Brought in changes from rev 1.4: backed out "NIS rebind" performance
improvement.
1995-08-04 19:37:31 +00:00
David Greenman 0ce150a743 Brought in change from rev 1.5: return correct number of I/O ports. 1995-07-31 09:44:06 +00:00
David Greenman e8ae3fbecb Brought in change from rev 1.10: exit with good status if successful. 1995-07-30 18:26:20 +00:00
David Greenman d251e70960 Brought in change from rev 1.5: correct typo. 1995-07-30 18:22:43 +00:00
Jordan K. Hubbard 21b655cf0f Pull in my fix from the HEAD. 1995-07-30 13:01:41 +00:00
David Greenman 25f52744ef Brought in fixes and statistics additions from main branch. 1995-07-30 00:42:55 +00:00
David Greenman 8e899d16d2 Brought in changes from main branch: Add connection drop capability for
persist timeouts.
1995-07-29 23:16:53 +00:00
Rodney W. Grimes 3d27989b8d Bring in SNAPDATE change from HEAD (1.18).
Reviewed by:	jkh
1995-07-29 18:44:00 +00:00
David Greenman ea71c703e4 Brought in change from rev 1.27: fix panic in fill_eproc() caused by
inadequate NULL check.
1995-07-29 05:14:28 +00:00
David Greenman 57bcf8a671 Brought in changes from rev 1.75: fixed panic w/bogus length. 1995-07-28 12:18:39 +00:00
Jordan K. Hubbard 608f3951f1 Add spanish keymap from HEAD. 1995-07-27 23:16:43 +00:00
Rodney W. Grimes 1cfe6c8922 Merging differences between 1.9 and 1.10 into rc.i386
FreeBSD/386 -> FreeBSD/i386
1995-07-27 14:07:03 +00:00
Jordan K. Hubbard 56766694cb Tweak these files for the latest snap. 1995-07-27 01:37:18 +00:00
Jordan K. Hubbard c5894b74c2 Bring in changes from the HEAD. 1995-07-26 23:38:19 +00:00
Jordan K. Hubbard 476062a675 Bring in changes from the HEAD.
Branch:	RELENG_2_1_0
Submitted by: Frank Durda IV <uhclem%[email protected]>
1995-07-26 23:34:52 +00:00
Jordan K. Hubbard 6f92863066 Try to work around the latest surprises in cpio. Remove -H newc
from a number of places where it didn't belong.
Branch: RELENG_2_1_0
1995-07-26 03:09:16 +00:00
Jordan K. Hubbard 55be1e6318 Tweak a couple of the variables at the top to save myself time.
Branch: RELENG_2_1_0
1995-07-25 19:15:36 +00:00
David Greenman 2e65eafa2a Brought in change from rev 1.22: don't bogusly truncate a file on a
setattr failure.
1995-07-25 07:47:54 +00:00
David Greenman 9196485442 Brought in changes from revs 1.53 and 1.54: fixed panic caused by wrong
page offset in vfs_unbusy_pages() plus other minor changes.
1995-07-25 05:07:40 +00:00
Jordan K. Hubbard 81eda47b79 Bring in changes for -static compilation from the HEAD
Branch: RELENG_2_1_0
Submitted by:	bde
1995-07-25 02:38:54 +00:00
Jordan K. Hubbard 2372b3ad85 Pull in my change from the HEAD.
Branch: RELENG_2_1_0
1995-07-25 02:01:50 +00:00
David Greenman 6b225acbb4 Brought in changes from rev 1.52: added additional diagnostic info. 1995-07-23 19:38:35 +00:00
David Greenman 7d52cf4738 Brought in changes from rev 1.51: add missing parens, simply allocbuf()
logic.
1995-07-23 19:02:26 +00:00
David Greenman 3db0777e35 Brought in changes from rev 1.8: Discard ICMP's in response to multicast
packets.
1995-07-23 05:52:51 +00:00
David Greenman e7a412f7bd Brought in changes from revs 1.21 and 1.22: Fix panic when no mbuf is
allocated (when 0 length is passed in setsockopt()).
1995-07-23 05:48:03 +00:00
David Greenman c4387d7574 Brought in IP firewall fixes from main branch. 1995-07-23 05:43:51 +00:00
David Greenman b0f5158e9b Brought in changes from rev 1.18: delete obsolete #if 0 block. 1995-07-23 05:26:13 +00:00
David Greenman 135e8ec3db Brought in changes from revs 1.14 and 1.15: Fixed backwards subtract in
route expire time calulation, and fill in default value for pipe sizes.
NOTE: Part of rev 1.15 left out at Garrett's request; the default mtu is
not filled in.
1995-07-23 05:19:01 +00:00
David Greenman 4b52625cdd Brought in changes from revs 1.26 and 1.27: fixed srtt filter and added
statistics.
1995-07-23 05:12:13 +00:00
David Greenman 57e3c392b5 Brought in changes from revs 1.12 and 1.13: add statistics counters and
fix broken srtt filter.
1995-07-23 05:04:31 +00:00
David Greenman d690cfb3d8 Brought in changes from revs 1.12, 1.13, and 1.14: add statistics counters. 1995-07-23 05:02:02 +00:00
David Greenman da74ed6dfe Brought in changes from main branch: give BPF ability to generate signals
and don't include tty.h.
1995-07-23 04:58:33 +00:00
David Greenman cde99799a8 Brought in changes from rev 1.24: initialize rt_ifa and rt_ifp a little
earlier.
1995-07-23 04:55:01 +00:00
David Greenman 47ab8fd6e1 Brought in changes from revs 1.15 and 1.16: support for IPTOS_LOWDELAY and
use unique sleep strings.
1995-07-23 04:49:22 +00:00
David Greenman f75574e9b0 Brought in change from rev 1.15: return EDESTADDRREQ instead of EADDRNOTAVAIL 1995-07-23 03:38:11 +00:00
Rodney W. Grimes a55bbcf4c9 date: 1995/07/20 14:49:29; author: jkh; state: Exp; lines: +11 -11
Time to go to `newc' format for cpio.  This works-around a bug currently
in cpio and gives us a little more robust format anyway (with CRC checking).

[Note that 2 hunks of the old delta no longer apply due to intervening
changes from other branches that obsolete the effected lines.]
1995-07-22 05:21:15 +00:00
David Greenman 8ced1544b9 Brought in one small bug fix from the main branch: swap_pager_copy() must
not return without doing its work.
1995-07-22 04:41:47 +00:00
David Greenman 16ed2cb7cc Brought in changes from main branch: Add ability to wire an scbus to a
controller.
1995-07-22 04:38:06 +00:00
David Greenman 871a31fed1 Brought Adaptec driver and sequencer code up to date with main branch,
brought in misc SCSI fixes from main branch, and added support for wiring
a specific SCSI bus to a specific controller. REQUIRES A REBUILD OF CONFIG!
1995-07-22 04:25:10 +00:00
Rodney W. Grimes 3114b4e48d date: 1995/07/13 19:11:32; author: jkh; state: Exp; lines: +4 -3
Latest eBones target
Submitted by:   markm

[Note, I have had to hand apply this due to the order of deltas
being different, so it does not match the original delta, but
achivies the desired results].
1995-07-22 04:15:40 +00:00
David Greenman 38c847a956 Brought in changes from rev 1.50: Re-lookup buffer if the vnode isn't
locked.
1995-07-22 03:46:46 +00:00
David Greenman 3cef4a6422 Brought in changes from revs 1.24 and 1.25: fix race condition. 1995-07-22 03:43:39 +00:00
David Greenman b92f7fba74 Brought in changes from revs 1.10 and 1.11: fix race condition. 1995-07-22 03:40:56 +00:00
Rodney W. Grimes da9bdb3dfa date: 1995/07/11 22:13:42; author: jkh; state: Exp; lines: +5 -3
Sync the Makefile with Mark's suggested eBones stuff.
Submitted by:   markm

Reviewed by:
Submitted by:
Obtained from:
1995-07-21 11:53:59 +00:00
Rodney W. Grimes 5ef57d0ea2 date: 1995/07/11 10:00:25; author: jkh; state: Exp; lines: +36 -40
Tighten up the editors a bit - add direct `write' options
to fdisk and disklabel editors.
1995-07-21 11:45:45 +00:00
Rodney W. Grimes 65d5a8cd79 date: 1995/07/08 07:51:12; author: jkh; state: Exp; lines: +3 -5
Clean up the release.2 target a bit.
1995-07-21 11:32:15 +00:00
Rodney W. Grimes a9ce5f4f3a date: 1995/07/08 05:45:44; author: jkh; state: Exp; lines: +15 -21
Clean up the release/rerelease targets a little.
1995-07-21 11:29:27 +00:00
Rodney W. Grimes d89a832ccb date: 1995/06/24 17:10:11; author: joerg; state: Exp; lines: +10 -1
Provide default values for the disklabel fields sbsize, interleave,
and rpm.  This prevents a subsequent ``disklabel -B'' from failing.

Closes (my - joerg) PR #i386/251 disklabel(8) refuses to install new
bootstrap.

Submitted by:   [email protected] (Craig Struble)
1995-07-21 11:22:38 +00:00
Rodney W. Grimes a765e9d806 date: 1995/06/22 19:15:31; author: jkh; state: Exp; lines: +19 -1
Make the sendmail sample cf files another dist.
Submitted by:   joerg
1995-07-21 11:15:28 +00:00
Rodney W. Grimes f46681678a date: 1995/06/21 00:42:03; author: jkh; state: Exp; lines: +13 -17
Don't forget to ifconfig the device when using a SLIP device as well.

Submitted by:
Obtained from:
1995-07-21 10:57:33 +00:00
Rodney W. Grimes 95ee576122 date: 1995/06/20 00:28:06; author: jkh; state: Exp; lines: +3 -3
Fix a number of problems and add a couple of new features:

o Don't frob the network/CD/DOS/etc configuration when not running as init
  (e.g. post-install).  Assume that everything's happily up and working already.

o Add express and custom install options.  Now you can invoke  just about
  every individual installation option manually as well as have sysinstall
  lead you by the nose (or some other suitable appendage) through all the
  appropriate screens.

o Mount the DOS partition read-only by default in /etc/fstab until we figure
  out why MSDOSFS is so terribly broken.  It doesn't appear to be quite so
  pathological if you don't mount it read/write.

Reviewed by:
Submitted by:
Obtained from:
1995-07-21 10:54:06 +00:00
Rodney W. Grimes 63d061bb59 date: 1995/06/19 23:29:49; author: gpalmer; state: Exp; lines: +3 -3
Fix bogon in network address checking code. It nows allows the number
255 in the first three fields, although 255 in the last octet is still
considered an error, as it is still a broadcast address (AFAIK).

Noticed By:	[email protected] (Larry Granroth)

Reviewed by:
Submitted by:
Obtained from:
1995-07-21 10:02:59 +00:00
David Greenman 48018ec55c Brought in changes from revs 1.9 and 1.10: Compaq/compatibility fixes and
fix for Intel Aries.
1995-07-20 19:33:11 +00:00
David Greenman be21a0a2a7 Brought in changes from revs 1.14 and 1.15: fixed/improved probe messages. 1995-07-20 19:29:46 +00:00
David Greenman b16503155b Brought in changes from revs 1.24 and 1.25: make bridge consistency
checks non-fatal and change "not supported" to "no driver assigned".
1995-07-20 17:46:52 +00:00
David Greenman 04d47382f7 Brought in changes from revs 1.38 and 1.39: request sense bug fix. 1995-07-20 17:40:43 +00:00
David Greenman 7f9e9340f5 Brought in "VOP_GETATTR" fix from the main branch. See rev 1.43 of
vnode_pager.c for details.
1995-07-20 10:34:17 +00:00
David Greenman 106101517b Brought in changes from revs 1.54 and 1.55: Fix bug with PT faults
occurring twice.
1995-07-20 09:18:16 +00:00
David Greenman f3f9dc8ae1 Brought in part of change from rev 1.12 (vfs_vnops.c) and
rev 1.18 (nfs_subs.c): Removed bogus vm_object_lookup/pager_cache pair.
1995-07-20 07:52:09 +00:00
David Greenman aedb478be5 Brought in fixes from revs 1.48 and 1.49: Allow resizing of buffers and
fix "bufspace" lossage that resulted in a "newbuf" hang.
1995-07-20 07:02:23 +00:00
David Greenman a54ebefc2f Bring a fragment of a fix in the 2.2 branch: Don't mess with sw_piip; the
frobbing is useless and results in bogus wakeups occurring.
1995-07-20 05:52:57 +00:00
David Greenman a1adc0052d Bring in my changes from revs 1.21-1.26: mainly, fix interface up/down
bugs.
1995-07-20 05:50:07 +00:00
Rodney W. Grimes 05a4596227 cvs update -j1.2 fortunes-o.real 1995-07-17 04:55:22 +00:00
David Greenman 99ed2c886a Bring in changes from rev 1.9: remove temp files
Submitted by:	Peter Dufault
1995-07-16 14:00:03 +00:00
Rodney W. Grimes 4a1f769700 Branch: RELENG_2_1_0
cvs update -j1.3 dump.8
1995-07-15 10:46:40 +00:00
Rodney W. Grimes 1d5b5f5a91 Branch: RELENG_2_1_0
cvs update -j1.17 newvers.sh

Plus set REVISION to 2.1 and BRANCH to STABLE.
1995-07-13 11:01:37 +00:00
Rodney W. Grimes 2529a31443 Branch: RELENG_2_1_0
cvs update -j1.27 Makefile
1995-07-13 10:58:49 +00:00
Rodney W. Grimes 605931781b Now rejoin this!
cvs update -j 1.19 make.conf; cvs commit
1995-07-13 09:21:13 +00:00
David Greenman daa96194ed (2.1.0 branch)
Bring in changes from rev 1.16 and 1.17: made "P2P_LOCALADDR_SHARE"
standard and fixed one remaining bug with P2P address handling.
1995-07-13 09:10:43 +00:00
David Greenman 9391631eab (2.1.0 branch)
Bring in change from rev 1.12: add missing splx.
1995-07-08 04:11:55 +00:00
Rodney W. Grimes 2b57ca3a5b Branch: RELENG_2_1_0
cvs admin -o 1.1.1.1.6.1
cvs update -j 1.3
----------------------------
revision 1.3
date: 1995/06/25 03:35:49;  author: bde;  state: Exp;  lines: +2 -1
41 headers must be implicitly included and one more (<sys/param.h>) must
be explicitly included before kvm_getprocs() can be used.
----------------------------
revision 1.2
date: 1995/06/24 18:53:09;  author: joerg;  state: Exp;  lines: +9 -9
Update the man page for kvm_getprocs.3 to reflect our sysctl-based
kvm mechanism.

Submitted by:   (Vic Abell) <[email protected]>
----------------------------
1995-07-07 07:15:10 +00:00
David Greenman a84206fa8e (2.1.0 branch)
Brought in changes from rev 1.42 - fix "object deallocated too many times"
panic on NFS client.
1995-07-07 06:22:00 +00:00
David Greenman f2fcfbfb23 (2.1.0 branch)
Bring in change from 1.3 - fix typo that broke the send-pr mode.

Submitted by:	Jeorg Wunsch
1995-06-28 06:19:10 +00:00
David Greenman 967c802786 (2.1.0 branch)
Bring in changes from 1.3 - fix bogus type conversion that causes dump
to fail on large filesystems.

Submitted by:	Jeorg Wunsch
1995-06-28 06:15:04 +00:00
David Greenman 57325ad44d (2.1.0 branch)
Bring in changes from 1.28 - don't ignore umask when setting 'x'.

Submitted by:	Jeorg Wunsch
1995-06-28 05:54:50 +00:00
David Greenman 1b01b14b5b (2.1.0 branch)
Brought in changes from rev 1.16 that fix fa_type/fa_mode confusion.

Submitted by:	Jeorg Wunsch
1995-06-28 05:49:39 +00:00
Rodney W. Grimes 065aa677c7 Correct spelling of Judy Garland's name.
Submitted by:	Kenneth Stailey <[email protected]>
Obtained from:  NetBSD gnats bug list
1995-06-20 12:40:48 +00:00
David Greenman b64571a6c1 (2.1.0 branch)
Added a missing vm_object_unlock(). This is a no-op since we don't use
object locking, but it looks like a bug and it's good to be consistent
anyway.

Reviewed by:	John Dyson
1995-06-14 17:21:58 +00:00
cvs2svn e506c6f0ea This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'. 1995-06-13 18:05:17 +00:00
Rodney W. Grimes d3628763db Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Jordan K. Hubbard 67eb1e0ed1 Update Walnut Creek's information in the release notes. 1995-06-10 09:56:30 +00:00
Jordan K. Hubbard 5f68a53d96 The WD7000 is a SCSI controller. 1995-06-10 02:40:11 +00:00
Jordan K. Hubbard a38c0f2f8b Adjust description of ethernet cards.
Submitted by:	Masahiro SEKIGUCHI <[email protected]>
1995-06-10 02:38:55 +00:00
Jordan K. Hubbard 99404406dc Some very small tweaks to hardware.hlp.
Submitted by:	joerg & jkh
1995-06-10 01:25:28 +00:00
Jordan K. Hubbard abb91fd6e4 Correct very minor typo. 1995-06-09 13:29:19 +00:00
Jordan K. Hubbard 24f94bfe78 German installation guide.
Submitted by:	joerg
1995-06-09 08:29:53 +00:00
Jordan K. Hubbard 2253364305 Add another failure mode I've seen. 1995-06-09 08:29:16 +00:00
Jordan K. Hubbard 091b7196ac Norwegian updates.
Submitted by:	lars
1995-06-09 07:34:33 +00:00
Jordan K. Hubbard f9a47a66a0 Translation of latest paragraph I added.
Submitted by:	joerg
1995-06-09 07:26:00 +00:00
Jordan K. Hubbard a9b434857b Minor tweak: Change name of "Master partition editor" to "FDISK partition
editor" here and in the docs.  People have come to understand "FDISK"
as a more generic term and have been complaining that they didn't
equate the "master" partition editor with the old fdisk stage and were
confused.
1995-06-08 09:49:07 +00:00
Jordan K. Hubbard fb39553377 Add note about looking in the FAQ directory. Nobody will bother
to read it, of course, but I can only try! :-)
1995-06-08 09:12:55 +00:00
Jordan K. Hubbard 8c6326f5db Add John Lind's instructions on dealing with ESDI/MFM drives.
Submitted by:	John Lind <[email protected]>
1995-06-08 09:08:38 +00:00
Jordan K. Hubbard 95740ebf98 More German docs.
Submitted by:	joerg
1995-06-08 08:08:39 +00:00
Jordan K. Hubbard 8bceef50c3 A large collection of patches committed from the top to make it easier
on me:

1. Mark Murray's eBones patches.
2. Joerg's German docs + fixes.
3. Various sysinstall bug fixes from me + Mark's eBones menu changes.
4. Steven G. Kargl's doc fixes.
Submitted by:	markm, joerg, jkh, [email protected]
1995-06-07 05:52:05 +00:00
Satoshi Asami 0fbb5009b2 Renamed the default package repository ".../packages/.packages" to
".../packages/All".  The "all" category that was automatically added
for every package is gone.

Note that bsd.port.mk requires category names to start with lowercase
names, otherwise it may get confused.

Reviewed by:	jkh

By the way, here is a small script to convert your local package
hierarchy.  Run it in bash, as /bin/sh not only will bark at the
$(.) command substitution but will also botch the [a-z]*/*.tgz
expansion (long-standing and annoying bug, reported before).

cd /usr/ports/packages
mv .packages All
for i in [a-z]*/*.tgz; do
  j=$(basename $i)
  /bin/rm $i
  ln -s ../All/$j $i
done
1995-06-06 10:56:34 +00:00
Jordan K. Hubbard e68b53ea5f It took a non-native speaker of English to show me that I couldn't
speak english.  In this doc I say that "2.0.5 fills a much needed
gap between 2.0R and 2.1."  No wonder the translators were confused!
I'm trying to say that we _wanted_ a gap between 2.0.5 and 2.1?  That
such gaps are much needed?  Wurgh!  Not what I was trying to say at
all!  It should have (and now does) read: "2.0.5 fills a critical
gap between 2.0R and 2.1."  Critical gap, not much needed. :-)
Translators:  You may wish to adjust your own translations as
well if you tried to translate my original botch!  Send me diffs
as soon as you can.  Thanks!
Submitted by:	me
1995-06-06 09:44:42 +00:00
Jordan K. Hubbard e1c6279f7a Document experimental and commercial distributions. 1995-06-06 07:57:47 +00:00
Jordan K. Hubbard f88e670e7a Delete all references in all languages (except Russian, which I can't read
well enough to edit! :-) to the "ESC to start a shell" feature.  It's
been removed for days now, replaced by the emergency holographic shell
on VTY4.
1995-06-06 04:27:08 +00:00
Jordan K. Hubbard 3c5f2cc592 Add plug for Linux DOOM compatibility for Soren.. :-) 1995-06-06 02:15:16 +00:00
Jordan K. Hubbard 8660318ac3 Nits. 1995-06-06 01:38:46 +00:00
Jordan K. Hubbard 7db891450b German RELNOTES! Boy, I wasn't expected _these_
to be translated!
Submitted by:	joerg
1995-06-06 01:24:51 +00:00
Jordan K. Hubbard b83e66a730 Joerg's cleanup.
Submitted by:	joerg
1995-06-06 01:21:36 +00:00
Jordan K. Hubbard 731935ca64 Fixes and additions.
Submitted by:	"Steven G. Kargl" <[email protected]>
1995-06-06 00:55:25 +00:00
Jordan K. Hubbard 9581b9e0da Untabify. Amazing how those TABs just keep creeping in! 1995-06-05 23:57:38 +00:00
Jordan K. Hubbard 3ec387c6ea Gary's distribution help screen.
Submitted by:	gpalmer
1995-06-05 22:26:45 +00:00
Jordan K. Hubbard 66bf596f00 My options menu help. 1995-06-05 22:18:35 +00:00
Jordan K. Hubbard 3ad689f73f Realign after detabification. 1995-06-05 20:05:34 +00:00
Jordan K. Hubbard 958e63729f Various stylistic changes.
Submitted by: Frank Durda IV <uhclem%[email protected]>
1995-06-05 19:45:48 +00:00
Jordan K. Hubbard 7fe9f94aca My style and doc changes. 1995-06-05 15:26:38 +00:00
Jordan K. Hubbard 2b26a3ae31 Document tape limitations. 1995-06-05 15:17:54 +00:00
Jordan K. Hubbard 091ba943c6 Untabify. 1995-06-05 15:17:40 +00:00
Jordan K. Hubbard 0c222512cb Whoops! I didn't check and spammed one author's
changes over another!  Bad form, and I thought  they
were both coming from the same author or I wouldn't have done
it.  Revert to original author's version until the two Spanish
translators figure out who's doing what.. :-)
1995-06-05 11:51:10 +00:00
Jordan K. Hubbard 6c4fd00d9e Spanish updates.
Submitted by:	Andres Vega Garcia <[email protected]>
1995-06-05 11:45:03 +00:00
Jordan K. Hubbard 5c919749d8 Fix typo. 1995-06-05 06:37:28 +00:00
Jordan K. Hubbard 8ecb161c21 French doc updates.
Submitted by:	jmz
1995-06-05 02:16:47 +00:00
Jordan K. Hubbard 8f2de8086b Correct typo.
Submitted by:	"Christian Gusenbauer" <[email protected]>
1995-06-04 21:18:30 +00:00
Jordan K. Hubbard 5485580183 Untabify pass. 1995-06-04 10:48:46 +00:00
Jordan K. Hubbard 19566a0c18 More missing help files. Please review! 1995-06-04 10:42:17 +00:00
Jordan K. Hubbard 8d811fe3b3 Untabify. 1995-06-04 07:31:55 +00:00
Jordan K. Hubbard 70a84f9ef2 Some changes to the release notes.
Frank Durda's revision of the hardware guide.
1995-06-04 07:07:25 +00:00
Jordan K. Hubbard 0d8f6cf8d6 Danish helpfiles!
Submitted by:	Flemming Jacobsen <[email protected]>
1995-06-04 07:01:57 +00:00
Jordan K. Hubbard 0e2be03d6e Add the hardware guide. People! Please review this!
Submitted by:  gpalmer & jkh
1995-06-04 02:33:02 +00:00
Jordan K. Hubbard 58c6648cd0 More translations.
Submitted by:	Luigi Rizzo <[email protected]>
1995-06-02 18:03:44 +00:00
Jordan K. Hubbard 05afed4172 Italian doc.
Submitted by:	Luigi Rizzo <[email protected]>
1995-06-02 17:52:46 +00:00
Jordan K. Hubbard 74602273dc More Japanese translations.
Submitted by:	NIIMI Satoshi <[email protected]>
1995-06-02 17:47:20 +00:00
Jordan K. Hubbard c2302d72d8 Take the accent characters into account so that Chuck doesn't look like
some sort of mutant! :-)
1995-06-01 22:13:29 +00:00
Jordan K. Hubbard 4c11d709f0 Norwegian language help files.
Submitted by:	"Lars Fredriksen" <[email protected]>
1995-06-01 21:04:39 +00:00
Jordan K. Hubbard 0226172a4e Dutch language help files.
Submitted by:	Marc van Kempen <[email protected]>
1995-06-01 20:21:41 +00:00
Jordan K. Hubbard eba066f987 Spanish language help files.
Submitted by:	Javier Martin Rueda <[email protected]>
1995-06-01 20:19:59 +00:00
Jordan K. Hubbard 55a5556a3a More German translations.
Submitted by:	joerg
1995-05-31 20:46:30 +00:00
Jordan K. Hubbard 95e8568ac8 Swedish translations.
Submitted by:	Olof Johansson <[email protected]>
1995-05-31 20:34:45 +00:00
Jordan K. Hubbard 3be6324d9a More Russian translations.
Submitted by:	"Serge A. Babkin" <[email protected]>
1995-05-31 19:49:14 +00:00
Jordan K. Hubbard b0af1fbae2 French translations.
Submitted by:	"Philippe Charnier" <[email protected]>
1995-05-31 19:27:31 +00:00
Jordan K. Hubbard 8e134b8a31 French language.hlp.
Submitted by: "Philippe Charnier" <[email protected]>
1995-05-31 10:35:14 +00:00
Jordan K. Hubbard 116c3f2691 Move these files here; they're really only relevant to the release,
and it makes English orthogonal with the other languages.
1995-05-31 05:24:23 +00:00
Jordan K. Hubbard 24d4a0a05e Dutch language README
Submitted by:	Marc van Kempen <[email protected]>
1995-05-30 18:37:41 +00:00
Jordan K. Hubbard 79331631cb Japanese (ROMAJI) language README
Submitted by:	NIIMI Satoshi <[email protected]>
1995-05-30 18:37:16 +00:00
Jordan K. Hubbard b6aa121035 Spanish language README
Submitted by:	Javier Martin Rueda <[email protected]>
1995-05-30 18:36:50 +00:00
Rodney W. Grimes e5370bd7fe Remove trailing whitespace. 1995-05-30 08:29:07 +00:00
Rodney W. Grimes 9b2e535452 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
Rodney W. Grimes 44204187ec Remove trailing whitespace. 1995-05-30 06:58:14 +00:00
Rodney W. Grimes 7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Rodney W. Grimes 5ebc7e6281 Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
Rodney W. Grimes 6c06b4e2aa Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
Jordan K. Hubbard a2f0036ac4 Whoops! Fix things so that the root.flp also comes over NFS, not just
the distfiles.
1995-05-30 05:50:53 +00:00
Jordan K. Hubbard 3d1cb17575 Clean this up a bit - quite a bit of historical stuff no longer necessary
removed.
Submitted by:	jmz
1995-05-30 05:22:07 +00:00
Jordan K. Hubbard d136cad40e Bring in the Japanese README. 1995-05-30 05:15:12 +00:00
Jordan K. Hubbard bef41f3f29 Bring in the Italian README. 1995-05-30 05:15:06 +00:00
Jordan K. Hubbard db4cec5bfd Bring in the French README. 1995-05-30 05:14:57 +00:00
Jordan K. Hubbard 3c4e776b8a Some small doc fixes. 1995-05-30 05:13:36 +00:00
Jordan K. Hubbard e34d8f08ab NFS installation was broken - try to fix it. 1995-05-30 05:13:24 +00:00
Jordan K. Hubbard d1de348dff Add mount_nfs so that we can do NFS installs. 1995-05-30 05:13:07 +00:00
Rodney W. Grimes 4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Rodney W. Grimes 709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Rodney W. Grimes 010f5413b5 Remove trailing whitespace. 1995-05-30 03:37:36 +00:00
Rodney W. Grimes 2162b2d226 Remove trailing whitespace.
Reviewed by:	phk
1995-05-30 00:07:29 +00:00
Rodney W. Grimes 236bb30377 Remove trailing whitespace. 1995-05-29 23:50:55 +00:00
Bill Paul 236f9a3ab9 This is another bug fix that should have gone into my last commit. I
actually had this done at one point and lost it somewhere along the
line. Again, this is an honest to gosh bug fix only: no functionality
is changed.

- After a child broadcaster process dies or is killed, set its dom_pipe_fds
descriptors to -1 so that the 'READFD > 0' test in the select() loop
does the right thing.

Since descriptor values can be re-used, failure to do this can lead
to a situation where a descriptor for an RPC socket can be mistaken for
a pipe. If this happens, RPC sockets could be incorrectly handed off to
handle_children(), which would then clear the descriptor from the select()
descriptor mask and prevent svc_getreqset() from handling them. The end
result would be that some RPC events would go unserviced. Curiously,
the failures only happen intermittently.
1995-05-29 16:39:52 +00:00
Jordan K. Hubbard a0ea7d345e Some floating-point trickery to make the gauge come out right. Also
make it a little longer.
1995-05-29 14:38:31 +00:00
Satoshi Asami 7ee5520fc3 Remove comment about not being able to undefine a variable, as we *can*
do that.
1995-05-29 13:46:38 +00:00
Jordan K. Hubbard f11ff9b1cc 1. Fix a looping bogon in configFstab().
2. Fix the gauge.
3. Don't shut down the media device gratuitously after getting the root
   floppy - it saves work later.
1995-05-29 13:37:43 +00:00
Jordan K. Hubbard e05f5f6ac2 style police. 1995-05-29 13:30:47 +00:00
Jordan K. Hubbard b940da5135 French README.
BTW, if somebody would like to take a look at the German
README I notice that the special characters got totally stripped
somehow and I'm not entirely sure how to put them back! [-jkh] :(

Submitted by:	"Philippe Charnier" <[email protected]>
1995-05-29 13:06:59 +00:00
Jordan K. Hubbard ca9080821f tweak tweak 1995-05-29 13:04:53 +00:00
Jordan K. Hubbard 8dde32f1ad My first attempt at a TCP/IP help screen. The label and partition
help screens aren't even started yet..  If someone's feeling like they
have some extra time there..  ahem..  :-)
1995-05-29 12:33:33 +00:00
Jordan K. Hubbard 62cdf450b8 A small tweak to layout. 1995-05-29 12:32:41 +00:00
Jordan K. Hubbard d33bc96014 The FreeBSD README file auf Deutsch.
Submitted by:	Michael Giegerich  <[email protected]>
1995-05-29 12:05:56 +00:00
Jordan K. Hubbard 9faa4e6750 My first round at all the help files needed explicitly by various menus.
Folks - please review these!  I'm quite sleepy at the moment, and I'm
sure that some of this could be worded better.  I'd like to have at least
a reasonable syntax pass over this before handing it off to the translation
folks!  Thanks!  Feel free to commit any changes directly if it's any time
in the next 8 hours, BTW. I won't mind since I'll be asleep!
1995-05-29 12:00:11 +00:00
Jordan K. Hubbard f1a7e35683 Add a bunch of missing help files. 1995-05-29 11:58:16 +00:00
Jordan K. Hubbard 17aad525f5 Bring the XFree86 3.1.1u1 README in so that it can be easily viewed.
Submitted by:	Rich Murphy <rich> & David Dawes <dawes>
1995-05-29 11:38:17 +00:00
Jordan K. Hubbard 239e091c0c The FreeBSD README file - in Cyrillic!
Submitted by:	"Serge A. Babkin" <[email protected]>
1995-05-29 11:22:24 +00:00
Jordan K. Hubbard ff4878a647 Add my humble beginnings of an installation guide. Put in a one-pager
for the language menu help file.
1995-05-29 11:02:25 +00:00
Jordan K. Hubbard 8fdde019ad Sync up my work for the night. This should implement ALL possible
installation methods and provide a fairly robust set of menu options.
This should also fix a few more bugs on Poul-Henning's latest gripe
list.
1995-05-29 11:01:42 +00:00
Jordan K. Hubbard d802eeef31 Nuke kernel out of root.flp; it's not necessary since there's already one
in the bindist.  This brings root.flp down to 392K!
1995-05-29 10:56:33 +00:00
Jordan K. Hubbard 310738c869 Fix 2 spelling bogons. 1995-05-29 05:19:15 +00:00
David Greenman ac8d676972 Fix setdumpdev():
- the major number wasn't checked, so accesses beyond the end of bdevsw[]
  were possible.  Bogus major numbers are easy to get because `sysctl -w'
  doesn't handle dev_t's reasonably - it doesn't convert names to dev_t's
  and it converts the number 1025 to the dev_t 0x35323031.
- Driver d_psize() functions return -1 to indicate error ENXIO or ENODEV
  (the interface is too braindamaged to say which).  -1 was interpreted
  as a size and resulted in the bogus error ENOSPC.
- it was possible to set the dumpdev for devices without a d_psize()
  function.  This is equivalent to setting the dumpdev to NODEV except
  it confuses sysctl.
- change a 512 to DEV_BSIZE.  There is an official macro dtoc() for
  converting "pages" to disk blocks but it is never used in /usr/src/sys.
  There is much confusion between PAGE_SIZE sized pages and NBPG sized
  pages.  Maxmem consists of both.

Not fixed:
- there is nothing to invalidate the dumpdev if the media goes away.
  This reduces the benefits of the early calculation of dumplo.  Bounds
  checking in the dump routines is relied on to reduce the risk of
  damage and little would be lost by relying on the dump routines to
  calculate dumplo.
- no attempt is made to stay away from the start of the device to
  avoid clobbering labels.

Fix wrong && anachronistic comment about the type of bootdev.

Reviewed by:	davidg
Submitted by:	Bruce Evans
1995-05-29 04:08:13 +00:00
David Greenman 77f53bcf27 Fixed some serious bugs that resulted in object reference counts not being
handled correctly. This would manifest itself as "object deallocated too
many times" panics and perhaps other strange inconsistencies on NFS servers.

Reviewed by:	me, of course
Submitted by:	John Dyson
1995-05-29 04:01:09 +00:00
Poul-Henning Kamp fe3ee28802 Mount MFS as root RW. Remounting doesn't make sense.
Reviewed by:	davidg
1995-05-29 03:27:37 +00:00
Poul-Henning Kamp 2ed03504f5 Actually put something in help.tgz :-) 1995-05-29 02:20:32 +00:00
Poul-Henning Kamp de42a94e4b Get help files form /stand/help.tgz 1995-05-29 02:13:31 +00:00
Jordan K. Hubbard 1f71f6055b Make the emergency holographic shell (on VTY4) actually work with job
control and signals and such.  Thanks, Gary!

Clean up some miscellaneous bogons for Poul.
1995-05-29 01:43:20 +00:00
Poul-Henning Kamp 13eb702447 Reduce the amount of bss the kzip stuff uses by moving big buffers into
the first Mb of memory.  Makes 4Mb machines more happy.
1995-05-29 01:38:07 +00:00
Poul-Henning Kamp b82e26f63a Increase size of MFS filesystem. (You need to remake release.3)
Remove unused devices (*[sw]d*[bdefgh]).
Dont gzip boot_crunch. (This SAVES space on a 4 MB machine, since the
file can be segment can be paged from now.
This (with the kzip patch) makes a 4M machine boot and run again.
Margin in my build is 22 blocks and 9 inodes.
I will look at tgz'ing the help files, we need that.
1995-05-29 01:28:21 +00:00
Jordan K. Hubbard fdb4b4b383 Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes.

Fix various bugs reported by Poul.  Implement VTY switching.
1995-05-29 00:50:05 +00:00
Jordan K. Hubbard 15671a7ba8 Add various missing seat belts. 1995-05-28 23:12:09 +00:00
Andreas Schulz 6ba0afa724 Added a NOMAN= macro as this subdir doesn't have a manpage yet. 1995-05-28 21:21:26 +00:00
Andreas Schulz ad15376867 Replaced the whole former Makefile with a more BSD conformant Makefile. 1995-05-28 21:20:30 +00:00
Andreas Schulz cbce938a64 Reviewed by: with the allowance of Rod :-).
Add a NOMAN= . It doesn't have a manual page yet.

Please don't cry :-). I ask Rod first. the whole isdn subdir is not
used in the moment and is only dead source code in the tree.
1995-05-28 21:18:20 +00:00
Jordan K. Hubbard 0d65268039 Fix bogon I introduced into dist extraction code last night.
Update to Poul's latest gripe list fixes.
1995-05-28 20:28:15 +00:00
Jordan K. Hubbard d490f49f9f Add some last attributions and clean up some of the recent additions. 1995-05-28 19:49:57 +00:00
Andrey A. Chernov f7cdf1f7ad Add link to sperl4.036, needed for suid scripts and pgms
which use sperl$]
1995-05-28 19:40:18 +00:00
Andrey A. Chernov 5a630b07ee Make link to tperl4.036, needed for suid scripts and other stuff
which use tperl$]
1995-05-28 19:38:59 +00:00
Andrey A. Chernov 4b7250c3f9 Fix $] variable value (version number), close PR 449
Submitted by: Bill Fenner <[email protected]>
1995-05-28 19:21:54 +00:00
Poul-Henning Kamp 78420108a3 Added name cache optimization, Ontrack, bad144, 3c505, and removed pas.c 1995-05-28 18:56:01 +00:00
Justin T. Gibbs f5e2ec3211 Add a missing "supports" to a sentence.
Add Bt956 as being supported.
Include 2940 in the 2742/2842 section.

Anyone with a new feature or driver in 2.0.5 should think about adding "blurbs"
to this file.  Some features say exactly what they do, others say nothing...
this document needs some rounding out.
1995-05-28 18:32:01 +00:00
Rodney W. Grimes 265368d4f1 Submitted by: dufault
LINT talks about about 2.1.  I changed that to 2.0.5,
and clarified why certain devices need "at scbus?".

There is still a crazy "PCVT=210" which shouldn't be there,
but corrected comment as it is needed for 2.0.5.
1995-05-28 13:24:16 +00:00
Jordan K. Hubbard 34375f5af0 Remove a needless complication - parent directory already has a trailing /. 1995-05-28 09:43:36 +00:00
Jordan K. Hubbard adc0fd37fc Try again to redirect the console back before rebooting. 1995-05-28 09:36:06 +00:00
Jordan K. Hubbard 87b9e01a01 Sync up with Poul. 1995-05-28 09:31:44 +00:00
Jordan K. Hubbard 903d1c40e3 Nuke out all the TAB characters so that this stuff looks right in
a dialog text box.
1995-05-28 09:10:44 +00:00
Jordan K. Hubbard 8ee1922656 My changes to these files.. Update things for 2.0.5. 1995-05-28 09:08:53 +00:00
Poul-Henning Kamp e9f7e74946 cdrom.c: try "cdrom/%s" then "cdrom/dists/%s"
dist.c: fix an error message to make more sense.
1995-05-28 07:05:21 +00:00
Poul-Henning Kamp 3df0e2af63 Reduce the size of the MFS filesystem by 250 Kbyte.
Use && instead of ; a lot of places.
1995-05-28 07:04:36 +00:00
David Greenman 347a022fa7 Kill bogus vnode_pager_setsize(). It was being called at the wrong time
and resulted in the object size being too small. This caused bad things
to happen later when the file was mapped.

Reviewed by:	John Dyson
1995-05-28 04:32:23 +00:00
Jordan K. Hubbard 267e12ca09 Don't make TAB and BACK-TAB destroy field contents incorrectly.
Submitted by:	gibbs
1995-05-28 03:36:05 +00:00
Jordan K. Hubbard 337bd0b846 Humanize Poul-Henning's code. Status values should be properly
respected now.
1995-05-28 03:05:06 +00:00
Jordan K. Hubbard 316000987c Eliminate dups in CONTRIB.FreeBSD.
Numerous changes to RELNOTES.
Submitted by:	Frank Durda IV <uhclem%[email protected]>
1995-05-28 02:48:07 +00:00
Jordan K. Hubbard ae71ab7fd4 1. Make this compile again after Poul's changes to the get() strategy
routine.

2. Improve the tcpip menu slightly.
1995-05-27 23:52:55 +00:00
Poul-Henning Kamp 25fce75ee4 Major cleanup. Mediaroutines now get asked about a file. All the
multi part stuff centralized.
The final check is backwards or something so it always said it failed,
even it it didn't.
Fixed tcpip address check to not be stupid, 10.0.255.1 is legal.
1995-05-27 23:39:35 +00:00
Jordan K. Hubbard bb628eaac6 As Gary would say: "eeek! I introduced a wee bug."
Fix it.
1995-05-27 21:18:07 +00:00
Jordan K. Hubbard 53a4ccbba0 Move /etc/protocols, /etc/services and /etc/sysconfig onto boot floppy. 1995-05-27 21:07:13 +00:00
Jordan K. Hubbard a4b0c879ed 1. Try to work around a bodge in the ftp extraction loop where FtpEOF() was
being called more than once.  Also fix a problem where the URL was getting
   smashed in the environment by copying it to a temporary area before we
   jump up and down on it.
1995-05-27 20:50:10 +00:00
Jordan K. Hubbard 81048a555a 1. Remove slattach from the root_crunch floppy and stick it on the boot
floppy (for slip install).
2. Try to work around a bodge in the ftp extraction loop where FtpEOF() was
   being called more than once.  Also fix a problem where the URL was getting
   smashed in the environment by copying it to a temporary area before we
   jump up and down on it.
1995-05-27 20:49:59 +00:00
Jordan K. Hubbard 654587c49c Delete a couple of now-extraneous files.
Noticed by:	ats
1995-05-27 20:05:35 +00:00
Jordan K. Hubbard 5d76714744 Add ping to the boot floppy; it's too useful for problem diagnosis to
leave off.
1995-05-27 11:18:52 +00:00
Jordan K. Hubbard 8e98d776c0 Commit parts of reorg that were diffs. Substantially re-engineer the
extraction and mediaGetFTP() handshaking to solve some unexpected complexities.
1995-05-27 10:47:44 +00:00
Jordan K. Hubbard ba5d6a864b Things were getting seriously hard to find. Do a quick reorg pass over
the code and split things into more logical groupings.
1995-05-27 10:39:04 +00:00
Poul-Henning Kamp 3e28322bd6 Add a little more debugging to the lowlevel ftp stuff. 1995-05-27 06:19:59 +00:00
David Greenman dd1da8a5af Increased delay after reset to 10ms. Suggested by several people, the last
of which was Scott Mace. This fixes a bug where the card would be missed
sometimes during the device probe.
1995-05-27 04:40:57 +00:00
David Greenman b2af64fd03 Added a fix for a bug which caused the wrong interface to be selected
for broadcasts if point-to-point links shared the same IP address as
the ethernet. The fix must be enabled with P2P_LOCALADDR_SHARE option
in the kernel config file. This will someday likely be standard, but
there isn't sufficient time before release to determine if there are
any interoperability problems with routed and/or gated.

Reviewed by:	Garrett Wollman, and me
Submitted by:	Peter Wemm
1995-05-27 04:37:24 +00:00
David Greenman b8e91dab53 Update swap and dump stuff to match reality:
- option DODUMP no longer exists (remove all references to it).
- directive `swap on' is now a no-op (don't bother documenting it; remove
  comment to match code).
- directive `dumps on' still works (restore code to match comment; deprecate
  it in comment).

Reviewed by:	Poul-Henning Kamp, and me
Submitted by:	Bruce Evans
1995-05-27 04:32:12 +00:00
Nate Williams 43e6a2a89d Add a missing link from the setpgid manpage to the setpgrp manpage. 1995-05-27 04:17:04 +00:00
Andrey A. Chernov 4a0ff33b55 Eliminate two Subject: from *ly output, call sendmail root directly 1995-05-27 01:55:21 +00:00
Andrey A. Chernov ec25d6d6aa Use -b for diff, ls produce different number of spaces 1995-05-27 01:37:44 +00:00
Andrey A. Chernov d55b3b5a2b Use proper PATH in front of monthly
Eliminate Subject duplication for insecure output
1995-05-27 01:31:40 +00:00
Jordan K. Hubbard a0e9ec2476 Remove fixit floppy (release.10) from targets until Poul fixes it. 1995-05-26 23:08:33 +00:00
Jordan K. Hubbard c7c644a181 Change XFree86 dist names to upper case again. 1995-05-26 22:22:20 +00:00
Jordan K. Hubbard a2e871cc98 Netmask is unused now - we can delete it. 1995-05-26 22:08:59 +00:00
Jordan K. Hubbard e345eb1f24 Crunch Poul's changes down to fit on a floppy again. gah. 1995-05-26 21:55:25 +00:00
Jordan K. Hubbard 409f932965 Bring in Poul's patch to make the boot floppy more stand-alone in nature. 1995-05-26 21:47:13 +00:00
Jordan K. Hubbard 11033b2a7f Don't add the default route in ppp - we'll only add it again later. 1995-05-26 21:37:53 +00:00
Jordan K. Hubbard c2192cfe88 Fix a few bogons. 1995-05-26 21:16:02 +00:00
Jordan K. Hubbard f39a013b8a Move ppp back to root floppy; we need it to load the cpio floppy,
potentially.
1995-05-26 21:15:50 +00:00
Jordan K. Hubbard 24f0a9980d Put the console back on ttyv0 before rebooting. 1995-05-26 21:00:43 +00:00
Jordan K. Hubbard fea7a60b7b Put out variable names in quotes. 1995-05-26 20:55:11 +00:00
Jordan K. Hubbard 7adf1b738c Remove tabs and shorten line length to fit. 1995-05-26 20:51:39 +00:00
Jordan K. Hubbard 395dda4194 Clean up the variable handling code a little.
Write /etc/hosts in the right place.
1995-05-26 20:45:20 +00:00
Jordan K. Hubbard a7f54e2e75 Ask name of "other" ftp site in correct place.
Make TIOCCONS redirection for console messages work properly; we no longer
open /dev/console for all I/O - we use the VTYs directly.
1995-05-26 20:31:02 +00:00
Jordan K. Hubbard c5495a0f2e Add Spanish usage instructions.
Submitted by:	Hector  Gonzalez Jaime <[email protected]>
1995-05-26 19:34:48 +00:00
Jordan K. Hubbard 2d7d54b2b4 Clean up the configuration stuff a bit more - we should now populate
/etc with good things(tm).

Fire off ppp with all the proper initial options set.
1995-05-26 19:28:06 +00:00
Rodney W. Grimes 694ae09c05 Reviewed by: sos
Submitted by:	bde

rc.i386 failed messily when I used a serial console.

Editors note:
Use file redirection so that all the kbdcontrol and vidcontrol
commands act upon /dev/ttyv0 instead of stdin.  Though this feature
is not documented it is the intended behavior of {vid,kbd}control
and shall be documented in the future as such.
1995-05-26 18:06:52 +00:00
Jordan K. Hubbard 3a1426b521 Some edits suggested by Atsushi. Also remove my name from the bottom;
just because I edited it doesn't mean I should stick myself in the authors
line, even with the qualification I used.
1995-05-26 17:35:54 +00:00
Jordan K. Hubbard 048999e640 Fix the braindamage I somehow inflicted on this file early this morning. 1995-05-26 17:28:00 +00:00
Jordan K. Hubbard b9643b6695 This should fix the last of the ftp path problems.
It was all a bit more complex than it first looked.
1995-05-26 11:21:53 +00:00
Jordan K. Hubbard dc38f8c8da This should enable use to find the info files properly over ftp. 1995-05-26 10:58:51 +00:00
Jordan K. Hubbard f284246288 Swap args to deviceGet(). Whoops! 1995-05-26 10:34:44 +00:00
Jordan K. Hubbard ad98a5f52b be nice and tell the user when the installation has completed successfully
so they don't just come back to a menu again 2 hours later with no idea
what happened with the operation(s) they had in progress.
1995-05-26 10:32:28 +00:00
Jordan K. Hubbard 5662f32138 Fix a bug in the /etc populating copy.
Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.

P.S.  As soon as I get the distfiles copied over to freefall tomorrow
morning, those of you wishing to test minimal installs over ftp should
be able to do so by grabbing the boot floppy and nothing else.  Keep
your eyes open for my announcement.
1995-05-26 10:20:47 +00:00
Jordan K. Hubbard 21deb1ee5e Fix a bug in the /etc populating copy.
Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.
1995-05-26 10:18:12 +00:00
Jordan K. Hubbard 39c1b38efa Make the installation menu loop on the provided package directory (if one
is provided).
1995-05-26 08:59:29 +00:00
Jordan K. Hubbard 3c4d1d3edb Tighten up the TCP/IP dialog a little.
Simply install procedure a bit.
1995-05-26 08:58:35 +00:00
Jordan K. Hubbard 223705ba7e Totally revamp the TCP/IP dialog; now network selection makes a bit more sense.
Root floppy (which actually may be able to go completely away at some point
soon!) is now loadable from ftp/nfs/dos as well as CDROM and (of course)
floppy.

Fix more problems on Poul's Gripe List.
1995-05-26 08:41:52 +00:00
Bill Paul a7acf629b6 Reviewed by: rgrimes, jkh and davidg (sort of)
Rod, Jordan and David have more or less given me the OK on this
with the understanding that it doesn't change any functionality.
It doesn't: these are bug fixes only. No other part of the system
should be affected. Of course, since I'm the only one working on
NIS, you'll just have to take my word on it. :)

Fixes for the following annoyingly subtle bugs:

- ypbindproc_setdom_2 is supposed to be declared void *, not boot_t *,
and it fails to correctly signal failures back to the ypset(8) command:
we need to call one of the svcerr_*() functions (in this case,
svcerr_noprog() seems a logical choice -- we're really cheating
a bit here because nothing else quite fits) to tell ypset that the
attempt to set the binding for a domain failed. If we don't do this,
failed ypset attempts either appear (incorrectly) to succeed, or
they time out.

- The lock handling for child processes isn't quite right. The
child broadcaster processes have to release all locks on the
binding files and the ypbind.lock file.

- The parent ypbind process will SEGV if you do the following:

-- start ypbind with the -ypset or -ypsetme flag
-- type 'ypwhich -d random_unserved_domain'
-- type 'ypset -d random_unserved_domain anyhost'
-- type 'ypwhich -d random_unserved_domain' again
-- wait about 60 seconds

What happens is this: the ypwhich command causes ypbind to fork a
broadcaster process that searches for a server for random_unserved_domain.
If you then use ypset to force a binding while this process is still alive,
the state flags that tell the ypbind parent process that the child
is running will be cleared. The second ypwhich command then causes
a *second* child process to be forked for random_unserved_domain,
which is verbotten. When the first broadcaster exits and tells the
parent that it wasn't able to find a server for the domain, the parent
clobbers the entry for random_unserved_domain. Then the second broadcaster
exits and the same thing happens, only trying to clobber the entry
twice causes a SEGV.

The fix for this is a slight change in program structure: since we
can't have more than one broadcaster for a given domain at a time,
we save the pipe descriptors and pid for the child broadcaster in members
of the _dom_binding struct for the domain. (As a side effect, we
can get rid of the global child_fds variable.) So when rpc_received()
finds that it's been asked to do a ypset for a domain for which a
broadcaster process exists, it sends a SIGINT to the child to kill it
and closes the pipe to the now-dead child. This keeps everything in sync
and insures that we don't leak file descriptors.

- ping() should be using YPPROC_DOMAIN rather than YPPROC_DOMAIN_NONACK
when it does its clnt_call() to the server.

- Removed the check for client_handle == NULL in ping() and make
client_handle local to ping instead of a member of the _dom_binding
struct. This fixes another potential ypset problem: using ypset to
force a binding to a machine that has an NIS server but which *doesn't*
support the domain we're after can result in permanently bogus bindings.

- the 'server OK' message prints the wrong IP address.
1995-05-26 05:28:00 +00:00
David Greenman 0063696232 Fixed bugs in multicast address handling (flag was set in wrong register,
etc.). The tulip_start routine was rewritten to use less stack space (I've
been having problems with wcarchive overflowing the stack and this should
help a little). This version also has preliminary NetBSD support.

Rod Grimes helped in testing this version of the driver. Thanks Rod. It's
additionally been extensively tested here and on wcarchive.

Submitted by:	Matt Thomas
1995-05-26 02:02:44 +00:00
Ollivier Robert 9b9ccd1307 The securedist outside the USA have changed a great deal.
The site in Island has only the 1.1-RELEASE dist.
The previous South Africa sites are dead and the brasilian one
is very hard to get into and painfully slow.
The two South Africa sites come from MIRROR.SITES.
1995-05-25 19:05:01 +00:00
Jordan K. Hubbard 655f249eaa Add CRC checking to sysinstall.
Submitted by:	gpalmer
1995-05-25 18:49:58 +00:00
Jordan K. Hubbard 4537793804 Bring in all my fixes to Poul's gripe list as of last night. 1995-05-25 18:48:33 +00:00
Jordan K. Hubbard fbd92ef8d5 Rename boot.flp to root.flp 1995-05-25 18:48:07 +00:00
Jordan K. Hubbard 8cb85ad4c4 The cpio floppy is dead. All hail the root floppy.
Basically, this is just a simple name change.  People were historically
confused by the "cpio floppy", having no clear idea as to what it was
(even if they knew what "cpio" stood for) given that the name gives
one absolutely no indication as to what it's FOR.  It's about as content
free as calling it a "data floppy".  Root floppy isn't much better, but
it's got some historical weight (Linux divides their set into boot and
root floppies) and is reasonably descriptive for a floppy that comprises
the beginnings of a stand-alone root filesystem.
1995-05-25 18:43:41 +00:00
David Greenman b64b660cd3 Made "NMBCLUSTERS" calculation dynamic and fixed bogus use of "NMBCLUSTERS"
in machdep.c (it should use the global nmbclusters). Moved the calculation
of nmbclusters into conf/param.c (same place where nmbclusters has always
been assigned), and made the calculation include an extra amount based
on "maxusers". NMBCLUSTERS can still be overrided in the kernel config
file as always, but this change will make that generally unnecessary. This
fixes the "bug" reports from people who have misconfigured kernels seeing
the network hang when the mbuf cluster pool runs out.

Reviewed by:	John Dyson
1995-05-25 07:41:28 +00:00
David Greenman cddc961a83 Made "NMBCLUSTERS" calculation dynamic and fixed bogus use of "NMBCLUSTERS"
in machdep.c (it should use the global nmbclusters). Moved the calculation
of nmbclusters into conf/param.c (same place where nmbclusters has always
been assigned), and made the calculation include an extra amount based
on "maxusers". NMBCLUSTERS can still be overrided in the kernel config
file as always, but this change will make that generally unnecessary. This
fixes the "bug" reports from people who have misconfigured kernels seeing
the network "hang" when the mbuf cluster pool runs out.

Reviewed by:	John Dyson
1995-05-25 07:36:24 +00:00
Poul-Henning Kamp 32812b6ea5 media_strategy.c: Add explanation for URL.
ftp.c: Clean up debug, improve error handling.
1995-05-25 06:15:38 +00:00
Poul-Henning Kamp 6331da9711 Remove Ontrack special from All_FreeBSD().
Add chunk->disk pointer.
1995-05-25 06:14:49 +00:00
Poul-Henning Kamp c0b83abedc Fix boot.flp and floppies targets.
Make cpio floppy to temp file first.
1995-05-25 06:14:10 +00:00
David Greenman 956e9ca5a0 Removed check for sw_dev == NODEV; this is a normal condition for swap
over NFS and was gratuitously panicing when it happens.

Reviewed by:	John Dyson
Submitted by:	Pierre Beyssac via Poul-Henning Kamp
1995-05-25 03:38:11 +00:00
Jordan K. Hubbard a3028ab123 Cleanup. 1995-05-25 01:52:04 +00:00
Jordan K. Hubbard 39ae3f1529 Eliminate much redundant cruft from cpio floppy.
Make more vty devices for us to use.
1995-05-25 01:51:45 +00:00
David Greenman 243e5a88d5 Fixed panic that resulted from mmaping files in kernfs and procfs. A
regular user could panic the machine with a simple "tail /proc/curproc/mem"
command. The problem was twofold: both kernfs and procfs didn't fill in
the mnt_stat statfs struct (which would later lead to an integer divide
fault in the vnode pager), and kernfs bogusly paniced if a bmap was
attempted.

Reviewed by:	John Dyson
1995-05-25 01:35:24 +00:00
Jordan K. Hubbard 903463ef42 Put back some changes that were smashed in yesterday's release tree
shoot-down.
1995-05-25 01:22:20 +00:00
Jordan K. Hubbard 34753e5aee Invoke the _right_ shell. Sigh. 1995-05-24 23:43:59 +00:00
Jordan K. Hubbard 795b392ce3 Whoops - that last feature I committed to put a diagnostic shell in
ttyv3 would work a lot better if I actually exec'd a shell! :-)
Reviewed by:
1995-05-24 23:36:50 +00:00
David Greenman d53eacdf28 This should fix PR 438. Apparently I never tested disklabel on the block
device.

v_numoutput wasn't incremented to match the b_iodone nesting.  It's still
fishy that vwakeup() clears B_WRITEINPROG before biodone() has finished;
however, B_WRITEINPROG seems to be never used.

Submitted by:	Bruce Evans
1995-05-24 23:33:42 +00:00
Jordan K. Hubbard e336d945a8 1. Spawn a shell on VTY4 and leave it lying around.
2. Bring in Gary's prompt stuff in extractGeneric.
3. Add another global for telling when we're running as init.
1995-05-24 22:37:44 +00:00
Jordan K. Hubbard 72e242ff9a I tried to use sysinstall and I noticed the look used with Japanese
usage is very bad.

And I found some bugs(?) in ja_JP.*/usage.hlp.
 1. I have made typo.
 2. Mr. Hubbard didn't change about number of virtual consoles.
Submitted by:	NIIMI Satoshi <[email protected]>
1995-05-24 21:44:56 +00:00
David Greenman 3e47ca0577 Enclosed is a patch for if_ze.c which will allow it to operate with
the National Semiconductor InfoMover PCMCIA cards also. In tests on a
NE4100 on Jordan's laptop here, the ze driver works fine with that
card.

Reviewed by:	Jordan Hubbard, Rod Grimes, and me
Submitted by:	Gary Palmer
1995-05-24 20:33:42 +00:00
Poul-Henning Kamp eaca002785 Never commit before breakfast: A typo. Sorry Gary. 1995-05-24 19:31:26 +00:00
Gary Palmer 3e28c7a178 Close of ftp socket is now handled by FtpEOF(). 1995-05-24 18:56:03 +00:00
Jordan K. Hubbard 9576fbf44c Take out configSysconfig() until I get it written. 1995-05-24 18:52:47 +00:00
Poul-Henning Kamp e7b2fe43e0 Close the transfer socket. 1995-05-24 18:35:10 +00:00
Jordan K. Hubbard 0b81ddd0c2 "Bring out your dead!" Always try to reap the children we leave around. 1995-05-24 18:21:49 +00:00
Jordan K. Hubbard a098749d6b Bring everybody up to date on my morning's work.
1. Fix a few bugs in the ftp installation code and implement proper
   ftp and network shutdown routines.

2. Clean up the menus a fair bit - add a FreeBSD configuration menu.

3. Eliminate the last of the "chaining" - the installation now does
   the most obvious thing in the most obvious cases and doesn't present
   you with more menus than you were expecting.  This makes it necessary to be
   a little more explicit in places, but it's still less confusing.

4. Add a few more safety nets for the user.  Change a few hard-and-fast
   limits to warnings (it now runs as non-root, Bruce).

5. Add descriptions for all the supported ethernet cards.

6. Make the cpio floppy extract put up a menu requesting the drive you wish
   to use if you have more than one; don't just always assume drive A.
1995-05-24 17:49:20 +00:00
Gary Palmer b2687efa65 Makefile:
Add testftp: target
ftp.c:
  add more debugging output and fix a few more problems
media_strategy:
  make the ftp system actually do something resembling common sense.
  it now works after a fashion, although it soon falls over for some
  reason.
1995-05-24 11:19:11 +00:00
Gary Palmer 66b1d44d35 Move testftp: to release/sysinstall/Makefile where it should have
been in the first place.
1995-05-24 11:17:53 +00:00
Gary Palmer 11aa6abac2 Jordan forgot this in his last sync commit. It's a wee shell script
to help generate the .inf info files I use during the extract process.
1995-05-24 10:46:54 +00:00
David Greenman a2d169021d Fixed bug where UDP was required to mount a TCP NFS filesystem.
Submitted by:	Ken Hornstein, Sept.'94
1995-05-24 10:10:24 +00:00
Jordan K. Hubbard bef6490904 Sync to latest ftp-capable sysinstall. We're getting there! 1995-05-24 09:00:58 +00:00
Jordan K. Hubbard 2f2a4e7a4a Align slices to cylinder boundries.
Submitted By: phk
1995-05-24 08:59:40 +00:00
Jordan K. Hubbard 0412e9f72c Adjust targets to populate info files into distributions. 1995-05-24 08:59:01 +00:00
Jordan K. Hubbard e0130f650e Allow pkg_manage to take a directory argument; I need this for the CDROM. 1995-05-24 06:20:08 +00:00
Jordan K. Hubbard 438728425d A few more typos fixed and some general cleanup done. 1995-05-24 05:51:29 +00:00
Andrey A. Chernov 70659b24a8 Fix %d and others printing
Reviewed by: davidg
Submitted by: Bill Fenner <[email protected]>
1995-05-24 02:54:30 +00:00
David Greenman 80e63506ac Add missing arg to fprintf() error message.
Submitted by:	Mike Grupenhoff
1995-05-24 01:56:52 +00:00
Jordan K. Hubbard 9b03310b0c Add a final configuration menu and the beginnings of the backing code
for it.  The ftp installation method is working well enough to test.
Many more bug fixes, says Gary.
1995-05-24 01:27:15 +00:00
Jordan K. Hubbard 95e34bfc2e Add rule to generate the info files.
Submitted by:	gpalmer
1995-05-24 01:26:23 +00:00
Jordan K. Hubbard 1f35245a14 Whoops! Forgot libkvm. 1995-05-23 23:06:22 +00:00
Jordan K. Hubbard a172d39225 Remove some extraneous junk from the boot floppy. Put ifconfig and route
on there.
1995-05-23 22:59:08 +00:00
Jordan K. Hubbard 023c271a28 Cleanup pass. Remove some grit left over from ripping out
the scripts.
1995-05-23 21:47:26 +00:00
Jordan K. Hubbard 23f2ee6126 Remove the last vestiges of the old installation method. 1995-05-23 21:33:53 +00:00
Jordan K. Hubbard 7b61dc31a2 Add my first cut at TCP/IP device configuration. If this works, the
ftp installation method should now function.  We'll know as soon as my
make release builds the floppies.  I'm just committing this out of my
release tree now so that it doesn't get clobbered again.
1995-05-23 18:06:16 +00:00
Jordan K. Hubbard 43012d292c Correct a typo in the german translation.
Submitted by:	Wolfram Schneider <[email protected]>
1995-05-23 16:26:54 +00:00
Gary Palmer baf9eac5f1 The stand/scripts directory is obsolete. Don't create it in the cpio
floppy area.
1995-05-23 07:20:35 +00:00
Jordan K. Hubbard 7ccad8a96a 1. Bring in the first cut of Poul's ftp routines. We still don't
use them yet, but it's close (we're working on the last wrinkles
   in the CD install for now).
2. Complete the CDROM installation strategy code.
3. Simplify the distribtuion loading code.
4. General error message cleanup.
5. Write the /etc/fstab file now and split those routines into config.c
6. Clean up the menus a little more.
1995-05-23 02:41:18 +00:00
Rodney W. Grimes 424e4f7c42 Add the link for apm.4 so you can find the man page. 1995-05-22 20:49:25 +00:00
Jordan K. Hubbard 1625ae170f wt0 -> rwt0 1995-05-22 17:39:22 +00:00
Jordan K. Hubbard c49678020c Implement most of the CD extract code.
Clean up a few last display bugs.
Add sanity checking that makes sure user creates root and swap partitions.
Add swap partitions with swapon().
1995-05-22 14:10:25 +00:00
Jordan K. Hubbard 769d392920 Clean up the cpio floppy target, remove the fixit floppy from my
"floppies" target - don't need to build that every time for testing.
1995-05-22 14:08:45 +00:00
Adam David e43fc3243b eliminate coredump for readline(NULL) case 1995-05-22 13:32:29 +00:00
David Greenman 87c15d9649 There are two serious bugs in if_de.c. The first should not matter
to most users (the wrong length is passed to ether_input).  The
second is more serious.  The multicast hash algorithm uses the wrong
(low) bits instead of the right (high) bits.  This is only an issue
if you use >12 multicast addresses but if you are using IP multicast
then it might affect you...

Submitted by:	Matt Thomas
1995-05-22 13:32:24 +00:00
David Greenman 751b0b8e10 Print the address associated with an examine. Changed db_maxoff to
something more reasonable (64k). Suggested by Gordon Ross about a
year ago.
1995-05-22 13:07:12 +00:00
David Greenman 956455631c Make last change a little more robust by checking for failure of getcwd(). 1995-05-22 11:03:55 +00:00
David Greenman 82c76939c1 Set "HOME" so that tilde expands correctly. It previously was always root's
directory /root.
1995-05-22 09:53:02 +00:00
Jordan K. Hubbard 0d8da7331a Remove rst1 - it's not made by default. 1995-05-22 06:25:26 +00:00
David Greenman f8141f6f97 Fixed bug in bpf/multicast support that caused multicast packets to get
thrown out if bpfilter support and no BPF listener. (submitted by Bill
Fenner)
Removed unused variable and changed another from a stack variable to a
static - the variable was a rather large array of structs that consumed
a lot of stack space. (me)
1995-05-22 05:51:41 +00:00
Poul-Henning Kamp eb01b2314d The dset program didn't set the "msize" (iosiz in userconfig).
Reviewed by:	davidg
1995-05-22 01:37:24 +00:00
David Greenman 61f5d51062 Changes to fix the following bugs:
1) Files weren't properly synced on filesystems other than UFS. In some
   cases, this lead to lost data. Most likely would be noticed on NFS.
   The fix is to make the VM page sync/object_clean general rather than
   in each filesystem.
2) Mixing regular and mmaped file I/O on NFS was very broken. It caused
   chunks of files to end up as zeroes rather than the intended contents.
   The fix was to fix several race conditions and to kludge up the
   "b_dirtyoff" and "b_dirtyend" that NFS relies upon - paying attention
   to page modifications that occurred via the mmapping.

Reviewed by:	David Greenman
Submitted by:	John Dyson
1995-05-21 21:39:31 +00:00
Jordan K. Hubbard d6f9f66840 Add tape devices to boot floppy. 1995-05-21 21:08:45 +00:00
Gary Palmer 198ca9bde7 1. Correct the path for distributions on the CDROM
2. Put msgDebug() calls into the genericGteDist routine to see
   why it is locking.
1995-05-21 20:41:28 +00:00
Gary Palmer 722ff1fa6b Sigh - forgot the readonly flag to mount() 1995-05-21 19:51:50 +00:00
Poul-Henning Kamp 6444ef3b82 Add a undocumented '-d' flag to set debugging. 1995-05-21 19:31:09 +00:00
Gary Palmer 8a3e807f06 I've just been told that I'm rooted on the hard disk at this point, not
on the boot floppy. Alter the paths to reflect this
1995-05-21 19:29:17 +00:00
Jordan K. Hubbard c420fc79ed Check status of the device init routine properly. 1995-05-21 19:28:05 +00:00
Gary Palmer 21859ed425 Sync in my latest changes to try and find a problem with the mounting
of the CDROM
1995-05-21 19:22:43 +00:00
Jordan K. Hubbard 586ed33afa Nuke out all the NEWVERS stuff; we don't need or use it anymore.
Add Gary's info files to the cpio floppy.
1995-05-21 18:39:42 +00:00
Søren Schmidt ad828abe4b Fixed problem with "char" cursor..
Submitted by:	ache
1995-05-21 18:30:05 +00:00
Jordan K. Hubbard 17137d3f85 1. Remove the scripts from the boot floppy - we don't need them anymore
and it saves us a fair bit of space.

2. Remove adduser and tzsetup as well - they're not needed.

3. Move ft from the boot floppy to the cpio floppy.
1995-05-21 18:29:51 +00:00
Jordan K. Hubbard 19d7c5761e Try AGAIN to get the disklabel editor to do the right thing.
This is getting ridiculous.  I may have to put the clear() back
and take the performance penalty, Poul.

Tweak the TCP/IP setup menu to look a little nicer.

Add lp0 to the list of available network devices (it was found before
but simply not described properly).
1995-05-21 18:24:34 +00:00
Gary Palmer 52a3f86a74 Close a file descriptor leak. 1995-05-21 17:56:13 +00:00
Jordan K. Hubbard c824c08b3c Stick in another strategic clear(). 1995-05-21 17:53:27 +00:00
Jordan K. Hubbard 18be8f143c Do my best to translate this into english.. :-)
Some parts were so incomprehensible that I had to excise them
entirely, but I did my best with the material provided.
1995-05-21 17:32:35 +00:00
Jordan K. Hubbard 23cb914708 1. Start syncing up the network strategy code so that folks like Poul and
Justin can see it.

2. Attempt to fix the redisplay problems in label.c some more.  Not clearing
   the screen each time is certainly faster, but it's causing all sorts of
   problems.
1995-05-21 15:40:54 +00:00
Jordan K. Hubbard 01610d47f2 Add the ft program to the boot floppy. 1995-05-21 13:54:02 +00:00
Jordan K. Hubbard 59bd8aaa69 Correct a stupid typo I introduced in adding CD devices. 1995-05-21 13:36:13 +00:00
Jordan K. Hubbard c853fdb82d Change device name from cua01 to cuaa0. I'm going to use this doc in
the installation, so it was necessary.
1995-05-21 10:52:05 +00:00
Jordan K. Hubbard cbe35e915a Add device entries for CDROM devices to boot floppy.
Increase number of inodes slightly.
1995-05-21 10:33:20 +00:00
Jordan K. Hubbard 7ef31df267 Correct a display bug that Poul introduced with his last round
of optimizations.  Add a check to make sure that root filesystems
are at least 20MB in size (this is just a thumbnail approximation,
and we can revise it later if necessary).
1995-05-21 10:16:10 +00:00
Jordan K. Hubbard f7ef77e04f Reverse a boolean condition that prevented the user from disabling
a distribution fetch.
1995-05-21 10:05:17 +00:00
Poul-Henning Kamp c5cc77ec44 Fix a typo, now there should always be an active slice. 1995-05-21 07:47:24 +00:00
Poul-Henning Kamp 6285c26802 The latest batch from me. Still some screen anomalies (One could consider
the entire libdialog one such :-( ) but functionally ok I think.
1995-05-21 06:12:44 +00:00
Poul-Henning Kamp d553eefb52 label.c: wizard mode now returns;
disks.c: clrtobot() so that deleted stuff disappears.
disks.c: offset is signed (for OnTrack diskmanager)
system.c: don't setbuf(stdout,0), it's too slow.
1995-05-21 04:34:12 +00:00
Poul-Henning Kamp 75e21a4e1e Now I could finally test this change: bad144 is now relative to the
partition.
1995-05-21 03:27:13 +00:00
Poul-Henning Kamp e841846b60 Make a fixit.flp target too.
Improve the search code for the -u # argument to newfs.
1995-05-21 03:20:05 +00:00
Poul-Henning Kamp 0cee912e58 Make newfs options work on rootfs.
Add size argument to new_part, so it can come up with a good default for newfs.
Fix (possibly) a dialog botch after label.c's wizard mode.
Make vsystem even smarter abour crunched binaries (what a speedup!)
(You need to recompile crunchgen !)
1995-05-21 01:56:03 +00:00
Poul-Henning Kamp 7d150b7705 Added a crunched_here(char *path) function so crunched programs can find out
who they share bed and breakfast with.
1995-05-21 01:50:13 +00:00
Poul-Henning Kamp 3525074d14 Now cpio works for me. (it was Mostly confusion about when the chroot
happened)
Make vsystem crunch aware in an intelligent fashion.
make the boot.flp target more specific (and faster).
1995-05-20 23:33:14 +00:00
Gary Palmer 96fe1684f2 #if 0 out PHK's code until we can find a way of making it crunchgen
dependant so that standalone builds aren't hosed.
1995-05-20 22:47:43 +00:00
Jean-Marc Zucconi f7fda1a3c9 configuration files are in /etc/uucp and spool files are in /var/spool/uucp 1995-05-20 21:25:25 +00:00
Jordan K. Hubbard 6593420ad1 1. Add MBR type menu to take it off of Poul's "gripe sheet".
2. Syntax correction from Andrey.

Good night! :-)
1995-05-20 20:30:12 +00:00
Jordan K. Hubbard cc1f1b8814 Don't clear the screen for every redraw in the disklabel and
partition editors (ugh).  Fix an utterly bogus message (no arguments :)
in dist.c.  This should all make Poul a little happier and slide in
before the next CTM update window.
1995-05-20 19:22:21 +00:00
Poul-Henning Kamp 9f857b511d Change vsystem to know that the shell is crunched in.
Sanitize a couple of messages.
1995-05-20 19:12:13 +00:00
Poul-Henning Kamp 13da1b0612 Do not allocate the first track. 1995-05-20 19:11:44 +00:00
Andrey A. Chernov 7b9728ce0b Don't chdir to subdirs before formatting, non-native manpages
assume it for .so directive
Submitted by: Wolfram Schneider <[email protected]>
1995-05-20 19:02:53 +00:00
Gary Palmer 93449d4bbb Bring in my latest changes. The CDROM strategy should now work, and a
(hopefully) generic fs extraction system is in place. Now the other
methods :-(
1995-05-20 18:38:39 +00:00
Jordan K. Hubbard f5f9a92b2f Fix a few message bogons. 1995-05-20 18:37:03 +00:00
Jordan K. Hubbard 71502538f6 Misc cpio evil. I think I'm going to start working locally and just deal
with the diff/CVS hassles - this represents far too many CVS commit
messages for you folks, and trying to document each and every iteration
of the code is a hassle (and not very useful at that).
1995-05-20 16:22:42 +00:00
Jordan K. Hubbard c2948a7b51 Hmmm. Try the raw floppy device! This failure mode is a bit strange. 1995-05-20 15:49:53 +00:00
Jordan K. Hubbard 88c97d3785 Whoops - copy_self() was going to the wrong place!
Use proper floppy device names.
1995-05-20 15:47:19 +00:00
Jordan K. Hubbard e6684cda7a Use ppp0 for all serial devices. It's somewhat kludge, but at
least accurate (we only have one ppp device on the floppy).
1995-05-20 14:36:39 +00:00
Jordan K. Hubbard 7fe566d31b Try again to get cpio_extract() to work. Also fix the bogon
I introduced with msgNotify() again.  Sigh.  I'll get it looking
correct someday!
1995-05-20 14:05:31 +00:00
Jordan K. Hubbard 0aa9f139dd Make Gary happy. 1995-05-20 13:52:53 +00:00
Jordan K. Hubbard e36d47de12 Reviewed by:
Submitted by:
Obtained from:
1995-05-20 13:49:47 +00:00
Jordan K. Hubbard 519501fed0 Correct the name of the release notes file. 1995-05-20 13:36:44 +00:00
Jordan K. Hubbard 6387e9b058 Clear the screen on msgNotifys.
Don't notify in vsystem() - it obscures the original message.
Put some debugging code into cpio_extract() so that I can see
why it doesn't work now. :(
1995-05-20 13:24:35 +00:00
Jordan K. Hubbard 7b74963e46 The problem is the returned salt, while the freebsd man pages asks that the
crypt salt string begin with a '_', no other crypt's do.  If you remove the
initialization of $salt to '_' in sub salt(), everything works as advertised.
Submitted by:	Charles Henrich <[email protected]>
1995-05-20 13:05:22 +00:00
Jordan K. Hubbard 8568ba4e73 Don't call mediaVerify() in quite so many places. 1995-05-20 11:13:58 +00:00
Jordan K. Hubbard 8f1fd59b90 Fix the DOS discovery code to now re-allocate another virtual device if
it's called multiple times in a row.  Add a new device type "DEVICE_TYPE_DOS"
so that we can look up an previous results.
1995-05-20 11:10:35 +00:00
Jordan K. Hubbard f10eb488f6 1. Fix a pathological bug I introduced in msgInfo(). Right idea, wrong
implementation.

2. Totally rework device registration.  It's about half the size and
   more powerful now.

3. Add DOS discovery.

4. Start filling in some of the strategy routines.

5. Another clean-up pass over the menus.

6. Make wizard code use Disk typedef.

If I can get the first strategy routine finished tonite, we should have a working
install (from ftp, at least) this weekend.
1995-05-20 10:33:14 +00:00
Jordan K. Hubbard 2cf252e087 Totally re-work cpio_extract.
Erase the annoying "Command output is on debugging screen" message
when it's time to switch back.
1995-05-20 08:31:43 +00:00
Jordan K. Hubbard dad012f2c6 Correct a few wording bogons in the menus.
Make notify NOT wipe the dialog off right after putting
it up.  Whoops.  Kinda defeated the purpose! :-)
1995-05-20 07:50:20 +00:00
Jordan K. Hubbard 3492f770db Add Frank Durda IV <[email protected]> 1995-05-20 07:02:22 +00:00
Gary Palmer e61618782b Make Jordan's ``half baked'' code compile so that make release's aren't
stopped dead in their tracks. Also add the beginnings of my
distribution extraction code in media_strategy.c
1995-05-20 03:49:10 +00:00
Jordan K. Hubbard 7ab5b08b2c This doesn't work - the extract code is half-baked. I commit it only
so that Gary can sync to it before I go to bed.. :)
1995-05-20 00:13:14 +00:00
Jordan K. Hubbard ceb1d42782 Only apply @mode directives to files.
Don't use the -p flag to tar; it sets the files to the wrong permissions.
Submitted by:	jmz
1995-05-19 22:40:54 +00:00
Jordan K. Hubbard 606ec289aa Put find on the boot floppy. Don't ask. 1995-05-19 21:31:52 +00:00
Jordan K. Hubbard c7c32addb2 More assorted verbosity. Also don't log informational messages. 1995-05-19 21:30:35 +00:00
Jordan K. Hubbard 1c1834210c Make _DIST_USER use the right flag. 1995-05-19 18:50:59 +00:00
Jordan K. Hubbard 2512487c92 Be more verbose now that we're getting ready to actually extract. 1995-05-19 17:19:39 +00:00
Jordan K. Hubbard ce4e04980d XF86VGA16 -> XF86VG16 1995-05-19 17:11:07 +00:00
Jordan K. Hubbard c10caaad51 1. Incorporate Nickolay's ammended patches for Russian screenmap support
as per Andrey's letter.  Make a few modifications for correctness.

2. Add Language menu back to first menu - it was too buried in the
   Options menu.

3. Add size information to all distributions.

4. Add a compat20 distribution (we need to make one of these!!  Any takers?  Please?)

Submitted by:	Nickolay N. Dudorov <[email protected]> & jkh
1995-05-19 16:58:58 +00:00
Jordan K. Hubbard 87b47edc82 1. Copy the boot floppy into /stand before extracting the CPIO floppy.
2. On Justin's advice, remind the user when they should switch back
   from the debugging screen, if they're looking over there.
1995-05-19 15:56:02 +00:00
Jordan K. Hubbard deb139317a 1. Move Nate from Core Team to Contributors, as per his instructions.
2. Adjust some of my previous wording to be more indicative of the way things
   currently are and using less bogus corporate categorizations ("Directors"
   and "Officers" only exist in real corporations, which the FreeBSD Project
   is not, so it sounded kind of pompus on reflection).
1995-05-19 13:52:01 +00:00
Guido van Rooij c8945315ef Set copyright so we can actually distribute and use it.
Reviewed by:	David Greenman
Submitted by:	Wietse Venema
Obtained from:
1995-05-19 09:53:51 +00:00
Jordan K. Hubbard ec9b92d133 Whoops! Put the helpful message telling you to look at the second
screen on the first screen, and not the second.. :-)
1995-05-19 04:17:38 +00:00
David Greenman 2976b7f19f NFS diskless operation was broken because swapdev_vp wasn't initialized.
These changes solve the problem in a general way by moving the
initialization out of the individual fs_mountroot's and into swaponvp().

Submitted by:	Poul-Henning Kamp
1995-05-19 03:27:08 +00:00
Jordan K. Hubbard 977a407e1d Include serial ports as possible network candidates. 1995-05-19 02:31:13 +00:00
Jordan K. Hubbard a1bfde73e4 Big Sigh. Both A_BOLD and A_UNDERLINE do not appear to work with
syscons (and/or cons25) at all.  This code looked just fine running
on an xterm, but on a console the attributes are all wrong.  I
now have to sacrifice some screen real-estate to pring cheesy
`-' characters to accomplish the same thing.
1995-05-19 02:19:15 +00:00
Jordan K. Hubbard f8230b2f5f Switch to bold on the header line - the A_UNDERLINE handling appears to be
broken in syscons, or at least in the cons25 termcap entry! :-(  A_BOLD
won't show up on monochrome adapters (I don't think) but they'd be screwed
anyway since I don't have an attribute to use for them now at all.
1995-05-19 02:09:02 +00:00
Gary Palmer 9675b32c2f You want to be in /mnt when extracting the cpio floppy, not in the read
only root filesystem.....
1995-05-19 01:49:57 +00:00
Gary Palmer aff014ff20 Sigh. Add a ++ which was causing the newfs'ing of non-root filesystems to
fail :-(
1995-05-18 23:36:21 +00:00
Poul-Henning Kamp 4977228d33 Make the "information" slice printfs if(bootverbose).
Fix the message about Ontrack.
1995-05-18 22:45:35 +00:00
Poul-Henning Kamp 739618d119 Remove two printfs before Jordan has a fit over them. 1995-05-18 22:25:37 +00:00
Poul-Henning Kamp 18f4c72169 Run bad144 on raw-devs. 1995-05-18 22:00:01 +00:00
Poul-Henning Kamp b8458cd586 A couple of tweaks to make bad144 scan run. 1995-05-18 21:58:33 +00:00
Poul-Henning Kamp f7f27cd415 Change the ioctl to match what went into wd.c 1995-05-18 21:26:06 +00:00
Jordan K. Hubbard 561e0b4c76 Use raw devices for newfs.
Write and wizard mode only on enabled disks.
1995-05-18 18:02:31 +00:00
Jordan K. Hubbard 9786c33e55 Poul says that setting fonts on monocrome displays is useless
as most mono displays aren't that intelligent anyway.  Disable it in this
case.
1995-05-18 17:49:09 +00:00
Jordan K. Hubbard fcddc1c2bc Use CHUNK_BSD_COMPAT as God and Poul intended it be used. 1995-05-18 17:38:02 +00:00
Gary Palmer 2d5d38af3c Sigh - 2 formatting changes slipped through the net. 1995-05-18 17:26:02 +00:00
Gary Palmer 93a114834c Make the indentation uniform
Suggested by:	jkh
1995-05-18 17:18:46 +00:00
Jordan K. Hubbard a0b7a5f865 Fix quoting error. 1995-05-18 16:57:52 +00:00
Jordan K. Hubbard 8cdff502c9 I had the arguments to Mount() backwards. Argh. 1995-05-18 16:53:53 +00:00
Gary Palmer a3bbb2ff49 Dispose of old, #if 0'd, out code which has been proved to be no longer needed. 1995-05-18 16:44:41 +00:00
Gary Palmer 3890483652 Correct a conditional which could cause a off-by-one error in certain
circumstances.
1995-05-18 16:36:14 +00:00
Jordan K. Hubbard 0e8441fc1a Clear the screen after changing the font. 1995-05-18 15:58:32 +00:00
Jordan K. Hubbard ae1d347651 Whoops! I forgot how uudecode works.. Make it really work here. 1995-05-18 15:46:18 +00:00
Jordan K. Hubbard a2b4e70705 1. Use 8x16 fonts.
2. Don't use russian screenmap - apparently not necessary with right font.
3. Dequote bogusly quoted font name in english language setting.
4. Use setterm() and hack around an undesirable side-effect (cbreak is unset).
5. be smarter about setting OnVTY, and use it in cases where it makes sense.
Submitted by:	Nickolay N. Dudorov <[email protected]>
1995-05-18 15:29:47 +00:00
Jordan K. Hubbard 36678611e6 Add some more debugging information and fix a few missing newlines. 1995-05-18 14:11:16 +00:00
Jordan K. Hubbard 090d283ec5 Sheesh! What was I thinking. ppp should go on the cpio floppy, not
the boot floppy!
1995-05-18 13:54:12 +00:00
Jordan K. Hubbard abac5d4b12 Ahem. It's late. Make my floppies target actually work. 1995-05-18 13:32:22 +00:00
Jordan K. Hubbard 0ead1f1db1 Make a little convenient "floppies" target for myself. 1995-05-18 13:24:48 +00:00
Jordan K. Hubbard def8bcf342 Fix a very embarassing typo. No wonder this thing was looping! :-) 1995-05-18 13:20:53 +00:00
Jordan K. Hubbard 690e60d830 1. Add serial devices to list of possible network device candidates.
2. Rework tcpip.c a bit so that devices which have been configured also
   have the enabled flag set.
1995-05-18 13:18:35 +00:00
Jordan K. Hubbard ab9357a910 Also log all user interactions to debugging log. 1995-05-18 12:57:54 +00:00
Jordan K. Hubbard 2c3b28f96d Add tun0 to the all rule. 1995-05-18 10:51:03 +00:00
Jordan K. Hubbard 9650d6dc0c Add ppp to the boot floppy. 1995-05-18 10:47:45 +00:00
Jordan K. Hubbard 6aebdd7df9 Do more proper bad144 handling. Thanks, Rod. 1995-05-18 10:43:51 +00:00
David Greenman 5eb46edfb0 Added "BROKEN_KEYBOARD_RESET" option to disable using the keyboard reset
in cpu_reset(). Some MBs don't deal with this properly.

Submitted by:	Rod Grimes
1995-05-18 09:17:07 +00:00
Jordan K. Hubbard 4d7b3c6f96 1. Primitive bad144 support (I believe an additional command is needed, but
won't know until Poul wakes up again).
2. Make vsystem() put its output on the debugging fd.
3. DTRT with root filesystem placement - now I see how this has to work
   (thanks, Poul).
4. Many miscellaneous spelling errors fixed and general cleanup.
1995-05-18 09:02:06 +00:00
David Greenman 0e5b52868f Fixed a bug that managed to slip in during Poul's dynamic swap partition
changes. The check for nswap was bogus, but the code was so convoluted
that it was difficult to tell. It's better now. :-)

Reviewed by:	David Greenman (extensively), and John Dyson
Submitted by:	Poul-Henning Kamp, w/tweaks by me.
1995-05-18 05:09:54 +00:00
John Fieber 84143d2611 handbook.sgml
Rearranged a few sections, add memoryuse section.

current.sgml, ports.sgml, porting.sgml
  Added a <label>s for cross reference targes.

submitters.sgml
  Lots of editing, added cross references to other sections of
  the handbook.  Added a sample BSD-style copyright statement.

eresources.sgml
  Updated the mailing list section, thanks to Peter Dufault.

authors.sgml
  Added Peter Dufault, David Greenman and Joerg Wunsch.

memoryuse.sgml
  A new section about how/where in PC memory the FreeBSD kernel
  gets loaded and run.
1995-05-18 03:05:22 +00:00
John Fieber 1190b57788 Remove extraneous empty paragraphs (<p></p>) from the output. 1995-05-18 03:01:28 +00:00
David Greenman 5f55e84104 Accessing pages beyond the end of a mapped file results in internal
inconsistencies in the VM system that eventually lead to a panic. These
changes fix the behavior to conform to the behavior in SunOS, which is
to deny faults to pages beyond the EOF (returning SIGBUS). Internally,
this is implemented by requiring faults to be within the object size
boundaries. These changes exposed another bug, namely that passing in
an offset to mmap when trying to map an unnamed anonymous region also
results in internal inconsistencies. In this case, the offset is forced
to zero.

Reviewed by:	John Dyson and others
1995-05-18 02:59:26 +00:00
Jordan K. Hubbard 0b30383382 Use my own version of system() everywhere - it knows where to find the
shell!
1995-05-18 02:42:33 +00:00
Torsten Blum 384435b07d Added myself as per Rod's suggestion 1995-05-17 20:45:10 +00:00
Lars Fredriksen 38dccde2c3 Added myself as per Rod's suggestion. 1995-05-17 17:04:36 +00:00
Jordan K. Hubbard 4da5212097 1. Set a path to /stand by default.
2. Don't clear() when I can dialog_clear().
1995-05-17 16:16:10 +00:00
Gary Palmer 09462c94cf Oops - one slipped past the nets :-( 1995-05-17 16:05:42 +00:00
Gary Palmer 29082c26fe Untabify these files - it doesn't come out right on the display
otherwise :-(
1995-05-17 15:44:22 +00:00
Jordan K. Hubbard 498e6d5df3 Remove the seat-belts from the root partition creation code; for some
reason I'm *always* getting CHUNK_PAST_1024 set now, even when it's
definitely not! :-(  Poul, can you perhaps take a look?  Thanks!
1995-05-17 15:41:52 +00:00
Jordan K. Hubbard d0eeafc570 Commit my latest so that Gary can sync up - this version should also
be the grounds for our first round of testing in the release I'm rolling.
It doesn't load the distributions yet, but it should do everything else.
1995-05-17 14:40:00 +00:00
David Greenman 4039006ad7 Changed read_csr and write_csr to static so that they don't clash
with another driver.

Reviewed by:	Paul Richards
Submitted by:	Brian Litzinger
1995-05-17 13:15:35 +00:00
Gary Palmer dfa4c76f74 Hopefully the last version of this file. Add a lot more comments, and
actually give the data back to sysinstall in a coherent fashion now.
1995-05-17 12:09:11 +00:00
Rodney W. Grimes 843f16dc76 nogroup 32766 -> 65533 to go with nobody's change to 65534. 1995-05-17 10:02:07 +00:00
Adam David 2a8fad2596 added myself as additional contributor 1995-05-17 09:53:03 +00:00
Rodney W. Grimes 3870d1b2f4 Regenerate these using mtree -cdinx -kuname,gname,mode on a very recently
built release after fixing all the wrong directory permissions in that release.

Then use diff -c -b to verify them against the old versions, nothing but
new directories added :-).  And a lot of alphabetizing done!
1995-05-17 09:31:17 +00:00
Ollivier Robert 3fdda4bd2c Change the "make all" into "make depend all" in 6.0.6 (section on kernel
building).

Submitted by:	Rodney Grimes
1995-05-17 09:18:45 +00:00
Bruce Evans ec0896af08 Reviewed by: phk
serial_putchar() always hung if it was called and the serial port existed,
so booting with -h hung when the above bug was fixed.  Previously, setting
-h did nothing but -h was sometimes the default due to the stack garbage
bug.
1995-05-17 07:39:43 +00:00
Bruce Evans 4061e47297 Reviewed by: phk
Submitted by:	DI. Christian Gusenbauer <[email protected]>

The `howto' arg to boot() was not supplied, so it was stack garbage (actually
the return address in the boot program).  I didn't use the submitted fix.
1995-05-17 07:37:53 +00:00
David Greenman 57cb71573d Fixes to the aic7xxx sequencer code and device driver from Justin Gibbs:
1) If a target initiated a sync negotiation with us and happened to chose a
value above 15, the old code inadvertantly truncated it with an "& 0x0f".
If the periferal picked something really bad like 0x32, you'd end up with
an offset of 2 which would hang the drive since it didn't expect to ever
get something so low.  We now do a MIN(maxoffset, given_offset).

2) In the case of Wide cards, we were turning on sync transfers after a
sucessfull wide negotiation.  Now we leave the offset alone in the per
target scratch space (which implies asyncronous transfers since we initialize
it that way) until a syncronous negotation occurs.

3) We were advertizing a max offset of 15 instead of 8 for wide devices.

4) If the upper level SCSI code sent down a "SCSI_RESET", it would hang the
system because we would end up sending a null command to the sequencer.  Now
we handle SCSI_RESET correctly by having the sequencer interrupt us when it
is about to fill the message buffer so that we can fill it in ourselves.
The sequencer will also "simulate" a command complete for these "message only"
SCBs so that the kernel driver can finish up properly.  The cdplay utility
will send a "SCSI_REST" to the cdplayer if you use the reset command.

5) The code that handles SCSIINTs was broken in that if more than one type
of error was true at once, we'd do outbs without the card being paused.
The else clause after the busfree case was also an accident waiting to
happen.  I've now turned this into an if, else if, else type of thing, since
in most cases when we handle one type of error, it should be okay to ignore
the rest (ie if we have a SELTO, who cares if there was a parity error on
the transaction?), but the section should really be rewritten after 2.0.5.
This fix was the least obtrusive way to patch the problem.

6) Only tag either SDTR or WDTR negotiation on an SCB.  The real problem is
that I don't account for the case when an SCB that is tagged to do a particular
type of negotiation completes or SELTOs (selection timeout) without the
negotiation taking place, so the accounting of sdtrpending and wdtrpending
gets screwed up.  In the wide case, if we tag it to do both wdtr and sdtr,
it only performs wdtr (since wdtr must occur first and we spread out the
negotiation over two commands) so we always have sdtrpending set for that
target and we never do a real SDTR.  I fill properly fix the accounting
after 2.0.5 goes out the door, but this works (as confirmed by Dan) on
wide targets.

Other stuff that is also included:

1) Don't do a bzero when recycling SCBs.  The only thing that must explicitly
be set to zero is the scb control byte which is done in ahc_get_scb.  We also
need to set the SG_list_pointer and SG_list_count to 0 for commands that do
not transfer data.

2) Mask the interrupt type printout for the aic7870 case.  The bit we were
using to determine interrupt type is only valid for the aic7770.


Submitted by:	Justin Gibbs
1995-05-17 07:06:02 +00:00
Rodney W. Grimes 978dabea51 Reviewed by: bde, jkh
Add comment that you should not have to edit netstart, and if you
do we would like to know about it.

The lo0 interface is now handled just like any other interface,
This makes it possible to do things to it from sysconfig.

Redo the comments in sysconfig about network_interfaces and ifconfig_${X}
to reflect the moving of lo0 to this scheme.  We now have an uncommented
variable for sysintall to find and play with.  (Your welcome Jordan)

Redo the way static routes are handled.  Basically use the same
scheme for routes that I did for network interfaces.  This allows
any number of static routes to be added from sysconfig.

Make sure we do the default route first so we stand a chance of
getting to our DNS server (if we have one) to resolve our own
IP address from $hostname.
1995-05-17 04:46:57 +00:00
Rodney W. Grimes c30f3572fa Add Peter Dufault <[email protected]> 1995-05-17 02:01:00 +00:00
Satoshi Asami 1eb4157a2e Capitalize mail address of TokyoNet mirror per their request. 1995-05-17 01:55:26 +00:00
Satoshi Asami 5bbce04d77 Added new primary mirror site in Tokyo (direct connection to
BARRNET!).
1995-05-17 01:48:50 +00:00
Rodney W. Grimes 58d8a5e922 Make error message for no input files specified consistent across all
three compilers.

Submitted by:	Thomas Graichen <[email protected]>
1995-05-17 01:03:56 +00:00
Gary Palmer 4ea606879a Oops - Jordan managed to grab my ``work in progress file'' which
doesn't even come close to compiling. This file compiles, and should
work.
1995-05-16 20:00:51 +00:00
Søren Schmidt 290f5f54ee Changed relase number in snake_saver.c from 2.1 to 2.0.5 1995-05-16 19:10:11 +00:00
Andrey A. Chernov 77f033ad20 Enable vt100 semigraphics for xterm 1995-05-16 18:13:01 +00:00
Garrett Wollman 8ecaae9433 Doc fix - ``active'' specification not parsed by routed in /etc/gateways.
Submitted by:	Mike Newell <[email protected]>
1995-05-16 14:10:07 +00:00
Jordan K. Hubbard b2d228d3d7 This will now compile and even scribble helpfully on your disks.
It remains to be seen how successfully.  The distribution loading code
is still not here yet, but the partition/newfs/mount/cpio-extract cycle
is as complete as it's ever going to get, modulo possible bug fixes.
The TCP/IP setup screen is also sort of here, albeit in a highly-changing
state due to the fact that per-interface information isn't being kept
right now but is being added (thanks, Gary!).
1995-05-16 11:37:27 +00:00
David Greenman 92172c87b4 If an ut_host field in an utmp entry contains a ':' (e.g. for an xterm session)
w doesn't handle the non-'\0' terminated char arrays in struct utmp properly.

Submitted by:	[email protected]
1995-05-16 11:29:41 +00:00
Satoshi Asami d5531570b4 Fix the indent level. I know we're in code freeze, and this is
one of the key components of the system, but I'm sure that this:
===
-               ${ECHO_MSG} "===> Registering installation for ${PKGNAME}"; \
+               ${ECHO_MSG} "===>  Registering installation for ${PKGNAME}"; \
===
change has absolutely no chance to screw us up, right? :)
1995-05-16 10:31:25 +00:00
Andrey A. Chernov a66edb3187 Remove extra argument from mesgbox 1995-05-16 10:17:13 +00:00
David Greenman 60f6659f70 Changes to support the "new" bad144. Adds a "BADSCAN" ioctl and support.
Reviewed by:	Bruce Evans
Submitted by:	Poul-Henning Kamp
1995-05-16 07:52:17 +00:00
Andrey A. Chernov 05b91f7dce Call mesgbox instead of msgbox for long descriptions 1995-05-16 06:09:28 +00:00
Jordan K. Hubbard f506f143fa Fixes to document VTY usage.
Submitted by:	NIIMI Satoshi <[email protected]>
1995-05-16 03:11:25 +00:00
Jordan K. Hubbard 3dee6615c7 This does _not yet compile_; I'm simply bringing in my changes from
this weekend in order to more easily sync with my CVS tree at home.
Another commit relative to these changes will follow shortly.
1995-05-16 02:53:31 +00:00
Jordan K. Hubbard 64b91eadc2 Changes to support the new dialog_dselect() features required to fix
pkg_install.  dialog_dselect() wasn't very useful before.
Submitted by:	Marc van Kempen <[email protected]>
1995-05-16 01:31:40 +00:00
Jordan K. Hubbard aa1478bbd2 Fix a problem where pkg_manage refused to allow the user to select a
full directory hierarchy, as is the format of the new ports collection.
It used the old "all packages in one directory" paradigm, which is wrong for
ports now.
Submitted by:	Marc van Kempen <[email protected]>
1995-05-16 01:30:20 +00:00
David Greenman 765b90447e These diffs modify the behaviour of multicast clients to conform with the
IGMPv2 spec.  This fixes the following bugs:

o ntohs() on a char provides silly results
o timer needs to be scaled to units of PR_FASTHZ; this was being done
  inconsistenly so now it gets done when it is initialized.

Reviewed by:	Garrett Wollman
Submitted by:	Bill Fenner <[email protected]>
1995-05-16 01:28:29 +00:00
Jordan K. Hubbard 88f0d26553 A number of bug fixes to mrouted (no functionality enhancements from 3.5, just
the fixes!):

o Scoped addresses might let traffic in
o IGMP queries sent with wrong timeouts
o Possible core dump in mtrace if we get a request for which we have no route
o If a member on a transit network left a group, mrouted would stop forwarding
  even if there was a downstream router
o Various code cleanups and logging changes

Reviewed by:	wollman
Submitted by:	Bill Fenner <[email protected]>
1995-05-16 00:28:50 +00:00
David Greenman c9a8415607 Fixed route reference count bug that squirmed in during the the
routing-socket code upgrade from Berkeley..

Submitted by:	Garrett Wollman via Peter Wemm via Cornell
1995-05-15 22:57:53 +00:00
David Greenman 635d58b32c Removed unnecessary extern declaration that was causing compiler warnings.
Reviewed by:	Garrett Wollman
1995-05-15 22:55:18 +00:00
David Greenman aeb0491c43 Removed extraneous comma.
Reviewed by:	Bruce Evans
1995-05-15 22:27:48 +00:00
John Fieber b2821ccba5 Slip server document updated for 2.x systems.
Submitted by:	Guy Helmer <[email protected]>
1995-05-15 22:07:21 +00:00
Rodney W. Grimes bbfba93794 The ``mount -a -t nfs'' should never have been backgrounded. If you
have non-critical nfs volumes in /etc/fstab they should have option bg
on them.  The behavior of the system is more tuneable this way, and
allows a slow mounting /usr over nfs to work.

Submitted by:	bde
1995-05-15 19:50:59 +00:00
Andrey A. Chernov efc05b2bdd change nobody master.passwd entry to 65534:65534
change nobody group entry to 65534
Suggested-by: pst
1995-05-15 19:24:57 +00:00
Poul-Henning Kamp 86577745c3 Fixed the calculation of the reserved space for bad144. Thanks Rod! 1995-05-15 19:03:08 +00:00
Poul-Henning Kamp b89995508b Basic bad-block scanner. Works. Slow. Adds the bad-spots automatically. 1995-05-15 19:02:09 +00:00
Andrey A. Chernov e95be7ca34 Change xten shell from /dev/null to /nonexistant, adduser
complaints instead.
Change nobody user group from non existent in /etc/group (9999) to
existent nobody (39).
1995-05-15 18:35:22 +00:00
Andrey A. Chernov 0ae932377a Fix draw shadow bug, when shadow reaches end of the screen,
bringed by devmenu or tzsetup f.e.
1995-05-15 16:40:02 +00:00
David Greenman dbe38b75e5 Fixed typo. 1995-05-15 12:23:03 +00:00
David Greenman f5504b009d Use symbolic "IPTOS_LOWDELAY" instead of octal bit value for this socket
option. The bit value was wrong.
1995-05-15 11:58:03 +00:00
David Greenman 84fbd1c727 Fully initialize (bzero) the stack-allocated "struct sockaddr_in server"
structure. Random junk on the stack would cause the call to bind to fail
in some cases (since the address portion wasn't initialized).
1995-05-15 09:56:49 +00:00
Rodney W. Grimes f8a6f4a227 Remove all /dev/'s from device names, they should all be relative
to /dev.  Putting absolute paths in here breaks the make release
process, and screws up testing of this script in other directories.

Submitted by:	bde
1995-05-15 09:44:10 +00:00
David Greenman 1469eec81e Fixed incompleteness that would allow dirty filesystems to get mounted
when the single user shell was terminated. These changes disallow mounting
or R/W upgrading filesystems that are dirty unless "-f" (force) option
is used with mount. /etc/rc has been modified to abort the startup if
one or more non-nfs partitions fail to mount.

Reviewed by:	Poul-Henning Kamp, Rod Grimes
1995-05-15 08:39:37 +00:00
David Greenman 9b5bb13bf8 From Bruce Evans:
I ran into another manifestation of the problem reported in PR 211 and
fixed it. Try this:

as non-root:
	cd /tmp; mkdir x y x/z
as root:
	chown root /tmp/x/z
as non-root:
	cd /tmp/x; mv z ../y		# EACCES as expected
as root:
	cd /tmp/x; mv z ../y		# EINVAL NOT as expected

This is because ufs_rename() sets IN_RENAME and fails to clear it.

Reviewed by:	davidg
Submitted by:	bde
1995-05-15 07:31:09 +00:00
Gary Palmer 64cecefe43 Clean up the matcd entry so it deletes the *matcdl* entries before trying
to create new ones.

Reviewed by:	davidg, rgrimes
1995-05-15 06:55:18 +00:00
Poul-Henning Kamp ff88273903 Create_Chunk_DWIM will not allocate anything in the last cylinder of a
CHUNK_BAD144 slice.
Also mknod the 'c' partition for freebsd slices, so bad144(8) will have
something to work on.
1995-05-15 00:58:25 +00:00
Andrey A. Chernov 0b45516009 End of listcan be not marked, fix it
Submitted by: Kai Vorma <[email protected]>
1995-05-15 00:03:32 +00:00
Andrey A. Chernov f101e3f500 Fix xterm entry by fallback to vt220 entry,
also compact VT* is/rs capabilities to prevent overflowing
1995-05-14 23:32:53 +00:00
Andrey A. Chernov 8868bb111b Fix false backspace reporting 1995-05-14 22:46:15 +00:00
Andrey A. Chernov d9f3f4f9bb Parse ^? correctly now 1995-05-14 22:33:52 +00:00
Andrey A. Chernov 4f5129899a Parse ^? now, our termcap use it and some termcaps from other
systems use it too
1995-05-14 22:29:13 +00:00
David Greenman 30fd0561cd Added apersand constraint to make sure that the source and destination
registers aren't combined.

Reviewed by:	Bruce Evans and David Greenman
Submitted by:	John Dyson
1995-05-14 22:25:11 +00:00
Rodney W. Grimes e602d31e02 Fix 3 printf's that had the wrong number of arguments.
Submitted by:	gibbs
1995-05-14 19:19:55 +00:00
Nate Williams 3288e2905f Prototype for madvise() is missing from sys/mman.h
Submitted by:	Kai Vorma <[email protected]>
1995-05-14 19:19:07 +00:00
Andrey A. Chernov e7d6343ec1 Fix error returning address of local array 1995-05-14 19:14:53 +00:00
Andrey A. Chernov 2ea29df013 Add dumpon 1995-05-14 18:43:25 +00:00
Rodney W. Grimes 4f66643c1d This patch teaches info to read gzipped files (emacs info already
works) so one can gzip files in /usr/share/info and save a few
megabytes diskspace.

Submitted by:	Kai Vorma <[email protected]>
1995-05-14 17:54:44 +00:00
Andrey A. Chernov cb874294c9 Install uuconv/uuchk with right permissions 1995-05-14 17:01:07 +00:00
Gary Palmer b04042154b tcpdump is in (1) not (l) 1995-05-14 15:21:36 +00:00
Bruce Evans 9f83fbf2e7 Fix declaration of palette[] so that fade saver doesn't cause panics. 1995-05-14 12:54:30 +00:00
Satoshi Asami d6f5c64683 Added "doc" to the list of subdirs, so that amdref.info* will get
installed in /usr/share/info...closes my own PR, docs/408 (aaah now
I need to figure out how to "close" PRs... ;)....
1995-05-14 11:24:41 +00:00
David Greenman 14c77d8a98 After carefully reading three reference documents, and analyzing
the 802.3 frames generated by the DC21040 (which does automatic padding
of less-than-minimum frames) and the frames generated by the 'ed'
driver, I've found that there is indeed a bug in the size of "ETHER_MIN_LEN"
as reported by several people, John Hay being the most recent. The driver
was actually setting the length to 6+6+2+50 (64 bytes), which when adding
in the CRC (which is automatically appended to the frame and not included
in the length), the minimum frame is 4 bytes larger than it is supposed to
be. All of this is confirmed by tcpdump showing 50 bytes of data for
minimum frames from the 'ed' cards and 46 bytes from 'de' cards. This
analysis has also revealed that there is garbage in the un-filled in
portion at the end of the minimum frames from the 'ed' driver; I don't
plan to fix this.
1995-05-14 11:01:20 +00:00
Rodney W. Grimes 1f6583b909 printf -> fprintf when you use a fd arg :-), oops! 1995-05-14 08:40:37 +00:00
Rodney W. Grimes 46e26c551d Don't add a slash to the end of _PATH_DEV, it already has one.
Print a final newline to stderr after the scan finishes, only do it
at the right place in this version, 1.1.5.1 caused an extra newline
if you where not running -s, and it went to stdout instead of stderr.

Obtained from:	FreeBSD 1.1.5.1
1995-05-14 08:19:08 +00:00
Rodney W. Grimes 1bb5661b59 Add bad144 -s option to scan entire slice of disk.
Obtained from:	FreeBSD 1.1.5.1 (Just the scan function itself was added)
1995-05-14 07:05:47 +00:00
Poul-Henning Kamp 2df6483f69 Reflect the fact that we do not swap on the first <dmmax> blocks of a
swapdev, to protect disklabels and other such magic stuff.
1995-05-14 03:37:40 +00:00
David Greenman bd7917b1a7 Updated to work with Poul-Henning's recent kernel changes in the swap
device table layout...basically, don't output the cruft anymore - it
is now dynamic.

Reviewed by:	John Dyson and David Greenman
Submitted by:	Poul-Henning Kamp
1995-05-14 03:10:58 +00:00
David Greenman 1295400e49 Updated to work with Poul-Henning's recent changes to the swap device
table.

Reviewed by:	John Dyson and David Greenman
Submitted by:	Poul-Henning Kamp
1995-05-14 03:08:35 +00:00
David Greenman a401ebbe32 Changed swap partition handling/allocation so that it doesn't
require specific partitions be mentioned in the kernel config
file ("swap on foo" is now obsolete).

From Poul-Henning:

The visible effect is this:

As default, unless
        options "NSWAPDEV=23"
is in your config, you will have four swap-devices.
You can swapon(2) any block device you feel like, it doesn't have
to be in the kernel config.

There is a performance/resource win available by getting the NSWAPDEV right
(but only if you have just one swap-device ??), but using that as default
would be too restrictive.

The invisible effect is that:

Swap-handling disappears from the $arch part of the kernel.
It gets a lot simpler (-145 lines) and cleaner.

Reviewed by:	John Dyson, David Greenman
Submitted by:	Poul-Henning Kamp, with minor changes by me.
1995-05-14 03:00:10 +00:00
Rodney W. Grimes af9fe6e59d mlink bad144.8 to man8/bad144.8 so we can find the manual page.
Use /${MACHINE} for MANSUBDIR instead of hardcoded /i386

Obtained from:	FreeBSD 1.1.5.1
1995-05-14 02:30:19 +00:00
David Greenman 43e6fcd576 Take out special error message for EINVAL...we really do want it to be
"invalid argument".
1995-05-14 02:18:18 +00:00
Satoshi Asami 563120df88 Don't conditionalize fake-pkg on NO_PACKAGE. 1995-05-13 23:37:16 +00:00
Andrey A. Chernov c4de35376b Fix FtpPasv to not return address of local variable, close PR 399
Submitted by: John Capo <[email protected]>
1995-05-13 22:09:52 +00:00
Andrey A. Chernov bd940a6e9e Fix manpage lies about -P 1995-05-13 22:06:12 +00:00
Rodney W. Grimes 3d8e4b9338 Remove XXX comment that I had moved to netstart and forgot to remove from
here.
1995-05-13 20:16:11 +00:00
Rodney W. Grimes 682078bd09 Very minor rework to eliminate useage of - operator by checking for
existance of ${CHROOTDIR}.

Remove -k option from make install for building chroot tree, makes it
error out early if you forgot to populate the pre-chroot obj tree.

Reviewed by:	phk
1995-05-13 19:51:57 +00:00
Poul-Henning Kamp 3ee2ce52b4 remove swapinfo. 1995-05-13 17:27:10 +00:00
Poul-Henning Kamp 59392fe2bc Make pstat act like swapinfo if so invoked. 1995-05-13 17:25:23 +00:00
Andrey A. Chernov 4067631146 Change ln -sf to rm -f and ln -s, first one work incorrectly
for directories when called second time
1995-05-13 16:58:37 +00:00
Andrey A. Chernov 38e121ed71 Update other Makefiles to reflect uuconv/uuchk install place change 1995-05-13 12:57:44 +00:00
Andrey A. Chernov 12421b942f Install uuconv/uuchk to /usr/sbin 1995-05-13 12:30:17 +00:00
Satoshi Asami cbed30a5cf Add "include". 1995-05-13 12:07:08 +00:00
Satoshi Asami 2914e4f239 Add FORCE_PACKAGE, if this is defined, NO_PACKAGE will be turned off.
Ports for which we can't build packages should define NO_PACKAGE but
still prepare pkg/* files.  The user who really wants a package and
clear of the legal problems can say FORCE_PACKAGE from the command line
to build a package anyway.
1995-05-13 05:37:45 +00:00
Rodney W. Grimes b6333dea9d Submitted by: jkh
Build lib/libncurses and lib/libtermcap early in the libraries: target
as other libraries depend on them.
1995-05-13 03:34:23 +00:00
Jordan K. Hubbard c25cfd0b0d "1 easy fix in 10 excrutiating steps"
A phone call from Manfred quickly pointed up the fact that I got the conflict
check backwards.  NOW we implement the conflict checking correctly!  Wheesh!
1995-05-13 00:09:38 +00:00
David Greenman e83d87f1fc Fix force flag: It is not a "negative" flag. Add MNT_FORCE to the acceptable
options for UFS (which fixes another bug).
1995-05-12 23:39:15 +00:00
David Greenman 404abd2138 Only use card's soft-configured irq if no irq was specified in the kernel
config file. This should fix a number of complaints regarding the auto
detection behavior.
1995-05-12 22:39:40 +00:00
David Greenman c4cf09ffe6 pread/pwrite() should be static.
Submitted by:	sef
1995-05-12 21:39:48 +00:00
Andrey A. Chernov b94c770a5e Add Moscow and Kiev 1995-05-12 20:13:19 +00:00
Andrey A. Chernov 2f632e8fe8 Fix getsockopt(IP_ACCT_*) to not panic kernel
Submitted by: Bill Fenner <[email protected]>
1995-05-12 20:00:21 +00:00
Andrey A. Chernov 4769e93ea2 Add missing include 1995-05-12 19:21:46 +00:00
Garrett Wollman 5bb4f73817 The death of `options NODUMP'. Now the dump area can be dynamically
configured (and unconfigured) on the fly.  A sysctl(3) MIB variable is
provided to inspect and modify the dump device setting.
1995-05-12 19:17:31 +00:00
Garrett Wollman 5e7d9e89ba Don't automatically default dumps to be on a swap device; if the user
wants dumps, he can either configure it explicitly (`dumps on' whatever) or
use the dumpon(8) utility.
1995-05-12 19:12:44 +00:00
Garrett Wollman 55678a2eb9 Learn how to print out kern.dumpdev as a name. 1995-05-12 19:10:56 +00:00
Garrett Wollman 83f9dfab4d My utility to specify where you want crash dumps to go. More user
and kernel support to follow.
1995-05-12 19:10:09 +00:00
Poul-Henning Kamp 7b92fbb848 Added MakeDevDisk(struct disk*, char *path);
fixed bug in extended slice naming.
1995-05-12 18:50:00 +00:00
Paul Richards e5e0d60df8 Forgot to add these. 1995-05-12 17:31:45 +00:00
Paul Richards 89e255f52c New libforms.
Bumped major number.

Ncurses backend still needs improving.
Other back-ends need to be written.
1995-05-12 17:20:06 +00:00
Bill Paul 97f3a7e6e7 One for the road: create a ypbind.lock file under /var/run and try to lock
it. If we can't it means there's already a ypbind running and we should
abort.
1995-05-12 16:52:58 +00:00
Bill Paul dbda9e5ed2 - Add an entry to allow swapping on a vn device (if one is configured).
- Do the right thing when booting in NFS diskless mode, which is nothing.
  Make the default unconfigured entries for swdevt[0] and dumplo something
  that swapconf() will ignore and not choke on (the swap setup is done
  in nfs_vfsops.c when booting diskless).
1995-05-12 16:11:07 +00:00
Andrey A. Chernov d0930614cc Add 'rc' line 1995-05-12 15:17:55 +00:00
Andrey A. Chernov dc02f1c279 RISCom/8 driver 1995-05-12 15:09:29 +00:00
Andrey A. Chernov 9bda6bd9b8 Remove -R from CFLAGS 1995-05-12 13:15:41 +00:00
Satoshi Asami 9f3f196b2c When NO_PACKAGE is set, "package" and "repackage" don't depend on
"install".  In other words, they won't do anything at all.
1995-05-12 08:44:12 +00:00
Satoshi Asami a11b461203 Not only deleting the package and package links, also exit with status
1 if pkg_create returns error!
1995-05-12 07:43:48 +00:00
Satoshi Asami 25254cc62d Delete package and links when pkg_create fails. 1995-05-12 07:32:59 +00:00
Rodney W. Grimes ba0879629f Submitted by: Charles Henrich <[email protected]>
Quite up man when directories in MANPATH do not exist.  If you want
it to tell you about problems use man -d.
1995-05-12 04:56:28 +00:00
David Greenman 15f1b09648 Increased ratio of allowed vnodes on freelist to 1/4th of the total. This
is more representative of worst case situations of 4 files/directory. (If
that last sentence doesn't make any sense, I'm not surprised. It's rather
compilcated how this all fits together....).
This should fix a problem that Ed Hudson has been complaining about where
directories with lots of symlinks could cause excessive disk I/O.
1995-05-12 04:24:53 +00:00
Poul-Henning Kamp 8af2296bcb I'm about to jump on the swap-initialization, and having talked
with davidg about it, I hereby kill two undocumented misfeatures:
The code to skip a miniroot in the swapdev is not particular useful, and
if we need it we need it to be done properly, ie size the fs and skip all
of it not some hardcoded size, and subtract what we skip from the length
in the first place.
The SEQSWAP dies too.  It's not the way to do it, it doesn't work, and
nobody have expressed any great desire for it to work.  The way to
implement it correctly would be a second argument to swapon(2) to give
a priority/policy information.  Low priority swapdevs can be made so
by adding them at a far offset (0x80000000 kind of thing), with almost no
modification to the strategy routine (in particular a offset per swapdev).
But until the need is obvious, it will not be done.
1995-05-12 03:54:59 +00:00
John Fieber 3fc924e8ce Update the kerberos section, add Mark Murray <[email protected]> to
the authors section.
Submitted by:	Mark Murray <[email protected]>
1995-05-11 22:31:28 +00:00
Jordan K. Hubbard 1b780c0e7f Argh! Another instance of DES rather than des that I forgot. Truly,
this keyword is in too many places! :(
1995-05-11 22:07:49 +00:00
Andrey A. Chernov d293af2d2e Make fmt ctype-aware
Fix non-critical bug with getting EOF double times
Not call strlen for zero length test
1995-05-11 21:32:35 +00:00
Jordan K. Hubbard 5469943802 Document the fact that almost all the user configuration stuff is now
in /etc/sysconfig, per Luigi's suggestion.
1995-05-11 21:11:17 +00:00
Jordan K. Hubbard 7b094c1c1d The lites web page has moved.
Submitted by:	rich
1995-05-11 20:39:36 +00:00
Garrett Wollman c356b1c45d Add some more defines that don't change the genericness of a file. 1995-05-11 20:21:23 +00:00
Garrett Wollman 1d86aba60b Make `make links' work by leaving swapkernel.c off out of the links processing
(it is never generic).
1995-05-11 19:48:45 +00:00
Rodney W. Grimes b2b795f07c Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
Rodney W. Grimes a51ab5ce3b Reviewed by: wollman
Add a knob to make it easy to turn off RFC 1323 and RFC 1644 options.
1995-05-11 19:08:37 +00:00
Poul-Henning Kamp 303fd456bf Use spc, not spt, DUH! Thanks Bruce!
Submitted by:	bde
1995-05-11 16:19:50 +00:00
Lars Fredriksen 60c3781abb Updated the text to reflect changes in the english version.
Also updated the text based upon suggestions from Havard.Eidnes.
1995-05-11 14:31:22 +00:00
Jordan K. Hubbard 59927d47cf 1. Don't check CHUNK_BSD_COMPAT for now; it always returns "no" and is
getting in the way of testing right now.
2. Call system() on commands, not vsystem().  No need for vsystem() here.
3. Add a path for the shell.
1995-05-11 09:01:35 +00:00
Jordan K. Hubbard 8a5f152db3 Add ls to the boot floppy - folks will be lost without it! 1995-05-11 08:52:11 +00:00
Jordan K. Hubbard a9d7ec4113 Revise this to actually print all the various isa_device field values
it really should have been printing all this time.  Also fix my rather
bogus handling of the id_conflicts value by moving it to the end of
isa_device and dealing with that correctly now.
1995-05-11 07:54:41 +00:00
Bruce Evans 0de8909518 Define _POSIX_VDISABLE so that it can be used in #if expressions. 1995-05-11 07:52:49 +00:00
Bruce Evans d81fba0cda Add variable `idelayed' and macros setdelayed() and schedsofttty()
to access it.  setdelayed() actually ORs the bits in `idelayed' into
`ipending' and clears `idelayed'.

Call setdelayed() every (normal) clock tick to convert delayed
interrupts into pending ones.

Drivers can set bits in `idelayed' at any time to schedule an interrupt
at the next clock tick.  This is more efficient than calling timeout().
Currently only software interrupts can be scheduled.
1995-05-11 07:44:40 +00:00
Jordan K. Hubbard c77a009363 Move conflicts flag to the end. 1995-05-11 07:41:52 +00:00
Bruce Evans 0ee893eb32 Add loadandclear(). It atomically loads a value from memory, clears the
value in memory and returns the original value.
1995-05-11 07:24:35 +00:00
Jordan K. Hubbard 336d17595a Drop the inode count down a bit - we ran out of inodes with the help files. 1995-05-11 07:18:11 +00:00
Jordan K. Hubbard 17078dcc1f Argh! Get the args to tar right. It's late. I'm sleepy. 1995-05-11 07:11:24 +00:00
Jordan K. Hubbard 89046f378e Use the proper libs for sh. 1995-05-11 07:05:05 +00:00
Jordan K. Hubbard 3edcd90d4b 1. Fix a cd which somehow got capitalized.
2. Don't put CVS files on the floppy.
1995-05-11 07:03:33 +00:00
Jordan K. Hubbard e0d3af579f Clean this up a bit - add more documentation to the documentation menu. 1995-05-11 06:47:46 +00:00
Jordan K. Hubbard caeb252543 Dump the help files onto the new floppy. 1995-05-11 06:40:40 +00:00
Jordan K. Hubbard 212014b835 Put a shell on the boot floppy. 1995-05-11 06:32:13 +00:00
Jordan K. Hubbard dae062c15f First round of changes after testing this on actual systems. Clean up
some of the badly displayed menus, use the proper notification box for
messages, make proceed work.
1995-05-11 06:10:56 +00:00
Jordan K. Hubbard 46374ebcaa DES -> des. Sigh! 1995-05-11 05:23:40 +00:00
Poul-Henning Kamp 8f9c995787 Get the CHUNK_COMPAT_BSD flag right. 1995-05-11 05:22:54 +00:00
Jordan K. Hubbard 4767b31211 Lower-case the name of the DES directory. Yes, it's an acronym, but DOS
is still dOs.

					Jordan
1995-05-11 05:22:29 +00:00
Jordan K. Hubbard da8d0268df Pass me the pointed chapeau - this typo somehow got through my testing. 1995-05-11 05:20:43 +00:00
Bill Paul 2c739e6439 If you config a kernel with 'config kernel swap generic' and try to
boot diskless with it, you get a panic because setconf() is only
called for mountroot == ffs_mountroot. It really needs to be called
no matter what manner of rootfs we have. I can't really say if
swapgeneric will work with a CD-ROM though. (I get the feeling I'm
the only one who uses swapgeneric these days anyway.)
1995-05-11 02:50:11 +00:00
Jordan K. Hubbard babb4e927f Add a new `conflicts' flag for telling when a device is in conflict with
others.  The flag can be put in descriptive locations, e.g.:

device sb0      at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
or
device psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

But is nonetheless boolean only.  You can't turn conflict checking off for
only a given type of conflict.  I didn't deem it worth the trouble at this
stage, and it's far better than the ALLOW_CONFLICT_* that preceeded it.
1995-05-11 02:21:34 +00:00
Jordan K. Hubbard 9cc347481f Remove all vestiges of the ALLOW_CONFLICT_FOO evil and replace it with
something slightly less evil - a per device conflict flag.
1995-05-11 02:15:55 +00:00
John Fieber d4053fae6e Added "FreeBSD in a nutshell", swiped from the WWW pages with a
few modifications.
1995-05-11 02:03:38 +00:00
David Greenman 6b067b0744 #ifdef'd my Nagel/ACK hack with "TCP_ACK_HACK", disabled by default. I'm
currently considering reducing the TCP fasttimo to 100ms to help improve
things, but this would be done as a seperate step at some point in the
future.
This was done because it was causing some sometimes serious performance
problems with T/TCP.
1995-05-11 01:41:06 +00:00
Bill Paul 4d6e34053f Ack! One slipped through the cracks: remember to return the correctly
filled-in result structure to the caller when a resource allocation
error is encountered in ypbindproc_domain_2.
1995-05-11 00:16:54 +00:00
Garrett Wollman c9cd353a18 Delete two debugging printfs that mistakenly crept in. 1995-05-11 00:16:44 +00:00
Garrett Wollman 748e0b0acc Make networking domains drop-ins, through the magic of GNU ld. (Some day,
there may even be LKMs.)  Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
1995-05-11 00:13:26 +00:00
Bill Paul c904a246d2 Performace improvements/simplifications/cleanups:
- Make the child process reaper signal-driven. (Previously, we called reaper()
  once a second each time we went through the select() loop. This was
  convenient, but inefficient.)

- Increase main select() timeout from 1 second to 60 seconds and use
  this as the ping timer instead of using timestamps in the _dom_binding
  structure. This nd the reaper() change noted above makes ypbind a little
  less CPU-intensive.

- Don't flag EINTR's from select() as errors since they will happen as a
  result of incoming SIGCHLD's interrupting select().

- Prevent possible resource hogging. Currently we malloc() memory
  each time a user process asks us to establish a binding for a domain,
  but we never free it. This could lead to serious memory leakage if a
  'clever' user did something like ask ypwhich to check the bindings
  for domains 0.0.0.0.0.0.0.0.0.0 through 9.9.9.9.9.9.9.9.9.9 inclusive.
  (This would also make a mess out of the /var/yp/binding directory.)

  We now avoid this silliness by a) limiting the maximum number of
  simultaneous bindings we can manage to 200, and b) free()ing _dom_binding
  structures of secondary domains whose servers have stopped responding.
  We unlink the /var/yp/binding/domain.vers files for the free()ed
  domains too.

  (This is safe to do since a client can prod us into reestablishing the
  binding, at which time we'll simply allocate a new _dom_binding structure
  for it.)

  We keep count of the total number of domains. If asked to
  allocate more than the maximum, we return an error. I have yet to hear
  of anybody needing 200 simultaneous NIS bindings, so this should be
  enough. (I chose the number 200 arbitrarily. It can be increased if need
  be.)

- Changed "server not responding"/"server OK" messages to display server
  IP addresses again since it looks spiffier.

- Use daemon() to daemonify ourselves,

- Added a SIGTERM handler that removes all binding files and unregisters
  the ypbind service from the portmapper when a SIGTERM in received.

- The comment 'blow away everything in BINDINGDIR' has no associated code.
  Give it some: clean out /var/yp/binding at startup (if it exists).

This completes my ypbind wishlist. Barring bug fixes, I shouldn't need to
go poking around in here anymore. (Of course, this means I can start
working on my ypserv whishlist now... :)
1995-05-10 23:02:41 +00:00
Jordan K. Hubbard 36dc394c61 Fix a long-standing bug that broke pkg_info utterly and probably made
pkg_add a little wiggy too.
1995-05-10 23:00:16 +00:00
Jordan K. Hubbard e8019cb42b Fix a long-standing bug that broke pkg_info utterly and probably made
pkg_add a little wiggy too.  Document the fact that pkg_info can also
take a URL.
1995-05-10 23:00:07 +00:00
Jordan K. Hubbard 82f99dbbda Bump the number of allowable args by a factor of 4. I just scanned
all possible packing lists and found that at least one of them is
pretty large!
1995-05-10 22:33:55 +00:00
John Fieber 63fa13d623 Added Jordan's "brief history of FreeBSD", swiped from the WWW pages. 1995-05-10 22:12:01 +00:00
Jordan K. Hubbard 28ed622cab Document fetch-by-URL. 1995-05-10 20:56:19 +00:00
Jordan K. Hubbard c63a4dc13b Re-work make_dist() routine to build the tar command more reasonably.
This should eliminate the problem with truncated packages.
1995-05-10 20:46:06 +00:00
Jordan K. Hubbard 42206c90f4 Don't use curses routines until that part of the system is initialized. 1995-05-10 18:59:51 +00:00
David Greenman 54ea0c000f Unlock the vnode before sleeping on an OBJ_DEAD object. Should fix Bruce's
hang. Fixed some formatting anomolies and removed some unneeded casts.
1995-05-10 18:59:11 +00:00
David Greenman ee3a64c992 Changed "handle" from type caddr_t to void *; "handle" is several different
types of pointers, and "char *" is a bad choice for the type.
1995-05-10 18:56:09 +00:00
Jordan K. Hubbard 817836447b Remove dmenu from the Makefile 1995-05-10 18:22:29 +00:00
Jordan K. Hubbard 0020de4fe4 Reviewed by:
Submitted by:
Obtained from:
1995-05-10 17:54:09 +00:00
Jordan K. Hubbard dda697f031 Remove ncftp from cpio - we don't need it any more.
Adjust boot floppy to (hopefully) include libdisk in the crunch.
1995-05-10 17:20:23 +00:00
Garrett Wollman 78a8281095 Updated routing-socket code from Berkeley
Obtained from: Keith Bostic by way of Paul Traina
1995-05-10 16:48:52 +00:00
Rodney W. Grimes 3e0b4dc1f6 Submitted by: wpaul (with 2 lines moved by rgrimes)
Add support for kern_devconf structure.
1995-05-10 15:19:29 +00:00
John Fieber db27b2e18e Toplevel reorganization and integration of Poul-Henning Kamp's section
on the booting process.
1995-05-10 11:34:07 +00:00
Satoshi Asami 827039417c Add new variable to override the "hey foobar-1.2.3 is already installed"
warning from fake-pkg.
# FORCE_PKG_REGISTER - If set, it will overwrite any existing package
#                      registration information in ${PKG_DBDIR}/${PKGNAME}.
1995-05-10 09:30:09 +00:00
Jordan K. Hubbard 8e3bb099bf Sync up to Poul - use his new Create_Chunk_DWIM() function and use the pointer
it passes back.  Thanks, Poul!
1995-05-10 09:25:49 +00:00
Jordan K. Hubbard b34c876a61 Make sure that mountpoints start with a /. 1995-05-10 08:03:21 +00:00
Jordan K. Hubbard 4ec1f4bcf2 Whoops - dispatch() takes multiple args now. 1995-05-10 08:00:47 +00:00
Jordan K. Hubbard 351669d743 Fold in all my recent changes.
Do another clean-up pass over this, making the generic menu handler much
more powerful (now handles multiple dispatch).  A few more menus fleshed
out and the beginnings of the distribution handler committed.  Should
be transfering full distributions over in the next commit.
1995-05-10 07:45:00 +00:00
Poul-Henning Kamp 59618a8666 Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies. 1995-05-10 05:57:04 +00:00
Satoshi Asami 9432f44382 New directory name for uec mirror.
Submitted by:	[email protected] (Hideaki Tsuchiya)
1995-05-10 04:18:24 +00:00
John Fieber 710b2e3600 Add sgmlfmt. 1995-05-10 00:38:30 +00:00
John Fieber 53a4c0de25 Add sgml 1995-05-10 00:36:16 +00:00
John Fieber 4213d0cd98 Update the doctype declaration to use the FreeBSD version of the
linuxdoc DTD.
1995-05-10 00:12:18 +00:00
John Fieber 317be71920 The program that turns sgml files (tagged according to the linuxdoc
DTD) into HTML, LaTeX or ascii.  (the latter is still pretty rough)
Reviewed by:	rgrimes
1995-05-09 23:58:06 +00:00
Jordan K. Hubbard f26b6240ac Switch from bogus absolute path to a relative one.
Closes PR #bin/391
Submitted by:	Stephen McKay <[email protected]>
1995-05-09 23:48:54 +00:00
John Fieber 39fe917d33 The linuxdoc DTD used for the FreeBSD handbook and FAQ.
Reviewed by:	rgrimes
Obtained from:	Linux (with modification)
1995-05-09 23:19:47 +00:00
John Fieber 9381eca971 New directory for sgml tools: /usr/share/sgml
Reviewed by:	rgrimes
1995-05-09 23:06:59 +00:00
Jordan K. Hubbard 5013b8b22c Remove all reference to sysinstall - it's going away. 1995-05-09 23:03:22 +00:00
Jordan K. Hubbard 4da86446d9 Get sysinstall from /usr/src/release not /usr/src/sbin. 1995-05-09 23:02:56 +00:00
Jordan K. Hubbard 3af7a5dc18 secure -> DES. 1995-05-09 22:58:42 +00:00
Garrett Wollman 7cd23434fe Add GNU-style `-print0' primary. This exists so that one can safely
do `find some-nasty-expression -print0 | perl -n0e unlink' and have all
the files actuallly get deleted.  (Using `xargs' and `rm' is not safe.)
1995-05-09 19:02:06 +00:00
Garrett Wollman 2b50c84ac1 Make certain that random keys havethe correct parity, for interoperation with
MIT v4 implementations.

Submitted by: Reece R. Pollack <[email protected]>
1995-05-09 18:05:15 +00:00
Andrey A. Chernov f14d551c2c Fix line-count overflow, close PR 351
Submitted by:  Edward Wang <[email protected]>
1995-05-09 16:56:23 +00:00
Bruce Evans d8762fa6a0 Submitted by: Mike Pritchard <[email protected]>
msdosfs_lookup() did no validation to see if the caller was validated
to delete/rename/create files.  msdosfs_setattr() did no validation
to see if the caller was allowed to change the file permissions (turn
on/off the write bit) or update the file modification time (utimes).

The routines were fixed to validate the calls just like ufs does.
1995-05-09 16:30:45 +00:00
Rodney W. Grimes 1f2c9ce35f Submitted by: gj
Delete suspicious looking chunk of code that was partially commented out.
1995-05-09 13:59:22 +00:00
David Greenman 94a5d9b6a1 Replaced some bcopy()'s with memcpy()'s so that gcc while inline/optimize. 1995-05-09 13:35:48 +00:00
Rodney W. Grimes e6ba2cd30e Fix nested comments for -Wcomment warnings. 1995-05-09 13:33:06 +00:00
Rodney W. Grimes 1a4e9088d5 Fix nested comments for -Wcomment warnings. 1995-05-09 13:13:29 +00:00
Jean-Marc Zucconi d2ec3b3080 Change wording about displayed text in text fields 1995-05-09 13:06:11 +00:00
Rodney W. Grimes eb0b975c2d Fix nested comments for -Wcomment warnings. 1995-05-09 12:58:53 +00:00
Rodney W. Grimes ad753d5151 Fix nested comments for -Wcomment warnings. 1995-05-09 12:48:21 +00:00
Rodney W. Grimes 06e81069bd Fix nested includes for -Wcomment. 1995-05-09 12:35:29 +00:00
Andras Olah 40db8ef747 Fix a misspelled constant in tcp_input.c.
On Tue, 09 May 1995 04:35:27 PDT, Richard Stevens wrote:
> In tcp_dooptions() under the case TCPOPT_CC there is an assignment
>
>       to->to_flag |= TCPOPT_CC;
>
> that should be
>
>       to->to_flag |= TOF_CC;
>
> I haven't thought through the ramifications of what's been happening ...
>
>       Rich Stevens

Submitted by:	[email protected] (Richard Stevens)
1995-05-09 12:32:06 +00:00
Rodney W. Grimes 2d9d0204f7 Fix -Wformat warnings, still need to do something about %b and pointer
type args.
1995-05-09 12:26:00 +00:00
Rodney W. Grimes 14b77878bb Rewrite the MCD_TRACE macro to be a varargs macro so that the extraneous
arguments to printf could be fixed.

Correct all but 1 -Wformat warning.  Some would have caused garbage to
be printed due to missing args!
1995-05-09 11:39:40 +00:00
Rodney W. Grimes 0f9b873be7 Change install: to afterinstall: to be more consistent. 1995-05-09 10:12:16 +00:00
Jordan K. Hubbard b5260d2051 Rename secure to DES. 1995-05-09 05:22:41 +00:00
John Dyson 40ab35ce04 Added bounce support for user scsi requests.
Reviewed by:	David Greenman
1995-05-09 02:38:15 +00:00
Jordan K. Hubbard a3e12198e1 Use absolute path for release dir. 1995-05-09 02:24:39 +00:00
Jordan K. Hubbard d37bc70266 Revise confusing wording about text fields. It now reads
"the amount of text above the current point" instead of "the amount of text
remaining", which was of the exact opposite meaning!  Urk.
Submitted by:	joerg
1995-05-09 01:52:42 +00:00
Poul-Henning Kamp e34fb4afd7 Cleanup to the INET part of lpt.c.
Reviewed by:	phk
Submitted by:	pst
1995-05-09 01:33:16 +00:00
Satoshi Asami 94c600b239 Make the "reinstall" target delete the package cookie as well as
the install cookie.
1995-05-09 00:31:54 +00:00
Jordan K. Hubbard 20e5d523d9 Make a less expensive re-release target. 1995-05-09 00:30:00 +00:00
Jordan K. Hubbard a88bbe42ef Don't go build sbin/sysinstall anymore; it's obsolete. 1995-05-09 00:18:32 +00:00
Jordan K. Hubbard 15e52edd61 secure -> DES 1995-05-09 00:15:30 +00:00
David Greenman 6c206048ae Improved hashinit panic strings. 1995-05-08 23:11:12 +00:00
Jordan K. Hubbard f9a1c2dee2 Sync these up so that they'll get into my CVS tree at home, where I'll continue
working on the distribution extract stuff.
1995-05-08 21:39:40 +00:00
Paul Traina 255aed5d97 Correction, Jim Lowe is the author... Getting code to work right is far
easier than writing the comments. :-(
1995-05-08 19:42:00 +00:00
Paul Traina adc5e4f1f7 Update copyright notice to properly reflect that this was original work
by James Miller (sorry Jim).
1995-05-08 19:34:16 +00:00
Jordan K. Hubbard 9e572e47e5 Whoops! Uncomment Write_Disk() again. 1995-05-08 18:41:37 +00:00
Bruce Evans d9bf888a1b sdsize() didn't open a device often enough. This caused swap partitions on
slices other than the first slice looked at to be unavailable for swapping.
1995-05-08 16:53:33 +00:00
Gary Palmer 8b3fe702b7 Change /lib/cpp to /usr/bin/cpp 1995-05-08 16:50:19 +00:00
Bruce Evans dac9a9e66d Fix numerous bugs in wdsize().
It closed the wrong device (usually the B partition instead of the C
partition).
It closed a device without having opened it.
It didn't open a device often enough.  This caused swap partitions on
slices other than the first slice looked at to be unavailable for swapping.
It didn't check the device number sufficiently.
1995-05-08 16:48:23 +00:00
Bruce Evans edde522e19 Declare dssize(). 1995-05-08 16:27:10 +00:00
Bruce Evans 599eb538d8 Fix reopening of open subdevices for DIOCSYNCSLICEINFO:
Reopen the bdev for the raw partition and not the cdev if only the bdev
was open.
Don't use a bogus limit for the number of partitions to possibly reopen
(bug found by Julian).

Add function dssize() to help fix wdsize() and sdsize().  The slice
layer knows more about (un)open partitions and partition sizes than
the driver layer.
1995-05-08 16:24:08 +00:00
Andrey A. Chernov a5d744927b Bump major number, function deleted 1995-05-08 16:10:34 +00:00
Andrey A. Chernov 11d07acbab Bump major number instead of minor 1995-05-08 16:08:49 +00:00
Lars Fredriksen 5462a49a71 Improved readabilty and spelling 1995-05-08 14:40:59 +00:00
Jordan K. Hubbard 4d66a82366 Perform a much needed tidying-up pass over this code. Sleep for now,
more tomorrow.
1995-05-08 10:20:56 +00:00
Andrey A. Chernov 011048ae6a Bump major number 1995-05-08 08:43:06 +00:00
Jordan K. Hubbard e1c3886b0d The value -1 is special. Allow it.
Submitted by:	bde
1995-05-08 06:14:16 +00:00
Jordan K. Hubbard 69bbb06233 Add the sorted command executor code. 1995-05-08 06:08:27 +00:00
Jordan K. Hubbard 7f197a5448 Ok, we should now create all filesystems, mount them and extract the
cpio floppy at this point.
1995-05-08 06:06:30 +00:00
Poul-Henning Kamp d81adf1ebe Recognize slice type #6 as dos
handle OnTrack Disk manager correctly.
1995-05-08 02:08:33 +00:00
Poul-Henning Kamp 0f15ab39ec Make disk.c smart enough to handle disk with "OnTrack Disk manager".
Make it complain if people try to boot from a partition which extends
past 1024 cylinders.  This is better than a random reset...
1995-05-08 02:02:56 +00:00
Andrey A. Chernov 883c5f31fa Fix nasty shadow bug sneaked in Marc's commit.
Implement ^K and KEY_EOL as clear end of line
Move common code from line_edit to static function
Cosmetique changes in textbox
1995-05-08 01:43:52 +00:00
Poul-Henning Kamp fccc689116 Add check for rootfs > cyl 1024. 1995-05-08 01:34:31 +00:00
Jordan K. Hubbard 83b74c37e4 Implement the geometry command. Clean up the help a little. 1995-05-08 01:27:07 +00:00
Poul-Henning Kamp c0b8ca15f5 I bet Jordan is tearing his hair out, trying to figure the previous patch
out... here is the real thing.
1995-05-08 01:26:47 +00:00
Jordan K. Hubbard 65a27a9ba4 Add a wizard button for Poul. 1995-05-08 00:56:28 +00:00
Poul-Henning Kamp f768aaceb4 Fix bug. 1995-05-08 00:44:46 +00:00
Jordan K. Hubbard 0881c9c4a1 Fix a bug in multi-column output. 1995-05-08 00:38:02 +00:00
Andrey A. Chernov 3cfa74c35f Make two "ttyout" ttysleep wmesg unique
Add t_timeout to ttysleep call into ttywrite
1995-05-07 23:53:36 +00:00
Jordan K. Hubbard 27e3eb523c Another sync up for Poul. Added a lot more error checking. 1995-05-07 23:37:34 +00:00
Andrey A. Chernov 020531ce67 Add FreeBSD-specific TS_* states 1995-05-07 23:19:53 +00:00
Andrey A. Chernov 75343e2589 Change 'rc' entries from 'r' to 'm', conflict with ptys 1995-05-07 23:04:03 +00:00
Andrey A. Chernov e73e1e3715 Add hook for pstat -t 1995-05-07 23:00:02 +00:00
Andrey A. Chernov 9030041959 Enable sio driver and upcoming rc driver
Add more line disciplines
1995-05-07 22:15:46 +00:00
Jordan K. Hubbard 51f0ec8415 Implement a work-around for Create_Chunk providing no pointer to the
new chunk.  The partition editor now works as well as the underlying
libdisk can support it - have at it, Poul!
1995-05-07 22:07:53 +00:00
Jordan K. Hubbard 09d9aeaab3 Add additional check for IRQ > 15. This code still needs a lot of work!
Remove silly "Naffy, the Wonder Porpoise" attribution and add more
justifiable (and overdue) attribution to Bruce Evans.  Look at it
as a delete and add operation batched together, not a substitution. :-)
1995-05-07 19:45:49 +00:00
Jordan K. Hubbard 2a281ee780 Duh! Get the section number for config(8) right! :) 1995-05-07 18:24:43 +00:00
Jordan K. Hubbard 9024554c25 If user specifies IRQ 2, remap it to IRQ 9 with a warning.
Suggested by:	rgrimes
1995-05-07 18:23:58 +00:00
Bruce Evans da2aae3b17 Fix 3 fatal mismatches in format args involving dbtob() and 10 nonfatal
mismatches.
1995-05-07 08:33:39 +00:00
Bruce Evans 2d732692dc Fix 3 fatal mismatches in format args involving dbtob() and 7 nonfatal
mismatches.
1995-05-07 08:13:37 +00:00
Bruce Evans ff55774394 Cast some expressions involving dbtob() to (unsigned long) and print them
using %lu.  This became more broken when I fixed dbtob() to support byte
offsets >= 4GB.  The type had to change to [u]quad_t.  Previously the
expressions had type unsigned long and were printed using %d.  After
division by 1024, the expressions are guaranteed to fit in an unsigned
long, at least for the standard DEV_BSIZE, so edquota doesn't need to
know about quad_t's explicitly.

Fix all the other format mismatches exposed by compiling with -Wformat
(6 more quota limits of type unsigned long printed using %d and 6 time_t's
(i.e., longs) printed using %d).
1995-05-07 07:48:35 +00:00
Bruce Evans ee4415d3df Fix style inconsistencies in the last few commits. 1995-05-07 07:06:36 +00:00
Joerg Wunsch d867cefdcb Make the syntax checks for the format string more strict. The string
"%8*s" is no longer considered to be a valid format description.

This closes PR bin/386.
1995-05-07 07:00:18 +00:00
Bruce Evans 6d3fd1b72c Submitted by: [email protected] (John Mackin)
Fix handling of sense errors.  Nonexistent media and end of media were
mishandled.
1995-05-07 06:54:01 +00:00
Bruce Evans fd2e43ead6 Submitted by: [email protected] (Philippe Charnier)
Fix comment on .else to match code.
1995-05-07 06:39:30 +00:00
Paul Traina da4ae79d98 Major cleanup up SunOS/VAT driver emulation code, added a BSD style copyright
notice, performed all of the structural changes necessary to get this thing
to work with the unidirectional-DMA version of voxware.

This work is -not- complete,  but it's in far better shape than it was,  and
I may not touch it again for another few months.
1995-05-07 06:38:49 +00:00
John Dyson 11fda60b40 Another error in the correction for trimming swap allocation for
small objects.  (This code needs to be revisited.)
1995-05-07 06:36:59 +00:00
Bruce Evans 65e8f11839 Test the correct nonblocking flag in ttylclose(). IO_NDELAY is only valid
in read() and write().  FNONBLOCK is valid in ioctl() and close().

The bug caused hung ptys when a process talked to itself using nonblocking
i/o and exited while the slave pty had output to flush.  ttywait() was
called and hung.  Signals didn't work because the process was exiting.
`comcontrol /dev/ttyp0 drainwait 1' worked to terminate the wait.  This
shows that comcontrol is not limited to hardware control.  It has no i386
or driver dependencies and doesn't belong in src/sbin/i386.

Bruce
1995-05-07 06:32:28 +00:00
Jordan K. Hubbard 2b0e7dfa13 Make this compile again. Poul and I need to sync up again. 1995-05-07 05:58:57 +00:00
Bruce Evans 2f27939662 Silence `make -s' (echo -> ${ECHO}). 1995-05-07 05:56:00 +00:00
John Dyson 85b67b98fd Fixed a calculation that would once-in-a-while cause the swap_pager
to emit spurious page outside of object type messages.  It is not
a fatal condition anyway, so the message will be omitted for
release.  Also, the code that "clips" the allocation size, associated
with the above problem, was fixed.
1995-05-07 03:48:54 +00:00
Jordan K. Hubbard 133231e4aa Correct a few ordering errors in how the partitions were being displayed. 1995-05-07 03:38:03 +00:00
Jordan K. Hubbard 64330cc768 Print sizes of partitions now. 1995-05-07 02:04:29 +00:00
Jordan K. Hubbard 5ff77a9985 Whoops! An extra paren somehow got in there. Fixed. 1995-05-07 01:28:16 +00:00
Jordan K. Hubbard 3906ebee12 Always zero new chunks - keeps things like the private structures from having
bogus data in them.
1995-05-07 01:25:22 +00:00
Joerg Wunsch 85827d9c13 Restructured the floppy tape probe.
The ``flags 1'' in the fdc line is now only needed for owners of an
Insight tape (perhaps there aren't any?  Mine is disfunctional).  All
other probes are safe wrt. to the motor-control line of floppy disk
drives.  Document the flag in LINT finally.
1995-05-06 19:34:28 +00:00
Joerg Wunsch d2b27ba8b6 From Wolfram: Fix: typos, old links
Submitted by:	[email protected] (Wolfram Schneider)
1995-05-06 19:04:07 +00:00
Andrey A. Chernov 47f4474b4e Describe -m option 1995-05-06 13:52:29 +00:00
Jordan K. Hubbard 4c88964f89 Some fairly serious cleanup. The proper offset should now be used in
creating partitions.  Still need to get the mount points displaying carefully,
but I need to get this into my tree on time so that I can work on that.
1995-05-06 09:34:24 +00:00
Satoshi Asami 3339f3175b Change of hostname and contact address for TUT's mirror site. Is this
list automatically pulled into the install docs?
Submitted by:	Ashida Hiroyuki <[email protected]>
1995-05-06 09:10:49 +00:00
Joerg Wunsch 2b33ce9350 Forcibly add -O2 to the vgaio CFLAGS, to work around a gcc bug. 1995-05-06 07:07:52 +00:00
Rodney W. Grimes 361b945d4c Add usr.sbin/pcvt/keycap to libraries: target. 1995-05-06 03:59:58 +00:00
Poul-Henning Kamp b83d7daff4 General sanitation and cleanup. Killed the "reserved" type, it wasn't. 1995-05-06 03:28:32 +00:00
Jordan K. Hubbard e4d731b693 All the editors are finished. Now if I can just get a problem with libdisk
fixed, we should be able to fully set up the user's disk.  Still to come
with next commit:  filesystem setup, distribution extraction, final
configuration.
1995-05-05 23:47:47 +00:00
Jordan K. Hubbard 3a04674a0e Document VTYs
Submitted by:	Marc van Kempen <[email protected]>
1995-05-05 23:15:03 +00:00
Jordan K. Hubbard 3fcb7e8a7c Addendum documenting VTYs.
Submitted by:	Luigi Rizzo <[email protected]>
1995-05-05 23:14:05 +00:00
Peter Dufault 314a2585d5 New modes file needed for mode editor. "b" can not stand for bit fields. 1995-05-05 20:43:46 +00:00
Peter Dufault 9a8e4e5bdc Add support for editing mode pages. 1995-05-05 20:42:00 +00:00
Peter Dufault 5134dcebcc Make it so that the command formats are the same for both -i and -o.
This means "t" has to stand for bit fields, since b is a valid hex number.
1995-05-05 20:40:03 +00:00
David Greenman 9b3fdc5a9f Fixed mbuf leak and panic that occurred when packets got too memory
fragmented.
Added support for Cogent em100 boards.
Fixed bug that caused BPF to toggle the card to UTP.
Various other improvements.

Submitted by:	Matt Thomas and David Greenman
1995-05-05 20:09:51 +00:00
Rodney W. Grimes a22c45683f In target libraries: make and install libcompat before all other
libraries.  This fixes the make -DCLOBBER world problem.

Check that gnu exists before attempting to build the libraries in
that branch of the tree.
1995-05-05 18:00:30 +00:00
Adam David f434d1dfe1 typo there --> their 1995-05-05 16:49:15 +00:00
Andrey A. Chernov 2ee32961f5 Add IPTOS_MINCOST according to RFC 1349
Change IPTOS_PREC_ROUTINE to 0 (was conflict with IPTOS_LOWDELAY) according
to RFC 791 (unchanged since it) and BSDI 2.0 style
Submitted by: Igor Sviridov <[email protected]>
1995-05-05 14:36:38 +00:00
Satoshi Asami 884a677900 ttyq[0-9a-f] -> ttyp[g-v] 1995-05-05 10:06:34 +00:00
David Greenman f73bbaf2fa Fix spelling error. Commented out ISO and ISO related things until I
either fix it or we decide to remove it. It requires implementing PCB
hashing to get it to compile and likely a lot more to get it to work..
1995-05-05 07:47:44 +00:00
Poul-Henning Kamp 0be90238f6 If in Create_Chunk we (type==freebsd && (flags&CHUNK_ALIGN)), then we will
align this chunk properly.  Have at it Jordan...
1995-05-05 07:07:45 +00:00
David Greenman 3fb0993969 From "Philippe Charnier" <[email protected]>:
There is a bug in sh: the built in command "fc -l" generates
a core dump (*NULL in not_fcnumber).

According to the sh manual page (fc  -l [-nr] [first [last]]), fc -l
is a correct sequence (in that case, values are defaulted to -16 and -1)
but fails when first is not given.
1995-05-05 06:34:13 +00:00
David Greenman 9714de6a38 Check for 0 before dividing by it. Patch from Paul Traina, modified
slightly by me.
1995-05-05 06:15:11 +00:00
Jordan K. Hubbard c8911fa27e Add changes to document VTYs.
Submitted by:	Serge A. Babkin <[email protected]>
1995-05-05 05:17:26 +00:00
Jordan K. Hubbard 5e54fdd46d 3 VTYs by default, not 4. My fault. 1995-05-05 00:00:12 +00:00
Jordan K. Hubbard bf97c8d151 Not 4 VTYs by default, 3. Whoops. 1995-05-04 23:59:32 +00:00
Jordan K. Hubbard d97dd41b97 Addendum concerning virtual console usage in JIS.
Submitted by:	NIIMI Satoshi <[email protected]>
1995-05-04 23:58:21 +00:00
Jordan K. Hubbard 06a72614d9 Add extra paragraph documenting virtual consoles in Japanese.
Submitted by:	NIIMI Satoshi <[email protected]>
1995-05-04 23:57:23 +00:00
Jordan K. Hubbard da92977461 Argh! Not 4 consoles, 3! Thanks, Satoshi Niimi!
Submitted by:	NIIMI Satoshi <[email protected]>
1995-05-04 23:56:51 +00:00
Jordan K. Hubbard a2e3498a3c Everything but the partition editor is done. This commit is for MBR testing. 1995-05-04 23:36:23 +00:00
Jordan K. Hubbard fb31b6d679 The swedish usage.hlp file, in the proper locale.
Submitted-by: Olof Johansson <[email protected]>
1995-05-04 21:09:28 +00:00
Jordan K. Hubbard 2c1d9ad150 Add the Norwegian version of usage.hlp
Submitted by:	Lars Fredriksen <[email protected]>
1995-05-04 21:07:30 +00:00
Jordan K. Hubbard 7c56cfd441 This will now write MBR entries - should be enough for testing. 1995-05-04 19:48:19 +00:00
Joerg Wunsch 9c7c40911c Jordan's addendum. Jetzt auch in deutsch. :) 1995-05-04 18:55:08 +00:00
Adam David 0b3de6080b added support for distribution patches in a subdir of ${DISTFILES} 1995-05-04 18:53:26 +00:00
Jean-Marc Zucconi 4411b31153 Document the virtual consoles 1995-05-04 17:50:42 +00:00
Jordan K. Hubbard 5b54701701 Add Israel to list of mirrors. Is there an SGML version of this planned?
Submitted by: Serge S. Maleyev <[email protected]>
1995-05-04 15:32:25 +00:00
Jordan K. Hubbard 0a9e09358f Add some notes about the virtual-consoles. Whoops! I completely forgot
about those!  Now I have to send the paragraph off for translation.  Ack ack!
1995-05-04 13:34:18 +00:00
Jordan K. Hubbard 628bb93361 Put an `@' in front of the mtree command. I don't want to see it. 1995-05-04 13:14:16 +00:00
Jordan K. Hubbard f3a697b782 ROMANJI -> ROMAJI. My face is red.
Submitted by:	asami
1995-05-04 12:59:22 +00:00
Jordan K. Hubbard f26ec5dd94 Add the Italian usage instructions. Mille gracie, Luigi!
Submitted by:	Luigi Rizzo <[email protected]>
1995-05-04 12:52:48 +00:00
Jean-Marc Zucconi cd49c9330a Une version a peine plus litteraire, en particulier quelques "ez"
a la place des "er" du dernier paragraphe.
Submitted by:	Philippe Charnier <[email protected]>
1995-05-04 12:24:14 +00:00
Andrey A. Chernov 8c18198a0c Bump major number instead of minor: old functions arguments was changed too 1995-05-04 09:45:29 +00:00
David Greenman 2384fde587 Kludged around a problem with "cat /proc/0/regs" causing a panic by
initializing proc0's frame base, too, using cpu_set_init_frame(). It's
a kludge because that macro is intended to be used only for init, but
does what we want nonetheless.
1995-05-04 08:21:24 +00:00
David Greenman 07bb8fb7c9 Kill bogus duplicated code that resulted in an editing screwup of mine
that happend about 4 months ago.
1995-05-04 07:56:23 +00:00
David Greenman 85eaa94715 Correct the definition for the (unused) cpu_setstack(). 1995-05-04 07:50:06 +00:00
Poul-Henning Kamp e9851d87a8 Make the partitions names even more sensible
CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags.
1995-05-04 07:00:57 +00:00
David Greenman cbb15d7c97 bzero the malloced pci_devconf structure. This should fix the problem with
several of freefall's recent crashes.
1995-05-04 06:57:11 +00:00
Jordan K. Hubbard 2e363cad34 My latest round of changes - make the "slices" editor work. 1995-05-04 03:51:22 +00:00
Jordan K. Hubbard 9b4d8c3412 The Dutch usage instructions. Thanks, Marc! [I know how to say thanks in
Dutch, but not spell it :-)]
Submitted by:	Marc van Kempen <[email protected]>
1995-05-04 03:16:06 +00:00
Jordan K. Hubbard d4292e336c Commit the Russian version of usage.hlp. Bolshoi Spassibo, Serge!
Submitted by:	Serge A. Babkin <[email protected]>
1995-05-04 03:12:28 +00:00
Jordan K. Hubbard bec3fb5b5f The JIS version of usage.hlp.
Submitted by:	NIIMI Satoshi <[email protected]>
1995-05-04 00:27:39 +00:00
Jordan K. Hubbard 0bc01ff745 Add German usage instructions. Thank you, Joerg! I'd spell your name with
an umlaut, but I don't know how.. :-)
Submitted by:	joerg
1995-05-04 00:15:50 +00:00
Peter Dufault 386d2d2de0 Change defintion of unit to minor(dev). Sorry for not
having this in my local build.  Thanks to gpalmer.
1995-05-03 23:53:32 +00:00
Gary Palmer 7493537088 Try to make this work again. Peter's last changes left it like :
loading kernel
worm.o: Undefined symbol `_STUNIT' referenced from text segment

I copied the STUNIT definition from the old scsiconf.c into this file to
work around this problem.
1995-05-03 23:38:20 +00:00
Julian Elischer bacc93a004 change to reflect reality.
(yes I know I should have done one commit rod....)
1995-05-03 23:10:35 +00:00
Julian Elischer c79137536b remove debugging printouts unless DEVFS_DEBUG is set. 1995-05-03 23:06:31 +00:00
Julian Elischer 8901d7cafe Submitted by: phk
if the 'time on a node is 0,..
tell the world it is the same as 'boottime'.
This is becasue 'time' is not set up when we create the nodes,
so we can't set them then.
1995-05-03 23:04:26 +00:00
Poul-Henning Kamp 69910d923d Fixed a hard-coded slot number which crept in. 1995-05-03 22:58:07 +00:00
Jordan K. Hubbard 34ddf9fad5 Add the French usage instructions. Thank you, Jean-Marc!
Submitted by:	jmz
1995-05-03 22:44:00 +00:00
Poul-Henning Kamp afb3a9c529 Add the private void *pointer to the chunks, and the functions to manage it.
Make the reassignment of partition names less bogus.
1995-05-03 22:36:52 +00:00
Andrey A. Chernov f3084e4019 Bump minor number 1995-05-03 22:14:01 +00:00
Jordan K. Hubbard 786a5cad11 Change the perennially annoying reminder to "make depend" (which may or
may not be desired if you're just going to blow the kernel away again later)
and substitute one that tells the user where the new kernel build
directory actually IS, which can at least be argued to be useful information
in all cases.
Reviewed by:	davidg
1995-05-03 20:16:57 +00:00
Andrey A. Chernov fbe3680005 Bump minor number 1995-05-03 18:54:09 +00:00
Bill Paul 90b434aeb0 Cosmetic changes and paranoia checks:
ypbind.c:
Make fewer assumtions about the state of the dom_alive and dom_broadcasting
flags in roc_received().
Cosmetic changes and paranoia checks:

ypbind.c:
Make fewer assumtions about the state of the dom_alive and dom_broadcasting
flags in roc_received().

If select() fails, use syslog() to report the error rather than perror().

Check that all our malloc()s succeed. Report malloc() failure in
ypbindproc_setdom_2() to callers.

yplib.c:

Use #defined constants in ypbinderr_string() rather than hard-coded values.
1995-05-03 18:34:22 +00:00
Bill Paul 62967ca2b2 Cosmetic changes and paranoia checks:
ypbind.c:
Make fewer assumtions about the state of the dom_alive and dom_broadcasting
flags in roc_received().

If select() fails, use syslog() to report the error rather than perror().

Check that all our malloc()s succeed. Report malloc() failure in
ypbindproc_setdom_2() to callers.

yplib.c:

Use #defined constants in ypbinderr_string() rather than hard-coded values.
1995-05-03 18:33:10 +00:00
Peter Dufault 99d181f7a9 Make scsi control devices such as "/dev/rsd0.ctl". 1995-05-03 18:15:35 +00:00
Peter Dufault 7d613f6a39 Moved unit definitions out of scsiconf.h;
Added CONTROL device that only does user-ioctl and nothing else;
Added protection so user-ioctl requires write access;
Clean up scsiconf.h a little. It needs more work.
1995-05-03 18:09:20 +00:00
Jordan K. Hubbard 5604568b64 Update the usage document.
If anyone wants to translate this into another language, I believe it's
ready.
1995-05-03 17:44:47 +00:00
Jordan K. Hubbard a7a5bb1246 Export the chunk names properly. 1995-05-03 17:38:00 +00:00
Garrett Wollman 9fc5823a7a Speed up ftpd and make it more efficient:
- set TCP_NOPUSH to keep from sending short packets at each write(2) boundary
- set SO_SNDBUF to 64k so we have a reasonable amount of buffer space
- for a regular file in binary mode which is not being restarted and is
. smaller than 16 Meg, use mmap(2) and write(2) the whole file in one big
  gulp

In the most common circumstances, this should dramatically reduce the
system-call load from ftpd, since the call to write() will not return until
the entire file has been written, rather than writing just a few K at a time
in a loop.
1995-05-03 16:58:12 +00:00
Andrey A. Chernov 275a19fedc ports-russian added 1995-05-03 14:59:56 +00:00
Bill Paul 8a17ad7e57 Small fix for yp_match implementation:
In the case where ypserv is started with the -dns flag, fall through to
the DNS lookup code only if asked to match a map with the word 'host'
in its name. This prevents failed matches on non-host maps from being
incorrectly handed off to DNS.
1995-05-03 14:36:12 +00:00
Andrey A. Chernov d62eae9c12 ports-russian added 1995-05-03 14:32:27 +00:00
David Greenman 0d7b7d3ea7 Changed in_pcblookuphash() to not automatically call in_pcblookup() if
the lookup fails. Updated callers to deal with this. Call in_pcblookuphash
instead of in_pcblookup() in in_pcbconnect; this improves performance of
UDP output by about 17% in the standard case.
1995-05-03 07:16:53 +00:00
David Greenman fd409c37b9 Added "D" option to usage clause. 1995-05-03 06:55:19 +00:00
Poul-Henning Kamp fcdd2c3c7d Make the target for tst01 more sensible.
Remove bogus targets.
Allocate partition letters as follows:
	lowest offset "flags & CHUNK_IS_ROOT" gets 'a',
	lowest offset "subtype==FS_SWAP" gets 'b'
	the rest is allocated in offset order from this sequence "defghab".
This will generally make sense.
Added rules to complain if more than one CHUNK_IS_ROOT or more than one
FS_SWAP per FreeBSD chunk.
Set CHUNK_IS_ROOT on the 'a' partition in Open_Disk.
Run Fixup_Names in Open_Disk.
1995-05-03 06:30:59 +00:00
David Greenman 8d34651b6c Added a "-D" option to set the TCP_NODELAY socket option. 1995-05-03 06:25:56 +00:00
Rodney W. Grimes 6de98b5d98 Put $Id$ on all of these.
Correct Makefile so that we build during all: and only install for
make install.

If /etc/sysconfig exists source it to get the flags for restarting
named with.  If /etc/sysconfig says no named runs, don't try to start one.

Don't attempt to kill anything if we can not find the named.pid file.

Reviewed by:	Nickolay N. Dudorov <[email protected]>
1995-05-03 03:26:59 +00:00
Poul-Henning Kamp 106df3e72c Forgot this part of the if_ze power off patch. 1995-05-03 03:04:02 +00:00
Poul-Henning Kamp 6b64b3b143 It looks like I broke significant amounts of the commercial software running
on FreeBSD (ie: netscape), so we revert a little bit.  "2.0-" is added back.
1995-05-02 22:20:03 +00:00
Jordan K. Hubbard d81fc24bca foo -> unknown 1995-05-02 20:16:16 +00:00
Jordan K. Hubbard 1d56870d74 I need Open_Disk() to not spew on my screen. #ifdef out some diagnostic
printfs.
1995-05-02 19:52:27 +00:00
Andrey A. Chernov ff17906bc9 Fix bracket error for LogMask
Submitted by: Ruslan Belkin <[email protected]>
1995-05-02 17:46:30 +00:00
Peter Dufault 34688a8bd5 Reduce latency by checking FIFO for samples in start
Remove flags by testing register shadow

Handle apparent pending interrupt after interrupts disabled.
1995-05-02 17:29:28 +00:00
Andrey A. Chernov e2c89acf82 Fix CHOWN_RESTRICTED and NO_TRUNC to return correct values per POSIX 1995-05-02 17:14:38 +00:00
Jordan K. Hubbard d6d644f14f Add an mtree line to the install target. 1995-05-02 13:49:01 +00:00
Andrey A. Chernov c5e15878bd Back out incorrect jkh's fix and apply correct one
(POSIX_SAVED_IDS,POSIX_JOB_CONTROL)
1995-05-02 13:14:59 +00:00
Jordan K. Hubbard 72574b4219 The handling of _SC_SAVED_IDS was wrong; _POSIX_SAVED_IDS has no value
to assign this way!
1995-05-02 12:32:30 +00:00
David Greenman c9ae46b1ad Removed unused variable caused by last commit. 1995-05-02 09:06:04 +00:00
David Greenman beef0195c9 Fix for sync() to close a potential panic with accessing a mount struct
that had been freed.

Submitted by:	John Dyson
1995-05-02 08:44:31 +00:00
David Greenman c9c23c03fa Flush stdout when writing out each superblock backup. 1995-05-02 07:45:39 +00:00
Satoshi Asami f1d04c8507 A popular variation of the 106-key keymap -- this one has control
and caps-lock swapped.
Submitted by:	Nobuhiro Yasutomi <[email protected]>
1995-05-02 07:11:46 +00:00
David Greenman f325917a65 Changed object hash list to be a list rather than a tailq. This saves
space for the hash list buckets and is a little faster. The features
of tailq aren't needed. Increased the size of the object hash table
to improve performance. In the future, this will be changed so that
the table is sized dynamically.
1995-05-02 05:57:11 +00:00
David Greenman 0023507d9f Added prototype for memcpy(). Changed size argument of "b" functions to
size_t.
1995-05-02 05:35:07 +00:00
David Greenman 6486b7f194 Added a memcpy() routine. 1995-05-02 05:20:26 +00:00
Poul-Henning Kamp 807afe4fa5 A missing 'and', probably my fault.
Submitted by:	Ed Hudson <[email protected]>
1995-05-02 04:40:06 +00:00
Poul-Henning Kamp 7e97484a28 Do the obvious thing: when the interface is downed, power off the card.
When up'ed again: reapply power.  This means that you can leave your card
in, you don't need to reboot to avoid the power drain.
1995-05-02 04:03:07 +00:00
John Dyson 641a27e68b Fixed a problem that can cause left-over pv_entries and as
as side-effect, removed some legacy code that was necessary
when we called vm_fault inside of vm_fault_quick instead of using
the kernel/user space byte move routines.
1995-05-01 23:32:30 +00:00
John Dyson f33775afcf Limit filesize to the amount that the VM system can currently handle
(2GB).  If this limit is not imposed, then filesystem corruption will
ensue when files larger than 2GB are created.  This is temporary,
and the underlying limitation will be removed later.
1995-05-01 23:20:24 +00:00
Jordan K. Hubbard 7c431062a2 Bring in place-holder files for the various languages until I actually
have some doc.
1995-05-01 21:57:01 +00:00
Jordan K. Hubbard 411bac67a7 Commit my latest changes before having a nap. Still not close to done,
nor is it in sync with my working sources, but it leaves me less CVS hassles
to bring in the new files at this time.  Still no documentation to translate
quite yet, but soon.  This stuff is actually very close now.
1995-05-01 21:56:32 +00:00
Jordan K. Hubbard ec27acc8cb foo -> unknown.
I have to be able to show this stuff to the user. :-)
1995-05-01 21:30:24 +00:00
Justin T. Gibbs 877e25ad85 Aaron Daily of Adaptec has informed me that some form of paged SCB
algorithm is used on aic7770 Rev E or higher chips to improve perfomance.
This required a hardware change but we don't know exactly what (most
likely some special register to do fast SCB indexing into host memory),
and we are not at all sure that there are more than 4 SCBs on these
chips.  This probe will still classify the revision of the aic7xxx, but
we now default to 4 SCBs (at least until we know more of what was done).

This also fixes a bug in the timeout routine where we cleared a flag
too soon making it imposible to enter one section of the routine.

Submitted by: Timeout bug - Dan Eischen <[email protected]>
1995-05-01 18:43:14 +00:00
Peter Dufault 650afa65f9 Add scsi_modes 1995-05-01 17:09:49 +00:00
Peter Dufault b53e9e2751 Use the correct offset for LabPC digital devices. 1995-05-01 14:34:45 +00:00
Peter Dufault 2473679b38 Don't print out zero length names when verbose is set. 1995-05-01 12:54:32 +00:00
Peter Dufault 1995d212e9 Add a "-s" argument to specify the command timeout in seconds.
Now you should be able to format a disk with something like:
> scsi -f /dev/rsd?c -s 1200 -c "4 0 0 0 0 0"
assuming sd.c lets you open it.
1995-05-01 12:35:05 +00:00
Andrey A. Chernov e12263638f Add yet one popular russian code table 1995-05-01 12:10:51 +00:00
Jordan K. Hubbard d5d65ceb94 Rename secure to DES. This isn't a 100% accurate renaming since some
of the eBones stuff is in there too, but it's better than `secure', which
implies that the user will be insecure without it.
1995-05-01 12:01:39 +00:00
Justin T. Gibbs 12ab8490af Set the return value (outb'd to the sequencer) for non zero status
interrupts to zero to start with.  This is the value we return in
most cases.  The sense code then outbs the apropriate value to cause
sense retrieval.  The return value was uninitialized before this
change (something that was an okay thing with the old sequencer code,
but not with the semantics of the new).

This problem caused us to always retrieve sense upon recieving a non
zero status byte.  This is exactly what was happening for the "target
busy" status returned by exabyte tape drives when they rewind or
power on with a tape installed.  The request sense proved fatal.
This should fix the tape problems.
1995-05-01 09:49:45 +00:00
Joerg Wunsch 85c30cfa12 Added function and man page for ftok(3), used in conjunction with
the so-called "System V IPC".

Submitted by:	[email protected] (John Beukema)
Obtained from:  Th. Lockert <[email protected]>, via NetBSD
1995-05-01 08:53:21 +00:00
Jordan K. Hubbard 81b15f5715 Stick a more BSD-like Makefile here so that I can link to the library. 1995-05-01 08:08:02 +00:00
Poul-Henning Kamp 20c9844ca0 start CHS is 0xff,0xff,0xff if past 1024.
end CHS is 1023,bios_hd,bios_sect if past 1024.  This way we can find
bios the geometry again.
Added a primitive "scan" to tst01.
1995-05-01 04:05:27 +00:00
Poul-Henning Kamp ee1cbe818e When past cyl 1024 it's ok if CHS is (0xff,0xff,0xff).
It's actually recommended it seems...
1995-05-01 00:45:33 +00:00
Julian Elischer 34a839537a This is a purely cosmetic change
but it outlines what I'm GOING to do to this file.
It's sort of an unignorable notification of coming changes..

This is a bit rude I understand.. but I can't afford to haqve the
diskslice code  drifting off too much further from a workable system
and I think I need to jump in now to make it obvious what has to be done
before it's too late.

appologies to bruce in advance.
1995-05-01 00:07:17 +00:00
Julian Elischer 6f76a2ca2d making a reservation for more bits before people start using them
in the minor number, (this stuff HAS to go!)
The change I want is:
/*
       3                   2                   1                   0
     1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
    _________________________________________________________________
    | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
    -----------------------------------------------------------------
    |      TYPE           | SLICE   |  MAJOR?       |  UNIT   |PART | <-now
    -----------------------------------------------------------------
    |      TYPE     |PART2| SLICE   |  MAJOR?       |  UNIT   |PART | <-soon
    -----------------------------------------------------------------

        I want 3 more part bits (taken from 'TYPE' (useless as it is) (JRE)
*/
1995-04-30 23:48:27 +00:00
Poul-Henning Kamp 87d4886cc3 Use the DIOCSYNCSLICE ioctl now. (use only with kernel from this morning).
Get the CHS's right.
Get the disklabels (more) right.
1995-04-30 22:51:05 +00:00
Andrey A. Chernov 1ccc95ada5 Handle too long strings correctly in print_autowrap()
Submitted by: Marc van Kempen <[email protected]>
1995-04-30 19:43:53 +00:00
Andrey A. Chernov 7439966a40 Don't accept usernames longer than 8 characters
Submitted by: Wolfram Schneider <[email protected]>
1995-04-30 19:20:25 +00:00
Bruce Evans 0c3f2f6436 Change dsioctl() interface to allow DIOCSYNCSLICEINFO to update the caller's
slice pointer and to print the device name in error messages.

Finishing implementing DIOCSYNCSLICEINFO (except for locking).
1995-04-30 15:16:02 +00:00
Bruce Evans 41882e52fb Change dsioctl() interface to allow DIOCSYNCSLICEINFO to update the caller's
slice pointer and to print the device name in error messages.
1995-04-30 15:14:34 +00:00
Bruce Evans d9908e7b10 Define CDTR_IFLOW and CDSR_OFLOW which are now required for compiling
bin/stty.  Define alias CCAR_OFLOW for MDMBUF.

Declare speeds as having type speed_t instead of long.  speed_t is
long, which is wrong (POSIX specifies it to be unsigned integral),
but fixing it might introduce more serious bugs.
1995-04-30 14:56:30 +00:00
Andrey A. Chernov 98a59e226e Add yet one popular russian code table 1995-04-30 14:45:00 +00:00
Satoshi Asami 8e7c35dd1a A bunch of new targets in the package area. Relevent targets are:
package:           check installation, build package, create links,
                   touch cookie
repackage:         ditto but don't check cookie
package-noinstall: just build package from installed stuff, no cookies
                   involved at all
package-links      create the symbolic links only
delete-package:    delete package and symbolic links
delete-package-links: delete links only

These should make the management of the spaghetti of package links
a little friendlier. :)
1995-04-30 12:28:43 +00:00
Andrey A. Chernov 2fae339c22 Fix handling of POSIX_JOB_CONTROL and POSIX_SAVED_IDS,
pointed out by Bruce.
1995-04-30 11:30:12 +00:00
Poul-Henning Kamp 9781a14091 get bootblocks right.
Add mbr and bteasy17 to tst01
read partitions from kernel instead of disk.
Still problems with writing labels, discussing with Bruce.
Extended slices doesn't get written yet.
1995-04-30 11:04:16 +00:00
Poul-Henning Kamp 6d83113dcf Missing -r flag on rm 1995-04-30 09:02:08 +00:00
Jordan K. Hubbard 90e83ab7ee As a public service (and because I'd like to see more LITES people chose
FreeBSD), add mach-4 target to MAKEDEV; it creates various compatability
devices for Mach4.
Submitted by:	(Submitter name unknown) <[email protected]>
1995-04-30 07:56:45 +00:00
Poul-Henning Kamp e6b172ee57 Use 0xff for CHS when past 1024 cyls.
Fix (hopefully) a bug Gary found.
1995-04-30 07:30:45 +00:00
Poul-Henning Kamp 98fc07cacb Make the default case less scary :-) 1995-04-30 06:19:32 +00:00
Poul-Henning Kamp 2d5caf92d0 Now we do writes too. 1995-04-30 06:09:29 +00:00
David Greenman af9c31e108 Added UIO_NOCOPY case to ureadc() to quiet gcc. 1995-04-30 05:11:46 +00:00
David Greenman fc3d49a9dc Check for curproc != NULL before dereferencing it. 1995-04-30 05:09:13 +00:00
Joerg Wunsch 3586bcab62 Finally implement the kernel hook for the "mt eom" command. (The
user-level part has already been commited.)

Note that i've lost the "official" code for this; it went into the
system after 1.1.5.1.  The commited code is my own version, but it has
proven to work for me for more than a year now.
1995-04-29 21:30:29 +00:00
Jordan K. Hubbard e40a316fcf o Add extra menu types (radio implemented, multiple choice shortly).
o Make the framework generally more robust.
o Figured out how to nest the menu descriptions - no more grotty initialization
  of menus.
o Fix bug with helpline and helpfile not being reset.
o Add stubs for the media selection code.

Coming next:  Fdisk and disklabel screens using Phk's new libdisk stuff.
1995-04-29 19:33:06 +00:00
Peter Dufault 1b52479293 Submitted by: ache
Fix extra newline during SCSI_VERBOSE.
1995-04-29 17:52:44 +00:00
Bill Paul 04adcdacbf Small fix for the following problems:
- If you take the wheel entry out of /etc/group and turn on NIS,
the '+:*::' line is incorrectly flagged as the entry for wheel (the
empty gid section is translated to 0), hence getgrgid() returns '+'
as the name of the group instead of 'wheel.'

- Using just '+:' as the 'turn on NIS' switch in /etc/group makes
getgrgid() dump core because of a null pointer dereference. (Last
time I was in here, I foolishly assumed that fixing the core dump
problems with getgrnam() and getgrent() would fix getgrgid() too.
Silly me.)
1995-04-29 17:14:50 +00:00
Bruce Evans 402c1682aa Fix misplaced idempotency #endif.
Fix tabs and spaces in the wrong places.
1995-04-29 15:24:00 +00:00
Bruce Evans 2bf5814ab5 Support nonstandard (not yet all supported) flow control options. `ctsflow'
and `rtsflow' are the components of `crtscts'.  `dtrflow' and `dsrflow' are
new and not yet supported.  `dtrflow' may be useful for Cyclades serial
careds, which have h/w support for it and no h/w support for `rtsflow'.

print.c:
Report NTTYDISC in case the line is in this obsolescent state.
1995-04-29 15:17:17 +00:00
Andrey A. Chernov 280bdae500 HAVE_SAVED_UIDS not depends of BSD version but depends
of _POSIX_SAVED_IDS from unistd.h, fix it.
1995-04-29 15:16:41 +00:00
Bruce Evans d54024a159 Fix stty' on the output of stty -g'. The changes for the gfmt1 option
weren't TIOCSETD'd  unless another option changed something.
1995-04-29 15:00:34 +00:00
Andrey A. Chernov 045d1485ca Enable _POSIX_SAVED_IDS and fix comment to describe current situation 1995-04-29 14:20:35 +00:00
Andrey A. Chernov 926f1d2e59 Close sec. hole: can exec pgm with more groups than calling user have
Include unistd.h and fix few argument old-way things
1995-04-29 13:55:34 +00:00
Andrey A. Chernov ee9968eab5 Remove FreeBSD-specific setre*() cheat, we have working thing now 1995-04-29 13:38:14 +00:00
Andrey A. Chernov aa4f20e4df Fix typo in HAVE_SAVED_UIDS define 1995-04-29 13:25:13 +00:00
Andrey A. Chernov 4c639bf9d7 Fix HAVE_SAVED_IDS and HAVE_BROKEN_SETREUID defines 1995-04-29 12:22:41 +00:00
Andrey A. Chernov 2c3be6c34e set[ug]id(): call suser() only when neccesarry
Submitted by: bde
1995-04-29 11:46:15 +00:00
Jordan K. Hubbard bcac561761 Bruce is right - ENOTTY is more appropriate than EINVAL in this case. 1995-04-29 11:36:47 +00:00
Poul-Henning Kamp a29b6fccc0 Names are assigned when chunks are created.
Rules for only one fat & one extended in MBR.
1995-04-29 07:21:14 +00:00
Jordan K. Hubbard 65b36cbb7d fixes the ioctl routine to not chew up massive amounts of kernel time
if an invalid ioctl is done on /dev/klog.  logioctl() needs to return
an errno instead of -1 on a failed ioctl.
Submitted by:	Mike Pritchard <[email protected]>
1995-04-29 05:09:19 +00:00
Poul-Henning Kamp a907b94117 Even More stuff. Disk_Names() is here amongst other things. 1995-04-29 04:50:39 +00:00
Poul-Henning Kamp f9c10dfd1a Next Iteration, getting better.
Made an All_FreeBSD() function.
Added a cmd-line interface (lowest rank) to the tst01 program.
The tst01 program is harmless (worst it can do is coredump), but it
is instructive to run, you can see what the slice-code things of your
disk...
1995-04-29 04:00:57 +00:00
Poul-Henning Kamp 27bff5727d Sanitize and explain a little bit... Implement the first rules... 1995-04-29 01:55:25 +00:00
Gary Palmer 450d1156cb The address is freefall.cdrom.com, not freefall.cdrom.com.cdrom.com :-) 1995-04-29 01:09:34 +00:00
Gary Palmer c709d38b60 Add missing ports-japanese target.
Alter sup host to be SUP.FreeBSD.ORG to allow for future work.
1995-04-29 01:03:10 +00:00
Poul-Henning Kamp aded89c1b1 This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuff
in the new sysinstall.  If you want to give a helping hand, then send email
to [email protected].  DO NOT COMMIT TO THIS DIRECTORY!
1995-04-28 23:57:04 +00:00
Paul Traina 2f688f82da Incorporate new radix code from UCB. This fixes the orphaned mask bugs.
This submission was done by hand-applying FreeBSD local modifications on
top of the UCB code, rather than trying to patch the UCB code in on top
of the FreeBSD code due to the extensive changes.

Reviewed by:	pst	(been handling 30k routes for 4+ months)
Obtained from:	Sklower/Woody/Honing/Traina (8.4 UCB release)
1995-04-28 23:01:37 +00:00
Gary Palmer ee328c4bad (Sorry about prev. blank message - I realised I needed a change too late).
Removed unused var. and correct a printf formatting string.
1995-04-28 22:24:37 +00:00
Gary Palmer b3b6adad1d *** empty log message *** 1995-04-28 22:23:19 +00:00
John Fieber f9e11b2a03 Move out of the obsolete FAQ directory into the handbook. 1995-04-28 19:48:56 +00:00
Andrey A. Chernov 0b51c95db2 Fix bugs:
cchars2 not used
can't set or report MIN or TIME == 255
TIOCSETD on wrong fd
PPPDISC is not reported
1995-04-28 19:29:30 +00:00
Peter Dufault 8312577eea Add ioctl calls for Freeze/Thaw. 1995-04-28 19:26:02 +00:00
Peter Dufault 72c59e2da5 Symoblic representation of mode pages 1995-04-28 19:25:17 +00:00
Peter Dufault 0d30b20ac9 Add "-m" command to read mode pages. Also add -z for freezing,
though the kernel changes aren't committed yet.
1995-04-28 19:24:39 +00:00
Peter Dufault c46c1a53eb Fix a few problems with the debugging output. Add a new "visit" function. 1995-04-28 19:23:51 +00:00
Andrey A. Chernov d86851edf5 Implement SLIOCSUNIT (set slip unit number) 1995-04-28 18:47:29 +00:00
Jordan K. Hubbard d9a50f903f Whoops! One of my automatics was initialized to garbage. Fix it. 1995-04-28 18:24:31 +00:00
Andrey A. Chernov d3cdb93dd8 Implement POSIX SAVED_IDS for setuid/setgid 1995-04-28 18:17:29 +00:00
Jordan K. Hubbard 790bacaa95 Remove piano. 1995-04-28 17:38:54 +00:00
Jordan K. Hubbard 79d5cc4044 Add piano. 1995-04-28 17:38:34 +00:00
Jordan K. Hubbard 943bfde5f9 Import the piano program again, except this time in the right location.
Submitted by:	Toshihiro Kanda <[email protected]>
1995-04-28 17:38:08 +00:00
Andrey A. Chernov 611d721e70 setre*(): simplify return scheme, pointed by Bruce 1995-04-28 17:00:27 +00:00
John Fieber 0a1195e737 The FAQ moves to its new home. 1995-04-28 16:36:02 +00:00
John Fieber dd8fd5aac1 The FreeBSD handbook finds a new home. 1995-04-28 16:19:59 +00:00
Jordan K. Hubbard 6db578a60b Pass X11BASE to all sub-makes. I need it for a port, and I daresay that
there are a lot of hardwired "/usr/X11R6" paths out there that could stand
to use it as well.
1995-04-28 15:40:37 +00:00
Peter Dufault a93d103fb4 Change to reflect new header file name. 1995-04-28 12:28:55 +00:00
Peter Dufault 62734e55e4 Rename "aio.h" to "dataacq.h" 1995-04-28 12:08:03 +00:00
Peter Dufault b74f75a231 Renamed "aio.h" as <sys/dataacq.h>. 1995-04-28 12:05:36 +00:00
Jordan K. Hubbard f8c191bd8e Add piano. 1995-04-28 09:30:54 +00:00
Søren Schmidt e5c5c58924 Added nsccons variable for use by pstat
Submitted by:	 ache
1995-04-28 09:10:56 +00:00
Søren Schmidt de4c8be3eb Corrected variable names for syscons support. 1995-04-28 09:08:18 +00:00
Bruce Evans af5b6e3f9d Remove chmod of pcaudio* to 666. Not everyone should be allowed to
play the speaker and consume 10-100% of the available cycles.

Remove chmods of sound devices to 666.  Use chmod to give the same security
holes.
1995-04-28 07:53:43 +00:00
Bruce Evans d45ae51059 Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*. 1995-04-28 07:39:21 +00:00
Satoshi Asami 2966c8b3da Japanese 106-keyboard.
Submitted by:	Nobuhiro Yasutomi <[email protected]>
1995-04-28 06:03:18 +00:00
Poul-Henning Kamp ca927fef5b Don't dereference NULL pointers. 1995-04-28 04:58:19 +00:00
Poul-Henning Kamp 4ccbee740d Told Makefile about manpage. 1995-04-28 04:52:33 +00:00
Poul-Henning Kamp f663de8187 Had a moment, wrote a manpage based on kprof's page. 1995-04-28 04:51:08 +00:00
Jordan K. Hubbard 2283d8e502 Use mtree -U instead of -u and put back error check. Thanks Rod! 1995-04-28 04:16:30 +00:00
Peter Dufault 657e73c4f5 Add National Instruments "LabPC" driver 1995-04-28 00:51:40 +00:00
Andrey A. Chernov 4843859879 Remove setr* hacks 1995-04-27 19:56:37 +00:00
Andrey A. Chernov b5c3f5e746 Remove setre* hacks, we have working thing now 1995-04-27 19:27:42 +00:00
Andrey A. Chernov 4bc8f31ff3 Implement setreuid/setregid according to SunOS manpage 1995-04-27 19:23:24 +00:00
Poul-Henning Kamp 886b0df400 New and improved version from the author.
Submitted by:	DI. Christian Gusenbauer <[email protected]>
1995-04-27 18:22:36 +00:00
John Fieber 7203d1e933 Silence -Wall. 1995-04-27 18:18:58 +00:00
Jordan K. Hubbard d0d3dac501 This will be the module that handles all media detection. 1995-04-27 18:05:10 +00:00
Jordan K. Hubbard ef42570d65 Latest raft of changes.
Added another couple of menu item types.

Reshuffled the menus and added a few more.  Sure wish I could figure out
how to initialize a menu with _one_ initializer rather than two! :(
1995-04-27 18:03:55 +00:00
John Fieber bc8b14f125 Added sgmls 1995-04-27 18:03:29 +00:00
Justin T. Gibbs a52deb6d1e Additions to support the WAITING_SCB list that the sequencer maintains.
It is the kernel driver's responsibility to do the list manipulation whenever
a selection timeout or a request sense occurs.

Print out the interrupt type that the device has been set to.  It seems that
one of the Asus motherboards botches this and David thought a diagnostic would
be nice.

Fix a bug in my diagnostic code that David found.

Reviewed by: Wcarchive and David Greenman
1995-04-27 17:47:17 +00:00
Justin T. Gibbs c28447da4c Restructure the arbitration loop to allow for reselections that win out over
the adapter's selections.  Many fast periferals were getting upset when
the sequencer decided to rearbitrate after the device had already won
arbitration.  This also forced the creation of a list threaded through
the SCBs (since we don't have enough space anywhere else) of commands that
are awaiting reselection.  This list is run down before any new transactions
from the input queue are allowed.  The list is appened to whenever we begin
a selection (simple case since the selecting device is always at the head)
and by the kernel driver whenever a request sense occurs.  In the common
case, the list is only one element long, but when a reselection wins out
over a selection and that reselection generates a request sense, the
outstanding selection required for the retreval of the sense code grows
the list.  On machines with many targets, this might cause the list to grow
large, so this solution, which will allow up to the maximum number of I/O
requests capible of the card elements in the list, was chosen.  The list
manipulation is trivial and adds three sequencer instructions of overhead
to the selection phase.

This fixes the "target busy" errors from micropolis drives and the bursty
I/O problem when performing I/O between a Quantum Grand Prix and any other
device.  I anticipate that this will correct many of the problems that
have been reported with this driver.

Reviewed by: Wcarchive and David Greenman
1995-04-27 17:44:27 +00:00
Garrett Wollman 003d29986d No sense in copying the hex[] array in each call to MDXEnd(), it's a
constant.  (There probably ought to be a single libc version of it.)
1995-04-27 16:05:51 +00:00
John Fieber 61614fe0ad The sgmls SGML parser. Support for our hypertext documents.
Reviewed by:	Paul Richards, Garrett Wollman
1995-04-27 16:03:47 +00:00
Jordan K. Hubbard 4e278bdb76 Here is my first "framework" commit of the new sysinstall. There is a LOT
more to come in the next 24 hours, this is just the first stable result of
8 hours of hacking so far.  The specification format for menus is pretty
much hammered out and the beginnings (very humble) of the doc hierarchy
are present for an example.  It should be quite easy to add a lot more
menus quickly to this since I did go somewhat out of my way to make the
framework easy to work with.  This is NOT the glorious semi-graphical
sysinstall (or whatever its name will be) that the install-geeks are working
on, this is simply the "son of sysinstall" I've been promising to write in
the interim for 2.0.5 and 2.1R (super install doesn't come until 2.2R).
1995-04-27 12:50:35 +00:00
Jordan K. Hubbard 278ea7ecee Don't bother checking the return status of the mtree command - it returns
non-zero stats when it changes things, too.
1995-04-27 11:33:08 +00:00
Jordan K. Hubbard 639fb258f9 Add libftp to list of beforeinstall targets in the include rule.
Submitted by:	John Hay <[email protected]>
1995-04-27 11:25:48 +00:00
Jordan K. Hubbard 9d69574dbc Close PR:
>Number:         368
>Category:       bin
>Synopsis:       Lpd doesn't log errors after failed exec
>Description:

If an exec done by lpd fails, nothing is sent to the system log
indicating what went wrong.  This is because lpd closes all of
the file descriptors before doing the exec, thus closing the syslog
file descriptor in the process.
[Fix applied]
Submitted by:	[email protected]
1995-04-27 04:56:10 +00:00
Andrey A. Chernov d3e6b9f393 Fix bug:
When hostname len > 8, name replaced with dot notation when -u flag
not specified (default case).
Use _PATH_* for utmp/wtmp.
1995-04-26 22:33:15 +00:00
Paul Traina 5e052869fc Add queue.h include file to all the TPIP code. 1995-04-26 21:32:42 +00:00
Bill Paul 456ebbf8f5 ypbind.c: Major overhaul.
- Moved to a more client-driven model. We aggressively attempt to keep
the default domain bound (as before) but we give up on non-default
domains if we lose contact with a server and fail to get a response
after one round of broadcasting. This helps drastically reduce the
amount of network bandwitdh that ypbind consumes: if a client references
the secondary domain at some later point, this will prod ypbind into
establishing a new binding anyway, so continuously broadcasting without
need is pointless.

Note that we still actively seek out a binding for our default domain
even if no client program has queried us yet. I'm not exactly sure if
this matches SunOS's behavior or not, but I decided to do it this way
since we can get into all sorts of trouble if our default domain comes
unbound. Even so, we're still much quieter than we used to be.

- Removed a bunch of no-longer pertinent comments and a couple of
chunks of #ifdef 0'ed code that no longer fit in to the new layout.

- Theo deRaadt must have become frustrated with the callback mechanism
in clnt_broadcast(), because he shamelessly stole the clnt_broadcast()
code right out of the RPC library and hacked it up to suit his needs.
(Comments and all! :)

I can understand why: clnt_broadcast() blocks while awaiting replies.
Changing this behavior requires surgery. However, you can work around
this: fork the broadcast into a child process and relay the results
back to the parent via a pipe. (Careful obervation has shown that the
SunOS ypbind forks children for broadcasting too, though I can only
guess what sort of interprocess communication it uses. pipe() seems to
do the job well enough.)

This may seem like the long way around, but it's not really that
hard to implement, and I'd prefer to use documented RPC library functions
wherever possible. We're careful to limit the number of simultaneous
broadcasters to avoid swamping the system (the current limit is 5).
Each clnt_broadcast() call only sends out a small number of packets
at increasing intervals. We're also careful not to spawn more than one
bradcaster for a given domain.

- Used clntudp_bufcreate() and clnt_call() to implement a ping()
function for directly querying a particular server so that we can
check if it's still alive. This lets me completely remove the old
bradcasting code and use actual RPC library calls instead, at the
cost of more than a few handfulls of torn-out hair. (Make no mistake
folks: I *HATE* RPC.) Currently, the ping interval is one minute.

- Fixed another potential 'nfds too big for select()' bug: use
_rpc_dtablesize() instead of getdtablesize().

- Quieted gcc -Wall a bit.

- Probably a bunch of other stuff that I've forgotten.

ypbind.8:

- Updated man page to reflect modifications.

ypwhich.c:

- Small mind-o fix from last time: decode error results from
ypbind correctly (*groan*)

yplib.c:

- same as above

- Change behavior of _yp_dobind() a little: if we get back a 'Domain
not bound' error for a given domain, retry a few times before giving
up and passing the error back to the caller. We have to sleep for a
few seconds between tries since the 'Domain not bound' error comes
back immediately (by repeatedly looping, we end up pounding on ypbind).
We retry at most 20 times at 5 second intervals. This gives us a full
minute to get a response. This seems to deviate a bit from SunOS
behavior -- it appears to wait forever -- but I don't like the idea
of perpetually hanging inside a library call.

Note that this should fix the problems some people have with bindings
not being established fast enough at boot time; sometimes amd is started
in /etc/rc after ypbind has run but before it gets a binding set up. The
automounter gets annoyed at this and tends to exit. By pausing ther YP
calls until a binding is ready, we avoid this situation.

- Another _yp_dobind() change: if we determine that our binding files
are unlocked or nonexistent, jump directly to code that pokes ypbind
into restablishing the binding. Again, if it fails, we'll time out
eventually and return.
1995-04-26 19:03:16 +00:00
Paul Traina f5fea3ddc9 Cleanup loopback interface support.
Reviewed by:	wollman
1995-04-26 18:10:58 +00:00
Paul Traina ef6304d8c6 Replace call to obsolete inet_addr routine with inet_aton so we can specify
netmasks and broadcast addresses of 255.255.255.255.
1995-04-26 16:52:40 +00:00
Jordan K. Hubbard 4b1e0d1665 Close this PR:
>Number:         364
>Category:       bin
>Synopsis:       Interrupting man results in half-baked man page
>Description:

Interrupting man while it is waiting for the page to be formatted
results in a zero length file or a half-baked file.

>How-To-Repeat:

Inetrrupt man while it is formatting a page.

>Fix:

Pay more attention to the return value from the system command.
Submitted by:	John Capo <[email protected]>
1995-04-26 16:19:23 +00:00
Jordan K. Hubbard f465ace952 Add code for dealing with URLs. 1995-04-26 15:08:23 +00:00
Jordan K. Hubbard a0a72d6933 Make pkg_info URL aware (and also make it use the PKG_PATH properly, like
everyone else).  Try this:
	pkg_info ftp://freebsd.org/pub/FreeBSD/packages/all/gmake-3.73.tgz
1995-04-26 15:08:02 +00:00
Jordan K. Hubbard 34f907903d Add depend on libftp since this is now in lib. 1995-04-26 15:07:14 +00:00
Jordan K. Hubbard 18a7c7704f Add a great deal more error checking to various things. 1995-04-26 15:06:58 +00:00
Jordan K. Hubbard 7113d27114 Further work on making all this more robust in the face of failure.
Also allow URL specification for a package.  This works for things the
package may depend on, too.

Allow PKG_PATH to be used anywhere a package is being searched for.
1995-04-26 15:06:26 +00:00
Torsten Blum e347ee4837 Add ftp.uni-paderborn.de 1995-04-26 14:56:57 +00:00
Jordan K. Hubbard 6dbad786ae Add LIBFTP. 1995-04-26 14:34:19 +00:00
Jordan K. Hubbard 8a65b63a2c Fix a number of additional warnings. 1995-04-26 14:04:36 +00:00
Jordan K. Hubbard 7662263998 Move <varargs.h> out of FtpLibrary.h and into the .c files that actually
need them.  Fix a number of additional warnings.
1995-04-26 14:04:23 +00:00
Jordan K. Hubbard 80206f052f Yikes! How did that typo slip past! I'd swear I compiled it. Oh well,
thanks, Satoshi!

Embarrassed by:	asami
1995-04-26 12:37:46 +00:00
Jordan K. Hubbard d14afa6dd2 As per Bruce's advice, use sysconf to get the max argument size and
dynamically allocate that much space, also using snprintf() and strncat()
to do proper bounds checking.
1995-04-26 11:43:20 +00:00
Bruce Evans cd782e4154 Reviewed by: Gene Stark ([email protected])
Change ownership of tw* from bin.bin to root.operator.  Hardware devices
shouldn't be accessible to bin.
1995-04-26 08:07:30 +00:00
Jordan K. Hubbard 8d006a838c Check dependencies BEFORE doing final extraction of package.
Fix a bug where direct-extract mode would have still invoked the
packing list reordering commands.
1995-04-26 07:43:35 +00:00
Rodney W. Grimes 2320728f46 Add outb to keyboard controller to do a cpu_reset, this fixes 2 known
cases of motherboards that failed to reboot.
1995-04-26 07:38:35 +00:00
Jordan K. Hubbard 0170dd7dec My handling of the missing dependency but !Verbose was wrong. Make
the right message come out.
1995-04-26 06:56:05 +00:00
Jordan K. Hubbard 38f4846ec5 Gary J's patches to make gdb -w work properly.
Submitted by:	gj
1995-04-26 01:01:20 +00:00
Garrett Wollman 1067217d5d Disallow half-configured point-to-point interfaces. It's still possible to
get into a half-configured state by using the old-style ioctls;this
may be a feature.
1995-04-25 19:50:20 +00:00
Garrett Wollman cd02a0b741 Finally finish the cloning cleanup work by making sure that clones
go away whenever a clone's parent is changed, or a route is added in a
certain set of circumstances.

This also includes code to forbid setting a route's gateway to an
address which can only be reached through that route, thus (hopefully)
eliminating one class of cloning bottomless-recursion bugs.
1995-04-25 19:12:07 +00:00
Garrett Wollman 08af2cee88 Fix some conflicting descriptions. 1995-04-25 17:08:16 +00:00
Jordan K. Hubbard 25f15401b9 Add libftp to list of targets. 1995-04-25 15:08:52 +00:00
Jordan K. Hubbard 8e47e70f34 Now check all the warning purges and general clean-up in on the second
pass.
1995-04-25 15:08:02 +00:00
Jordan K. Hubbard 6f52f41fb2 A programmatic interface to ftp. I need this for several other
components of the system.

The license is poorly worded, though I have an (email only) release
from the author for unlimited FreeBSD use.  I will try to get something
more concrete, though the author's remote location makes this difficult.
Submitted by:	Oleg Orel <[email protected]>
1995-04-25 15:05:11 +00:00
Bruce Evans 6ec8ee4578 Fix benign type mismatches int console functions. dev_t was assumed
to be `int' or smaller and some functions returned `int' instead
of `void'.  The first bug was detected when console functions were
defined in a place central enough for type checking to actually
work and the second bug was introduced when the interface was
changed to match what the console functions in other drivers actually
return.
1995-04-25 12:18:05 +00:00
Jordan K. Hubbard 6940898b50 Document matcd1.
Be more explanatory about port selection.
Document that new TEAC drives don't work.
Submitted by:	Frank Durda IV <[email protected]>
1995-04-25 10:23:53 +00:00
Søren Schmidt 5130ec746f Added mark_all() call so that screen is proberly updated
when scroll-lock history is disengaged.
1995-04-25 10:22:28 +00:00
Bruce Evans a87df1c4d5 Remove setre*id*. 1995-04-25 10:00:04 +00:00
David Greenman 3fc3004e03 Fixed a "bswbuf" hang caused by the wakeup in relpbuf() waking up the
wrong thing.
1995-04-25 06:22:47 +00:00
Poul-Henning Kamp 3319f5a48f Do kernels up to 2Mb. 1995-04-25 05:27:04 +00:00
Poul-Henning Kamp fc652b607f This is a helper program to patch a filesystem into a "MFS_ROOT" kernel. 1995-04-25 03:45:18 +00:00
Poul-Henning Kamp d52d7365c6 Document MFS_ROOT option. 1995-04-25 03:44:04 +00:00
Poul-Henning Kamp 58e81aafbb Add support for MFS root filesystem. 1995-04-25 03:41:12 +00:00
Poul-Henning Kamp 41dffd203c Add a printf so we can see where we get our rootfs from. 1995-04-25 03:39:50 +00:00
John Dyson a4256da5ad Fixed the mmap hang fix previously committed so that it works
with options DIAGNOSTIC, and clear up an additional reference
count problem.
1995-04-25 03:32:37 +00:00
Rodney W. Grimes 28f1950b10 Add $defaultdomainname to sysconfig and use it in netstart to set the
domainname.  This eliminates /etc/defaultdomain.

Correct tickadj, it should have been tickadjflags.
1995-04-24 23:52:16 +00:00
Jordan K. Hubbard 1c491c8eb8 Use ARG_MAX instead of _POSIX_ARG_MAX: 4K is too small!
This should stop the SIGBUS errors in pkg_create for some packages.
1995-04-24 21:50:11 +00:00
Garrett Wollman d259f40530 Grand new all-singing, dialog-wielding tzsetup(8). Still needs a man page. 1995-04-24 21:04:35 +00:00
Garrett Wollman 71fbc5ca54 Add more comments for tzsetup and fix some old ones. 1995-04-24 21:03:40 +00:00
Bruce Evans 48b2a92193 Add ioctls DIOCGSLICEINFO and DIOCSYNCSLICEINFO. The latter isn't
finished or tested.
1995-04-24 17:07:08 +00:00
Bruce Evans 0f1a48177b Undo the move of `#include "sc.h"' etc. to cons.h. It broke anything
that includes <machine/cons.h>.
1995-04-24 16:43:01 +00:00
Jordan K. Hubbard cc472f1367 Commit the latest version of this. This version appears to handle package
failure much more gracefully, as well as implement a few new needed features.
Check it out!
Submitted by:	Marc van Kempen <[email protected]>
1995-04-24 13:01:04 +00:00
Satoshi Asami 570e661f02 (1) Add the chain of dependencies to the targets in the NO_* section
too (otherwise the chain won't work).
(2) If NO_WRKDIR is set, "make clean" removes "./.*_done" (assuming
    these are cookies...or should I list all the cookies?)
1995-04-24 10:41:51 +00:00
Satoshi Asami c046aaad20 Move call of fake-pkg from do-install to end of install. 1995-04-24 09:05:34 +00:00
Bruce Evans b0ba7f5601 Make bad144 debugging code conditional on ds_debug. 1995-04-24 06:04:36 +00:00
Poul-Henning Kamp d3f4d460f8 Added "bio" to matcd. 1995-04-24 05:33:59 +00:00
John Dyson e5f751a9b2 Changes to get rid of ufslk2 hangs when doing read/write to/from
mmap regions that are in the same file as the read/write.
1995-04-24 05:13:28 +00:00
Poul-Henning Kamp 4ac5f60572 Changes John's handling of the flags a little bit, added a new one,
(0x4000 == sleephack) to handle disks which are confused after a sleep.
Fixed a spelling error.
1995-04-24 05:12:29 +00:00
Poul-Henning Kamp 8b756b1a9a Did a s/[ \t]*$// 1995-04-24 05:09:53 +00:00
John Dyson bb48557835 Implemented the multi-sector I/O enable and the 32 bit I/O probe
through the use of the config file flags as opposed to the option
"NSECS_MULTI".  "NSECS_MULTI" has been removed from the driver.
The new capability allows boot-time modification of the config.
1995-04-24 04:32:31 +00:00
John Dyson e3dd31586c Removed the NSECS_MULTI option, and implemented both 32 bit probe
enable and multi-sector I/O enable by using the controller or device
flags capability.  Per a suggestion by phk.
1995-04-24 04:30:19 +00:00
Poul-Henning Kamp d996508637 install "compat20" (libgcc.so.261.0) into the bindist.
cc/ld does the right thing.
1995-04-24 04:06:30 +00:00
Jordan K. Hubbard 929abd248d I noticed that some new -W options had been turned on the kernel compile since
I made the changes I sent you before.  In the interests of cleanliness, I made
modifications to /sys/i386/isa/tw.c to kill the warnings and make it compile
clean.  While I was at it, I also made a bunch of internal functions static.
Submitted by:	Gene Stark <[email protected]>
1995-04-24 01:39:55 +00:00
Poul-Henning Kamp ab0e9cdc60 Add the stuff to munge the name of the release/snap/whatever we build. 1995-04-23 23:06:36 +00:00
Justin T. Gibbs a34bad999b Set SCSI_NOSLEEP only when we really need to. This requires an additional
flags parameter to all xxstart routines so that the correct information can
be passed down into the device specific routines.  This is needed to ensure
that ccb/scb allocation routines don't hang.

Submitted by: John Dyson
1995-04-23 22:07:56 +00:00
Justin T. Gibbs c6baec432a Don't arbitrarily set SCSI_NOSLEEP. It is now handled correctly by the
higher level scsi code.

Spls should never be conditionalized, so don't do so here.

Restructure the get_scb routine so that we can't get into an infinite
loop if the ccbs are exhausted and we are are called with SCSI_NOSLEEP set.

Other driver maintainer's that based their scb allocation routines on Julian's
code should look at these changes and implement them for their driver.

The aic7xxx driver inspired these changes because early revs of the
aic7770 chips have so few SCBs that you can actually run out.  If you
have a rev C or aic7770 (as is reported by the driver probe) and had more
than 2 drives, you could get into an infinite loop when using up all of
the SCBs.  Since the driver will only allow two SCBs per device and I
only had two devices, I never saw this problem on my Rev C card.

Bzero only 19 bytes of the scb instead of 2k (ack!).  This was a hold
over from when a struct SCB only contained the information downloaded
to the board, but we now store kernel driver data in there as well.  This
greatly lowers the overhead for small transactions (I get ~1MB/sec for
dds with a 512 byte block size).

Submitted by: John Dyson with the aic7xxx specific optimization by me
1995-04-23 22:04:58 +00:00
Justin T. Gibbs 12930dab88 Don't arbitrarily set SCSI_NOSLEEP. It is now handled correctly by the
higher level scsi code.

Spls should never be conditionalized, so don't do so here.

Restructure the get_ccb routine so that we can't get into an infinite
loop if the ccbs are exhausted and we are are called with SCSI_NOSLEEP set.

Other driver maintainer's that based their ccb allocation routines on Julian's
code should look at these changes and implement them for their driver.

Submitted by: John Dyson
1995-04-23 21:58:35 +00:00
Paul Richards 2e3635b5ff Removed the ps through a pipe project since we decided this was
the wrong thing to do and people keep volunteering to do it :-)
1995-04-23 21:34:23 +00:00
Garrett Wollman 3bf7d64959 Added parseable comments describing the zone each entry represents. 1995-04-23 21:24:54 +00:00
Garrett Wollman c040025a4b Add `fe' Ethernet driver man page. 1995-04-23 18:54:40 +00:00
Garrett Wollman ca55ea923a Added `fe' device drive r for Fujitsu MB86960A family.
Submitted by: M.S. <[email protected]>
1995-04-23 18:31:50 +00:00
Garrett Wollman 1a7c583c01 Substantially clean up LINT and add `fe'. 1995-04-23 18:30:27 +00:00
Andrey A. Chernov 045aff38e6 Add setreuid/setregid to MAN section 1995-04-23 15:06:16 +00:00
Jordan K. Hubbard a746536c51 Document COPTFLAGS in addition to CFLAGS. 1995-04-23 13:03:24 +00:00
Bruce Evans e770b51673 Declare the console switch functions completely.
Move declarations of console functions to cons.h (they should be
config(8)ed).
1995-04-23 12:55:55 +00:00
Bruce Evans 8d98ed564c Move declarations of console functions to cons.h (they should be
config(8)ed).

Update other misplaced prototypes.
1995-04-23 12:41:57 +00:00
Andrey A. Chernov b48757c256 Add setreuid/setregid 1995-04-23 12:34:48 +00:00
Andrey A. Chernov c6d8816ea8 Fix history info 1995-04-23 12:31:13 +00:00
Andrey A. Chernov e876c909da Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +00:00
Andrey A. Chernov 29ea28d79e Add 'rc' devices. 1995-04-23 12:02:21 +00:00
Bruce Evans 38994061cf Correct the type of the `c' arg to pccnputc().
Move declarations of console functions to cons.h so that they can't be
defined inconsistently in several places.  They should be config(8)ed.
1995-04-23 10:15:42 +00:00
Bruce Evans f81904fe9c Declare d_dump_t and d_mmap_t completely. Nothing depends on the
incomplete declarations here any more.  Some things depend on
incomplete declarations elsewhere.  The `offset' arg to d_mmap_t is
bogus (it is `int' but should be `vm_offset_t') but it is what the
driver mmap functions actually accept, although they are passed a
`vm_offset_t'.

Function declararions in headers should always be complete to avoid
warnings from `gcc -Wstrict-prototypes' for compiling modules that
don't even use the offending declarations.
1995-04-23 09:36:59 +00:00
Julian Elischer 6944abf1d7 hmm spotted a difference resulting from a merge I didn't examine close enough 1995-04-23 09:17:24 +00:00
Julian Elischer 73bac981dd include hooks for EISA configuration (possibly wrong :) 1995-04-23 09:13:08 +00:00
Julian Elischer fc5f6d13ec include new files for EISA configuration 1995-04-23 09:12:00 +00:00
Julian Elischer b174ba8899 files for the eisa specific autoconfiguration..
don't expect this to work yet.. but at least they're here..
(hey this cvs stuff is fun!)

activate with a line exactly like the isa line in the config file,
(but specifying eisa :)
patches to come..
1995-04-23 08:55:43 +00:00
Bruce Evans 453de7da68 Correct the type of the `acflag' arg to suser(). 1995-04-23 08:31:02 +00:00
Bruce Evans 7666fb4753 inline -> __inline.
Headers should always use `__inline' for inline functions to avoid
syntax errors when modules that don't even use the offending functions
are compiled with `gcc -ansi'.
1995-04-23 08:05:49 +00:00
Bruce Evans 625fa10a30 Don't export a bogus include to half the universe. 1995-04-23 07:47:12 +00:00
Bruce Evans 8fe25bc123 Declare wakeup() non-implicitly and don't bogusly cast its arg. 1995-04-23 07:39:21 +00:00
Poul-Henning Kamp 94624c5572 Forgot this commit the other day. The receiving end of the "boot -C" option. 1995-04-23 04:14:41 +00:00
Poul-Henning Kamp 453e527dcb We will use /sbin/init on cdrom too. 1995-04-23 04:13:51 +00:00
John Dyson 74d2d21c68 Change the initial delay in wdwait to a DELAY macro call. It is really
too long, but does not impact performance very much when using the
NSECS_MULTI option.  This will help solve some mysterious IDE I/O
problems.
1995-04-22 22:44:30 +00:00
John Dyson 5b920a895d Document the wd.c option NSECS_MULTI. 1995-04-22 22:39:33 +00:00
Poul-Henning Kamp 48bf097c94 First part of the "what version of CURRENT" fix.
We now have RELEASE=CURRENT in the CVS-tree.

If this hasn't been edited, we will use "BUILT-yyyymmdd" where the time is
that of the compile, and leave it at that, we can't do any better.

If there is no serious objections, I will modify the "cvs co" script on
freefall to fiddle this file after checkout so that it becomes
CURRENT-yyyymmdd, where the time is that of the checkout.
1995-04-22 21:39:15 +00:00
Bill Paul 243ae8c754 in _freecaches(): strdup() allocates us memory -- remember to free it. 1995-04-22 17:28:04 +00:00
Atsushi Murai 281cc46322 Fixing misspelling and chang default device as dailout
Reviewed by: Atsushi Murai <[email protected]>
1995-04-22 17:14:21 +00:00
Jordan K. Hubbard 2a20a9edde Stage almost nothing through the playpen now - this should speed pkg_creates
up by a couple of factors, as well as decrease the amount of temporary space
required to build a package down to almost nothing.
1995-04-22 14:55:07 +00:00
Jordan K. Hubbard 3e1a18606d Export the min_free() function. 1995-04-22 13:58:44 +00:00
Jordan K. Hubbard cbf098db0e Second round:
1. Make paths work correctly.
2. Make pkg_add generally more robust in the face of failure.
3. Make the depend messages come out on stderr or stdout, but not both
   interspersed! :-)
1995-04-22 13:58:24 +00:00
Jordan K. Hubbard 3ec12cb0ce Set a default PKG_PATH. 1995-04-22 10:58:23 +00:00
Jordan K. Hubbard e692e3aa52 1. Add an new @option directive. You'll understand it better in a moment.
2. Fix a long-standing bug in pkg_add where the failure of one package in
   a multipackage installation (pkg_add *.tgz) would blow you right out of
   the water.  Ick.
1995-04-22 07:41:02 +00:00
Nate Williams 0e42d6bd35 This got ignored as a shared object during the import. Add it back as
it's necessary for the doc process.
1995-04-22 06:07:48 +00:00
Bill Paul 31e0d8b925 Tiny printf formatting change: if we have no cpu_vendor or cpu_id info,
don't generate a newline. (Yeah, I'm picking nits, but that empty line
I get on my 386 just looks dumb, okay? :)
1995-04-22 03:58:46 +00:00
Jordan K. Hubbard ffa6d17f61 Ok, this should get the last of the stragglers installed into a new fake-pkg. 1995-04-22 01:22:49 +00:00
Jordan K. Hubbard adbcdd9cce Argh - missed a printf! That should be the last of plist-spewers. 1995-04-22 01:20:13 +00:00
Jordan K. Hubbard 922a707e02 Don't spew garbage into the packing list when PlistOnly and verbose are
both on.  Whoops!
1995-04-22 00:59:33 +00:00
Bill Paul 8a5bd1a2a3 Make Rod Grimes's life a little simpler: replace all exit(1)'s with
seperate exit values depending on the error. (The error values are
#defined and commented near the top of the file for clarity). This
is to help write a small bit of shell script for /etc/rc that calls
ypwhich a few times after ypbind is invoked to make sure we're
actually bound to a server before proceeding (if we aren't, the
automounter can fail if it's using NIS maps).
1995-04-22 00:23:59 +00:00
Jordan K. Hubbard cca32e93aa Some patches to make deletions of non-existent files and directories slightly
less fatal (so that the database entry is subsequently removed anyway).
Submitted by:	Edward Wang <[email protected]>
1995-04-22 00:14:20 +00:00
Jordan K. Hubbard ca22b5aa87 Don't try to run the fake-pkg target if NO_PACKAGE is set. 1995-04-22 00:08:06 +00:00
Jordan K. Hubbard 405b7c80bd Typo: patch -> package 1995-04-22 00:05:46 +00:00
Jordan K. Hubbard 3a5e372a3d 1. Add proper dependencies to the library in my Makefiles. This was pointed
out by Bruce.
2. Add a "feature" to pkg_create (OK, OK, it's a miserable hack!) to get
   it to dump its internal packing list out so that the `fake-pkg' rule in
   bsd.port.mk can generate a more meaningful packing list.
1995-04-22 00:03:18 +00:00
Jordan K. Hubbard b79219d31a Instead of copying PLIST over, run pkg_create in a special mode that dumps
the fully-formed PLIST to stdout and uses that.
1995-04-22 00:01:26 +00:00
Julian Elischer 220112c567 Submitted by: [email protected] 1995-04-21 22:20:34 +00:00
Bill Paul fa238a7175 Add prototype for ypbinderr_string(). 1995-04-21 18:07:34 +00:00
Bill Paul 644161688b small NIS binding fixes:
ypbind.c: if a client program asks ypbind for the name of the server
for a particular domain, and there isn't a binding for that domain
available yet, ypbind needs to supply a status value along with its
failure message. Set yprespbody.ypbind_error before returning from
a ypbindproc_domain request.

yplib.c: properly handle the error status messages ypbind now has the
ability to send us. Add a ypbinderr_string() function to decode the
error values.

ypwhich.c: handle ypbind errors correctly: yperr_string() can't handle
ypbind_status messages -- use ypbinderr_string instead.
1995-04-21 18:04:36 +00:00
Bruce Evans 8da0f3b87a Make some functions static like they always should have been.
Change the interfaces of these functions to save space.  The code
that takes the least amount of space is often the opposite to what
you might expect.  E.g., it helps to waste a few bytes passing
pointers so that the compiler can't see that certain addresses
are identical (gcc likes to waste space by reloading fat constants
even when the constant is already in a register).

Rewrite getbootdev() to save 80 bytes of space and to make it less
ugly.  32 bytes were saved simply by omitting the continue statements
in the pseudo-switch.
1995-04-21 16:50:32 +00:00
Bruce Evans 34951155ae Update the pseudo-prototype for serial_putc() to match the actual prototype. 1995-04-21 16:30:18 +00:00
Bruce Evans a9ef92e638 Never pass char or short args to functions. This saves 64 bytes of
recently introduced bloat in just 2 calls to biosread(), although
very little in calls to putc() and serial_putc().  Gcc produces
amazingly bad code for unnecessary conversions.  E.g., if it has
`int x' in register %edx and wants to pass a char, then it could
simply push %edx and access only one byte in the callee.  Instead,
it sometimes unnecessarily spills %edx; it always sign extends
%edx and pushes the result.

Remove useless `extern' in function prototypes.

Remove unused declaration of `end'.

Declare pbzero() and pcpy() like the library bzero and bcopy().

Declare printf() properly.
1995-04-21 16:07:12 +00:00
Bruce Evans 55e2b2c608 Fix bugs in opendir():
- it succeeded on non-directories (see POSIX 5.1.2.4).
- it hung on (non-open) named pipes.
- it leaked memory if the second malloc() failed.
- it didn't preserve errno across errors in close().
1995-04-21 15:23:27 +00:00
Jordan K. Hubbard 7332aa0b69 Clean up this manpage a bit. I didn't try to seriously rearrange any
of the descriptions, I simply fixed some of the english and made his
file selector example show up.
1995-04-21 10:38:21 +00:00
Jordan K. Hubbard 88d7c6751c Whoops - I committed the test environment Makefile by mistake! This
one should have all the proper relative paths.
1995-04-21 10:23:23 +00:00
Jordan K. Hubbard 6e9cd00afe Hastily back out my previous change to install ui_objects.h; upon further
examination, I'm not entirely sure this was meant to be public.  It's not
idempotent or anything.  I'll make pkg_manage deal with it another way
until it's been confirmed one way or the other by Marc.
1995-04-21 10:18:33 +00:00
Jordan K. Hubbard effc53c83c Also install new ui_objects.h header file. I'm not sure how I feel about
these Makefile constructs - surely there's a better way?
1995-04-21 10:15:31 +00:00
Jordan K. Hubbard e722380a68 Bring this up to date with Marc van Kempen's latest version (1.0) now
that the libdialog changes have gone in to support it.
Submitted by:	Marc van Kempen <[email protected]>
1995-04-21 10:05:46 +00:00
Jordan K. Hubbard 36034afc79 Correct a bogusly formatted printf(). 1995-04-21 06:30:41 +00:00
Nate Williams 110aea11f2 Sync. up bits with Paul K. Cascade support plus some cosmetic changes.
Obtained from: NetBSD
1995-04-21 04:57:50 +00:00
Poul-Henning Kamp d337216dd8 Add -f to all gunzip's. 1995-04-21 03:47:23 +00:00
John Dyson e0a4d029a5 Slight re-ordering of the creation of a vmio object to fix a condition
that can cause NFS I/O failures.
1995-04-21 02:58:49 +00:00
John Dyson 7e15fd2757 Fixed a problem in _vm_object_page_clean that could cause an
infinite loop.
1995-04-21 02:48:40 +00:00
Julian Elischer abeeb9ceb2 Obtained from: copied fro mount_kernfs
This is copied from the mount_kernfs code..
if it doesn't work there is a working binary in ~julian
1995-04-21 01:17:50 +00:00
Joerg Wunsch 9c6e0c69be . Make Poul's boot2 overflow warning less noisy in case the blocks
do fit, and beeping in case of an overflow.

.  Drop a comment about the ``FORCE_COMCONSOLE'' option into
   README.serial.

.  Increase the name buffer for the root directory from 100 bytes
   to 8 KB;  this is in no way ideal, but (IMHO) the best that can
   be done by now.  People did encounter problems with their root
   dir name listing overflowing the allocated buffer space.  Once
   we've got the three-stage boot, we should implement some basic
   malloc().  Swap space is already getting tight now, perhaps the
   swap should go into another 64 KB segment instead.

.  Make the keyboard probe less paranoid.  It should not give up in
   case of a keyboard that's continuously demanding RESEND's.  Even
   though the keyboard reset apparently has not been reported to be
   complete, it's at the very least proven that there IS something
   like a keyboard available.

   This solves problems with the ``Gateway-2000 AllKey programmable''
   (sp?) keyboard, that experienced a total hang with the previous
   probe.

   Thanks goes to Scott Blachowicz <[email protected]> for his
   extensive testing of my various interim (debugging) bootblocks
   to get this working.
1995-04-20 23:15:10 +00:00
Julian Elischer c9755763d9 Add an option to make it easy to default to the hd1 mode
also save a few bytes
1995-04-20 23:05:23 +00:00
Julian Elischer 9d55f6fd25 remove note about 'find' now that it's fixed. 1995-04-20 22:02:05 +00:00
Julian Elischer b9494fba51 Submitted by: [email protected]
Reviewed by:	Julian
fixes the 'find' anomaly mentionned in the README
(hmm I guess I should fix that too..)

diff -r1.2 devfs_vnops.c
905a906
>                       dirent.d_type = DT_DIR;
914a916
>                       dirent.d_type = DT_DIR;
920a923,941
>                       switch(name_node->dnp->type) {
>                       case DEV_BDEV:
>                               dirent.d_type = DT_BLK;
>                               break;
>                       case DEV_CDEV:
>                               dirent.d_type = DT_CHR;
>                               break;
>                       case DEV_DDEV:
>                               dirent.d_type = DT_SOCK; /*XXX*/
>                               break;
>                       case DEV_DIR:
>                               dirent.d_type = DT_DIR;
>                               break;
>                       case DEV_SLNK:
>                               dirent.d_type = DT_LNK;
>                               break;
>                       default:
>                               dirent.d_type = DT_UNKNOWN;
>                       }
1995-04-20 22:00:05 +00:00
Andrey A. Chernov 7ca7a1934b Add a bit more docs 1995-04-20 21:36:15 +00:00
Poul-Henning Kamp 3226e381f8 Added a check so compilation fails if the bootblocks are too big.
replaces a switch with ifs to reduce size.
1995-04-20 18:36:14 +00:00
Satoshi Asami 60ee8ee7cb Major overhaul. The major targets (fetch, extract, patch, configure,
build, install) are now all skeletons and do nothing but

(1) Call pre-* target (if exists)
(2) Call scripts/pre-* script (if exists)
(3) Call do-* target
(4) Call post-* target (if exists)
(5) Call scripts/post-* script (if exists)

The do-* targets do all the work.  The pre-* and post-* targets/scripts
don't exist by default.  The main targets check for the cookies too, so
porters shouldn't have to worry about them at all.

NOTE: THE MAIN TARGETS IN THE PORTS MAKEFILES SHOULD GO AWAY.  We need
to fix this before wcarchive comes back up.  Change the names to do-*,
rip out the cookies, rip out the calls to pre-* etc. and most of them
should work.

Also, reorganize the whole thing so that similar targets are together
and add more comments.  Surround section header with 64 #'s (C-u C-u
C-u # in emacs :).

Hopefully this will be the last major change to bsd.port.mk.  Now let
the Makefile-hacking begin.
1995-04-20 18:03:02 +00:00
Andrey A. Chernov 7f6e7c13b5 Upgrade.
Submitted by: Marc van Kempen  <[email protected]>
1995-04-20 17:39:37 +00:00
Julian Elischer 072506ba00 Submitted by: julian
@#%$#@ ftp -p corrupted the file in transfer..
(cut off the last 2 lines).. fix this
1995-04-20 07:42:41 +00:00
Julian Elischer b79223f61b Submitted by: julian
I did a cleanup on the code..
(why didn't I do that before I checked it in? I hear you ask..)
1995-04-20 07:34:55 +00:00
Poul-Henning Kamp d7e591aeab The -current system with 'zp' driver hangs up when resumed from
suspended mode.  The patch for this bug follows.

Reviewed by:
Submitted by:	<[email protected]>
1995-04-20 07:22:04 +00:00
Poul-Henning Kamp 0c5679913a Add a "set -e" to all of these, to catch failures. 1995-04-20 06:49:09 +00:00
Poul-Henning Kamp 518a1d34d6 A major cleanup. Move more over to a "pull" model than a "push" model,
this will eventually allow us to add meaningfull dependencies.

Add mount_{msdos,nfs,cd9660} and chroot to the fixit.flp.
1995-04-20 06:48:31 +00:00
Julian Elischer adf18d3b60 Reviewed by:
Submitted by:	julian
oops rename doc file to README as agreed
1995-04-20 06:36:36 +00:00
Poul-Henning Kamp 16b560a716 Added -C option to set RB_CDROM, so that we use our cdrom as root. 1995-04-20 06:08:27 +00:00
Poul-Henning Kamp 709471e7e8 Added RB_CDROM flag, meaning "use CDROM as root". 1995-04-20 06:06:42 +00:00
Poul-Henning Kamp 804e33a872 Add wd2 and wd3 as swap-devices too. 1995-04-20 06:05:17 +00:00
Poul-Henning Kamp f4d1e3d1e7 Remove the slice for the first 63 sectors for the OnTrack case, it's useless
and nobody care about it anyway.
1995-04-20 06:01:51 +00:00
Poul-Henning Kamp f6e018497f Use port 21 as default if getservbyname fails to find it for us. This let
us remove some crud from the install-procedure.
1995-04-20 05:38:58 +00:00
Bill Paul de2a1afc47 Undo the stupidity I inflicted on these files and replace it with
some (hopefully) less offensive stupidity:

If we detect that a user has loaded a module that fails to initialize
itself correctly, panic. There really isn't a safe way to recover from
something like this; we can't know that the module is bad until after
the entry point is called, by which time it's too late to do anything
about it.
1995-04-20 05:08:53 +00:00
Julian Elischer e902d016a6 Reviewed by: no-one yet, but nonintrusive until configed in.. :)
Submitted by:	[email protected]
Obtained from:	written from scratch
1995-04-20 03:31:34 +00:00
Julian Elischer 999422d707 Reviewed by: no-one yet, but non-intrusive
Submitted by:	[email protected]
Obtained from:	written from scratch

slight changes to make space for devfs..
(also conditional test code in i386/isa/fd.c)

===================================================================
RCS file: /home/ncvs/src/sys/sys/malloc.h,v
retrieving revision 1.7
diff -r1.7 malloc.h
113a114,117
> #define M_DEVFSMNT    62      /* DEVFS mount structure */
> #define M_DEVFSBACK   63      /* DEVFS Back node */
> #define M_DEVFSFRONT  64      /* DEVFS Front node */
> #define M_DEVFSNODE   65      /* DEVFS node */
184c188,192
<       NULL, NULL, NULL, NULL, NULL, \
---
>       "DEVFS mount",  /* 62 M_DEVFSMNT */ \
>       "DEVFS back",   /* 63 M_DEVFSBACK */ \
>       "DEVFS front",  /* 64 M_DEVFSFRONT */ \
>       "DEVFS node",   /* 65 M_DEVFSNODE */ \
>       NULL, \
Index: sys/mount.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/mount.h,v
retrieving revision 1.16
diff -r1.16 mount.h
100c100,101
< #define       MOUNT_MAXTYPE   15
---
> #define MOUNT_DEVFS   16      /* existing device Filesystem */
> #define       MOUNT_MAXTYPE   16
118a120
>       "devfs",        /* 15 MOUNT_DEVFS */ \
Index: sys/vnode.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/vnode.h,v
retrieving revision 1.19
diff -r1.19 vnode.h
61c61
<       VT_UNION, VT_MSDOSFS
---
>       VT_UNION, VT_MSDOSFS, VT_DEVFS
1995-04-20 03:18:19 +00:00
Julian Elischer 836aa5b77e Reviewed by: no-one yet, but non-intrusive
Submitted by:	[email protected]
Obtained from:	written from scratch

slight changes to make space for devfs..
(also conditional test code in i386/isa/fd.c)
why casn't cvs picked up these changes and shown them here?
is this going to be a NULL commit?
who knows? (it scanned all the dirs)


===================================================================
RCS file: /home/ncvs/src/sys/sys/malloc.h,v
retrieving revision 1.7
diff -r1.7 malloc.h
113a114,117
> #define M_DEVFSMNT    62      /* DEVFS mount structure */
> #define M_DEVFSBACK   63      /* DEVFS Back node */
> #define M_DEVFSFRONT  64      /* DEVFS Front node */
> #define M_DEVFSNODE   65      /* DEVFS node */
184c188,192
<       NULL, NULL, NULL, NULL, NULL, \
---
>       "DEVFS mount",  /* 62 M_DEVFSMNT */ \
>       "DEVFS back",   /* 63 M_DEVFSBACK */ \
>       "DEVFS front",  /* 64 M_DEVFSFRONT */ \
>       "DEVFS node",   /* 65 M_DEVFSNODE */ \
>       NULL, \
Index: sys/mount.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/mount.h,v
retrieving revision 1.16
diff -r1.16 mount.h
100c100,101
< #define       MOUNT_MAXTYPE   15
---
> #define MOUNT_DEVFS   16      /* existing device Filesystem */
> #define       MOUNT_MAXTYPE   16
118a120
>       "devfs",        /* 15 MOUNT_DEVFS */ \
Index: sys/vnode.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/vnode.h,v
retrieving revision 1.19
diff -r1.19 vnode.h
61c61
<       VT_UNION, VT_MSDOSFS
---
>       VT_UNION, VT_MSDOSFS, VT_DEVFS
1995-04-20 03:16:31 +00:00
Poul-Henning Kamp 0e175c5ef0 Added support for disks which "OnTrack Disk Manager" has munged.
I suggest you do all partitioning using the OnTrack SW, to avoid
confusing it.
1995-04-20 01:21:51 +00:00
Joerg Wunsch e6073fb7f6 Fix for the ``gdb -k /nonexistent /dev/mem'' core dump.
Submitted by:	[email protected] (Gary Jennejohn)
1995-04-19 22:59:33 +00:00
Poul-Henning Kamp 954f5fffa2 Put a kzip'ed GENERIC on the boot.flp and fixit.flp instead of BOOTFLP,
now that we have the space.
If this works out to our liking, we will kill BOOTFLP.
Now, if only we could extract the kernel, incl symbols from a kzip'ed kernel...
1995-04-19 18:00:04 +00:00
Poul-Henning Kamp 7c474103d4 Thanks to the dynamic duo of John & David, ("meanwhile in the VM-cave"), we
can use the vn-driver instead of physical floppies, thanks guys !
Add the fixit-floppy back now that kzip made it fit again.
Don't make the gzip'ed *.flp files anymore.
1995-04-19 17:42:32 +00:00
Jordan K. Hubbard 0892118cdf 1. Add Satoshi's much-requested "fake pkg_add" option to the installation
rule.

2. Have all non-X11 prefix using packages include the BSD.local.dist mtree
   file for initialization of /usr/local.  I'm still not sure if this is
   A Good Thing(tm) but I'll see what the users say.  It's easily overridden.

3. Standardise on ${PKG_DBDIR} as pointer to /var/db/pkg or local preference.
1995-04-19 15:02:26 +00:00
Jordan K. Hubbard 8c4e15334e Greatly simplify the calling of mtree - the error handling wasn't working
anyway, at least not with FreeBSD's mtree, and the arguments were being
built incorrectly.
1995-04-19 14:54:25 +00:00
Jordan K. Hubbard e804f03a5d Add support for the ${PKG_DBDIR} environment variable. /var/db/pkg is the
default, and probably not something you'd ever change, but now it's
possible to do so for local/custom installations.
1995-04-19 14:02:01 +00:00
Gary Palmer a07c2891bf Bugfixes :
- in mount_portal.c: included catching of SIGHUP to get portald to
  re-read the config file.

  - in mount_portal.c: in SIGCHLD handler the return values checked from
  waitpid were wrong. Note. this routine was written correclty according
  to the manual page for 4.4BSD, but waitpid does not exhibit this
  behaviour. It is not returning 0 when WNOHANG is specified. I havent
  checked this properly.

  - in mount_portal.c: initialized the fdset for the select properly.

  - in mount_portal.c: corrected poor casting in the select.

  - in mount_portal.c: changed a break; to exit (0); so that the
  children die after doing the hard work, this stops the select: bad
  file descriptor messages.

  - in pt_file.c: the kernel passes kernel style open flags to the
  portal code which aren't compatible with "normal" O_ flags. I have
  adjusted these in pt_file.c. In general I think the portal fs code
  and portal_cred structure need changing to pass to the portald
  the right style of flags _and_ the permissions.

  - in pt_tcp.c: a few mistakes in typing of the socket structures,
  getservbyname returns the port number as an int but sockaddr wants
  the port number as an u_short.

  - in pt_tcp.c: someone wrote this on a VAX/Sun whatever and forget
  about byte ordering!! I've included a few htons about the place.

  - in all the above I have sprinkled a few more debugging printf's.

Submitted by:	"Duncan McL Barclay" <[email protected]
1995-04-19 12:24:08 +00:00
David Greenman aba8f38eb9 New flag: B_PAGING. Added as part of the vn driver hack. 1995-04-19 10:32:11 +00:00
David Greenman 334095ef1c Escentially a rewrite by John Dyson. This is disgusting, and John agrees,
but the whole thing is, so what the hell. :-) This version is expected to
work.
1995-04-19 10:31:18 +00:00
Andras Olah c4575b2416 Include <sys/queue.h> because <netinet/in_pcb.h> (also included
later in tcp_debug.c) requires it due to the pcb changes of DavidG.
1995-04-19 10:26:04 +00:00
Poul-Henning Kamp e7bf085313 Yank out the rewriting of disklabels. This code can and will get confused
in a couple of cases, and it doesn't do much anyway.  It used to save only
the newfs params (block/frag/cgroup.. and nothing more.  Something that
don't belong in a disklabel in the first place.
1995-04-19 02:19:20 +00:00
Poul-Henning Kamp d3e1f93a58 kzip the kernels on the boot.flp and fixit.flp, and buy us more space...
*** This definitively kills installs on machines with less than 4Mb ***
*** the kzip stuff loads a the 3Mb line.  This is Just Too Bad (TM) ***
1995-04-19 01:19:57 +00:00
Rodney W. Grimes 781434c1fc Reapply my fix for this:
Output the CPU features line during the probe on a seperate line, for
folks with lots of features the output use to wrap and look ugle.
1995-04-18 23:55:26 +00:00
Joerg Wunsch 77023b92da Make mt(1) orthogonal: now that we print the densities as strings
instead of hex, make it accept density names for input, too.
1995-04-18 22:27:43 +00:00
Nate Williams c0a7a54b73 Backed out the only FreeBSD specific change to the stock CVS sources now
that it's taken care of in the CVSROOT/cvsignore file which is FreeBSD
specific.

This will make it easier to track changes in the *official* release.
1995-04-18 18:14:57 +00:00
Bill Paul e1797c1a96 Couple of small cosmetic changes:
- Add $Id$ string.
- Fix comment ("we might *not* be able to unload the
module afterwards without panicking...")
- Get rid of variable 'j' that I used in name checking
for(;;) loop and use 'i' instead (I thought there'd be
a problem with this, but there isn't).
1995-04-18 14:10:21 +00:00
Jordan K. Hubbard 4b96fa37b0 Use a more nicely formatted message when we run out of space. 1995-04-18 13:04:34 +00:00
Jordan K. Hubbard fe16ad72f3 Matt says that no pre-2.3 pass boards were supposed to ship, but I certainly
got a 2.2 version DC21040 chip in my SMC ethernet card!  He suggests bumping
the check all the way down to 2.0 since it's pre-2.0 we're actually guarding
against.
Submitted by:   Matt Thomas <[email protected]>
1995-04-18 12:54:30 +00:00
Andrey A. Chernov b6b8f81ead Add quotes around TUNE_1542 1995-04-18 11:02:22 +00:00
Andrey A. Chernov a989b77e9e Fix update_line() updates on screen edges
Obtained from: bash sources
1995-04-18 11:00:47 +00:00
Satoshi Asami f744a9768e Use PKGNAME in the "describe" target (used to generate INDEX) too.
Didn't make sense to have two ports with the same name.
1995-04-18 08:24:18 +00:00
Satoshi Asami 60f1eb26c1 Use PKGNAME instead of DISTNAME in messages. To avoid things like
"Building for WWW" (pops up in two different ports) "Installing for
web2c-6.1" (ditto), which aren even't reminiscent of the port's real
name.

Sorry jmz, please don't go fix the print Makefiles' own messages.
We are going to take them out after we do the great bsd.port.mk
update anyway.
1995-04-18 08:18:27 +00:00
Bill Paul f13524346b Fix module handling to stop oddball modules (if_ppp_mod, if_sl_mod,
if_tun_mod, etc...) from crashing the system. These modules are useful,
but because they don't yet have proper load()/unload() functions,
they can lead to panics: if, for example, you load the if_ppp module,
any user can panic the system by running modstat.

You can also hang the system outright if you try to unload the PPP
module too.

Changes are as follows:

- Save the name passed to us during the RESERVE stage for name matching
(we can't load if_ppp_mod twice: we've have two ppp0's and two ppp1's,
which is beyond strange). This makes the lkmexists() cheks somewhat
redundant, but there's no way around it that I can see.

- If we call the module entry point and find that we have no lkm_any
structure in our 'private' section, create a fake one. This keeps
modstat happy. We mark such modules as LM_UNKNOWN.

- Don't allow LM_UNLOAD modules to be unloaded: it just ain't
possible. (Unless someone wants to write a pppunattach() function. :( )

- In lkmunreserve(), mark private.lkm_any as NULL so we don't get
confused later. I think this is bogus, but I can't prove it.

XXX: the name matching used to keep the user from loading two
instances of the same module can easily be defeated simply by
changing the module name or, in the case of the oddball modules,
simply by renaming the module files. I haven't found a nice simple
way to tell one module from another.
1995-04-18 02:29:26 +00:00
Bill Paul b877a2160b Small fixups to use LM_UNKNOWN type, also fix slight formatting
offset problem in banner printf().
1995-04-18 02:19:17 +00:00
Bill Paul 4ec3b3ddf3 Add LM_UNKNOWN type for oddball modules (if_ppp_mod, if_sl_mod, etc...)
that haven't yet learned how to do the Right Thing when installing
themselves.
1995-04-18 02:17:15 +00:00
Jordan K. Hubbard 29fb81664f Add xten user/group.
Submitted by:	Gene Stark <[email protected]>
1995-04-18 02:03:59 +00:00
Jordan K. Hubbard 8c409a2969 Extensive updates to this package.
Submitted by:   Gene Stark <[email protected]>
1995-04-18 02:00:01 +00:00
Jordan K. Hubbard 9a6f00fd39 Extensive updates to this package.
Moved Install.notes -> README, as ratified at the core meeting of
April 13th.

Submitted by:   Gene Stark <[email protected]>
1995-04-18 01:57:50 +00:00
Jordan K. Hubbard bcca63cba4 Extensive updates to this package.
Submitted by:	Gene Stark <[email protected]>
1995-04-18 01:54:25 +00:00
Joerg Wunsch 1146dede84 Round #1 of my st(1) -> mt(1) merge. All the commands should be
covered now, and i've attempted to give textual representations
instead of magic numbers.

The st(4) driver still misses some pieces; i'm going to implement the
EOM functionality RSN.

Any takers for the MTCOMP command?  Seems to have never been implemented.
1995-04-17 21:55:11 +00:00
Rodney W. Grimes 0a8cb0c4a5 Missing ${DESTDIR} added 4 places, pcvt's Makefiles are a crock! 1995-04-17 19:28:45 +00:00
Rodney W. Grimes 0682236f7e Add 4 missing ${DESTDIR}'s, this is another Makefile that needs rewritten. 1995-04-17 19:24:50 +00:00
Rodney W. Grimes 144b71fe74 Missing ${DESTDIR} on chflags commands added. 1995-04-17 19:15:38 +00:00
Rodney W. Grimes aa556f48a9 Add missing $(DESTDIR) to rm command so that this stops removing files
from my master system.

This makefile is a crock, and will soon be rewritten!
1995-04-17 19:10:20 +00:00
Poul-Henning Kamp 8425684b90 Print the BIOS geometries in a human-readable format. 1995-04-17 16:49:50 +00:00
Peter Dufault a478e06bfc Remove "BUG" of not supporting arguments for "-o" 1995-04-17 14:51:54 +00:00
Peter Dufault de1d7f1b4a Add support for arguments in output "-o" string. 1995-04-17 14:35:07 +00:00
Gary Palmer a058021a86 Bump to 2.0-950418-SNAP 1995-04-17 10:19:31 +00:00
David Greenman 4c1f8ee9b8 Fixed a logic bug that caused the vmdaemon to not wake up when intended.
Submitted by:	John Dyson
1995-04-17 10:00:55 +00:00
Gary Palmer 59423ca335 Claim 0xA7 for NEXTSTEP in here also. 1995-04-17 09:46:03 +00:00
Gary Palmer 5f0c94240a Add NEXTSTEP as claiming partition code 0xA7. 1995-04-17 09:42:54 +00:00
David Greenman 4ed452a631 Changed minimum supported rev of DC21040 to pass 2.2. 1995-04-17 08:16:14 +00:00
Satoshi Asami 824cc0cc5d "package" now depends on "install", so we can do "make -k package" from
the top level and have the build-package sequence of each port work
together.

For the old behavior (i.e, just go ahead and blindly pack everything up,
regardless of the contents of work/), there is a new target "repackage".
1995-04-17 06:39:05 +00:00
Satoshi Asami 19eddad0a8 "all" now depends on "build", not "extract configure build".
Since "build" depends on "configure", which depends on "patch", etc.,
this shouldn't disrupt any Makefile that doesn't break the dependency
chain.

The old behavior was very annoying because when I did a "make -k",
it would still try to go configure and build even if the extraction
failed.
1995-04-17 06:28:15 +00:00
Bruce Evans 1b20a52866 Fix compiler warnings about benign overflow in initializers. 1995-04-17 05:52:17 +00:00
Atsushi Murai 4fb5c16406 Loglevel is a bitmask everywhere except in lqr.c.
Reviewed by:	Atsushi Murai <[email protected]>
Submitted by:	John Capo <[email protected]>
1995-04-17 04:21:35 +00:00
Andrey A. Chernov cac6992aca 1) kill temp diver upon exit
2) add logical ops, fix ! precedence, implement unary +, fix exp
Obtained from: NetBSD
1995-04-16 23:31:35 +00:00
Andrey A. Chernov db4dc2ff6e If locale not available, fallback to strcasecmp, not to strcmp 1995-04-16 22:43:45 +00:00
Bruce Evans 9e6dc28ab3 Check for i/o errors in fclose() so that a full disk doesn't almost
guarantee truncation of the file being edited.
1995-04-16 22:40:49 +00:00
Rodney W. Grimes a164d484cd Fix spelling error that keeps this from compiling with KERBEROS & SKEY
defined.

Submitted by:	Mark Murray <[email protected]>
1995-04-16 20:00:21 +00:00
Andrey A. Chernov d65a0f6ebd Merge. 1995-04-16 14:26:18 +00:00
Andrey A. Chernov deb4005ffb This commit was generated by cvs2svn to compensate for changes in r7889,
which included commits to RCS files with non-trunk default branches.
1995-04-16 14:13:48 +00:00
Andrey A. Chernov 6e4ab1ef34 Upgrade. 1995-04-16 14:13:48 +00:00
David Greenman 7c0414d074 Removed obsolete/unused variable declarations. Killed externs and included
appropriate include files.
1995-04-16 14:12:15 +00:00
David Greenman 64abb5a522 Removed obsolete/unused variable declarations.
Removed some extern declarations and included the correct include files.
1995-04-16 13:58:42 +00:00
Atsushi Murai 38c50f39a0 Fixing follows and John's fruent explnation than my English....
The first problem I found was that descriptor 0 was being closed.
This happens because the modem variable is set to 0 to indicate
that it is not valid but there are not enough tests for the modem
variable being 0.  You can see where I have done this in the patch.
Code in OpenModem() dups the modem descriptor if it is < 3.  Once
this happened the modem was always open and an incomming call would
have getty and ppp reading the modem.

Descriptor 1 is closed when the quit command was executed from a
telnet connection.  The next modem open returns descriptor 1
and this gets duped leaving the modem always open again.

The modem was not being closed when the connection dropped or was
closed from the other end.  The UUCP lock was also not removed if
the modem could not be opened.

Reviewed by:	Atsushi Murai <[email protected]>
Submitted by:	John Capo <[email protected]>
1995-04-16 13:38:39 +00:00
Joerg Wunsch 28cd12e87e Put David's and my answer regarding loader and kernel memory usage
here.
1995-04-16 13:04:21 +00:00
Joerg Wunsch afb7eb14a5 Remove the #ifdef REDUNDANT crud. This could be looked up in CVS by
interested parties.

Make the loader refuse to load anything below 1 MB -- we didn't
support it since FreeBSD 2.0R.  Avoid gratuitously wiping out the BIOS
variables or the loader.
1995-04-16 13:02:52 +00:00
David Greenman c3cb3e12f5 Moved some zero-initialized variables into .bss. Made code intended to be
called only from DDB #ifdef DDB. Removed some completely unused globals.
1995-04-16 12:56:22 +00:00
Andreas Schulz 9702179904 Update the link.5 man page to reflect the changes in ld/rtld/link.h. 1995-04-16 12:35:13 +00:00
Atsushi Murai 10b748971b Fix for handling a HDLC's escape characters as properly.
Reviewed by:	Atsushi Murai <[email protected]>
Submitted by:	NIIMI Satoshi <[email protected]>
1995-04-16 12:06:39 +00:00
David Greenman 5baf11ce97 Removed unused & empty bufstats() function. 1995-04-16 12:02:42 +00:00
David Greenman 8c3d9c403c Removed gratuitous m->blah=0 assignments when initializing the vm_page
structs in vm_page_startup(). The vm_page structs are already completely
zeroed.
1995-04-16 11:50:45 +00:00
David Greenman cece489df8 Killed gratuitous b_vp=NULL in bufinit. The entire buffer is already
bzero()'d.
1995-04-16 11:45:30 +00:00
David Greenman 1a477b0c27 Changed #ifdef around printlockedvnodes() from DEBUG to DDB. 1995-04-16 11:33:33 +00:00
David Greenman 5291a9a0ac Make vegetarian and animal rights people happy and use 0xdeadc0de instead
of 0xdeadbeef as the 'spare' value.
1995-04-16 11:25:47 +00:00
David Greenman 5124d59831 Make vegetarian and animal rights people happy and use 0xdeadc0de instead
of 0xdeadbeef as the fill pattern. Decreased MAX_COPY to 64 (256 was a bit
overzealous in most cases).
1995-04-16 11:25:15 +00:00
David Greenman 857f4d44be Remove gratuitous waste of 2K of memory for BIOS variables. We never load
the kernel at 0-640k; we haven't had the ability to do that since before
2.0R. Furthermore, I fail to see how putting an instruction at 0 and then
doing a .org 0x500 is going to prevent the stuff from getting clobbered
in the first place; a.out is just too stupid to know about sparse address
spaces.
1995-04-16 10:12:16 +00:00
David Greenman 2fdccd5e8c Make "print_page_info" #ifdef DDB. 1995-04-16 09:59:16 +00:00
David Greenman d94a4c0434 1) Check for curproc != NULL in bread/bwrite. John convinced me that this
is necessary in order for panic+sync to work. Will also gloss over a panic
that Jordan was having with the install floppies that remains unexplainable.
2) Handle "bogus_page" a little better.
3) Set page protection to VM_PROT_NONE if the entire page has become !valid.

Submitted by:	John Dyson (2&3), me (1).
1995-04-16 05:11:14 +00:00
David Greenman 8cbf8eafa6 Various fixes from John Dyson:
1) Rewrote screwy code that uses an incore buffer without making it busy.
2) Use B_CACHE instead of B_DONE in cases where it is appropriate.
3) Minor code optimization.

This *might* fix kern/345 submitted by Heikki Suonsivu.
1995-04-16 05:05:25 +00:00
David Greenman ec4f9fb0ee Fixed a few bugs in vm_object_page_clean, mostly related to not syncing
pages that are in FS buffers. This fixes the (believed to already have been
fixed) problem with msync() not doing it's job...in other words, the
stuff that Andrew has continuously been complaining about.

Submitted by:	John Dyson, w/minor changes by me.
1995-04-16 03:11:28 +00:00
Bruce Evans 5c1bcbae24 Do what the previous log message claimed to do and don't enable DES if
the user doesn't have the secure sources.
1995-04-16 01:40:24 +00:00
Justin T. Gibbs c587405860 Have the aic7xxx build rules point at the sequencer's new location. 1995-04-16 01:20:00 +00:00
Justin T. Gibbs c4bec2ef93 Install ahc.4. 1995-04-16 00:08:53 +00:00
Satoshi Asami 825402c2ab Yikes...typo (.package/ should have been .packages/). 1995-04-15 23:56:29 +00:00
Bruce Evans 67c54240cd Don't declare rune_t, putenv() or setenv() if _POSIX_SOURCE is declared.
Previously they were only guarded by `#ifndef _ANSI_SOURCE'.  They are
neither ANSI nor POSIX nor std and should never have been declared here.

Declare functions like abs() as having attribute `__pure2'.  Declaring them
as having type `__pure' has been a no-op for some time.

Delete obsolete comment about stub locale functions.

Use consistent formatting for the rand48 functions.  These and about 30
other functions should never have been declared here either.
1995-04-15 23:48:16 +00:00
Bill Paul a00f731551 In environments with multiple NIS servers (a master and several slaves)
one ypbind broadcast can yield several responses. This can lead to
some confusion: the syslog message from ypbind will indicate a rebinding
to the first server that responds, but we may subsequently change our
binding to another server when the other responses arrive. This results
in ypbind reporting 'server OK' to one address and ypwhich reporting a
binding to another.

The behavior of the rpc_received() function has been changed to prevent
this: subsequent responses received after a binding has already been
established are ignored. Rebinding gratuitously each time we get a
new response is silly anyway.

Also backed out the non-fix I made in my last ypbind commit. (Pass
me the extra large conical hat, please.)

(At some point I'm going to seriously re-work ypbind and the _yp_dobind()
library function to bring them in line with SunOS's documented behavior:
binding requests are supposed to be 'client-driven.' The _yp_dobind()
function should be responsible for retrying connections in response to
calls from client programs rather than having ypbind broadcasting
continously until a server responds. The current setup works okay in
normal operation, but we broadcast far too often than we should.)
1995-04-15 23:35:46 +00:00
Bruce Evans 99390fb82f Define DKBAD_NOTRKSEC. Cosmetic except it is required for recent changes
to bad144.c.
1995-04-15 23:21:28 +00:00
Bruce Evans 678308e07a Don't crash when there are too many items to fit on one screen. 1995-04-15 23:10:59 +00:00
Bruce Evans b7521ff571 Remove bogus unused `struct cpu_disklabel'. 1995-04-15 22:46:28 +00:00
Andrey A. Chernov 9cb939b4b4 Fight over non-working setruid 1995-04-15 22:08:10 +00:00
Bruce Evans e007f8483b - Don't write the label if the (undocumented) nflag is set.
- Don't write the label directly - use DIOCWDINFO.
- Avoid overflow in calculation of lseek() offsets.
- Fix format args in strings some more.  %ld and %lu were often reversed and
  #ifdefed out strings weren't fixed.
- Don't hard code the raw partition letter or DKBAD*.
- Write the qsort() comparision function in `C'.
- Fix all remaining warnings from `cc -Wall -Walmost-really-all'.
1995-04-15 21:59:26 +00:00
Justin T. Gibbs e68becc836 To celibrate the new status of the ahc driver, give it a man page.
Add references to the ahc driver to the other adaptec man pages.

Remove the "NOTE" section of the ahb man page that complained about
Adaptec's NDA policy preventing 274x driver development.
1995-04-15 21:48:31 +00:00
Justin T. Gibbs 3cddb2a3e2 John Aycock's BSD copyrighted sequencer assembler and sequencer code. This
is identical to the older version, just the copyright has changed.  Many
thanks go to Dean Gehnert of the Linux camp who went the extra mile to make
this happen.

Other changes:

Update assembler man page to include the -v and -D options

Merge in Dean's latest changes to the assembler

Have the sequencer do a MSG_REJECT when the negotiated syncronous rate
is lower than the adapter supports.  This forces asyncronous mode which
is faster at these rates anyway.

This code will be moved shortly to the non-gpld portion of the tree.
1995-04-15 21:45:56 +00:00
Andreas Schulz 892dbf3c38 Add mixer to the clean/cleandir targets to get it also cleaned up. 1995-04-15 21:45:49 +00:00
Bruce Evans 33242876a4 Fix initializations of kdc_state for serial consoles.
Change order of RTS flow control tests so that less tests are required
in the usual case.

Clean up parts of previous commits.  Cosmetic.
1995-04-15 21:45:16 +00:00
Justin T. Gibbs 241606bc72 kernel.h -> sys/kernel.h 1995-04-15 21:38:34 +00:00
Justin T. Gibbs 04f390ce00 Be more careful with how we do a chip reset.
Clean up some comments.
1995-04-15 21:37:32 +00:00
Bruce Evans 7897b3ce69 Don't waste time sending an EOI to ICU1 if option AUTO_EOI_1 is defined.
Previously, this worked right if both AUTO_EOI_1 and AUTO_EOI_2 are
defined, but not if AUTO_EOI_1 is defined and AUTO_EOI_2 is not defined.
The latter case should be the default.  DUMMY_NOPS should be the default
too.  Currently there are only two NOPs slowing down rtcin() (although
there are no delays in writertc()) and several FASTER_NOPs slowing down
interrupt handling in vector.s.

Fix stack offsets for the (previously) unused untested
FAST_INTR_HANDLER_USES_ES case.
1995-04-15 21:32:18 +00:00
Bruce Evans e2f03b0df0 Speed up ttnread() in the !(ICANON | ISIG) case by copying to user space
through a temporary buffer instead of one character at a time.  The old
method takes about 6 usec/char on a 486DX2/66.  This is larger than than
the combined interrupt and PIO overhead for a 16550!

This change was first implemented in 1.1.5.  It was rewritten for 2.1.
The clist access functions allow a simpler implementation at some cost
in correctness and speed.  There needs to be an ungetc() function to
recover from EFAULT, and it wastes time to copy through a temporary
buffer.

Don't snoop on single characters that weren't read due to EFAULT.
Rewrite a snoop comment in my approximation to English.

Undo bogus exportation of ttnread().
1995-04-15 21:04:58 +00:00
Bruce Evans f6c6c6428b Define IBUFSIZ as 384. This goes with speeding up ttnread().
OBUFSIZ should be increased to the same value as IBUFSIZE (both are
smaller than desirable because they have to fit on the stack), but
there are currently problems with magic buffer limits and watermarks.

Remove unused #define of TTMASK.

Undo bogus exportation of ttnread().
1995-04-15 20:59:28 +00:00
Andreas Schulz 5d2cacaa26 Put vnode_if.h and vnode_if.c into CLEANFILES that are automatically
generated. Should this lkm set VFS_LKM ?
1995-04-15 17:36:53 +00:00
Andreas Schulz 695176ba79 Removed the y.tab.h file from the sources. It is automatically generated
from yacc.
Put the lex.c parser.c and y.tab.h into a CLEANFILES target in the
makefile, they are all generated and need to be removed on a clean.
1995-04-15 17:15:11 +00:00
Jordan K. Hubbard af087363e8 Bump the snap date. 1995-04-15 16:40:34 +00:00
Poul-Henning Kamp 6d7b3d3838 Added kzipboot 1995-04-15 08:24:33 +00:00
Poul-Henning Kamp 7970b29866 The magic code to uncompress a kernel.
Reviewed by:	phk
Obtained from:	Linux via 386BSD.
1995-04-15 08:23:55 +00:00
Poul-Henning Kamp 3e4ece9108 Added kzip in i386 section 1995-04-15 08:19:16 +00:00
Poul-Henning Kamp 2c3b2c6c13 This program to compress a kernel with. You loose all the symbols, so
usability is limited.  Very useful on fixit floppies &c.

Obtained from:	Linux via 386BSD
1995-04-15 08:18:20 +00:00
Gary Palmer 7253b58b7b Fix two more references to /etc/motd that I overlooked. PR #29 1995-04-15 07:05:07 +00:00
Gary Palmer 025362a70b Close PR #29. The file should be /etc/ftpmotd, not /etc/motd. 1995-04-15 07:02:22 +00:00
Poul-Henning Kamp 194c19ed17 Changes needed for kzip to work. 1995-04-15 06:54:13 +00:00
Jordan K. Hubbard 61eaec4e49 Make DISTNAME and RELEASE the same for now. It makes more sense. 1995-04-15 06:00:11 +00:00
Jordan K. Hubbard 08ed1b1db6 Go to a coherent release number for uname(1). 1995-04-15 03:56:06 +00:00
David Greenman 29e1dc7556 Install with default BINOWN (as it once used to be). 1995-04-15 03:31:19 +00:00
David Greenman 567f2ec907 Install setgid kmem rather than setuid root. The problem with procfs that
was breaking this before has been fixed.
1995-04-15 03:25:52 +00:00
David Greenman d7e03b7a8b For P_SUGID processes, we must also change ownership of the mem file
to root so that group kmem can still get to it. *SIGH*
1995-04-15 03:20:31 +00:00
Bill Paul 8efe1172e2 Head off potential core dump in _havemaster() (we don't need to free any
memory here: the underlying YP routines handle this one for us).
1995-04-15 03:11:55 +00:00
David Greenman 5232af2cf1 Retain group kmem readability for P_SUGID processes. 1995-04-15 02:50:13 +00:00
David Greenman f62e09f22e Made /proc/n/mem file group kmem and group readable. Needed to fix ps so
that it doesn't need to be setuid root.
1995-04-15 02:30:17 +00:00
David Greenman cf8ad5100d Fixed serious off by one bug I introduced that will likely cause the
machine to panic whenever the name cache fills up.

Submitted by:	John Dyson
1995-04-15 00:49:35 +00:00
Poul-Henning Kamp 0fbb4a064b "jl" and "jb" doesn't quite do the same thing...
Reviewed by:	phk
Submitted by:	"DI. Christian Gusenbauer" <[email protected]>
1995-04-14 23:01:33 +00:00
Poul-Henning Kamp c112d76dd6 I commit this for Bruce, who has serious connectivity problmes pt.
This should NOT go into 2.0.5  /phk

Support disk slices.  This involves mainly replacing inline code with
function calls.  Support for ST506 drives is temporarily broken since
the `setgeom' arg to dsopen() is not implemented completely enough to
use.  The `setgeom' arg will go away and ST506 drives will be supported
in another way.  A large amount of dead code is left in wdopen() as a
reminder of the problems here.

Close the device in wdsize().  Open tracking was broken on all drives
with a swap device.

Remove support for soft write protection.  There are no ioctls to set
it.  It was used to disable writing to unlabelled disks, but we want
to support writing to foreign partitions on unlabeled disks.

Use generic dkbad routines to do about 2/3 of the work for supporting
bad144.

Improve disk statistics: estimate 4MB/sec instead of 8MB/sec for
the transfer rate (ISA max is 4MB/sec, old IDE max is 3.3MB/sec);
fix dk_xfer[] (it counted sectors, not transfers); keep the estimate
dk_seek[] = dk_xfer[] (was sectors, is now transfers); only count
words actually transferred (the count is still too high after a
failed write and after retries).  Remove wdxfer[].

Fix indentation in wdattach().  Fix resulting botched printing of the
disk size for ST506 drives.  Print the disk geometry less cryptically.
1995-04-14 22:31:58 +00:00
Andrey A. Chernov c5dda01527 Fix MAILTO hole by passing -t to sendmail
Submitted by: Mike Pritchard <[email protected]>
1995-04-14 21:54:18 +00:00
Joerg Wunsch 15c99149f8 Boot block cleanup.
o Fix the keyboard probe to properly wait for the ready bit before
sending a command to the keyboard controller.  This should avoid the
problems some people are experiencing where the boot blocks hang the
system during keyboard probe.  (It does solve it for me.)

o Fix a bug that effectively prevented the boot blocks from ever
passing control to the serial console.  [while(--retries) instead of
while(retries--)]

o Gratuitously reduced the keyboard probe timeout from 500 to 5
seconds. :)

o Introduced a new option ``FORCE_COMCONSOLE'' as a commented-out
example in the Makefile, to force the usage of a serial console
regardless of a keyboard being connected or not.

o Moved all external declarations to boot.h, declared all functions
there, and ANSIfied all function declarations/definitions.
(printf() remains bogus, however -- i'm too lazy to fix this.)
We're in the ninetees, dunno why we should still support compilers
from the 70's.
1995-04-14 21:26:53 +00:00
Garrett Wollman 606eff77a1 Add `-s' flag to permit selection of devices in accordance with their
state (after all, who wants to be offered a menu of devices which
weren't found?).
1995-04-14 18:33:44 +00:00
Andrey A. Chernov a702c7b87b Add missing -lmytinfo, hits when compiled -static
Add DPADD
1995-04-14 16:13:28 +00:00
Andrey A. Chernov 8b2ceaa471 Add separate entry for screen(1), slightly different from vt220 1995-04-14 15:57:49 +00:00
Andrey A. Chernov e323ad35f3 Move digits before letters 1995-04-14 15:56:32 +00:00
Andrey A. Chernov e6325d4843 vt220: fix k1-k4 to be more compatible with xterm
and other emulators.
Simplify se/ue for emulators
1995-04-14 15:38:46 +00:00
Nate Williams 3cc6a1ed2e Added back 'examples' to the subdirs which was bogusly removed. 1995-04-14 15:15:27 +00:00
Peter Dufault 1fff580519 Add scsi target 1995-04-14 15:14:33 +00:00
Peter Dufault bc0cfeb0ce Add scsi target support. 1995-04-14 15:13:46 +00:00
Peter Dufault 8db34c841e Add scsi target. Add "after config" call to autoconf so that scsi
targets will be configured after all scsi busses have been configured.
1995-04-14 15:13:26 +00:00
Peter Dufault 8909a72b5d Add "sctarg" and document new SCSI_REPORT_GEOMETRY option for ache 1995-04-14 15:12:24 +00:00
Peter Dufault 81e01d44ce Added "scsi target" device that can act as a target for scsi transfers
from an initiator
Added Julian's support for residuals.
Added Julian's fixes to the tape driver
Made compile cleanly with -Wall
Reduce boot up output
1995-04-14 15:10:44 +00:00
Bill Paul c98fda6ec8 Better conformance to SunOS behavior: if we can't match a user to one
of the plus or minus lists at all, reject him. This lets you create
a +@netgroup list of users that you want to admit and reject everybody
else. If you end your +@netgroup list with the wildcard line
(+:::::::::) then you'll have a +@netgroup list that remaps the
specified people but leaves people not in any netgroup unaffected.
1995-04-14 14:56:28 +00:00
Bill Paul 09a901eb60 Hopefully I won't get flamed for this: insert a few more #if defined(I486_CPU)
and #if defined (I586_CPU) thingies into identifycpu() so that we only
compile in what's actually needed for a given CPU. So far as I can tell,
none of my 386 machines generate a cpu_vendor code, so I made the extra vendor
and feature line conditional on I486_CPU and I586_CPU. (Otherwise we
print out a blank line which looks silly.)
1995-04-14 02:06:00 +00:00
Bill Paul 8a03631b28 According to a Usenet posting forward to me by Jordan, there's
at least one user out there who's system won't autoboot from the
serial console because of what sounds like 'phantom keystrokes'
making the timeout timer trip. I've tried to solve this by
adding an extra call to init_serial() right before the 'Boot:'
prompt is printed (done only if RB_SERIAL is set) to hopefully
make sure that the input buffer is clear. Unfortunately, the fellow
is in Germany and I haven't heard back from him yet. I haven't
been able to duplicate this problem on my hardware, so this is
a stab in the dark. At the very least, it shouldn't hurt anything.
1995-04-14 01:35:59 +00:00
Rodney W. Grimes 51564ceea8 A better solution for the noisy ibcs2 startup, just echo a space and then
call ibcs2.
Submitted by:	jkh, slight modification by me.
1995-04-13 21:23:17 +00:00
Garrett Wollman c4374cae95 Add devmenu(1). 1995-04-13 21:11:53 +00:00
Garrett Wollman f34bdd9a32 Another sample devconf application. This one's a menu of devices; read the
man page.
1995-04-13 21:11:01 +00:00
Andrey A. Chernov 7ed12e2a4a Really fix MAILTO hole by parsing spaces.
Remove local bitstring copy
1995-04-13 20:58:13 +00:00
Jordan K. Hubbard dcaaf7cf51 Get the matcd manpage linked into the parent directory like the others. 1995-04-13 20:44:51 +00:00
Garrett Wollman 98f232c875 Make class names easier to type 1995-04-13 20:37:51 +00:00
Joerg Wunsch 936209a647 Include pcvt into the list of subdirs, so its utilities will be
included into fututre distributions.
1995-04-13 20:27:11 +00:00
Jordan K. Hubbard ff0edab95c Remove fixit floppy from things to build until Poul makes it work again. 1995-04-13 20:21:06 +00:00
David Greenman f153fb6e99 Backed out previous change - it reduces performance. (oops). 1995-04-13 18:24:33 +00:00
Garrett Wollman 3688be0eeb Add err_set_file() and err_set_exit() functions to make it possible for
programs which use err(3) to work nicely in a wider range of environments
(e.g., dialog).
1995-04-13 18:04:11 +00:00
Garrett Wollman ef46188e27 Actually copy the class field over from the kernel to the user structure. 1995-04-13 15:33:14 +00:00
David Greenman cf0ec51aec Slight optimization to select(). 1995-04-13 15:27:51 +00:00
Garrett Wollman ed8be72c29 Disallow Kerberos when S/Key is required. Fixes PR #339.
Submitted by: Paul Traina <[email protected]>
1995-04-13 15:20:35 +00:00
Garrett Wollman ae60406da6 Forgot two things in yesterday's massive devconf update:
initialized class for sio
don't bogusly re-initialize it in sio_registerdev()
1995-04-13 15:03:29 +00:00
Andrey A. Chernov 6b4198130e Allow root to delete uchg/uappnd files 1995-04-13 13:35:09 +00:00
Andrey A. Chernov 3cf91c530d Move setcompat code to another place, initial/locked devices
not supposed to work with old style ioctls
1995-04-13 11:11:11 +00:00
Gary Palmer ea4e5e0fbf The tmpdir cleaning routine _still_ wasn't right! :-(
I think this truly fixes it.
1995-04-13 09:30:58 +00:00
Andrey A. Chernov d17ad80fda Comment out ttcompat via COMPAT_SUNOS too
Fix error handling initial/callout devices
1995-04-13 09:22:40 +00:00
Poul-Henning Kamp 5184328cf8 tell people what we do at the end, since it can take a little while.
use "set -e" when extracting bindist
make src dists extract.
1995-04-13 09:06:15 +00:00
Poul-Henning Kamp 9776cec4df Reduce inode count on floppies a bit again 1995-04-13 09:05:25 +00:00
Bill Paul 695e4afe85 This a subtle reminder to people that not everybody compiles their
kernels with 'options I586_CPU.'

The declaration for pentium_mhz is hidden inside an #ifdef I586_CPU,
but machdep.c refers to it whether I586_CPU is defined or not. This
temporary hack puts the offending code inside an #ifdef I586_CPU as
well so that a kernel without it will successfully compile.

I must emphasize the word 'temporary:' somebody needs to seriously
beat on the identifycpu() function with an #ifdef stick so that
I386_CPU, I486_CPU and I586_CPU will do the right things.
1995-04-13 04:55:35 +00:00
David Greenman 9b798f72a1 Various changes from Matt Thomas to improve media selection and fix
support for the DC21140.
1995-04-13 04:46:40 +00:00
Poul-Henning Kamp 54f835a545 Even more inodes on the floppies... 1995-04-13 02:11:31 +00:00
Jordan K. Hubbard d99fdc4f07 I missed some of Frank Durda's changes for MAKEDEV. Fixed.
Submitted by:	Frank Durda IV <[email protected]>
1995-04-13 00:51:55 +00:00
Jordan K. Hubbard 624b327c77 DISTNAME="2.0-950412-SNAP" 1995-04-12 23:29:14 +00:00
Jordan K. Hubbard b9ebe70c00 Add Steve Gerakines <[email protected]> to contributors. 1995-04-12 22:47:31 +00:00
Bill Paul 8b4709fa93 Add an ethers(3) man page. 1995-04-12 22:28:49 +00:00
Jordan K. Hubbard 9599f64201 We're now shooting for a 950412-SNAP
Reviewed by:
Submitted by:
Obtained from:
1995-04-12 22:26:47 +00:00
Bill Paul e868bdd2a0 Add ethers(5) man page. 1995-04-12 22:16:08 +00:00
Poul-Henning Kamp e5f2c8f67e Add "BREAK_TO_DEBUGGER" option. 1995-04-12 22:02:51 +00:00
Poul-Henning Kamp 04a6a5a9ac ttsetcompat is a '#ifdef COMPAT_43' feature.
Dropping into the debugger when a break comes down the serial line is a
>MISFEATURE (1st class)< and has been put under it's own #ifdef.  This
should be a magic sequence of chars instead.
1995-04-12 22:00:41 +00:00
Poul-Henning Kamp 15587f8eaf added a missing '; \' 1995-04-12 21:13:08 +00:00
Garrett Wollman 6c0081e92b Add a class field to devconf and mst drivers.
For those where it was easy, drivers were also fixed to call
dev_attach() during probe rather than attach (in keeping with the
new design articulated in a mail message five months ago).  For
a few that were really easy, correct state tracking was added as well.
The `fd' driver was fixed to correctly fill in the description.
The CPU identify code was fixed to attach a `cpu' device.  The code
was also massively reordered to fill in cpu_model with somethingremotely
resembling what identifycpu() prints out.  A few bytes saved by using
%b to format the features list rather than lots of ifs.
1995-04-12 20:48:13 +00:00
Martin Renters fd7e139eed Break netboot into device specific versions.
nb8390.[cr]om for NS8390 boards (if_ed driver)
nb3c509.[cr]om for 3c509 boards (if_ep driver)

Submitted by:	Serge Babkin ([email protected])  [3c509 support]
1995-04-12 20:15:33 +00:00
Andrey A. Chernov f8cb57f574 Don't set -or0s (timeout 0) for possible network MAILTO 1995-04-12 19:28:30 +00:00
Andrey A. Chernov 4f7ac4bd57 Add some useful sendmail options 1995-04-12 19:21:43 +00:00
Andrey A. Chernov 4c256f710e Fix home dir cheating 1995-04-12 19:04:26 +00:00
Andrey A. Chernov 1cb37d6325 Close MAILTO security hole 1995-04-12 18:57:37 +00:00
Andrey A. Chernov 5c613ed190 Call gated as /usr/local/sbin/gated instead of possible adding
/usr/local/sbin to rc PATH
1995-04-12 16:58:06 +00:00
Poul-Henning Kamp 895449d220 Add bad144 to fixit floppy.
Remove kernel compile directories.
Put all *[sw]d* devices on floppies
Make more inodes on floppies as function of the above.
1995-04-12 08:00:24 +00:00
Poul-Henning Kamp d32bd61e78 Improve the if_eg driver a bit in style. It's still by far the worst driver
we have :-/
1995-04-12 07:50:44 +00:00
David Greenman 230620627b Fixed bug I introduced when changing PCB list to use 4.4BSD style queue
macros. Basically, detect 'tp' going away differently.
1995-04-12 06:49:56 +00:00
Andrey A. Chernov 7cccae663d Fix "at" directories owner 1995-04-12 03:02:01 +00:00
Andrey A. Chernov c70e5825aa Upgrade.
Close security holes reported.
1995-04-12 02:52:21 +00:00
Andrey A. Chernov b89321a57d Upgrade. 1995-04-12 02:42:39 +00:00
Gary Palmer fa877a53cb The servers bootpd & bootpgw live in /usr/libexec not /etc. Correct the
references in the man page.
1995-04-12 00:24:48 +00:00
Joerg Wunsch c8a2ad770c Fix broken file name globbing. Man is now also able to find pages
like "3DBorder" and "[".  (NB, the "3DBorder" problem has actually
been intention, it allowed for weird section names like "3xyzzy".  We
don't have them, either.)

(Partially) Submitted by:	[email protected] (Brian Tao)
1995-04-11 22:01:53 +00:00
Joerg Wunsch bfb50190bb The implementation of rexec() missed the function ruserpass(), so the
link stage fell over for any program that attempted to use rexec().

Ruserpass() remains undocumented; i could not find any documentation
for it on other systems.

Also added a BUGS section to the man page, stating that this function
constitutes a potential security hole (as well as the underlying
"exec" service).

Submitted by:	rgrimes
Originally submitted by: [email protected] (Alistair G. Crooks)
Obtained from: [email protected]
1995-04-11 19:52:10 +00:00
Andrey A. Chernov 0af4664a6c Read of a record smaller then request size always fails
Submitted by: [email protected]
1995-04-11 19:09:31 +00:00
Andrey A. Chernov 7970bd101c Fix output field range
Submitted by: [email protected]
1995-04-11 18:50:51 +00:00
Andrey A. Chernov 8889e816b4 Add -r to rm -f /var/spool/uucp/.Temp/* 1995-04-11 18:36:10 +00:00
Andrey A. Chernov d99adf96e5 Fix link sys call
Submitted by: [email protected]
1995-04-11 18:32:17 +00:00
Andrey A. Chernov 2178b9bb49 Call new ttsetcompat() function for proper working
old v7 ioctls with locking bits.
1995-04-11 17:58:09 +00:00
Andrey A. Chernov 0a247e7d30 Extract "set" family functions to separate module, needed for
locking in sio f.e.
1995-04-11 17:54:25 +00:00
Andrey A. Chernov bc9685528a Add new ttsetcompat function (from tty_compat) 1995-04-11 17:53:14 +00:00
Nate Williams 65cc5b32c2 Re-enabled cvs now that Rod is satisfied that it will work correctly. 1995-04-11 17:28:26 +00:00
Bruce Evans 2360b9bfc7 Submitted by: Mike Pritchard <[email protected]>
Fix PR 303: msdosfs: moving a file into another directory causes panic.

" ... the code that does the rename already has the denode
locked when msdosfs_hashins() gets called, resulting in the panic
when the routine attempts to lock the denode again.
...
The attached patch changes the msdosfs_hashins() routine to not lock the
denode.  The caller is now resposible for obtaining the lock instead
of having msdosfs_hashins() do it for them."
1995-04-11 17:13:17 +00:00
Bruce Evans 82f196916e Submitted by: Wolfgang Solfrank <[email protected]>
Fix off-by-1-sector error in the range checking for the end of the root
directory.  It was possible for the root directory to overwrite the FAT.
1995-04-11 16:43:20 +00:00
Jordan K. Hubbard 7565491c79 Bump this to 0408. I have my reasons. 1995-04-11 07:43:33 +00:00
David Greenman 81c6e3e558 Handle the "syncing VCHR vnode hang" problem a little differently; just
don't lock the vnode - it doesn't appear to ever be necessary for VCHR
vnode/inodes. This fixes a bug introduced in the previous commit that
caused tty timestamps to act strange (causing 'w' and 'finger' to show
the tty wasn't idle when it may have been for hours).
1995-04-11 04:23:47 +00:00
Martin Renters a9f9caeabd Add myself to the Contrib list. 1995-04-11 03:14:50 +00:00
Rodney W. Grimes d75038b6e7 Remove obsolete comments about my-name and my-network.
Have netstart directly source sysconfig so that it stands on its own.
Do not source netstart in rc, run it with sh.

Rework the dangerous /etc/hostname.* so that it uses a variable with
a list of interfaces and a variable for each interface in that list.
The files /etc/hostname.* become obsolete with this change, the
information is now stored in /etc/sysconfig.

Source any /etc/start_if.${ifn} files so they can export things to
netstart (plans for future enhancements in this area.)

Obsolete /etc/defaultrouter, this is now down with $defaultrouter from
sysconfig.
1995-04-11 01:22:24 +00:00
Jordan K. Hubbard c8aaabd573 Performance enhancements and a redesign of the transmitter code.
Submitted by:	"Serge A. Babkin" <[email protected]>
1995-04-10 21:25:06 +00:00
Garrett Wollman d3a2b17ad7 Define tuncdev for the benefit of tunnel LKM so that it knows which
device slot to take.
1995-04-10 20:40:11 +00:00
Garrett Wollman 1f3d84e82a Tunnel driver is nmow capable of installing its own cdevsw[] entry,
with a little help from conf.c.  While e're at it, actually declare the
tunnel entry points to have the correct types.  This fixes PR #306.
1995-04-10 20:35:45 +00:00
Poul-Henning Kamp 8d89e37c73 I got that wrong,
lnc0	@ 0x280
	lnc1	@ 0x300

moved le0 into sorted sequence.
1995-04-10 19:13:51 +00:00
Poul-Henning Kamp 1f9e6f1901 lnc0 is @ 0x300
lnc1 is @ 0x280
1995-04-10 19:12:29 +00:00
Garrett Wollman a5ce0490a4 Fix initialization error that caused `mount -vat' to behave unexpectedly
in certain circumstances.  Fixes PR #182.

Submitted by:	Andrew Atrens <[email protected]>
1995-04-10 18:57:08 +00:00
Garrett Wollman 3c6bef7ee8 Correct name `cd9660' for MOUNT_CD9660 (but NB that this whole table
is bogus and only exists for the benefit of find(1)).  Old name was
`iso9660fs'.

Submitted by:	Andrew Atrens <[email protected]>
1995-04-10 18:52:40 +00:00
Joerg Wunsch a72408576b My libcompat cleanup.
o	add missing man pages

o	make all man pages clearly refer to the libcompat thingie

o	add the information to the vtimes(3) and vlimit(3) man pages
	that nobody has reimplemented the functions by now

o	add the missing getpw.c

o	add code and man pages for cftime(3) and
	ascftime(3) -- i found them somewhere in old
	unfinished work
1995-04-10 18:48:06 +00:00
Andrey A. Chernov 20f97715a5 sdattach: print out cyl/hd/sec info in the same format as wd driver does
as default case, very helpful in many cases.
1995-04-10 18:44:49 +00:00
Garrett Wollman fe9140c204 there is a endian problem when setting up tunnel and phyint boundaries
in the mrouted. inet_parse returns network byte ordered address, but there
are a couple comaprisons that need to be done on the addresses and the
comparisons are done in host order. I left the comparisions for 0xffffffff
alone, because this value is the same in network and host orders.

Submitted by:	Mark Tinguely <[email protected]>
1995-04-10 18:42:10 +00:00
Joerg Wunsch e03e5bb758 There have been a few occasions where some actions could dereference
uninitialized tty pointers early during boot; it got very obvious when
pressing Alt-F11 after a boot -c.
1995-04-10 18:34:51 +00:00
David Greenman d79940da0a Further satisfy my paranoia by making sure that the ACKNOW is only
set when ti_len is non-zero.
1995-04-10 17:37:46 +00:00
David Greenman afa70c96dd Fixed bug I introduced with my Nagel hack which caused tcp_input and
tcp_output to loop endlessly. This was freefall's problem during the past
day.
1995-04-10 17:16:10 +00:00
Jordan K. Hubbard f0681de0c2 Mods to tar (--fast-read) to cause it to stop looking for exact-matching
file specifications when they've been extracted (enabling you to get a file
fast if it occurs somewhere close to the front).
Submitted by:	Marc van Kempen <[email protected]>
1995-04-10 11:47:37 +00:00
David Greenman 7bc4aca7f0 Added splnet protections for PCB list manipulations and traversals. 1995-04-10 08:52:45 +00:00
Jordan K. Hubbard 9e87dd6ab1 Don't pass duplicate pkgdeps to pkg_create 1995-04-10 08:09:21 +00:00
Jordan K. Hubbard 1b164cce2b Neither of these tools really told you what you needed to know neatly
and succinctly in verbose mode.  I hope people find this more to their
liking.
1995-04-10 08:01:52 +00:00
Poul-Henning Kamp 01feef2c19 Sanitize the making of kernels a bit, and make the BOOTCDROM kernel too.
If we can get away with it, it will always just be the GENERIC kernel
with a different name.
1995-04-10 08:01:27 +00:00
Poul-Henning Kamp 17755ac806 Changes to make FreeBSD use a CDROM as rootdev, for installation purposes.
If "BOOTCDROM" is defined, you get this pretty special case stuff.
1995-04-10 07:44:31 +00:00
Andrey A. Chernov 83d05492ed Call ptsstop in ptsclose instead of ptcwakeup 1995-04-10 01:45:43 +00:00
Rodney W. Grimes 40a36bc906 Add missing "echo '.'" to end of file so that the next file called
starts on a new line.
1995-04-10 01:39:13 +00:00
David Greenman 64e4231041 Backed out Jordan's #include of queue.h 1995-04-10 00:43:18 +00:00
David Greenman 9dcb6988b3 Removed bogus #include of netinet/in_pcb.h 1995-04-10 00:41:25 +00:00
David Greenman d2bccb9fbe Added #include <sys/queue.h> 1995-04-10 00:38:15 +00:00
Nate Williams b6b718f326 as Thomas Graichen recently wrote in private mail:
> * the gdb-4.13 of current (compiled and used under 2.0R) can not attach to my
> own processes (it works only then i'm root - else i get open failed - for my
> own processes)

how embarassing ! This turns out to be a bug in infptrace.c. Below
is a patch. Could some kind soul apply it ?

Submitted by:	"Gary J." <[email protected]>
1995-04-10 00:01:01 +00:00
Andrey A. Chernov 9d9cea2bce ptcwakeup() was called from wrong places 1995-04-09 22:28:24 +00:00
Bill Paul 2d91aab798 First crack at a man page for ypbind. 1995-04-09 21:59:06 +00:00
Bill Paul b9729ac259 More of the same: we also need to handle multiple domains properly
even if /var/yp/binding/DOMAIN.VERS doesn't exist yet.
1995-04-09 21:52:31 +00:00
Bill Paul f067dfeabc Fix behavior of YP library routines in environments with multiple domains,
where one or more of the non-default domains are not yet bound.

If we make a YP request for a domain other than the default domain,
and there is no binding for the new domain yet, _yp_dobind() sees
that the /var/yp/binding/DOMAIN.VERS file for the unbound domain is
not locked (by ypbind) and from this it concludes that the NIS system
is dead, so it gives up.

This behavior has been changed: before giving up in this case, we now
make a second check to see if the binding file for the *default* domain
is also not locked. Only if the default domain binding file is also
unlocked to we now assume that ypbind has bought the farm and bail out.
(Note: this assumes that the user hasn't changed the default domain
while ypbind is running.)

With this change, _do_ypbind() is allowed to proceed into the next
section of code wherein it prods ypbind into establishing a binding
for the new domain. This first call times out after ten seconds,
after which it should retry and succeed. From then on, the binding
for the second domain should be handled normally.
1995-04-09 19:26:23 +00:00
Jordan K. Hubbard cb7533f532 #include <sys/queue.h> or die horribly. 1995-04-09 16:46:47 +00:00
Jordan K. Hubbard b81be3d3e8 Add matcd.4 to list of manpages. 1995-04-09 15:55:21 +00:00
Jordan K. Hubbard 7988f8a2c7 Part of Frank Durda IV's new matcd driver CD audio support.
Submitted by:   Frank Durda IV <uhclem%[email protected]>
1995-04-09 15:50:48 +00:00
Jordan K. Hubbard 08d5844ce1 This is the new submission of the matcd driver. In addition to the
new driver code, there are diffs to several other existing files
on the system and a man page.

This version of matcd implements the rest of the key ioctls related to
playing audio CDs and reading table of contents information from any
type of disc.

This update also corrects several problems detected since the original
version 1(10) was released.  These include:
1.	Jordons report on the kernel -c string problem.
2.	A problem with the driver being confused by other types of
	devices located at addresses it probes.
3.	An old CD TOC wouldn't always be cleared after a disc change.
4.	Cleaned up code so -Wall yields no warnings on 2.0 and later.
5.	A problem with drive getting out of sync with the driver when
	changing between CD-Data and CD-DA.

There have only been two reports from the field relating to problems
so either the first release isn't really being used or doesn't have
many problems.

If there are any problems with this submission, please let me know.

Submitted by:	Frank Durda IV <uhclem%[email protected]>
1995-04-09 15:50:27 +00:00
Jordan K. Hubbard 83376d5b95 A new man page for the matcd driver.
Submitted by:   Frank Durda IV <uhclem%[email protected]>
1995-04-09 15:49:46 +00:00
David Greenman affcfa1401 Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;
sorry Jordan).
1995-04-09 15:21:08 +00:00
David Greenman a9d6f1a78d That's what I get for doing things in a hurry...applied up-to-date patch
to this file rather than old one (before I renamed the structure element).
1995-04-09 15:12:21 +00:00
Jordan K. Hubbard 6c5325bf0e Add true support for dependency lists.
1. pkg_create now has a -P argument for specifying dependencies on the
   command line.
2. pkg_add will honor dependencies and chain-load them automatically if
   it finds the required package(s) in the same directory as the package
   that is being loaded.  For best results, install packages from a directory
   containing all the packages you'll possibly need
   (like /usr/ports/packages/all).

2 remaining flaws:

1. pkg_add looks in one place (where you were when you loaded the primary
   pkg) for depended packages.  If you can come up with a search path scheme
   that's not a total hack - be my guest!

2. Recursive dependency expansion can result in the name of a dep being
   listed more than once.  This doesn't bother pkg_add since it checks
   for package existance with pkg_info and will skip already-loaded packages.
   I don't know how/if pkg_delete handles this yet, however.  I need to look
   into it.
1995-04-09 15:05:01 +00:00
Jordan K. Hubbard a8f0877be0 Add new -P argument to pkg_create. 1995-04-09 15:00:56 +00:00
Jordan K. Hubbard 489c51e631 Add 2 new targets to facilitate some things I'm thinking about.
1.  package-name
	Simply echos the associated package name for a port (if any).
2.  package-depends
	Shows all package names on which this port depends.
1995-04-09 12:27:58 +00:00
Jordan K. Hubbard c4fb365962 1. Fix the first line (should be a proper comment - silly emacs).
2. KEYWORDS+= CATEGORIES
3. CATEGORIES+= all (always want to be in "all"!)
1995-04-09 10:24:09 +00:00
Satoshi Asami 3d0c66c99a Add support for categorized subdirectories for packages. By default,
all .tgz files go to /usr/ports/packages/.packages, and a relative
symlink is created for every item in CATEGORIES...i.e., if "CATEGORIES
= foo bar", then /usr/ports/packages/{foo,bar}/pkgname.tgz both point
to /usr/ports/packages/.packages/pkgname.tgz.

Suggested by:	jkh
1995-04-09 09:59:42 +00:00
Rodney W. Grimes 1f55ebbcd9 This is a purely cosmetic clean up. Fix many cut and paste problems that
had turned tabs into spaces.
1995-04-09 09:54:51 +00:00
Joerg Wunsch a3e026396c The rmt protocol didn't allow to pass a file creation mode (permission
bits) along, and rmt did the wrong thing in calling open(2) with random
garbage as third parameter.  Make it create new files with 0666
(modified by the umask of the remote shell anyway).

This removed the last show-stopper from tar not working with remote
archives.
1995-04-09 09:20:47 +00:00
Jordan K. Hubbard fa4733a739 Do another pass over the delete code. This is better. Now we don't
try to expand a wildcard to delete the entire contents.
1995-04-09 09:01:56 +00:00
Jordan K. Hubbard e4c66f9566 Try and see if I can make the remove function work.. 1995-04-09 08:56:02 +00:00
Jordan K. Hubbard 239f2b151f Bump this to 950408-SNAP. 1995-04-09 07:17:45 +00:00
Jordan K. Hubbard 5a12a69a54 Document that flags 0x1 is required on fdc0 line to make ft0 work.
Also please note that previous commit regarding UH24F controller was
misattributed to Poul - it was Steve's!
Submitted by:	Steve Gerakines <[email protected]>
1995-04-09 07:02:03 +00:00
Jordan K. Hubbard 881c5753b5 Could you please update the list of drives supported. It currently
lists:

        UH-14f Series <ISA>
        UH-34f Series <EISA/VLB>

Should read:

        UH-14f Series <ISA>
        UH-24f Series <EISA>
        UH-34f Series <VLB>

Submitted by:	phk
1995-04-09 06:59:42 +00:00
Justin T. Gibbs 0b000afb3b More code optimizations. Use a slightly different approach to decide
whether a reconnecting target is a tagged device or not.
1995-04-09 06:40:16 +00:00
Justin T. Gibbs f2f31e3b40 Disable tagged queuing by default. option AHC_TAGENABLE will turn it on.
This is temporary until I can get a device flags added.
1995-04-09 06:39:01 +00:00
Rodney W. Grimes f98f9503d5 Increase the timeout for FTCMD_SEEK commands to complete from 1 second to
1.5 seconds in ftintr_wait().

Three people have reported that this fixes the problem they are having.

Submitted by:	Steve Gerakines <[email protected]>
1995-04-09 06:23:12 +00:00
David Greenman e9dd619d44 From John Dyson: Disabled multi-sector I/O. It is causing some people
problems.
1995-04-09 06:09:31 +00:00
Poul-Henning Kamp 18987c6ebd Clean up, and make it work with Bruces wd.c changes.
Bad144 is on the way back.
1995-04-09 06:06:01 +00:00
David Greenman f6b04d2bfb Changes from John Dyson and myself:
Fixed remaining known bugs in the buffer IO and VM system.

vfs_bio.c:
Fixed some race conditions and locking bugs. Improved performance
by removing some (now) unnecessary code and fixing some broken
logic.
Fixed process accounting of # of FS outputs.
Properly handle NFS interrupts (B_EINTR).

(various)
Replaced calls to clrbuf() with calls to an optimized routine
called vfs_bio_clrbuf().

(various FS sync)
Sync out modified vnode_pager backed pages.

ffs_vnops.c:
Do two passes: Sync out file data first, then indirect blocks.

vm_fault.c:
Fixed deadly embrace caused by acquiring locks in the wrong order.

vnode_pager.c:
Changed to use buffer I/O system for writing out modified pages. This
should fix the problem with the modification date previous not getting
updated. Also dramatically simplifies the code. Note that this is
going to change in the future and be implemented via VOP_PUTPAGES().

vm_object.c:
Fixed a pile of bugs related to cleaning (vnode) objects. The performance
of vm_object_page_clean() is terrible when dealing with huge objects,
but this will change when we implement a binary tree to keep the object
pages sorted.

vm_pageout.c:
Fixed broken clustering of pageouts. Fixed race conditions and other
lockup style bugs in the scanning of pages. Improved performance.
1995-04-09 06:03:56 +00:00
David Greenman 213fd1b6e8 Changes from John Dyson and myself:
Fixed remaining known bugs in the buffer IO and VM system.

vfs_bio.c:
Fixed some race conditions and locking bugs. Improved performance
by removing some (now) unnecessary code and fixing some broken
logic.
Fixed process accounting of # of FS outputs.
Properly handle NFS interrupts (B_EINTR).

(various)
Replaced calls to clrbuf() with calls to an optimized routine
call vfs_bio_clrbuf().

(various FS sync)
Sync out modified vnode_pager backed pages.

ffs_vnops.c:
Do two passes: Sync out file data first, then indirect blocks.

vm_fault.c:
Fixed deadly embrace caused by acquiring locks in the wrong order.

vnode_pager.c:
Changed to use buffer I/O system for writing out modified pages. This
should fix the problem with the modification date previous not getting
updated. Also dramatically simplifies the code. Note that this is
going to change in the future and be implemented via VOP_PUTPAGES().

vm_object.c:
Fixed a pile of bugs related to cleaning (vnode) objects. The performance
of vm_object_page_clean() is terrible when dealing with huge objects,
but this will change when we implement a binary tree to keep the object
pages sorted.

vm_pageout.c:
Fixed broken clustering of pageouts. Fixed race conditions and other
lockup style bugs in the scanning of pages. Improved performance.
1995-04-09 06:02:46 +00:00
David Greenman fcb5be87ad Cosmetic changes. 1995-04-09 05:40:38 +00:00
David Greenman fe9cff485b Oops, remove some chaff from previous commit. 1995-04-09 05:34:54 +00:00
David Greenman 7452c2a5ef Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBs
together.
1995-04-09 05:33:17 +00:00
Andrey A. Chernov 929fb7fedd Add missing header reference 1995-04-09 04:59:40 +00:00
David Greenman 29b4e57966 From Matt Thomas: Added support for 100Mb cards (such as the DEC DE-500-XA
and SMC 9332).
1995-04-09 04:46:15 +00:00
Jordan K. Hubbard 916b53653d Add etc/sysconfig to list of files stuck on the cpio floppy. I thought
we did this already?!?
1995-04-09 03:47:55 +00:00
Jordan K. Hubbard 845f1b7740 Remove preservation of myname and defaultrouter files - they're deprecated
anyway.
1995-04-09 03:44:03 +00:00
Andrey A. Chernov 6b234a88dc Non-blocking lock
Remove old salt cause possible endless loop
Submitted by: <[email protected]>
1995-04-09 03:34:10 +00:00
Andrey A. Chernov ea1e26d7e2 Upgrade to RFC1700 (IANA) 1995-04-09 03:02:08 +00:00
David Greenman 15bd2b4385 Implemented PCB hashing. Includes new functions in_pcbinshash, in_pcbrehash,
and in_pcblookuphash.
1995-04-09 01:29:31 +00:00
David Greenman 17792ebcb7 Added a few more entries to the list of prime numbers. 1995-04-09 01:19:25 +00:00
Andrey A. Chernov d71c8ca1ab Remove unneded substitutes 1995-04-08 21:51:26 +00:00
Poul-Henning Kamp 63373752ea Move default address of lnc0 to 0x300. Luigi Rizzo said that his card
cannot even go below 0x300...
1995-04-08 21:41:52 +00:00
Joerg Wunsch 4fb0b0de3e Implement a simple hook (or hack?) to allow graphics device console
drivers to protect DDB from being invoked while the console is in
process-controlled (i.e., graphics) mode.

Implement the logic to use this hook from within pcvt.  (I'm sure
Søren will do the syscons part RSN).

I've still got one occasion where the system stalled, but my attempts
to trigger the situation artificially resulted int the expected
behaviour.  It's hard to track bugs without the console and DDB
available. :-/
1995-04-08 21:32:11 +00:00
Poul-Henning Kamp 60ca0bff59 Don't choke if secure bits are not available. 1995-04-08 21:29:56 +00:00
Joerg Wunsch d95f5d1983 pcvt is proud enough to have a man page. :) 1995-04-08 20:08:42 +00:00
Nate Williams 5b9d4f5aa8 Added Makefile for example files. They are now installed in
/usr/share/examples/cvs for use by the cvsinit script.
1995-04-08 17:50:48 +00:00
Nate Williams dff188f7dc Added /usr/share/examples/cvs for use by cvsinit. 1995-04-08 17:48:00 +00:00
Andrey A. Chernov 56694345a1 Update controls & remains 1995-04-08 17:34:15 +00:00
Andrey A. Chernov 1aefeada69 Remove digrams to not confuse sorting 1995-04-08 17:08:45 +00:00
Andrey A. Chernov 9265b96620 Add ident (commented out) 1995-04-08 16:21:45 +00:00
Andrey A. Chernov 8075515025 Fix official name of 113/tcp service
Obtained from: SunOS /etc/services
1995-04-08 16:17:05 +00:00
Andrey A. Chernov 017e602c0c pca: change IO_PPI to IO_TIMER1 due to syscons conflict 1995-04-08 16:08:35 +00:00
Joerg Wunsch 785b47579d Upgrade pcvt to 3.20 b24. 1995-04-08 16:04:22 +00:00
Joerg Wunsch fa74aea62d Some long-waiting fixes for the COFF module. They silence compiler
warnings and are cosmetic only.  Poul once requested them, but neither
Sean nor Søren commented on them, so i commit it now before it's
getting lost some day.
1995-04-08 15:52:30 +00:00
Joerg Wunsch fe696eb64c Update pcvt to 3.20 b24 1995-04-08 15:49:25 +00:00
Jordan K. Hubbard 0814dcedd3 Add lnc0 ethernet driver. 1995-04-08 11:41:22 +00:00
Poul-Henning Kamp 27d441157b Fix the bug which removes all empty dirs from distribution. Sorry Jordan... 1995-04-08 09:45:31 +00:00
Poul-Henning Kamp f10bf24c33 Added zp0 and eg0 to interface menu. Dropped all the "at 0xfoo" comments. 1995-04-08 09:43:54 +00:00
Poul-Henning Kamp 1e85d7f664 Added Dean Huxley <[email protected]>. 1995-04-08 09:40:18 +00:00
Poul-Henning Kamp b994e1c2a4 Driver for 3c505 boards. Uses the onboard firmware, which is not a good
way to do it.  Doesn't support DMA or high speeds.

Contributed by:	Dean Huxley <[email protected]> via NetBSD
1995-04-08 09:39:36 +00:00
Poul-Henning Kamp 12cfa43650 Added the "eg0" interface driver for the 3Com "3c505" or "etherlink/+"
card.  This is the braindamaged card with the 80186 CPU on it.  It is
slow, probably not very good after all, but hey, if you have one lying
around doing nothing anyway...

Added the "zp0" driver to GENERIC.
1995-04-08 09:36:04 +00:00
Bruce Evans 9f747fa23e Submitted by: J.T. Conklin <[email protected]>
Second part of update to fdlibm 5.2: speed up argument reduction for trig
functions in the case pi/4 < |x| < 3pi/4.

Remove unused static constants ("one").
1995-04-07 23:23:27 +00:00
Bruce Evans b29986e0f1 Submitted by: J.T. Conklin <[email protected]>
First part of update to fdlibm 5.2: fix jn(n, x) and jnf(n, x).
jn(-1, x) was too large by a factor of 3.
1995-04-07 23:13:43 +00:00
John Fieber f9fc2cff0c Fixed a big typo pointed out by phk. 1995-04-07 16:45:35 +00:00
Bruce Evans 980f2abdb8 Reviewed by: ache and wollman (long ago)
isctype.c:
o The tolower() and toupper() functions duplicated too much code
  and were out of date (surprise).  This didn't matter because
  it was difficult to call them.
o Change formatting to be more like that in <ctype.h> (with
  extra parentheses as in the macros).  Perhaps this file should
  be machine generated or everything should be handled like
  __tolower() so that no code is repeated.

nomacros.c:
o Instead of looking at _USE_CTYPE_INLINE_ to see what <ctype.h>
  has done, set _EXTERNALIZE_CTYPE_INLINES_ to tell <ctype.h>
  what to do, so that we don't have anything left to do.  Note
  that code is now generated even if inlines are used by default.
  This allows users to switch to non-inline versions.
1995-04-07 11:52:17 +00:00
Bruce Evans 18c34920f8 Reviewed by: ache and wollman (long ago)
Fix numerous ANSI conformance bugs and other nits.

ctype.h:
o There were no prototypes behind the macros (conformance bug).
o isascii() didn't have enough parentheses (plain bug).
o tolower() and toupper were always static inline (conformance
  bug?  You could undef them and take their address, but this
  gave different addresses in different modules.  You couldn't
  undef them and declare them (correctly) again).  <stdio.h>'s
  treatment of putc() shows one way to handle this problem,
  but it only works because the putc() macro is allowed to
  reevaluate its args.  I used a hack controlled by
  _EXTERNALIZE_CTYPE_INLINES_ to get <ctype.h> to generate the
  code (the previous hack involving _ANSI_LIBRARY_ goes away).
  This has the advantage that the core of the functions is only
  written down once and the disadvantage that another layer of
  functions is required.  The extra layer goes away if inline
  functions are used, leaving only the problem of understanding
  why there are functions named toupper(), __toupper and
  ___toupper() as well as a macro named toupper.
o Nothing seems to define _USE_CTYPE_LIBRARY_.  Eliminate it
o Let the user set _USE_CTYPE_INLINE_ and _DONT_USE_CTYPE_INLINE_
  for full control over inlining.
o The args for the inline functions didn't have enough
  underscores (conformance bug).
o The formatting and ordering was inconsistent (style bug).
o TODO: fix conformance bugs brought by including <runetype.h>.
1995-04-07 11:43:40 +00:00
Andrey A. Chernov ead39f6e45 Move inline args out of user namespace.
Obtained from: 1.x
1995-04-07 09:56:10 +00:00
Nate Williams 5a5755a556 Because -lcompat defines the same symbols as -lgnuregex and the weakness
of the linker to enforce linking of modules in command line order it is
not possible to link gdb shared with -lcompat.

*HACK ALERT*
Removed -lcompat from LDADD and bring in the necessary functions out of
libcompat as a source module until the linker can be fixed.
1995-04-07 05:13:26 +00:00
Nate Williams 7e613ac7bd Back out my change to enforce command line linker order due to
underlying bugs which are caused by mixing static/shared libraries with
this change in place.

The shlib code is not capable of supporting this feature in it's present
state and will need significant modifications in order to do so.
1995-04-07 05:08:28 +00:00
Poul-Henning Kamp d2b9896124 Various changes:
tip removed from cpio.flp (!)  crunch chokes on it after the latest changes.
source for secure & eBones moved into securedist.
1995-04-07 01:20:26 +00:00
Satoshi Asami b43cac1cdd Added Nobuhiro Yasutomi and Akito Fujita, deleted me (Satoshi, not
Michael :) from "Additional Contributors" list.
1995-04-06 17:26:14 +00:00
Bruce Evans ffe57f1a20 Obtained from: 1.1.5 (originally by jtc)
Fix printf("%g", 0.0) - print "0", not "0.".  The previous fixes in this
area had one non-cosmetic (non-)change that caused this bug.

Bruce
1995-04-06 16:28:15 +00:00
John Fieber f85e2485b8 The skeletal framework for the FreeBSD help system. Point a WWW
browser at index.html to see how it works.  Ultimately what currently
lives in the tutorials section will become the User and Admin manual
sections.
1995-04-06 15:56:10 +00:00
Andrey A. Chernov 70e6b1cd61 Manpage not installed 1995-04-06 14:41:50 +00:00
Andrey A. Chernov e64ae15d3a Add port IO_PPI for pca per Bruce suggestion 1995-04-06 14:01:20 +00:00
Andrey A. Chernov a30090c5f7 Print "on isa" for devices with port==0 per Bruce suggestion 1995-04-06 13:55:56 +00:00
Rodney W. Grimes 5f34517b1c Output the CPU features line during the probe on a seperate line, for
folks with lots of features the output use to wrap and look ugle.

Reviewed by:	phk
1995-04-06 07:55:42 +00:00
Rodney W. Grimes 74fa89f4f5 Correct recalibrate/seek code at attach time so that we do not get
all the ``fdc0: ready for output in input'' messages when probing
for ft devices.

Submitted by:	Steve Gerakines <[email protected]>
1995-04-06 07:20:16 +00:00
Jordan K. Hubbard d31b19afb1 The negative expire times shown by netstat are confusing and ugly.
Destination      Gateway            Flags     Refs     Use     Netif Expire
199.182.75.128   link#1             UC          0        0       ed0 -842660
Submitted by:	John Capo <[email protected]>
1995-04-06 06:09:44 +00:00
Jordan K. Hubbard ce0436e7a6 It has always bugged me that ps and w did not display su with tcsh
properly.  I know, tcsh is not a "Real Shell".

jc       p2 :0.0             Tue04PM     - -u (tcsh)
                                           ^^^
7173 p2  S+     0:01.33 -u (tcsh)
			^^^

Submitted by:	John Capo <[email protected]>
1995-04-06 06:06:47 +00:00
Jordan K. Hubbard 0264a8a9c6 0x330 is the default address for SB Midi, not 0x300
Submitted by:	Doug Rabson <[email protected]>
1995-04-06 03:22:12 +00:00
Jordan K. Hubbard 0039743841 Don't spit out a gratuitous ibcs2 startup message. 1995-04-06 02:38:37 +00:00
Joerg Wunsch d108492508 The man page setmode(3) declares `void setmode' when it should be
declared `void *setmode'.

Submitted by:	[email protected]
1995-04-05 22:56:45 +00:00
Joerg Wunsch fe89da38f6 Sed dumps core when linked with some coalescing malloc because it
doesn't initialize malloced structure.

Submitted by:	[email protected]
1995-04-05 22:55:27 +00:00
Jordan K. Hubbard 04ed90efd4 Close message catalogs. 1995-04-05 13:16:30 +00:00
Jordan K. Hubbard cd3a5023d6 Correct the watchdog routine.
Submitted by:	"Serge A. Babkin" <[email protected]>
1995-04-05 13:12:13 +00:00
Andras Olah 755c1f07c8 Fix a bug in tcp_input reported by Rick Jones <[email protected]>.
If a goto findpcb occurred during the processing of a segment, the TCP and
IP headers were dropped twice from the mbuf which resulted in data acked
by TCP but not delivered to the user.
Reviewed by:	davidg
1995-04-05 10:32:14 +00:00
Jordan K. Hubbard 3df0a1ed3f Add Satoshi Asami. 1995-04-05 10:22:58 +00:00
Jordan K. Hubbard 7ab533048d Update information on newsgroups. 1995-04-05 10:04:56 +00:00
David Greenman 7172ec19fd From Matt Thomas: Finished EISA support. 1995-04-05 08:19:23 +00:00
Jordan K. Hubbard 4ba103156d Latest version of this package from Wolfram. Is now /etc/sysconfig aware,
handles default settings and has a prototype translation file for people
wishing to add extra languages (please!).
Submitted by:	Wolfram Schneider <[email protected]>
1995-04-05 08:09:25 +00:00
Jordan K. Hubbard 55f61a13e3 Latest language support changes from Wolfram.
Submitted by:   Wolfram Schneider <[email protected]>
1995-04-05 08:02:52 +00:00
Jordan K. Hubbard 761b249a88 Latest language support changes from Wolfram.
Submitted by:	Wolfram Schneider <[email protected]>
1995-04-05 08:02:24 +00:00
Nate Williams 070e3ec139 Modify behavior of INCLUDES to never look in /usr/include unless we
can't find the src/include directory.

Reviewed by:	"Rodney W. Grimes" <[email protected]>
Submitted by:	Mike Pritchard <[email protected]>
1995-04-05 04:10:58 +00:00
Bill Paul 3670011ae8 Added a new feature from Peter Eriksson's latest release of ypserv (0.13):
register ourselves as an NIS version 1 UDP server to pacify older SunOS 4
ypbinds that seem to insist on having one around. All this does is allow
ypserv to respond to DOMAIN_NONACK requests that are periodically
transmitted by ypbind: the server will not actually work as an NIS v1
server in any other way.

Unlike the mainline code, which implements this as a compile-time
option, this feature can be turned on with the newly-added -k flag
at runtime.

Bunped version number to 0.13. (What the hell.)

Updated the man page to reflect this change, also made a couple of small
edits to reflect the recent changes in the /etc/rc* setup.
1995-04-05 03:23:40 +00:00
Jordan K. Hubbard d5b3cf8435 options LKM is now the default. No need to reference option that's
already turned on (and isn't in LINT).
1995-04-05 01:06:00 +00:00
Andrey A. Chernov 29ecb6a386 Print "on motherboard" for isa? devices with id_iobase == 0 1995-04-04 22:48:40 +00:00
Søren Schmidt 8c4344bebd Fixes to the hardware cursor emulation.
Submitted by:	ache
1995-04-04 20:06:26 +00:00
Rodney W. Grimes 756097f16a Bring down the old version of Makefile from the Attic and replace with this
bmake version of Makefile to build and install dcfd.

Submitted by:	Vincenzo Capuano <[email protected]>
1995-04-04 17:48:02 +00:00
Andrey A. Chernov d9e7919357 Set desired cursor type for syscons 1995-04-04 17:34:55 +00:00
David Greenman 9b7f6efb67 Added UIO_NOCOPY. 1995-04-04 17:01:49 +00:00
Andrey A. Chernov a65a3dd65a Move unit structure member down to optimize com->state per Bruce
suggestion. Move hotchar setting to set_bypass routine and rename it
to disc_optim
1995-04-04 16:26:04 +00:00
Andrey A. Chernov ffe8306afd Add "before inclusion of any header which ... "
Suggested by: bde
1995-04-04 11:29:51 +00:00
Jordan K. Hubbard 30854325fe Add USE_X11 for ports which are X11 users but don't use IMAKE. 1995-04-04 05:57:19 +00:00
Bill Paul ef8f52ad53 'Fix' for esoteric misfeature discovered while searching for another bug:
select() returns EINVAL if you try to feed it a value of FD_SETSIZE greater
that 256. You can apparently adjust this by specifying a larger value of
FD_SETSIZE when configuring your kernel. However, if you set the maximum
number of open file descriptors per process to some value greater than
the FD_SETSIZE value that select() expects, many selects() within the RPC
library code will be botched because _rpc_dtablesize() will return
invalid numbers. This is to say that it will return the upper descriptor
table size limit which can be much higher than 256. Unless select() is
prepared to expect this 'unusually' high value, it will fail. (A good
example of this can be seen with NIS enabled: if you type 'unlimit' at
the shell prompt and then run any command that does NIS calls, you'll
be bombarded with errors from clnttcp_create().)

A temporary fix for this is to clamp the value returned by _rpc_dtablesize()
at FD_SETSIZE (as defined in <sys/types.h> (256)). I suppose the Right
Thing would be to provide some mechanism for select() to dynamically
adjust itself to handle FD_SETSIZE values larger than 256, but it's a
bit late in the game for that. Hopefully 256 file descriptors will be enough
to keep RPC happy for now.
1995-04-04 05:53:22 +00:00
Bill Paul 958f4e365d getpwent.c: fix problem with emacs dumping core when NIS is enabled. Also
add #includes for YP headers when compiling with -DYP to avoid some implicit
declarations.

getgrent.c & getnetgrent.c: add some #includes to avoid implicit declarations
of YP functions.
1995-04-04 05:36:16 +00:00
Gary Palmer 9a8496fd7b Remove a `.' from the end of the echo line
`>> Attempting to fetch from $${site}' as it is misleading
1995-04-04 04:23:37 +00:00
David Greenman bb2d12a636 Check for case of blkno already known to avoid unnecessary VOP_BMAP's.
Submitted by:	John Dyson
1995-04-04 02:10:17 +00:00
David Greenman 6824b322b1 Added prototype for phashinit() function. 1995-04-04 02:02:28 +00:00
David Greenman 22e53424b2 kern_subr.c:
Added a new type to uiomove - "UIO_NOCOPY" which causes it to update
pointers and counts, but doesn't do any data copying. This is needed
for upcoming changes to the way that the vnode pager does its page
outs.
Added a new hash init function call "phashinit" that allocates and
initializes a prime number sized hash table.

vfs_cache.c:
Changed hashing algorithm to use the remainder of dividing by a prime
number to improve the distribution characteristcs. Uses new phashinit
function in kern_subr.c.
1995-04-04 02:01:13 +00:00
David Greenman 2e837708b1 Fixed the formatting breakage I added in the previous commit. 1995-04-04 01:35:33 +00:00
Andrey A. Chernov 05e2ed0de3 Properly describe how to expand default limit of handled descriptors 1995-04-04 01:27:54 +00:00
Joerg Wunsch 29c52ddd49 date(1) didn't emit a final newline if the format had been specified
with `+'.  This breaks tradition and violates Posix 1003.2.

Discoverd by: [email protected] (Luigi Rizzo)
1995-04-03 20:08:33 +00:00
Andrey A. Chernov 021ad37586 Allow serial console BREAK to DDB
Use com->unit in several places
1995-04-03 10:29:14 +00:00
Nate Williams 13eb8ded47 This is the 90's, ask the user for a Subject by default when sending mail. 1995-04-03 05:40:54 +00:00
Nate Williams 146e71662f Added -I/usrinclude to the tail end of the INCLUDES line. This hack
will cause kernel compiles to work even if the src/includes directory
doesn't exist but still do the 'Right Thing' and pull files from the
source tree if it does exist.

Reviewed by:	Bruce Evans
1995-04-03 01:13:50 +00:00
Bill Paul 9711ae2a9f Fix implicit declaration the right way. (This has not been a good
weekend for me.)
1995-04-03 00:25:06 +00:00
Bill Paul a10f48530b Fix implicit declaration of cngetc(). 1995-04-02 23:02:17 +00:00
Bruce Evans df62fcee1f Update declaration to match the change made to dir.c a few hours ago. 1995-04-02 22:53:36 +00:00
Bill Paul 0b2a7a1bff Take yp_svc.c out of CLEANFILES rule. 1995-04-02 20:28:09 +00:00
Bill Paul f9dde4e78c Submitted by: Sebastian Strollow
Obtained from: Casper H. Dik (by vay of Usenet)

Small patch to help improve NIS rebinding times (among other things):


>From: [email protected] (Casper H.S. Dik)
>Newsgroups: comp.sys.sun.misc,comp.sys.sun.admin
>Subject: FIX for slow rebinding of NIS.
>Summary: a small change in libc makes life with NIS a lot easier.
>Message-ID: <[email protected]>
>Date: 17 Jan 92 17:39:05 GMT
>Sender: [email protected]
>Organization: FWI, University of Amsterdam
>Lines: 138
>Nntp-Posting-Host: halo.fwi.uva.nl

Have you been plagued by long waits when your NIS server is rebooted?
READ ON!

Sun has a patch, but the README says:

********************* WARNING ******************************

  This is a new version of ypbind that never uses the NIS
  binding file to cache the servers binding. This will have
  the effect of fixing the current symptom. However, it might
  degrade the overall performance of the system when the
  server is available. This is most likely to happen on an
  overloaded server, which will cause the network to produce
  a broadcast storm.

*************************************************************

Therefor, I have produced another fix.

o What goes wrong.

When the NIS server is rebooted, ypserv will obtain different ports
to listen for RPC requests. All clients will continue to use the old
binding they obtained earlier. The NIS server will send ICMP dst unreachable
messages for the RPC requests that arrive at the old port. These ICMPs
are dropped on the floor and the client code will continue sending the
requests until the timer has expired. The small fix at the end of this
message will pick up these ICMP messages and deliver them to the RPC layer.

o Before and after.

I've tested this on some machines and this is the result:

	(kill and restart ypserv on the server)

original% time ypmatch user passwd
user:....
0.040u 0.090s 2:35.64 0.0% 0+126k 0+0io 0pf+0w (155 seconds elapsed time)

fixedhost% time ypmatch user passwd
user:....
0.050u 0.050s 0:10.20 0.9% 0+136k 0+0io 0pf+0w (10 seconds elapsed time)

Rebinding is almost instantaneous.

o Other benefits.
	RPC calls that use UDP as transport will no longer time out but
	will abort much sooner. (E.g., the remote host is unreachable or
	111/udp is filtered by an intermediate router)
1995-04-02 20:05:20 +00:00
Bill Paul adaf7ba36a Add back some stuff to yppush.c that I was a little over-zealous in
removing. Also do away with compiling yp_svc.c: yppush doesn't need it.
1995-04-02 20:01:50 +00:00
Bill Paul 6cc65caedb Fix xdr_ypmap_parms() so that it agrees with xdr_domainname(), xdr_peername()
and friends.
1995-04-02 19:58:29 +00:00
Andrey A. Chernov b97843726d Fix manpage rule 1995-04-02 19:35:40 +00:00
Andrey A. Chernov bedbd95393 Back out changes related to locked bits until more elegant
solution will be found. Remove some unused variables sneaked in.
1995-04-02 19:28:58 +00:00
Andrey A. Chernov efb76ea60f Back out changes related to locked bits until more elegant solution will be
found. Fix flags declarations.
1995-04-02 19:26:50 +00:00
Bruce Evans 8c62f8d80f Remove redundant declarations. 1995-04-02 19:05:09 +00:00
Bruce Evans 73d1243fe5 Include <stdlib.h> so that malloc() is declared. 1995-04-02 19:01:07 +00:00
Bill Paul b8ca7ca6c6 Removed code from yp_xdr.c module that now lives in libc. (Unfortunately,
ypxfr can't easily be reduced down to one file like yppush because it
needs to do certain special things (such as binding to a specific
machine (the NIS master)) which the yp_*() functions in libc don't
allow.
1995-04-02 17:01:31 +00:00
Bruce Evans 11a40aa5ad Submitted by: Philippe Charnier <[email protected]>, added to by bde
Fix all the warnings from `gcc -Wall'.
1995-04-02 16:52:14 +00:00
Bruce Evans 444da1eb3c Make this actually work. It always failed in FreeBSD because it attempted
to open the mounted block device containing the directory to put the bad
sector files in, and opening of mounted block devices hasn't been allowed
since Net/2 or before.  Attempt to open the raw device instead.  Be more
careful about long names.

Use lstat() instead of stat() to search for block devices so that my
symlink to the default floppy doesn't cause problems.

Check for truncation of the block number when it is squeezed through the
mknod() interface.  The maximum used to be only 32767, but now it large
enough.
1995-04-02 16:36:39 +00:00
Joerg Wunsch 9bb751a368 Attempt to fix the `you can log into console only once' problem (PR
#179).  The fix implements a ttyhalfclose() (sort of), resetting the
session and pgrp pointers when the physical device is about to be
closed.

Suggested by: bde
1995-04-02 16:14:51 +00:00
Bill Paul 56e74043f4 Make yppush compile again when obj directory exists. *groan* 1995-04-02 16:00:30 +00:00
Bruce Evans 3eeb5bdcb3 Submitted by: Philippe Charnier <[email protected]>, distilled by bde
Fix a couple more bogus types that aren't reported by `gcc -Wall'.
1995-04-02 15:25:19 +00:00
Bruce Evans 31f4ab50bc Submitted by: phk, added to by bde
Fix all the warnings from `gcc -Wall'.
1995-04-02 14:52:29 +00:00
Bruce Evans 15519b2f58 Fix compiler warnings: don't declare enum types as static. 1995-04-02 13:11:14 +00:00
Andrey A. Chernov 890bf1b00d Fix error:
old type (stty) ioctls can easily bypass locking bits.
It involves manual conversion from old ioctls to new ones,
large piece of code duplicated from tty_compat.c
1995-04-02 04:21:09 +00:00
Andrey A. Chernov c6345bc1b6 Fix error in TIOCSETC/TIOCSLTC, they need to call TIOCSETA.
Remove static from some functions, needed in sio (later)
1995-04-02 04:15:08 +00:00
Andrey A. Chernov 1ef5e50eee Return EINVAL instead of setting wrong in/out speed
Fix declaration of cc arrays
Remove static from compatspcodes, will needed in sio (later)
1995-04-02 03:51:53 +00:00
Bill Paul 9f3db41ff5 Fix long standing bogosity in ypbind: if /var/yp/binding doesn't exist,
ypbind is supposed to create it but it doesn't. This is because when
it checks the return value for the attempted open() of
/var/yp/binding/DOMAIN.VERSION, it tests only for a value of -1. This
is bogus because open() doesn't return -1 in this case. Now it checks
for < 0 instead.

This should make life easier for many NIS-newbies who would otherwise
be left scratching their heads wondering why the NIS client stuff won't
work despite their best efforts. ("I set the domain name on my machine,
and /var/yp exists, but when I start ypbind and try a 'ypcat passwd,'
it says it can't bind to a server for this domain! Please help!")

*long, heavy sigh*
1995-04-02 03:10:55 +00:00
Bill Paul df561fc414 Spruce up Makefile.yp: add support for netgroups and bootparams maps,
make use of yp_mkdb's -i, -o and -m flags.
1995-04-02 01:53:47 +00:00
Andrey A. Chernov 5fba2bf3bd Move SET_BYPASS macro to function per Bruce suggestion.
Add set_bypass() call after l_close.
Move ttioctl()/set_bypass() pair under spltty() protection
1995-04-02 01:47:06 +00:00
Bill Paul 84e41ecfbe Get rid of ether_addr.c: it's been moved to libc. Also add proper
declaration for ether_ntohost(). (Does anyone know what header file
is supposed to contain the declarations for the ether_addr functions?
I can't them in the SunOS includes anywhere.)
1995-04-02 01:35:54 +00:00
Bill Paul 7680d1b004 Add ether_addr functions to libc. This seems to be the logical place
to put them. A man page is in the works.
1995-04-02 01:31:17 +00:00
Bill Paul 5f6d32c735 Add declaration for struct ether_addr (this is where Sun documents
it to go).
1995-04-02 01:26:26 +00:00
Bill Paul 812647ed6b Reduce yppush. Now that all the required yp_xdr functions are
in libc, we can get rid of the private/special copies of yp_*.c
files and rpcgen them at compile time instead. This leaves us with
just one unique source files: yppush.c
1995-04-02 01:10:13 +00:00
Bill Paul 97fd4ecfb6 Add some missing xdr functions needed for server-side implementations.
(This is to help me reduce yppush a bit: it has its own copy of yp_xdr.c
right now, but I can get rid of it now that this stuff is here.)
1995-04-02 01:02:17 +00:00
Bruce Evans 439b2b1e9c Add braces to fix wrong if-if-else-if nesting that broke `cp -pR' for
fifos.
1995-04-02 00:49:16 +00:00
Andrey A. Chernov d8e3948cc1 Finally restore my original MAIL fix after all junk patches. 1995-04-02 00:16:09 +00:00
Bruce Evans 5f679211e3 Fix slioctl(). It has to return -1 for ioctls that it doesn't know about
so that these ioctls can be handled by the calling layer(s).

Clean up the recently added code:
- include the appropriate header to declare an implicitly declared function.
- declare timeout functions correctly and remove numerous bogus casts that
  hid (but didn't fix) their incorrectness.
1995-04-02 00:11:48 +00:00
Andrey A. Chernov 5daae55cdf Move setting BYPASS state to macro, use it in several times,
after ttioctl too, because it can change t_line.
Remove (TS_CNTTB | TS_LNCH) test, it is always inherits from
old tty mode and can't be reach in currently setted mode.
1995-04-01 23:56:08 +00:00
Andrey A. Chernov 6a5f6acc8d Adjust TS_CAN_BYPASS_L_RINT state after l_open(), t_line
can be changed there.
1995-04-01 22:57:43 +00:00
Andrey A. Chernov 8a9f513775 slopen() never sets t_line to SLIPDISC, but uses slip-specific queue allocation 1995-04-01 22:11:10 +00:00
Joerg Wunsch 76e2642ce4 subr_prf.c used to provide an exported function kprintf(), but only had
a private declaration for it.  Declare the function publically instead.
1995-04-01 20:19:00 +00:00
Joerg Wunsch 7fd9907e0b Correct a few minor things in pcvt:
o  the includes are now properly done by <sys/foo.h> instead of "foo.h"
o  a bunch of undeclared functions has been resolved
o  pcvt finally supports devconfig
1995-04-01 20:16:15 +00:00
Bruce Evans 65202423ff Fix count in mark_for_update() for insert-char(s) and delete-char(s).
Everything from the cursor to the end of the line must be updated.

Fix comment about erase-char(s).
1995-04-01 19:57:36 +00:00
Justin T. Gibbs 25e44d3935 Log ABORT_TAG messages to the console.
When attempting to abort a command, don't assume that just because the
sequecer happens to have SCBPTR pointing at the scb we want that it is
an active command.
1995-04-01 19:53:04 +00:00
Justin T. Gibbs cc865dd008 Off by one error in -MSG-START+0 was just Justin being tired -- revert to
old value.

Remove unnecessary check for active messages in setup SCB.  This same test
would also jump to p_mesgin_done which would "ACK" an extra time possibly
confusing the target.

Tell the kernel driver whenever we send an ABORT_TAG message.
1995-04-01 19:51:40 +00:00
Bill Paul ef230bdf24 Log syslog messages at LOG_NOTICE priority. 1995-04-01 19:31:12 +00:00
Bill Paul 8e36f47bd5 Remove yppasswd_xdr.c and take out references to if from Makefile: use
-lrpcsvc instead.
1995-04-01 19:23:11 +00:00
Bill Paul 8ae049436c Remove references to yppasswd_xdr.c: the stuff in this file already exists
in librpcsvc. Add -lrpcsvc to LDADD instead.
1995-04-01 19:19:15 +00:00
Joerg Wunsch 175fa6182a Update pcvt to 3.20b23
Submitted by:	Hellmuth Michaelis <[email protected]>
1995-04-01 17:16:40 +00:00
Bruce Evans e1bc021264 Include <machine/cpufunc.h> to get i/o functions - don't duplicate almost
200 lines of code.
1995-04-01 16:08:58 +00:00
Bruce Evans 19b204bc85 Fix dependencies for netboot.rom. ${OBJS} isn't valid when the
dependencies are checked - it is set much later in bsd.prog.mk.

Add a comment about broken dependencies on options.
1995-04-01 16:03:25 +00:00
Andreas Schulz 0479c3b471 Delete a second getenv("MAILPATH") that happens immediately after a first
try. Doesn't make sense.
1995-04-01 15:50:04 +00:00
Andrey A. Chernov 213abfcf47 Add missing ';' 1995-04-01 12:55:33 +00:00
Andrey A. Chernov c6e19ceaa0 Use new TS_CAN_BYPASS_L_RINT state to avoid complex test
each time.
Remove unefficient loop of zeroing error chars in siopoll(),
now done at interrupt level.
1995-04-01 12:01:13 +00:00
Andrey A. Chernov 3c0c5e2163 Add TS_CAN_BYPASS_L_RINT state for serial devices 1995-04-01 11:58:27 +00:00
Joerg Wunsch f000edcf92 Fix the
Ignore wrong indent value: ``''

bug, as reported by Chris Kukulies.
1995-04-01 11:43:09 +00:00
Jordan K. Hubbard a6ae8257a8 By default, KEYWORDS is a copy of CATEGORIES. 1995-04-01 10:01:49 +00:00
Jordan K. Hubbard c9cf4a47d8 Add default values and document them for CATEGORIES and KEYWORDS. 1995-04-01 09:35:29 +00:00
Jordan K. Hubbard 2cc9ea7aee Add support for new CATEGORIES and KEYWORDS fields. 1995-04-01 09:34:11 +00:00
Jordan K. Hubbard c35cf316d8 Greatly clean up the Makefiles and add a Makefile.inc to more obviously
advertise tip's choice of location and perms.
1995-04-01 09:14:37 +00:00
Andrey A. Chernov 3d0b7a8e9f Check for never opened or closed device before testing
terminal flags at interrupt level
1995-04-01 06:55:24 +00:00
Andrey A. Chernov c0e553d42d Add hook for rc driver
Submitted by: bde
1995-04-01 04:56:32 +00:00
Andrey A. Chernov 179b3cdf2d Make /usr/share/nls/* dirs for message catalog stuff 1995-04-01 04:47:43 +00:00
David Greenman b4fff2ae1a Patch from Greg Ansley:
In rare cases, when the filter specified accesses an multi-byte value that
is split across mbuf's, the value loaded is incorrect.  And if you are very
unlucky (like me) it will index off the end of the mbuf and into an
unallocated page and panic the system.

If you look at the code you will discover the the index *k* is added to
the pointer *cp* and the used AGAIN as a subscript.
1995-04-01 01:46:27 +00:00
David Greenman 1fca221ae2 Patch from Matt Thomas to fix mbuf leak in FDDI driver. 1995-04-01 01:43:56 +00:00
Garrett Wollman 478140b95f Forgot to add these two.
Submitted by:	Mark Tinguely <[email protected]>
1995-03-31 21:18:13 +00:00
Garrett Wollman 94036a8cf0 Fix paths of dump files and PID file.
Added man pages for mrinfo and map-mbone.
Rewrote all man pages to use mdoc(7).

Submitted by:	Mark Tinguely <[email protected]>
1995-03-31 21:16:59 +00:00
Jordan K. Hubbard 0f976d1e04 I must have been very sleepy last night, sigh..
1. Nuke out the aculib files that crept in somehow by mistake.
2. Fix the ${.CURDIR} path so that this stuff actually compiles.
   It actually compiled for me before the commit, but I must have had
   something short-cutting the bug.
1995-03-31 21:04:48 +00:00
Bill Paul 4f93d7d4de One line fix to silently ignore entries that start with a '+' or '-'.
This prevents yp_mkdb from adding magic NIS entries to NIS maps themselves.
1995-03-31 19:45:13 +00:00
Justin T. Gibbs bbf437ee54 Mask the call to ahc_attach with an splbio/splx pair. This allows us
to poll succesfully even if we are sharing the interrupt.

Register the interrupt handler before the attach.

This commit makes the 294x PCI shared interrupt compliant.  This has
been tested with an aic7870 motherboard controller and a 294x in the
same machine shareing an irq.
1995-03-31 14:08:33 +00:00
Justin T. Gibbs 5743c01c3f Major overhaul of the aic7xxx driver:
- Report valid residual byte counts.  We actually pause the sequencer
	  when the residual is non-zero.  I thought about using DMA to do this,
	  bus sequencer program space is tight.

	- Fix embarassing off by one error in the computation of a 2's
	  compliment variable.  This was most likely the cause of the
	  many problems reported with the tagged queuing code.

	- Handle "MAX_SYNC" as a special case (ie we are the ones starting
	  the sync negotiation sequence).  This was done so that the target
	  scratch area can be initialed to 0 offset (asyncronous transfers)
	  safely.  The initialization to 0 (was 15) is necessary since in
	  some cases a Wide negotiation could run into problems if SCSIRATE
	  was set wrong and we went into data(in/out).

	- Trim the DMA routines a little by using some procedures.  Net
	  effect is more functionality with 3 less instructions after this
	  update.

	- Toggle the WIDEODD bit of the DFCNTRL whenever this is not the
	  last SG block.  It has no effect in the 8bit bus configuration,
	  but in the Wide configuration ensures that the overlap byte is
	  held in the SCSI block if the transfer is odd so it will end
	  up in the next SG (the correct behavior).
1995-03-31 14:06:02 +00:00
Justin T. Gibbs c5e0851d47 Major overhaul of the aic7xxx driver:
- catch the interrupt type (EDGE/LEVEL) before chip reset instead
	  of guessing the right type.

	- Add pause variable to the ahc struct to better handle the different
	  interrupt types and pausing the sequencer.

	- CLRINTSTAT -> CLRSCSIINT: This is a documented bit in the CLRINT
	  register in newer Adaptec documentation, so use their name for it.

	- Report valid residual byte counts.

	- Don't mess with the target scratch areas > id 8 on single, narrow,
	  channel devices.  The BIOS does a checksum of this area and can
	  flip out if we zero it out.

	- Initialize the sequencer FLAGS scratch ram variable in the single
	  channel devices to 0.  This was the cause of the annoying warning
	  where we would get a cmdcmplt the first time we did any type of
	  transfer negotiation with no valid scb.  It also fixes the problem
	  that looked like the INTSTAT register wasn't clearing fast enough.
	  This only showed up on 294x cards, not motherboard aic7870s.

	- Add the AHC_AIC7870 type and use it as the superset of aic7870
	  based controllers.

	- clear the sync offset section of the targ scratch area so that
	  we default to asyncronous transfers.  This was only a problem
	  for wide controllers because there was a scenario where the
	  offset wouldn't get updated before a data(out/in) phase would
	  occur.  This required some change in the sequencer code since we
	  were depending on this field to hold the rate to negotiate.

	- allow sync and wide negotiated commands to be tagged (the sequencer
	  now handles this properly).
1995-03-31 13:54:41 +00:00
Justin T. Gibbs 793ac7a94c Use EISA_MAX_SLOTS to be consistent with other EISA drivers.
Fix off by one error in slot probe.

Update some comments.
Submitted by: [email protected]
1995-03-31 13:36:57 +00:00
Jordan K. Hubbard 6c7de23fdb Back out the previous commit. 1995-03-31 11:48:35 +00:00
Jordan K. Hubbard 18cc36fb15 Tom Gray's new tip changes to support a modem capabilities database and
fixes to many assorted bugs and misfeatures.
Submitted by:	Tom Gray - DCA <[email protected]>
1995-03-31 11:47:39 +00:00
Jordan K. Hubbard 9cd4774910 Add modem database file for new tip changes. 1995-03-31 11:41:58 +00:00
Andrey A. Chernov c03e3a2617 Fix overrun error define name 1995-03-31 11:04:22 +00:00
Andrey A. Chernov dfd88e5a00 Fix typing error sneaked somehow in prev. commit 1995-03-31 11:01:29 +00:00
Nate Williams 7b1fcc6ab5 Forgot one FreeBSD specific change needed.
date: 1995/02/04 20:27:23;  author: phk;  state: Exp;  lines: +1 -1
added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.
1995-03-31 08:21:06 +00:00
Nate Williams 73a425b915 Temporarily disable building CVS to avoid anyone hosing up their CVS
tree until a bit more testing is done.

Submitted by:	[email protected] "Rod Grimes"
1995-03-31 08:00:06 +00:00
Nate Williams 01c3e6a55a Merged in FreeBSD necessary changes in. Note, all of our source
modifications were *not* merged in (FreeBSD-DEVELOPER and symlink) but
the source is now the stock sources.
1995-03-31 07:55:30 +00:00
Nate Williams 488f2c4c00 This commit was generated by cvs2svn to compensate for changes in r7516,
which included commits to RCS files with non-trunk default branches.
1995-03-31 07:45:34 +00:00
Nate Williams 30d2417fd3 Original sources from CVS-1.4A2 munged to fit our directory structure. 1995-03-31 07:45:34 +00:00
Nate Williams 06d8715958 Original sources from CVS-1.4A2 munged to fit our directory structure. 1995-03-31 07:45:34 +00:00
Nate Williams 789377fada This commit was generated by cvs2svn to compensate for changes in r7514,
which included commits to RCS files with non-trunk default branches.
1995-03-31 07:45:33 +00:00
Nate Williams 33afdd16ab Original sources from CVS-1.4A2 munged to fit our directory structure. 1995-03-31 07:45:33 +00:00
Jordan K. Hubbard 85fad26631 I noticed that the current version of ncftp dos not do the very useful
job af warning me about mail as my work version does. This patch will
will fix this for bash(1) if MAILPATH is exported:
Submitted by:	Mark Murray <[email protected]>
1995-03-31 07:02:49 +00:00
Jordan K. Hubbard ee0afc78a8 Patches to make this work with FreeBSD with the DCF77 Boeder Receiver.
This is only useful to European users (esp. Germans) as DCF77 transmits
from Frankfurt.
Submitted by:	Vincenzo Capuano <[email protected]>
1995-03-31 07:01:11 +00:00
Jordan K. Hubbard b32d3189e4 Diskless boot support for 3C509.
I'm not exactly sure why all the inb/outw stuff got added to netboot.h
and I'd be happy if someone like Martin or Bruce could take a look at it!
Submitted by:	"Serge A. Babkin" <[email protected]>
1995-03-31 06:51:37 +00:00
Jordan K. Hubbard ec835d2414 * Promiscuous mode added and interrupt logic slightly changed
*  to reduce the number of adapter failures. Transceiver select
 *  logic changed to use value from EEPROM. Autoconfiguration
 *  features added.
Submitted by:	"Serge A. Babkin" <[email protected]>
1995-03-31 06:41:38 +00:00
Jordan K. Hubbard 496ccdde57 I and Seiji Murata <[email protected]> contributed 3C589 PCMCIA
Etherlink III 'zp' on 2.0R, but it did not work with the -current.
Noriyuki Takahashi <[email protected]> san has fixed this bug.

Our alpha-testers are tested this driver with 3C589B-COMBO and
3C589B-TP.  And it works fine.

I also fixed a little about the use of ZP_DEBUG symbol and beautified
the awful Frankenstein-style indent :-) with "indent -c0 -nfc1 -i4".

[Also merge with Bruce's last changes]

Submitted by: "HOSOKAWA Tatsumi" <[email protected]>
1995-03-31 06:10:22 +00:00
Bill Paul 4b2f613d23 Rework error reporting/logging: although the SunOS documentation says
that ypxfr is supposed to log messages to /var/yp/ypxfr.log if it exists,
using syslog() makes more sense, especially since ypserv does the same
thing already. Try to use stderr by default, and use syslog() if stderr
is not a tty.

Also update the man page to reflect this change.
1995-03-31 05:45:23 +00:00
Joerg Wunsch c0106644ad Wolfram's latest update.
Submitted by:	[email protected] (Wolfram Schneider)
1995-03-31 04:00:53 +00:00
Jordan K. Hubbard 8d0f93af56 Missing const clashes with prototype definition in ntp_stdlib.h; fixed. 1995-03-31 02:30:15 +00:00
Stefan Eßer 244c89d543 Include <stddef.h> for standard definition of offsetof() instead of
defining it explicitly in the driver.
1995-03-31 00:05:08 +00:00
David Greenman 8a31826613 Backed out changes in rev 1.5 that prevent sending FIN if in CLOSING
state. This causes an infinite loop in some rare cases (probably caused
by some other, much more difficult to find bug).
1995-03-30 23:35:55 +00:00
Andrey A. Chernov ca9301398c This sl enhancement helps to keep serial line (modem) connection alive.
It is common case when modem hangs with carier on but don't
receive anything from another side.
This thing commonly healed with hangup and redialing.
Enhancements below allows to determine when such action
is needed and inform attach program with SIGURG signal.
There two ioctls set: outfill and keepalive, used from both
sides of connection. Outfill repeatedly sends FRAME_END with
specified timeout (i.e. 40 seconds). It is needed to get input on
other side even if no user activity on slip line currently.
Keepalive checks FRAME_ENDs from other side, and if no one
got in specified timeout (i.e. 60 seconds, max modem retrain time),
send SIGURG to attach program.
I plan to add code to slattach to handle this thing too.

Reviewed by: wollman
1995-03-30 20:43:32 +00:00
Poul-Henning Kamp 295a3379fe Make build work, even if there is no obj subdir. 1995-03-30 19:45:20 +00:00
Stefan Eßer 7685716d64 Do not try to negotiate synchronous SCSI transfers in the Boot Kernel. 1995-03-30 15:41:33 +00:00
Søren Schmidt 1fe226ce8b Update to new screen update method. 1995-03-30 15:10:20 +00:00
Søren Schmidt 90fffd8e85 Fix probe message printing 1995-03-30 14:33:03 +00:00
Søren Schmidt 085db34497 Emulate hw cursor closely, and get start&end scanlines from BIOS. 1995-03-30 14:32:31 +00:00
Jordan K. Hubbard db2a3eb2aa Add gencat to Makefile
Obtained from: NetBSD
1995-03-30 12:49:25 +00:00
Jordan K. Hubbard 4633c1ace8 Add the gencat command for creating message catalog fodder for the new
catgets* routines.
Obtained from: NetBSD
1995-03-30 12:49:09 +00:00
Jordan K. Hubbard 03060874ed Add a necessary include file for the catgets* routines.
Obtained from: NetBSD
1995-03-30 12:47:56 +00:00
Jordan K. Hubbard 6eaef61813 Add the nls code for XPG3-style message catalogs to libc.
Obtained from: NetBSD
1995-03-30 12:47:27 +00:00
Jordan K. Hubbard c7e6130943 Add nls include to Makefile. 1995-03-30 12:46:36 +00:00
Ugen J.S. Antsilevich 9289ddbe2e make pass work also as the first keyword
(while addf skipped)
Reviewed by:
Submitted by:
Obtained from:
1995-03-30 12:18:10 +00:00
Andrey A. Chernov 923782ecb6 Restore my function key configuration stuff which Rod promise to
restore but really didn't do it.
Restore message from old rc about configuring syscons whith
echo added before it to go to new line after "echo -n xtend" f.e.
and similar stuff.
1995-03-30 09:39:51 +00:00
David Greenman 7b0047e213 Made pmap_testbit a static function. 1995-03-30 08:55:39 +00:00
Poul-Henning Kamp 139762f2be Install the dlopen.3 manpage. 1995-03-30 06:40:31 +00:00
Rodney W. Grimes 8c0aac9163 Make the creation of the header line in /etc/motd be consistent
with other BSD based systems.

Submitted by:	wollman
1995-03-30 06:34:46 +00:00
Rodney W. Grimes 711aa1c272 This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration.  I was not going to
    change that out from under you.... a user never need edit netstart
    or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc.  It is just unworkable as
    a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
    get up,  it doesn't start every bloody daemon that might talk to a
    socket...  netstart ifconfig's the devices and sets up routing if
    configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
    messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
    started before syslogd because if you are the dns server for your domain,
    you'd like named to resolve remote hosts in syslog.conf,  but this is
    a minority case and the trivial workarround is to put the syslog host
    in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
    to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
    NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
    xtend, and all of the syscons stuff
    (this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
    with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
    to this file now) and the full name of the kernel has been restored to
    /etc/motd

Submitted by:	pts
1995-03-30 06:26:19 +00:00
David Greenman 97338af32f Killed Mr. "Falcon". May he rest in peace. 1995-03-30 05:46:17 +00:00
Andrey A. Chernov 8587890744 Move DSIMICROCODE ioctl to 85,
old value (88) is equal SLIOGUNIT ioctl
1995-03-30 05:17:50 +00:00
Bill Paul 8d36de4ea2 Ack... clean up the logfile name generation that I botched in the last
commit.
1995-03-30 04:21:31 +00:00
Bill Paul effe773667 Fix up the way _PATH_YP is used to put together the pathname to the
NIS maps (get rid of extraneous slash a la /var/yp//domainname).

Have ypxfr log all output to /var/yp/ypxfr.log if stdin is not a
tty. This should allow logging to be done when ypxfr is called from
inside ypserv in response to a yppush request.

Update man page to reflect the change (and fix a typo).
1995-03-30 04:14:46 +00:00
Andrey A. Chernov cddeed288c Fix default mailpath 1995-03-30 01:13:41 +00:00
Andrey A. Chernov 5c95f7a6dc Add Delete key description
Fix Right window/Left window/Menu keys numbers
1995-03-30 00:22:29 +00:00
Rodney W. Grimes ad0c439a34 Submitted by: Mahesh Neelakanta <[email protected]>
Change I/O address of Intel EtherExpress driver (ix0) from 0x280 to
0x300.
1995-03-30 00:20:08 +00:00
Andrey A. Chernov b480c2f090 Remove reference to examples/syscons 1995-03-30 00:10:31 +00:00
Andrey A. Chernov 3bea04e934 Remove syscons example 1995-03-30 00:05:58 +00:00
Andrey A. Chernov 0d58dfe47d Add function keys change setup 1995-03-30 00:01:09 +00:00
Andrey A. Chernov bb34201c6a Fixes for new TTY_BI & TTY_OE 1995-03-29 21:26:37 +00:00
Søren Schmidt 736277a951 Optimized the way physical screen updates are done. Now only
update what has actually been touched. This should speed up
screen access on slow hardware.
Introduced setting of "destructive" cursor size, much like
the old hardware cursor.
1995-03-29 20:55:03 +00:00
Andrey A. Chernov 3de5725908 pppinput:
Fix serial errors handling
Add no carrier check
1995-03-29 20:34:17 +00:00
Andrey A. Chernov 29a75ef5be Fix serial error recording using new TTY_BI & TTY_OE 1995-03-29 20:20:01 +00:00
Andrey A. Chernov f1e302d4cc c_iflag handling in setting compat modes now more close to V7 1995-03-29 19:50:58 +00:00
Andrey A. Chernov 3437da9391 Clear IGNPAR in cfmakeraw() instead of set it. 1995-03-29 19:28:35 +00:00
Andrey A. Chernov 64a49d2d33 Oops, fix typing error in prev. commit 1995-03-29 19:24:46 +00:00
Andrey A. Chernov 668a9ccefc Handle TTY_BI now instead of TTY_FE && c == 0 1995-03-29 19:22:37 +00:00
Andrey A. Chernov 9bbcea9480 Remove TTY_OE & TTY_BI definitions to allow translation,
more work required and will follow
1995-03-29 19:05:13 +00:00
Andrey A. Chernov 33eb491fce Add TTY_OE for overrun error and TTY_BI for break condition 1995-03-29 19:03:02 +00:00
Andrey A. Chernov 532f5941b0 Move parmark 0377 double code after control chars processing 1995-03-29 18:55:20 +00:00
Andrey A. Chernov aeab1b50e3 Fix timestamps when using Wall CMOS clock,
optimize dos2unixtime()
Submitted by: [email protected]
1995-03-29 18:48:06 +00:00
David Greenman 2547597bf4 Added a set of braces to make the compiler happy. 1995-03-29 11:54:02 +00:00
Poul-Henning Kamp 7dd147b45b The latest round of bugfixes here... 1995-03-29 06:13:08 +00:00
David Greenman e5e6090541 Added NQNFS option and a comment warning about it's overhead. 1995-03-29 05:14:22 +00:00
David Greenman cb9db2b6ff When NFS is compiled into the kernel, make NQNFS lease checking conditional
on a "NQNFS" kernel config option. NQNFS is a 4.4 wart and the performance
penalty of the lease checks on the client/server for _local_ I/O is too high
to have this occur all the time - especially when most people will never
use it.
1995-03-29 05:09:44 +00:00
Jordan K. Hubbard 9f06251380 Move the invocation of rc.maint ahead of netstart. This is actually OK
since /var wouldn't be mounted at this point anyway - the mount of NFS
comes after both of them are run.  This closes misc/276.
1995-03-29 03:42:21 +00:00
Jordan K. Hubbard 59beb5883d 1. Add missing -n's to echo lines, closing misc/278
2. Make output of spaces follow conventions used elsewhere.
3. Inform user of a few things being started that were silent before.
1995-03-29 03:35:10 +00:00
Rodney W. Grimes 27aeb9321a History merge after repository restore of netstart,v:
date: 1995/03/26 18:18:59;  author: wpaul;  state: Exp;  lines: +23 -17
Make syslogd work again: in needs to be started in netstart right
before the rest of the system daemons are brought up and *after* the
network interfaces have been configured.

Also fix one other potential problem: the NIS services need to be started
relavively early since some of the other daemons might need them. The
automounter is a good example: if you use amd with NIS-based maps, you'd
better have NIS running before you start it. :) I think mountd might
need it too, now that netgroups can be read via NIS as well.
1995-03-29 03:33:55 +00:00
Jordan K. Hubbard c80147acd5 Remove gratutious echo to close misc/279. 1995-03-29 03:30:22 +00:00
Rodney W. Grimes 9845d771df History merge after repository restore of netstart,v:
date: 1995/03/23 01:25:18;  author: jkh;  state: Exp;
Another pass through our rc files in an attempt to eliminate historical
crufy and generally make all of this easier to understand and modify.
1995-03-29 03:28:08 +00:00
David Greenman 90fef96dd0 From Mark Murray:
I got irritated with not seeing the interrupt numbers in a (crowded)
"systat -vmstat" display, so I fixed it. Here is a patch to please be
applied in src/usr.bin/systat
1995-03-29 00:10:14 +00:00
David Greenman 9f22c23da7 Fixed DDB's "ps" output formatting. 1995-03-28 23:29:52 +00:00
Doug Rabson db0770545f Use __tty_fileno instead of STDERR_FILENO when detecting window size
changes
Reviewed by:	Bob Willcox <[email protected]>
1995-03-28 22:20:19 +00:00
Søren Schmidt d23c175f9d Change fkey 63 from ^[[K to ^[[~.
Submitted by:		ache
1995-03-28 21:30:13 +00:00
Andrey A. Chernov b02b5aada3 Don't allow talk own messages wrap around on the screen, just
scroll them like normal user input/output does.
1995-03-28 19:48:45 +00:00
Poul-Henning Kamp 56f6016de9 Remove kernel compilation directories after use.
Move stray "info" files into info dist.
1995-03-28 19:28:32 +00:00
Poul-Henning Kamp c57e984258 Don't install /usr/mdec/boot
Install the biosboot as /usr/mdec/boot[12]
Make the traditional links from [swf]dboot and boot[swf]d to boot[12] files.
Install dosboot as /usr/mdec/boot/fbsdboot.exe
1995-03-28 19:22:43 +00:00
Andrey A. Chernov 0e933b8841 Move discard check up and do it only for error status
(per Bruce suggestion). It speedup things for a little.
Remove l_start optimization, call l_start always (per Bruce suggestion)
1995-03-28 19:22:11 +00:00
Søren Schmidt 84351cc95c Added ata device....
Not that it is ready yet, but I'm getting there eventually...
1995-03-28 18:18:31 +00:00
Søren Schmidt 012872c1ae Fixed most: target gnu/usr.sbin was install not all 1995-03-28 18:14:17 +00:00
Poul-Henning Kamp 286e783f03 Save /etc/sysconfig from destruction.
Don't put termcap.db and vgrinddefs.db in the tarballs when they are so
easy to generate and take up so much space...
1995-03-28 18:14:10 +00:00
Nate Williams a01bd386af Do what should have been done in v1.14
*Really* strip out unused local symbols from shared objects.

This was a typo on my part caused by an assumption that the profiled
libraries stripped symbols that same way as the non-profiled libraries.

Cut-n-Paste strikes again.

Obtained from: NetBSD
1995-03-28 17:54:11 +00:00
Andrey A. Chernov 702c5e7e17 ttyinput() fixes:
1) Preserve old buffer contents when input buffer overflows.

Old code clear buffer and rewrite it again, if !MAXBEL
(for MAXBEL it does right thing :-).
F.e. if you type too long string, last chars passed,
not first ones as expected.
Moreover, it flush output queue too in this case without any needs.

2) Don't do IXOFF, if IGNCR and c==\r, ignore completely.

3) If PARMRK is active and !ISTRIP and char == 0377
put yet one 0377 to distinguish it from parity mark sequence.
POSIX standard (thanx Bruce).

Reviewed by:
Submitted by:
Obtained from:
CVS:
1995-03-28 15:25:13 +00:00
Bruce Evans 2f86e398e1 CVS:
The previous patch was botched.
1995-03-28 12:29:11 +00:00
Andrey A. Chernov 4e0df42774 Don't use
if (tp->t_line != 0)
test when CS_ODONE, it fails for NTTYDISC, use
		       if (linesw[tp->t_line].l_start != ttstart)
instead.

Reviewed by:
Submitted by:
Obtained from:
CVS:
1995-03-28 12:26:40 +00:00
Andrey A. Chernov 8eefd80d06 Forget to add LSR_FE to discard (see prev commit)
Reviewed by:
Submitted by:
Obtained from:
CVS:
1995-03-28 11:13:44 +00:00
Andrey A. Chernov 63cadaef19 Bug fixed:
parity/framing/break not completely ignored when IGN* is set
but cause output restarted.
CVS:
1995-03-28 11:09:35 +00:00
Andrey A. Chernov 2cad35d11b Several fixes to help "raw" tty mode work correctly with
BREAK/parity/framing errors.
Term "correctly" assumes POSIX spec. and 4.4 ttyinput() behaviour.
1) Discard BREAK/parity at interrupt level when apropriate IGN*
is set in iflag. It helps "raw" mode works even IGN* is set.
2) Zero parity (if INPCK) and framing directly in buffer
before passing it to b_to_q() in "raw" mode.
Efficency:
interrupt level: if no error occurse, only two "test" commands added
"raw" mode: buf scan incc times for parity/framing added

Reviewed by:
Submitted by:
Obtained from:
CVS:
1995-03-28 10:51:59 +00:00
Jordan K. Hubbard e36fea798c Tweak a few things just to show how form traversal might work fully.
Fix some spelling errors in the example.c file and make error handling
a little more explanatory.
1995-03-28 10:42:09 +00:00
Jordan K. Hubbard 4fe2ad2c59 Include <strhash.h> instead now. 1995-03-28 10:25:13 +00:00
Jordan K. Hubbard 71e60921ff Fix a missing _hash() to prevent namespace pollution with the db/hash routines.
Grrr.  If the dbhash routines weren't grossly overengineered I wouldn't
even need to do this! :-(

Also now export the hash_stats routine.  Manpage coming RSN - I promise.
1995-03-28 08:41:02 +00:00
Jordan K. Hubbard 9829c3ed2e Change ahc driver comment to note that it's not just the 274x controller
it supports.
1995-03-28 08:14:55 +00:00
Jordan K. Hubbard 00f32d06c1 "matcd interface " -> "matcd"; this makes userconfig work again and
makes it more consistant with the other drivers.
1995-03-28 08:04:07 +00:00
Bruce Evans ce7c8b00ff CVS:
Enable -Wimplicit again.
bash: /src/z1: No such file or directory
1995-03-28 08:02:37 +00:00
Poul-Henning Kamp 1ff0174d3c They mystery of the recursive /sys/sys/ solved. 1995-03-28 08:01:47 +00:00
Bruce Evans 3aa12267a5 Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) that I didn't notice when I fixed
"all" such warnings before.
1995-03-28 07:58:53 +00:00
Poul-Henning Kamp 1b9d1a091a Readdir on a CDrom would return bogus "d_type" values, potentially confusing
everybody (incl find(1) ?).  Initialize it to DT_UNKNOWN.  Maybe we can
do better, but I don't have the time.
1995-03-28 07:46:38 +00:00
Andrey A. Chernov 243823db69 Raw ttyinput test was incomplete,
add !(IGNBRK | BRKINT | PARMRK) now.
1995-03-28 06:15:44 +00:00
David Greenman 17c4c40800 Fixed typo...using wrong variable in page_shortage calculation. 1995-03-28 05:58:35 +00:00
Andrey A. Chernov 81855a2ac4 Update cons25 to S0ren ^H back changes 1995-03-28 05:43:58 +00:00
Andrey A. Chernov 339b90b333 Fix break recording for ttyinput 1995-03-28 05:39:53 +00:00
David Greenman 0bb3a0d2f4 Fixed "pages freed by daemon" statistic (again). 1995-03-28 05:35:29 +00:00
Satoshi Asami df32d0cc55 Add support for "distributed" patches and a little extra cleanup.
New variables:

PATCH_SITES:	patch equivalent of MASTER_SITES, overridable with
.		MASTER_SITE_OVERRIDE.
PATCHFILES:	Additional files to fetch and give to patch before
.		applying the ones in patches/patch-*.  If name ends
.		with ".gz" or ".Z", it will be piped through zcat first.

Plus PATCH_DIST_STRIP and PATCH_DIST_ARGS that serve the same functions
as PATCH_STRIP and PATCH_ARGS for patches in patches/patch-*.

In the documentation and echo messages, I used the term "distributed
patches" and "FreeBSD patches" to refer to ${PATCHFILES} and patches/patch-*.
If you can come up with better names, by all means go ahead and fix them.

"grep PATCH /usr/ports/*/*/Makefile" reveals seven ports (mule, jless,
jtcl, jtk, dgd, less, color_xterm, gee I wonder why I'm the one who
implemented this) that can benefit from this.  I'm now diving headlong
into /usr/ports to fix their Makefiles.
1995-03-28 01:14:29 +00:00
Bill Paul b38bb6d374 Use yp_order() instead of yp_first() in _havemaster() to check for the
presence of the master.passwd.byname map, and remember to free the
returned order value before exiting.
1995-03-27 20:46:40 +00:00
Nate Williams 6fc818e63f Bump the shared library minor # because of the additions of the
strhash() functions.
1995-03-27 20:23:11 +00:00
Søren Schmidt 19c66761c7 Give backspace to the people (again)
Now the keymaps are as follows:

"backspace / <-"	^H
"grey del"		^? (0x7f)
"numpad , del"		^? (, if numlocked)
1995-03-27 19:41:11 +00:00
Andrey A. Chernov 18dbbebe5a Add hooks for upcoming riscom/8 driver 1995-03-27 19:39:58 +00:00
Satoshi Asami 32c4c80bff Added more standard package suport file names. INSTALL for the
installation script, DEINSTALL for the deinstallation script, and
REQ for the requirement script, will be added with appropriate
flags to PKG_ARGS if they exist under pkg/.
1995-03-27 13:11:18 +00:00
David Greenman e612a582cc Re-apply my "breakage" to the Nagel congestion avoidence. This version
differs slightly in the logic from the previous version; packets are now
acked immediately if the sender set PUSH.
1995-03-27 07:12:24 +00:00
Andrey A. Chernov 2f69f2f2f3 Remove duplicates: parm rindex & scroll right 1995-03-27 05:13:31 +00:00
Andrey A. Chernov 8e3cede18e Fix duplicate. 1995-03-27 05:08:43 +00:00
Andrey A. Chernov aca38c3602 pc3r (russian): change kD to old compatible value.
vt100: remove obsoleted nl
1995-03-27 04:55:41 +00:00
Andrey A. Chernov 910e8e7cc1 Set kb=\177 to make proper erase char for DEC VTs 1995-03-27 03:46:05 +00:00
Andrey A. Chernov 9a8677a158 Fix erase determination code: don't look at
system defaults which is always the same
1995-03-27 03:42:21 +00:00
David Greenman 2ddba2158c Explicitly set page dirty if this is a write fault - reduces calls to
pmap_is_modified() later.
1995-03-27 02:41:00 +00:00
Jean-Marc Zucconi 509b93f067 'directories...' is an argument, not an option 1995-03-27 01:52:59 +00:00
Rodney W. Grimes b34537dab7 Remove the private copy of directories in usr/include from here,
this is now handled in BSD.include.dist.
1995-03-27 01:36:19 +00:00
Andrey A. Chernov 4717f90280 Add :ut to vt100 generic entry 1995-03-27 01:36:00 +00:00
Rodney W. Grimes e080a7f08a We must do include and lib first so that the perl *.ph generation
works correctly as it uses the header files installed by this.
1995-03-27 01:31:09 +00:00
Andrey A. Chernov 668326cbc5 Fix bug using CSR for partial scrolling 1995-03-27 01:19:14 +00:00
Andrey A. Chernov 3952ec9bdb Yet one pass through DEC VT entries 1995-03-27 00:55:51 +00:00
David Greenman 6e14d964ac Removed some redundant 'vmio' checks. 1995-03-27 00:11:45 +00:00
David Greenman 1ae89ac36a Removed declaration of pmap_changebit()...it is no longer exported.
Submitted by:	John Dyson
1995-03-26 23:42:55 +00:00
David Greenman 880d1d842e Changed pmap_changebit() into a static function as it always should
have been.

Submitted by:	John Dyson
1995-03-26 23:42:07 +00:00
Bill Paul 8b5a6d67db Fixed stupid bug in mountd: it would seem that the kernel doesn't allow
you to push the same host into its NFS export lists twice, but mountd
tries to do it anyway. This means that putting:

/some_file_system -ro host1 host1

in your /etc/exports file causes an error. This is bogus: mountd should be
smart enough to ignore the second instance of host1. This can be a problem
in some configurations that use netgroups. For example, each host in my
netgroups database is has two entries:

startide (startide,-,) (startide.ctr.columbia.edu,-,)

When mountd sees this, it tries to put startide.ctr.columbia.edu into the
export list *twice*. Just listing 'startide' /etc/exports list will also
screw up because mountd will try to resolve the netgroup 'startide' instead
of the hostname 'startide.'

My solution is watch for duplicate entries in get_host() and mark them
as grouptype GT_IGNORE, which do_mount() will now cheefully throw away.
This is a bit of a kludge, but it was the least obtrusive fix I could
come up with.

Also silenced a compiler warning: arguments passwd to xdr_long() should
be u_long, not int. :)
1995-03-26 23:36:38 +00:00
David Greenman 8953151fc8 Removed some obsolete flags.
Submitted by:   John Dyson
1995-03-26 23:33:14 +00:00
David Greenman f57459b632 Removed third arg (vmio) to allocbuf() that was added with the original
merged cache changes, and figure it out based on the B_VMIO buffer flag.
Fixes a problem where delayed write VMIO buffers would sometimes get
recopied into kernel-alloced memory.

Submitted by:	John Dyson
1995-03-26 23:29:13 +00:00
Andrey A. Chernov 73cab1a3bc Use more AI to predict initial/final isdst,
latest isdst  preffered.
1995-03-26 22:51:51 +00:00
Joerg Wunsch 266e938a21 Made this script a bit more fool-proof, so people like me can better
use it. :-)

It now explicitly requires the specification of a directory to import
from, either as an argument to the script, or by asking the user about
it.  (Previously, it implicitly used `.', like cvs import does.)

Also implemented an option `-n', which does essentially the same like
the overall CVS option `-n': show only what would have been done,
don't do any commitment.  Note that since the modules' database is
checked out in place (and not commited back), it will erroneously be
reported as to be imported, too:

cvs import: Importing /home/ncvs/ports/foobar/foo/modules
I ports/foobar/foo/modules/CVS
N ports/foobar/foo/modules/modules

This is an unwanted side-effect, but gives the user the option to see
if the `ed' magic did the right thing when editing modules/modules.

Rod, can you please check the function ``checktag'' in the script if it
will be restritctive enough?
1995-03-26 21:56:32 +00:00
Poul-Henning Kamp 37c1d2607b Fixed a bug so that a delta#0 can be applied.
Fixed a typo in the generation of temp filenames.
"Blame" Joerg for the man-pages (and clarify a couple of minor points).
Most appreceiated Joerg!
1995-03-26 20:09:52 +00:00
Andrey A. Chernov d030a0729f Hash 8bit chars without sign extension 1995-03-26 19:32:24 +00:00
Rodney W. Grimes 6a0e6f4266 Terminate all probe/diagnostic/error messages correctly with a \n.
Report floppy/tape units on seperate lines as fdX:/ftX: to correct lots of
ways the current scheme failed to end the output with \n.

Add controller and/or drive designator to the fron of several messages
that come from this drive.  [It's not fun to track down driver messages
using grep over the source tree.]
Reviewed by:	joerg
1995-03-26 19:28:22 +00:00
Andrey A. Chernov 626da9c8ba Update info about LC_COLLATE implementation 1995-03-26 18:57:19 +00:00
Poul-Henning Kamp d2757e2bd6 If possible, pick up the caesar program inside in the compilation tree. 1995-03-26 18:53:45 +00:00
Bill Paul 04bc775d03 Make syslogd work again: in needs to be started in netstart right
before the rest of the system daemons are brought up and *after* the
network interfaces have been configured.

Also fix one other potential problem: the NIS services need to be started
relavively early since some of the other daemons might need them. The
automounter is a good example: if you use amd with NIS-based maps, you'd
better have NIS running before you start it. :) I think mountd might
need it too, now that netgroups can be read via NIS as well.
1995-03-26 18:18:58 +00:00
Jordan K. Hubbard be01ce9346 change hash.h to strhash.h to match new convention.
Manpage for strhash functions to follow tomorrow.
1995-03-26 10:25:00 +00:00
Jordan K. Hubbard 4796867161 Add the strhash family of routines. They provide a number of features
that the db/hash functions don't, and they're much simpler to use for
low-overhead string hashing.
1995-03-26 10:21:55 +00:00
Jordan K. Hubbard 7f5473b3cc add strhash.h for libc's new string hashing function. 1995-03-26 10:12:53 +00:00
Paul Richards 62773adf71 Use a hash table to hold all the bindings info rather than a linked list.
Forms now have their own local bindings table so that anything
declared within a form is local to that form. This means you can
have fields of the same name in different forms.

Added inlined attribute setting for strings e.g. "This is \bold bold"

Added entry and exit functions for fields.
1995-03-26 07:44:33 +00:00
Bill Paul bdb44d5fb6 Stop callbootd from dumping core when attempting to directly query a
bootparam server on a host that isn't running bootparamd: if clnt_create()
comes back with a NULL pointer, bail out with an error.
1995-03-26 03:15:39 +00:00
Andrey A. Chernov 4b99bfd375 Comment out all perverted curses optimization 1995-03-26 03:01:04 +00:00
Andrey A. Chernov 4b0ef7df4c Change wrong -ltermcap -ltermlib picked up to -lmytinfo 1995-03-26 02:41:45 +00:00
Bill Paul 7112864e5c Make sure we free() the result returned to us by yp_match(). 1995-03-26 02:37:00 +00:00
Andrey A. Chernov 2adf028be3 Add eo:it#8 to vt100 entry 1995-03-26 01:30:33 +00:00
Andrey A. Chernov c6159a7bd8 vt100/102/220 entries affected:
major cleanup
add lot of missing capabilities
1995-03-26 01:02:54 +00:00
Andrey A. Chernov bc4908f401 Continue of previous fix: eliminate backslashes too. 1995-03-26 00:47:02 +00:00
Andrey A. Chernov 9da94f20f7 Compact entry returned to user:
1) Eliminate spaces and double ':'.
2) Remove duplicated capabilities from tc= expansion.
It is needed to not overflow historycal 1024 limit.

Add range check and return -1 if entry is too big instead
of corrupting user memory.
1995-03-26 00:35:36 +00:00
Bill Paul 12aeae6c45 Submitted by: Sebastian Strollo <[email protected]>
Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.
1995-03-25 23:26:54 +00:00
Bruce Evans 8e4150e95a Reviewed by:
Submitted by:
Obtained from:

Disable previous change.  I missed a lot of implicit declarations.
1995-03-25 23:21:36 +00:00
Bruce Evans 208ce078ed Remove wrong redeclarations of printf() and bzero(). Include the correct
header to declare DELAY().
1995-03-25 22:40:49 +00:00
Bruce Evans e9f80c0133 Make untested NS code at least compile so that it doesn't break LINT. A
struct member had an old name.
1995-03-25 22:06:27 +00:00
Bruce Evans f0d47944e2 Forward-declare kern_devconf for use in a prototype. Some drivers
include <pci/pcivar.h> without including <sys/devconf.h> and other
drivers include <pci/pcivar.h> before including <sys/devconf.h> if
certain identifiers are defined.

The devconf headers have convoluted interdependencies.  <sys/devconf.h>
includes <machine/devconf.h> which includes <pci/pcivar.h>.  Most
drivers include <sys/devconf.h> so even isa drivers depend on
<pci/pcivar.h>.  For similar reasons, most drivers depend on another
pci header, on an isa header and on two scsi headers.
1995-03-25 21:10:38 +00:00
Joerg Wunsch de8020d29b Call open(2) and mkdir(2) with 0666/0777 as the `mode' argument (as
opposed to 0644 or 0755).  It's finally still masked by the process'
umask(2), and it does not make sense to restrict it further than that.

This (especially for mkdir(2)) was causing major headaches for the CVS
tree, since a member of group cvs was later not able to get cvs
checkout permission for the mirrored tree failed to write the lock file).
1995-03-25 20:46:51 +00:00
Joerg Wunsch b2b31a1c92 Make finger(1) accept "cua" to be also a tty, and use the suffix instead
of the very meaningful string "cu" to describe the tty.
1995-03-25 18:15:40 +00:00
Jordan K. Hubbard 3268de551f Add gil.physik.rwth-aachen.de to mirrors 1995-03-25 18:15:12 +00:00
Bruce Evans eb2cb5e165 Fix the path to scdreg.h.
Fix implicit declarations.
1995-03-25 18:14:37 +00:00
Joerg Wunsch fee6e7cc49 Added a man page for the ctm(1) command, as well as a format description
for the CTM deltas.

Largely based on Poul-Henning's README, and the source code.
1995-03-25 18:14:26 +00:00
Bruce Evans feae7fb7d3 Add -Wimplicit to ${CWARNFLAGS} so that implicitly declared functions
don't come back.  There are still a few for unsupported network protocols.
1995-03-25 17:50:19 +00:00
David Greenman 6c534ad868 Fix logic bug I just introduced with the flags to msync(). 1995-03-25 17:44:03 +00:00
David Greenman 492d73bd99 Pass syncio flag to vm_object_clean(). It remains unimplemented, however. 1995-03-25 17:36:57 +00:00
David Greenman 1e62bc6357 Disallow both MS_ASYNC and MS_INVALIDATE flags being set at the same time
in msync().
1995-03-25 17:36:00 +00:00
David Greenman cdfc91f0da Fixed msync() prototype. 1995-03-25 17:28:30 +00:00
David Greenman eb0bc8709b Updated manual page to indicate flags argument; added return value and
errors section.
1995-03-25 17:24:47 +00:00
Jordan K. Hubbard 91f88b9615 Get PERL found in any of its obvious locations. 1995-03-25 17:14:11 +00:00
David Greenman e6c6af1149 Added "flags" argument to msync, and implemented MS_ASYNC and MS_INVALIDATE.
The MS_ASYNC flag doesn't current work, and MS_INVALIDATE will only toss out
the pages in the address space (not all pages in the shadow chain).
1995-03-25 16:55:46 +00:00
David Greenman bc4c84cf7e Added a third "flags" argument to msync() ...as other systems have. 1995-03-25 16:52:24 +00:00
David Greenman f2b247fab8 Added flags definitions for msync(). 1995-03-25 16:43:42 +00:00
Bruce Evans efeca6c1f3 Don't attempt to fix the mode of mus - mus might be read-only. Just
interpret it.  I've preserved the bugs that perl must be installed
to build part of perl and that it must be installed in the wrong place
(no ${DESTDIR}).
1995-03-25 15:43:57 +00:00
Joerg Wunsch bcd20d16ce Include ``toor'' in the list of forbidden ftp users, just in case someone
is providing this user with a password.

Pointed out by: [email protected]
1995-03-25 13:11:40 +00:00
Joerg Wunsch d92d2e1236 Update the kernel debugging FAQ to match the new (k)gdb and new DDB
symbol behaviour.
1995-03-25 12:35:00 +00:00
Bruce Evans a7d783dddb Add more compatibility cruft:
- ignore the partition table if it is identical with the bogus one in
  /usr/src/sys/i386/boot/biosboot/start.S.  Honoring the bogus size
  field was fatal.  The error is detected but other compatibilty
  cruft weakens the error handling too much for this case.
- weaken the partition entry checking to allow the following treatments
  of C/H/S addresses when C should be >= 1024:
    (1) allow C = 1023, H = max, S = max.
    (2) allow C to be correct modulo 1024.
  Other compatibilty cruft weakens the error handling to allow all
  C/H/S addresses, but there too many errors were reported.

Improve error messages:
- print C/H/S addresses if relevant.
- distinguish primary partition table from extended partition tables.
- don't use diskerr() except for i/o errors.
1995-03-25 12:07:31 +00:00
David Greenman 763652056a Removed an old VMIO #ifdef and made the type of b_pages 'struct vm_page *'. 1995-03-25 08:55:02 +00:00
David Greenman 7fd9a8b12f Implemented cnt.v_reactivated and moved vm_page_activate() routine to
before vm_page_deactivate().
1995-03-25 08:47:35 +00:00
David Greenman ff93e578a0 Removed object lookup/hit count and changed the order of things a little. 1995-03-25 08:44:48 +00:00
David Greenman 260295f979 Removed (almost) meaningless "object cache lookups/hits" statistic. In
our framework, these numbers will usually be nearly the same, and not
because of any sort of high 'hit rate'.
1995-03-25 08:42:14 +00:00
Poul-Henning Kamp e169c6670b scandir(3) didn't transfer d_type, and d_ino is called d_fileno now. 1995-03-25 07:39:02 +00:00
David Greenman 1d93250fd2 Removed cnt.v_nzfod...we don't support it in the kernel. 1995-03-25 06:39:47 +00:00
David Greenman 42d825e109 Removed printing of cnt.v_nzfod: we don't implement this in the kernel. 1995-03-25 06:11:43 +00:00
David Greenman a34297995a Removed cnt.v_nzfod: In our current scheme of things it is not possible
to accurately track this. It isn't an indicator of resource consumption
anyway.
Removed cnt.v_kernel_pages: We don't implement this and doing so accurately
would be very difficult (and ambiguous - since process pages are often
double mapped in the kernel and the process address spaces).
1995-03-25 06:09:33 +00:00
Steven Wallace c27bd0ad13 Do a printf("\n") after all conditional printfs have been done so that
a newline is always done.  Remove \n's from last conditonal printfs.
1995-03-25 05:54:33 +00:00
Poul-Henning Kamp fdf36512dd mkdir /usr/src if it doesn't exist. 1995-03-25 05:03:40 +00:00
Jordan K. Hubbard cbec1346b0 Add sysconfig to list of cpio floppy targets. 1995-03-25 04:53:39 +00:00
David Greenman 3ed8a40336 Use 'p' rather than 'curproc' when appropriate. 1995-03-25 01:34:21 +00:00
David Greenman b35ba931bd Use NDINIT macro to initialize fields for namei. 1995-03-25 01:20:38 +00:00
Bill Paul f05daed916 Add calls to endgrent() and endnetgrent() to the end of _createcaches(). 1995-03-25 00:30:35 +00:00
Poul-Henning Kamp f551164802 Make sure exit() is sensible; 1995-03-24 21:36:32 +00:00
Poul-Henning Kamp 15a9992ca2 Modes on dirs were decimal by mistake.
Submitted by:	joerg
1995-03-24 21:33:20 +00:00
Bill Paul 06643071e5 Add more sanity checks. *Lots* of sanity checks. Huge tracts of sanity checks.
Make sure all arguments to the yp_*() functions are valid before sending
them off to the server. This is somewhat distressing: once again my
FreeBSD box brought down my entire network because of NIS bogosities.
I *think* the poor argument checking in this module is the cause, but
I still haven't been able to reproduce the exact series of events that
lead to the ypserv crashes. For now I've resorted to sticking my FreeBSD
box in a seprate domain. Hopefully a weekend of heavy testing will
uncover the problem.
1995-03-24 21:21:37 +00:00
Bill Paul 0ffe27f544 Make sanity checks saner: don't let setnetgrent() or innetgr() swallow
any bogus arguments.
1995-03-24 20:42:28 +00:00
Garrett Wollman a29ae2a103 Don't delete clones if they are PINNED. 1995-03-24 20:05:28 +00:00
Jordan K. Hubbard d8274511ca If mus script not executable, fix. 1995-03-24 19:22:33 +00:00
Andrey A. Chernov 09237e9da4 Fix -C arg overriding when -T file used 1995-03-24 19:01:25 +00:00
Jordan K. Hubbard 0fb7352341 Bring in the new non-GPL'd driver from Mikael Hybsch. This version is
NOT derived from the Linux code and is thus not GPL'd.  It is the author's
express wish that the GPL copyrighted version be removed and this BSD copyright
version take its place.  Considering our own stance on this, I'm certainly
not going to argue!  [Note to NetBSD folks:  You're free to grab it now :-)]
Submitted by:	Mikael Hybsch <[email protected]>
1995-03-24 18:33:02 +00:00
Jordan K. Hubbard d9d537017f scd driver now lives in non-GPL land. 1995-03-24 18:30:11 +00:00
Andrey A. Chernov ed42ac9324 Get rid of strtok(), it is depricated inside libs 1995-03-24 17:59:48 +00:00
Andrey A. Chernov c90720154b Get rid of strtok(), it is depricated in libs 1995-03-24 17:40:54 +00:00
Andrey A. Chernov c8448f10eb Change strtok() to strsep(), strtok() usage is depricated
in libraries.
1995-03-24 17:27:22 +00:00
Andrey A. Chernov bee5b8efe8 Change strtok() to strsep(), using strtok() can cause memory corruption
if user program use it too in the same time.
1995-03-24 16:33:44 +00:00
Jordan K. Hubbard 72a3d44887 Add what looks to be the right fix to this bogus code. 1995-03-24 16:07:09 +00:00
Andrey A. Chernov 3330823cc3 Sicnce this code shares the same fragment as gethostnamaddr:
Change strtok() to strsep(), cause memory corruption for all
programs which use strtok() too in the same time.
Fix potential NULL reference, depends of /etc/hosts.conf format
Fix the bug when service name fetched always from beginning of the line,
not from parsed token.
1995-03-24 15:51:30 +00:00
Andrey A. Chernov 3d1513bdeb Change strtok() to strsep(), cause memory corruption for all
programs which use strtok() too in the same time.
Fix potential NULL reference, depends of /etc/hosts.conf format
Fix the bug when service name fetched always from beginning of the line,
not from parsed token.
1995-03-24 15:38:54 +00:00
Poul-Henning Kamp 6075622c64 Fix cdrom.1 target. 1995-03-24 08:10:53 +00:00
Bill Paul 828447008a Yikes! Fix stupid mistake I made in last commit that made getpwent() ignore
local password entries when YP was enabled. (How the heck did that
get by me!?)
1995-03-24 08:01:01 +00:00
Jordan K. Hubbard 0b15614f22 Back out previous patch - better kept as a reminder. 1995-03-24 06:44:55 +00:00
Jordan K. Hubbard 97d6478890 Adjust include paths. 1995-03-24 05:56:41 +00:00
Bill Paul d34ef3d62b As per Justin T. Gibbs's request, agument the +@netgroup/-@netgroup
remapping mechanism in the following manner: if given an entry +@foo
and there is no netgroup named 'foo,' try searching for a regular
user group called 'foo' and build the cache using the members of
group 'foo' instead. If both a netgroup 'foo' and a user group 'foo'
exist, the 'foo' netgroup takes precedence, since we're primarily
interested in netgroup matching anyway.

This allows access control schemes based on ordinary user groups
(which are also available via NIS) rather than netgroups, since
netgroups on some systems are limited in really brain-damaged ways.
1995-03-24 05:46:47 +00:00
Andrey A. Chernov c0844b4775 Add yet one popular russian keyboard variant
Submitted by: Serge Babkin <[email protected]>
1995-03-24 05:40:17 +00:00
Andrey A. Chernov c568fce986 Fix truncating hostname using MAXHOSTNAMELEN
Submitted by: Jan Conard <[email protected]>
1995-03-24 05:15:09 +00:00
Jordan K. Hubbard cf522ac9ff Comment out a table of contents spec that didn't exist. 1995-03-24 04:42:21 +00:00
Jordan K. Hubbard 5390e1a7be kbdfont -> vidfont for greater commonality with kbdcontrol/vidcontrol 1995-03-24 04:36:19 +00:00
Jordan K. Hubbard 80926682fd Bring back perl/usub as usub/, this time containing an updated curseperl
which is also installed by default (the reason for which should also be
plain shortly).
1995-03-24 04:33:54 +00:00
Poul-Henning Kamp a833576497 Fix srcdist names. Fix structure in ftp-area. 1995-03-24 04:20:35 +00:00
Poul-Henning Kamp 7a10e6810f Fix a bogon. 1995-03-24 03:38:48 +00:00
Poul-Henning Kamp 836ed9f2c2 A whole slew of changes relating to the generation of src-dists. 1995-03-24 02:45:34 +00:00
Poul-Henning Kamp 32d2e89f5d The "DISTNAME" is now configured here too. 1995-03-24 02:41:47 +00:00
Poul-Henning Kamp 45209a22a5 Make src-tarballs in one level. Don't tar things named 'obj' 1995-03-24 02:05:32 +00:00
Poul-Henning Kamp d20722885e Tolerate both ways of doing the src-dists. 1995-03-24 02:04:00 +00:00
Justin T. Gibbs 61530543c9 Add recognition of HP Printer Job Language (PJL) commands. 1995-03-24 01:17:29 +00:00
Jordan K. Hubbard 7bf4ec6f56 Add the font index file. Other languages (French, Swedish, other)
needed for this file!
1995-03-24 01:11:56 +00:00
Jordan K. Hubbard f6f4d4be87 Add the keymap index file. Other languages (French, Swedish, other)
needed for this file!
1995-03-24 01:11:40 +00:00
Jordan K. Hubbard 9774e9cfaf Bring in the kbdmap/kbdfont utilities from Wolfram Schneider.
Renamed them to make them more consistent with kbdcontrol/fdcontrol/etc.
1995-03-24 00:52:28 +00:00
Jordan K. Hubbard 207f9157cd Set hostname properly in /etc/sysconfig 1995-03-24 00:23:18 +00:00
Poul-Henning Kamp 157b421d4e set SHELL for ftp. 1995-03-24 00:23:02 +00:00
Jordan K. Hubbard 0a2176cb4d Name juggling, make things a little clearer. 1995-03-24 00:18:31 +00:00
Jordan K. Hubbard 7b56107036 Add rc.maint file. 1995-03-24 00:17:37 +00:00
Poul-Henning Kamp 02f3cabc5d Add a missing ${DIST}/ 1995-03-24 00:16:51 +00:00
Jordan K. Hubbard e4ade01cb2 start syslog earlier
add optional ibcs2 startup
1995-03-24 00:16:26 +00:00
Poul-Henning Kamp 2a0b3f70d2 Install /etc/sysconfig 1995-03-24 00:15:15 +00:00
Jordan K. Hubbard a50ce32dec Correct a few spelling bogons.
Submitted by:	phk
1995-03-24 00:11:02 +00:00
Jordan K. Hubbard 43b9e11c93 Get around problem of not exporting variables in sysconfig 1995-03-24 00:01:21 +00:00
Rodney W. Grimes b3a028f703 Add gnu/usr.bin/ld to lib-tools: since you need this compiled very
early if you are running a back release.
1995-03-23 23:40:29 +00:00
Bill Paul d038db90e8 Re-enable +::::::::: wildcards that I had previously disallowed.
Note: if you put +::0:0:::::: in /etc/master.passwd as your only NIS
entry, it will cause all NIS uids and gids to be remapped to zero. This
is *intentional*. That's the way it's supposed to work. Enabling NIS with
no remapping at all is done with +:::::::::, not +::0:0::::::. Similarly,
+:::::::::/bin/csh will remap the shells of all NIS users to /bin/csh.
Or, you could do +wpaul:::::::::/bin/csh to remap NIS user wpaul's shell
to /bin/csh but leave everyone else alone.
1995-03-23 22:31:11 +00:00
Bill Paul e17334c329 Don't let yp_match() or yp_next() operate on null or empty keys: asking
ypserv to do a yp_match() with an a null or empty key causes much havok.
(Note that this could be construed as a denial of service attack if used
maliciously.)
1995-03-23 22:23:15 +00:00
Bill Paul 62a771700f Don't let setnetgrent() operate on a null or empty group name: it can
tickle a bug in ypserv and make a serious mess of things.
1995-03-23 22:21:16 +00:00
Bill Paul 353fefe325 Very important sanity checks: today I clobbered all four NIS servers on
my network because setnetgrent() was trying to do a lookup on group "".
It seems that an attempt to do a yp_match() (and possible yp_next())
on a null or empty key causes Sun's ypserv in SunOS 4.1.3 to exit
suddenly (and without warning). Our ypserv behaves badly in this
situation too, thoush it doesn't appear to crash. In any event, getpwent,
getnetgrent and yp_match() and yp_next() are now extra careful not to
accidentally pass on null or empty arguments.

Also made a small change to getpwent.c to allow +::::::::: wildcarding,
which I had disabled previously.
1995-03-23 22:18:00 +00:00
Gary Palmer c534dadbfe Add a misssing `@' from before echo -n "|${MAINTAINER}" 1995-03-23 20:42:42 +00:00
Garrett Wollman db041b142b Enable DES if NOCRYPT is not set and and the user has the secure sources. 1995-03-23 19:13:04 +00:00
Garrett Wollman c16b583c3c Mark Murray's authdes.c for xntpd 1995-03-23 19:09:24 +00:00
Poul-Henning Kamp 90b0ec316f Having BLOCKSIZE=K and using "-k" option ls would use 2K block size... 1995-03-23 19:05:00 +00:00
Rodney W. Grimes 2c0e14c2d2 Fixed last defined(WANT_MSUN) -> !defined(WANT_CSRG_LIBM) in the src tree. 1995-03-23 19:03:02 +00:00
Garrett Wollman ffa5b11ab5 in_var.h: in_multi structures now form a queue(3)-style LIST structure
in.c: when an interface address is deleted, keep its multicast membership
.     records (attached to a struct multi_kludge) for attachment to the
.     next address on the same interface.  Also, in_multi structures now
.     gain a reference to the ifaddr so that they won't point off into
.     freed memory if an interface goes away and doesn't come back before
.     the last socket reference drops.  This is analogous to how it is
.     done for routes, and seems to make the most sense.
1995-03-23 18:14:41 +00:00
Garrett Wollman 3545b0484c radix.c: correct exit condition in rn_walktree_from()
route.c: be a little more careful when running deleting children of dying
.        routes
1995-03-23 18:07:29 +00:00
Bill Paul 5f115c9d15 Lots of fixes/improvements in the +user substitution handling:
- Have the +@netgroup/-@netgroup caches handle the +user/-user cases too.
- Clean up getpwent() to take advantage of the improved +user/-user handling.
1995-03-23 17:33:19 +00:00
Bill Paul 34876b9137 Summarily enable YP as soon as any a '+' is detected instead of generating
special values when +user substitutions are in effect. The new getpwent
code can handle all the special cases itself now.
1995-03-23 17:22:37 +00:00
Bruce Evans a1c6084710 Support disk slices. This involves mainly replacing inline code with
function calls.  Broken tracking of open partitions gets fixed as a side
effect.  Races in sdopen() and sdioctl() become more numerous than before.

Close the device in sdsize().  Media removal could not have worked right
when unused swap devices were held open.  There may now be a problem
with used swap devices not being held open.

Fix ancient operator precedence bug in sddump().  It may have been
possible to attempt dumping to unloaded media.

Remove NetBSD ifdefs.  We're too different now, and the NetBSD driver was
already too different for them to be relevant.

Remove support for soft write protection.  There are no ioctls to set it,
and this driver never set it either.  It was used in the wd driver to
disable writing to unlabelled disk, but we want to support writing to
foreign partitions on unlabeled disks.

Clean up some formatting and restore some old-style function headers.
1995-03-23 16:09:01 +00:00
David Greenman 64709e7406 Deleted bogus DIAGNOSTIC "nfs_fsync: dirty" message. This can and does
happen normally when there is heavy write activity to a file since the
vnode isn't locked (NFS plays fast and loose with vnode locks). This change
"fixes" PR#267.
1995-03-23 09:43:40 +00:00
Rodney W. Grimes 567448c8c7 Change MAX_SLOTS -> EISA_MAX_SLOTS and correct comments. Add this to
ultra14f.c and eliminate constants.

Correct EISA slot scan loops to look at slots 1 to 15 inclusive (off
by 1 errors all over the place).  Other drivers need this, I will get
to it after a little more work.

Correct the ultrastore EISA probe so that it starts after the last
EISA slot probed instead of starting over from slot 0.

We need an eisa.h to move a lot of common constants into.  I will
write it if someone tells me where it should go (sys/eisa?).
1995-03-23 09:00:20 +00:00
Rodney W. Grimes ecdb980f93 Convert from using old root.cache to new named.root 1995-03-23 08:43:07 +00:00
Rodney W. Grimes fa535a53dd Import the official InterNIC Registration Services named.root file
on a vendor branch for easy updates.
Reviewed by:	phk
1995-03-23 08:19:28 +00:00
Justin T. Gibbs 70b211b3a0 aha1742.c:
#include <i386/isa/isa.h>
	return IO_EISASIZE instead of hard coded 0x1000.

if_ep.c:
	Remove commented out disabling of interrupts that gave a
	"comment withing a comment" warning.
1995-03-23 07:31:08 +00:00
Rodney W. Grimes 63bc0cc148 Do not install libkern into /usr/lib, blank target install: added. 1995-03-23 07:02:14 +00:00
David Greenman 0602287958 Patches from Serge Babkin to fix interrupt handling bugs.
Submitted by:	Serge Babkin
1995-03-23 06:53:39 +00:00
Jordan K. Hubbard fadfd39bdf rc.netstart -> netstart 1995-03-23 06:42:36 +00:00
David Greenman a54907a1a7 Restore my changes to initialize the kdc_shutdown routine pointer. Stefan
clobbered it in his previous commit and not having it causes the machine
to panic during reboot (as well as not doing the important shutdown callout).
1995-03-23 06:14:44 +00:00
Jordan K. Hubbard 06b0ad8a6f /etc/rc.netstart back to /etc/netstart 1995-03-23 06:05:04 +00:00
David Greenman d7a0fc9360 Fixed warning caused by returning a value in a void function (introduced
in a recent commit by me). Relaxed checks before calling vm_object_remove;
a non-internal object always has a pager.
1995-03-23 05:19:44 +00:00
Bill Paul 89395683ea Small cleanups:
- Prepend a '_' to a couple of things
- Make sure YP is enabled in _createcaches()
- Remove a couple of unused/uneeded variables from _createcaches()
1995-03-23 04:04:01 +00:00
Jordan K. Hubbard 4642c87ca4 netstart -> rc.netstart 1995-03-23 01:49:15 +00:00
Jordan K. Hubbard a590b6a207 Add a home for system maintainance tasks. 1995-03-23 01:25:51 +00:00
Jordan K. Hubbard 89341fe2a5 Another pass through our rc files in an attempt to eliminate historical
crufy and generally make all of this easier to understand and modify.
1995-03-23 01:25:19 +00:00
Bill Paul 9531ca9353 Phew! Done at last: getpwent now understands +@netgroup/-@netgroup directives
in addition to the existing NIS substitutions. I may tweak this a bit in
the future, but the important stuff is all here.
1995-03-23 00:59:15 +00:00
Bill Paul ad5d3ccd4d - Add support for embedding special entries in the password databases
for +@netgroup/-@netgroup entries. This saves the getpwent functions
from having to do all the work.

- Fix potential bug: when pwd_mkdb writes the YP-enabled flag to the secure
password database, it uses the wrong database descriptor. (It uses the
descriptor from the non-secure database, which is already closed by the time
things are being written into the secure dastabase).
1995-03-23 00:54:57 +00:00
Bill Paul e13e2475dc Add a couple of extra #defines for special keys to be embedded in the
password databases:

#define _PW_KEYPLUSBYNUM        '5'     /* special +@netgroup entries */
#define _PW_KEYMINUSBYNUM       '6'     /* special -@netgroup entries */
#define _PW_KEYPLUSCNT          '7'     /* number of +@netgroup entries */
#define _PW_KEYMINUSCNT         '8'     /* number of -@netgroup entries */

This is to help getpwent.c in libc build the +@netgroup/-@netgroup
caches.
1995-03-23 00:08:00 +00:00
Jordan K. Hubbard 5abc844b74 Add maintainer to the index line. 1995-03-22 21:46:04 +00:00
Stefan Eßer 0f29bf015c Correct pcibus_setup() to return as soon as one test succeeds. 1995-03-22 21:35:39 +00:00
Jordan K. Hubbard 2d333dc2dd Add new EXTRACT_BEFORE_FLAGS and EXTRACT_AFTER_FLAGS variables to make
complex extraction rules easier.
1995-03-22 21:28:31 +00:00
Poul-Henning Kamp a414a675b3 Make /usr/include directories...
Submitted by:	rgrimes
1995-03-22 20:37:53 +00:00
Stefan Eßer 9c6f3c132b Delete PCI PCI bridge simulator code ...
Submitted by:	Wolfgang Stanglmeier <[email protected]>
1995-03-22 19:51:59 +00:00
Stefan Eßer 41226e9d0a Set request sense data size from xp->req_sense_length if != 0.
Submitted by:	Wolfgang Stanglmeier <[email protected]>
1995-03-22 19:45:22 +00:00
Nate Williams ab795d6abc Added gdb back in since it can no compile with the ld change. 1995-03-22 19:39:45 +00:00
Nate Williams 4979433a3c Modify the default behavior of the linker to no longer prefer static
members over shared library members.  This modification causes the linker
to use the first definition it sees for a symbol instead of having
priorities based on the library type.  This modification should allow
gdb to compile again.

Obtained from:
  Email conversation with Paul Kranenbury, but implemented completely by
  me.  If it doesn't work, it's my fault not his.
1995-03-22 19:38:07 +00:00
Jordan K. Hubbard a4b6c787e8 Finally remove the evil little bit of excreta that was the /etc/myname
file.  hostname is set in sysconfig.
1995-03-22 18:00:36 +00:00
David Greenman f5cf85d40a Removed unused fifth argument to vm_object_page_clean(). Fixed bug with
VTEXT not always getting cleared when it is supposed to. Added check to
make sure that vm_object_remove() isn't called with a NULL pager or for
a pager for an OBJ_INTERNAL object (neither of which will be on the hash
list). Clear OBJ_CANPERSIST if we decide to terminate it because of no
resident pages.
1995-03-22 12:24:11 +00:00
Stefan Eßer 6bf3dde846 Remove use of unitialised variable xp->req_sense_length.
Submitted by:	Wolfgang Stanglmeier <[email protected]>
1995-03-22 11:00:23 +00:00
Stefan Eßer 33865a313c Remove spurious declaration of printf().
Submitted by:	Michael Reifenberger <[email protected]>
1995-03-22 10:52:05 +00:00
David Greenman 563128e49e Fixed potential sleep/wakeup race conditional with splhigh().
Submitted by:	John Dyson
1995-03-22 08:08:44 +00:00
Poul-Henning Kamp d7e1495a33 A little fix related to libm/msun migration.
Reviewed by:	phk
Submitted by:	rgrimes
1995-03-22 07:29:58 +00:00
David Greenman efea4e5256 Fixes and improvements from John Dyson:
Fixed the I/O statistics
Allow WD1007 type controllers to work
Support MULTI-BLOCK I/O
Correct delay to use port 0x84, reading the status register
	might not be a long enough delay.
Changed probe message to match SCSI type devices.
1995-03-22 05:23:01 +00:00
David Greenman c419d77e29 Added a check for wrong object size; print a warning, but deal with it
correctly. The warning will tell us that there is a bug somewhere else
in sizing the object correctly.

Submitted by:	John Dyson
1995-03-22 05:12:18 +00:00
David Greenman 8f4e17d4b2 Fixed bug in vm_mmap() where the object that is created in some cases
was the wrong size. This is the likely cause of panics reported by
Lars Fredriksen and Paul Richards related to a -1 blkno when paging
via the swap_pager.

Submitted by:	John Dyson
1995-03-22 05:08:41 +00:00
Andrey A. Chernov 3a46066496 Almost full syscons setup via rc & sysconfig 1995-03-22 03:29:55 +00:00
Jordan K. Hubbard 3bdf20c2d4 This just exited on most errors, some of which were legitimate and
I don't *want* to cause my application to be exited!  Some of the fprintfs()
should probably be calls to some dialog error menu popup anyway.
1995-03-22 02:06:06 +00:00
David Greenman 1b369d9858 Removed unused variable declaration missed in previous commit. 1995-03-21 23:09:53 +00:00
David Greenman 71263bf8db Removed do-nothing VOP_UPDATE() call. 1995-03-21 23:07:19 +00:00
Stefan Eßer 5b3f532eb1 New ISA specific PCI code.
Supports shared PCI interrupts.

Submitted by:	Wolfgang Stanglmeier <[email protected]>
1995-03-21 23:06:07 +00:00
Stefan Eßer 8673e05a9a Completely new PCI code:
1) Supports PCI to PCI bridge devices (and tries to initialise them,
   even if the BIOS is brain dead).
2) Supports shared PCI interrupts. Interrupt handlers now MUST return
   '0' if they found nothing to do, '1' otherwise.

New features tested with i486 systems based on the Intel Saturn and
a DEC 4channel Ethernet card only, but expected to work on most systems.

The option PCI_REMAP has been removed !

Submitted by:	Wolfgang Stanglmeier <[email protected]>
1995-03-21 23:01:06 +00:00
Stefan Eßer 1a4077c4c2 Stylistic changes. Update Wolfgang's e-mail address.
Submitted by:	Wolfgang Stanglmeier <[email protected]>
1995-03-21 22:48:36 +00:00
Jordan K. Hubbard 2efda52f23 Make the fetch message a little more interesting and informative. 1995-03-21 22:43:36 +00:00
Stefan Eßer b4b37e9058 Silence "gcc -Wall".
Submitted by:	Wolfgang Stanglmeier <[email protected]>
1995-03-21 22:43:04 +00:00
Stefan Eßer 067968d4d7 Cosmetic changes.
Submitted by:	Wolfgang Stnglmeier <[email protected]>
1995-03-21 22:41:19 +00:00
Stefan Eßer 82c5c9a9f0 Major cleanup: Stylistic changes, 386BSD specific code removed.
Adaptec to new PCI code.

Submitted by:	Wolfgang Stnglmeier <[email protected]>
1995-03-21 22:14:27 +00:00
Jordan K. Hubbard 49d60d606b Remove gratuitous remove and make it an ln -fs 1995-03-21 21:44:54 +00:00
Jordan K. Hubbard c951ad87a4 Update for new FAQ file locations. 1995-03-21 20:24:00 +00:00
Jordan K. Hubbard c80053bc55 Do a big re-org of the FAQs along the lines of those discussed awhile back.
It's time to start moving in the directions we've had in mind for awhile.
SGML for everything new and old stuff moved into a location where it can slowly
be aged and removed (basically, Text/).
1995-03-21 20:19:47 +00:00
Garrett Wollman 771edb14e9 Protocol-cloned routes should gain a reference to their parents to make
sure that rt->rt_parent values can never be re-used harmfully.
1995-03-21 19:50:34 +00:00
Bill Paul 8516cd0fa5 Use better/stronger/faster NIS lookup code: by using yp_match() instead of
the yp_first()/yp_next() combo, we let the database code in ypserv do some
of the work for us.
1995-03-21 19:47:12 +00:00
Garrett Wollman fabbf734e5 Change named starting convention to use $namedflags like most other
daemons that take command-line arguments.  Correct /etc/namedb installation
to use the correct files.
1995-03-21 16:44:04 +00:00
Garrett Wollman 1440dc3c88 Update root NS cache.
Delete bogus localhost.rev.
Add prototype localhost.rev and a script to create it automatically.
(NB to installl people: you should ask ``do you have a full-time connection
o the Internet?'', run this script, and enable named if the answer is
yes.)
1995-03-21 16:33:45 +00:00
Andrey A. Chernov 9dc5391c1c Bug fixed: even root was unable to edit restricted fields 1995-03-21 15:30:59 +00:00
Jordan K. Hubbard e017475bed Begin a long-overdue cleanup of this whole mess.
1. Move all system configuration variables into /etc/sysconfig
2. Adapt other files to use it.
3. Add a host of new variables for micro-managing your system in various
   ways.  For 2.1, /etc/sysconfig will be machine-edited so that the user
   doesn't even have to care at all about the various funny names we picked.
4. Enable dset.  We won't get it debugged if we never use it, and no one
   has said anything negative about it yet, so here goes!
5. Try to use one consistent style throughout.
1995-03-21 15:20:48 +00:00
Peter Dufault 3749fcff67 Set it so you can add and remove line disciplines without replicating
code for looking for open slots in table (and you could hide the table
if you wanted to).
1995-03-21 11:24:05 +00:00
Peter Dufault e8d9ff42ce Julian's suport of compressed tape drives. 1995-03-21 11:21:37 +00:00
Peter Dufault 3358f19c6e cd.c: Julian's CD audio cleanup
sd.c: Julian's removal of subdriver requests
st.c, scsi_tape.h: Julian's suport of compressed tape drives

Note: compressed tape drives are still not working fully.

scsiconf.h, scsi_base.c, scsi_driver.c: address problems in probes
and error console logs
1995-03-21 11:21:08 +00:00
David Greenman bc9ad24756 Disallow non page-aligned file offsets in vm_mmap(). We don't support this
in either the high or low level parts of the VM system. Just return EINVAL
in this case, just like SunOS does.
1995-03-21 10:15:52 +00:00
David Greenman f550a707bd Added a new version of trap_pfault() that disallows kernel page faults
to the user address space unless pcb_onfault is set. The code is currently
commented out because iBCS2 and process debugging parts of the kernel
need to be changed/fixed first.
1995-03-21 07:16:12 +00:00
David Greenman c6d5f3ac3e Changed some #ifdef DIAGNOSTIC code that I added to be #ifdef DEBUG. 1995-03-21 07:02:51 +00:00
Jordan K. Hubbard 99b1970f84 Fix apm and gsc rules to allow <blah>0' or just <blah>' to be shorthand.
[Actually, it's `<blah>*' but I'm not telling anyone]
1995-03-21 06:31:00 +00:00
Jordan K. Hubbard 3dd8895eb8 Add fetch-list command for Rod
Use ECHO_MSG macro for printing "===>" line things so that I can now turn
those OFF when I don't want them.
1995-03-21 03:59:13 +00:00
Poul-Henning Kamp 6950e7e24e make.conf doesn't postulate anything about libm now. 1995-03-21 02:55:33 +00:00
David Greenman fbcfcdf7db Fixed bug in the size == 0 case of msync() caused by a bogus return value
check..
1995-03-21 02:54:04 +00:00
Poul-Henning Kamp 72b799a9a3 msun becomes the default -lm the right way now. 1995-03-21 02:52:05 +00:00
Jordan K. Hubbard bc202f1b6e Make the describe rule generate more thorough information that's actually
of use to a front-end program.  Back out my bogus description of the `index'
target! :-)
1995-03-21 01:51:12 +00:00
Jordan K. Hubbard 9608972d54 Document the index target. 1995-03-21 01:31:43 +00:00
David Greenman b946193056 Fixed vinvalbuf() to work like NFS wants it to. The previous code wouldn't
flush pages in the vm object if V_SAVE was true.
1995-03-21 01:13:16 +00:00
David Greenman 7c1f6cedec Added a new boolean argument to vm_object_page_clean that causes it to
only toss out clean pages if TRUE.
1995-03-21 01:11:44 +00:00
Andrey A. Chernov ee02f1d697 Saved scroll fixed. 1995-03-21 01:06:07 +00:00
Bill Paul 2943bd1c53 Reviewed by: Bill Paul <[email protected]>
Submitted by:	Sebastian Strollo <[email protected]>

- In /usr/src/lib/libc/yp/yplib.c, function yp_first when clnt_call
fails with (r != RPC_SUCCESS) ysd->dom_vers should be set to 0! This
ensures that /var/yp/bindings/dom.vers will be read again on retry.
What happens now is that when our server is down and someone tries to
use yp they will continue to try until kingdom come. So:
        if(r != RPC_SUCCESS) {
                clnt_perror(ysd->dom_client, "yp_first: clnt_call");
                ysd->dom_vers = -1;
                               ^^^^ change to 0
                goto again;
        }
1995-03-21 00:48:55 +00:00
Andrey A. Chernov be27572a45 Better spelling of my name 1995-03-21 00:37:07 +00:00
Andrey A. Chernov eaf9238016 Fix wrong separator output
Submitted by: julian
Obtained from: newsgroup?
1995-03-21 00:26:32 +00:00
David Greenman 3682d2baf0 Made minor readability tweak. 1995-03-20 23:00:57 +00:00
Jordan K. Hubbard 39ad1abd89 Take out obsolete KERBEROS_IV build variable. Just eBones now.
Submitted by:	Mark Murray <[email protected]>
1995-03-20 21:35:15 +00:00
Garrett Wollman c2bed6a371 Better fix for the deletion of parents of cloned routes problem,
superseding the `nextchild' hack.  This also provides a way
forward to fix RTM_CHANGE and RTM_ADD as well.
1995-03-20 21:30:21 +00:00
Garrett Wollman cea0f2a090 Forgot pppcompress.c in PPP module. 1995-03-20 19:33:35 +00:00
Garrett Wollman 3432f42658 Forgot slcompress.c in SLIP module. 1995-03-20 19:31:47 +00:00
Garrett Wollman f065639f29 The discard, tunnel, SLIP, and PPP network interface pseudo-devices
are now dynamically loadable.  It doesn't make sense to do the same
for the loopback.
1995-03-20 19:25:49 +00:00
Garrett Wollman 69244b69db Support for pseudo-device LKMs. Note that this is restricted to only
one pseudo per module (a restriction which will eventually be lifted) and
isthus not in its final form.
1995-03-20 19:20:44 +00:00
Garrett Wollman 27a15c94ed Add support for pseudo-device LKMs. 1995-03-20 19:18:51 +00:00
Garrett Wollman 20e8807c09 This should be splimp() rather than splnet() since ifaddrs might go away
as a result of link-layer processing.
1995-03-20 18:31:51 +00:00
Garrett Wollman 9b626c29f7 Fix race conditions involved in setting IP multicast options. This should
fix Dennis Fortin's problem for good, if I've got it figured out right.

(The problem was that a `struct ifaddr' could get deleted out from under
the current requester, thus leaving him with an invalid interface pointer
and causing even more bogus accesses.)
1995-03-20 18:11:31 +00:00
Rodney W. Grimes 1a96efa2b8 Comment out declaration of kvm_uread until it can be fixed correctly. 1995-03-20 16:35:11 +00:00
Rodney W. Grimes 15f7fc2caa Change u_long to unsigned long to be consistent. 1995-03-20 16:17:50 +00:00
David Greenman 0426122fa0 Don't gain/lose an object reference in vnode_pager_setsize(). It will
cause vnode locking problems in vm_object_terminate().
Implement proper vnode locking in vm_object_terminate().
1995-03-20 10:20:42 +00:00
David Greenman 62b71ed629 Don't gain/lose a reference to the object when yanking its pages in
vinvalbuf()...it will cause vnode locking problems in vm_object_terminate,
and isn't necessary anyway.
1995-03-20 10:19:09 +00:00
David Greenman 9ba0a56334 Fixed "objde1" hang. It was caused by a "&" where an "&&" belonged in the
expression that decides if a wakeup should occur.
1995-03-20 10:14:55 +00:00
Rodney W. Grimes edbae4a194 Pretty much a complete rewrite of this Makefile.
Remove private mkdir command for /usr/include/g++, this is now
handled by mtree.

Make the whole file fit in 80 column output, sort the SRCS list and
split into .c and .cc sources.

Use $Id$ instead of $FreeBSD$ since we pulled support for this.

Add DPADD to match LDADD and now include <bsd.prog.mk> to define
the DPADD values (This is a hack until the .mk stuff can be corrected
so that ${LIB*} is visiable in bsd.lib.mk.)

Optimize beforeinstall target by eliminating a subshell.
1995-03-20 09:38:21 +00:00
Bill Paul 8538335f21 At last! Modified __ivaliduser() to do the same kind of user/host validation
that everyone else does: you can now use +host/-host, +user,-user and
+@netgroup/-@netgroup in /etc/hosts.equiv, /.rhosts, /etc/hosts.lpd and
~/.rhosts. Previously, __ivaliduser would only do host/user matches,
which was lame. This affects all the r-commands, lpd, and any other
program/service that uses ruserok().

An example of the usefullness of this feature would be a hosts.equiv
file that looks like this:

+@equiv-hosts

Since the netgroup database can now be accessed via NIS, this lets you
set up client machines once and then never have to worry about them
again: all hosts.equiv changes can now be done through NIS. Once I
finish with getpwent.c, we'll be able to do similar wacky things
with login authentication too. (Our password field substitution
will finally be on par with everyone else's, and I'll finally be
able to fully integrate my FreeBSD machine into my network without
having to worry about the grad students sneaking into it when I'm
not looking. :)

Danger Will Robinson! I tested this thing every which way I could, but
Murphy's Law applies! If anybody spots a potential security problem with
the way my matching algorithm works, tell me immediately! I don't want
crackers snickering and calling me names behind my back. :)
1995-03-20 07:29:55 +00:00
Andrey A. Chernov e86fff2c4a Fix wtmp logout
Submitted by: Gil Kloepfer Jr. <[email protected]>
1995-03-20 05:58:37 +00:00
David Greenman ff769afc81 Don't attempt to sync pages in the V_SAVE case of vinvalbuf; doing so can
lead to a deadlock. Just let the VM system deal with it.
1995-03-20 02:08:24 +00:00
David Greenman 83edfd47d8 Removed an unnecessary call to vinvalbuf after the page clean. 1995-03-20 02:06:09 +00:00
Andreas Schulz 261bbea610 Don't do anything if BATCH is specified and the port is interactive for
the package target.The port may is not build and the package fails
otherwise.
1995-03-20 00:41:36 +00:00
David Greenman 0bdb7528db Do proper vnode locking when doing paging I/O. Removed the asynchronous
paging capability to facilitate this (we saw little or no measureable
improvement with this anyway).

Submitted by:	John Dyson
1995-03-19 23:46:25 +00:00
David Greenman 9022e4ad9c Fixed bug introduced in the previous commit - the lock must be held until
after the call to exec_check_permissions().
1995-03-19 23:27:57 +00:00
David Greenman f5277ae71e Lose the lock on the vnode. Changes to implement proper locking in the
vnode pager now require this.

Submitted by:	John Dyson
1995-03-19 23:08:12 +00:00
Bill Paul e80307946b Whoops: expanding netgroups that reference multiple netgroups doesn't
work because parse_netgrp() doesn't recurse properly. Fixed by
changing

if (parse_netgrp(spos))
	return(1);
to

if (parse_netgrp(spos))
	continue;

inside parse_netgrp(). (Lucky for me I happen to have a fairly complex
'live' netgroup database to test this stuff with.)
1995-03-19 22:19:52 +00:00
Nate Williams c0585ea944 Separated out the _putchar & __cputchar() routines so that programs such
as tn3270 can replace _putchar(0 with their own routine and still keep
using the __cputchar() routine used by all of the other curses routines.

Reviewed by:	"Andrey A. Chernov, Black Mage" <[email protected]>
1995-03-19 21:47:51 +00:00
Poul-Henning Kamp ec71951908 Make extra arguments be subdirs to go through. 1995-03-19 21:26:00 +00:00
Nate Williams 8af57ca9dd Removed /usr/local/lib from the standard library search path to be
consistant.  Programs shouldn't rely on non-standard paths for bringing
in default libraries.

Suggested by:	Andreas Schulz <[email protected]>
1995-03-19 21:20:09 +00:00
Andreas Schulz 3cc5ba4318 Correct one little typing error from Rod :-).
lib/lib/pcap -> lib/libpcap.
1995-03-19 17:24:24 +00:00
David Greenman edf8a81561 Removed redundant newlines that were in some panic strings. 1995-03-19 14:29:26 +00:00
David Greenman 1b2cfc2645 Backed out change to panic call: As Chris just pointed out to me, panic()
does indeed work like printf(). gdb gets the string untranslated for some
reason.
1995-03-19 13:44:03 +00:00
Joerg Wunsch b2fbeb9a91 Finally applying my own fix. :-)
>Description:

ctm(1) sometimes did not free up all used resources (open pipes and
processes, heap memory).  This happened whenever one of the passes
ended prematurely, and it became very apparent when running it on
a bunch of already applied deltas, resulting in a ``gunzip: resource
temporarily unavailable'' due to the maxproc # exhausted.
1995-03-19 13:42:54 +00:00
Joerg Wunsch cb0b0e16cd libkvm exports kvm_uread(), so do declare it in the header file.
Got apparent by Philippe's -Wall patch for /usr/bin.
1995-03-19 13:36:49 +00:00
Joerg Wunsch ec4f225196 Cast the offset of one call to lseek() to off_t, as it's already done
in all other places here.

This is a hack, the interface should be changed to use off_t's
everywhere around, but this will require to update all the programs
that happen to use libkvm.
1995-03-19 13:33:05 +00:00
Joerg Wunsch 0fd510b71a You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.

I (Joerg) finished most of Philippe's cleanup.  /bin/sh will still
need *allot* of work, however.

Submitted by:	[email protected] (Philippe Charnier)
1995-03-19 13:29:28 +00:00
David Greenman 967a3bf893 Fix from Doug Rabson: Don't try to release a pbuf we didn't get.
Minor style change by me.
1995-03-19 13:28:54 +00:00
Andreas Schulz 0bc6b9462b Change the xmkmf call to a xmkmf -a call. This should be more correct for
all X11R5 and X11R6 ports. This is the way how it should be normally
used according the manuals. Only pre-X1R5 ( X11R4, X11R3) ports can't
handle it.
1995-03-19 12:49:06 +00:00
David Greenman c01a9b8ca0 Incorporated 4.4-lite vnode_pager_uncache() and vnode_pager_umount()
routines (and merged local changes). The changed vnode_pager_uncache
gets rids of the bogosity that you can call the routine without
having the vnode locked. The changed vnode_pager_umount properly locks
the vnode before calling vnode_pager_uncache.
1995-03-19 12:36:10 +00:00
David Greenman 0f52ba3503 Removed bogus, commented out, call to vnode_pager_uncache(). 1995-03-19 12:11:13 +00:00
David Greenman 50475e8bd3 Removed unnecessary call to vnode_pager_uncache(). We automatically clear
the VTEXT flag after all mappers have finished with the object.
1995-03-19 12:08:03 +00:00
Ollivier Robert 475239d0d8 Add a missing "\" in a printf before the "n". 1995-03-19 12:01:23 +00:00
David Greenman ab828ab8bd Moved call to vnode_pager_uncache in rename() to before the VOP_RENAME.
It was previously after the VOP_RENAME and the reference and lock on
the vnode had already been lost, allowing interesting internel
inconsistencies. This is one of the two reasons why freefall was crashing
every hour or two (the other being nullfs bugs).
Don't call vnode_pager_uncache in revoke(). revoke() is only allowed on
VCHR and VBLK vnodes.
1995-03-19 11:16:58 +00:00
Joerg Wunsch ae1f8971f2 Make the catman command (in the commented-out example) run by user `man'
instead of `root'.
1995-03-19 10:10:42 +00:00
David Greenman 1e1ece7deb Fix a call to panic: panic doesn't do token substitution on the panic
string.
1995-03-19 09:47:32 +00:00
David Greenman d7e3d98a5e Patch from Kirk McKusick to fix a bug introduced in the Poul's vfs_cache
rewrite.
1995-03-19 09:33:51 +00:00
Rodney W. Grimes df9059a610 Add installation of include files from libpcap. 1995-03-19 08:23:47 +00:00
Poul-Henning Kamp c0ac91fe89 Make newvers.sh usable from other places... 1995-03-19 07:25:41 +00:00
Poul-Henning Kamp afb8c020f0 Create osreldate.h from sys/conf/newvers.sh if we an find it. This
should take a completely ridiculous reboot out of the "make release"
process...
1995-03-19 07:25:17 +00:00
Poul-Henning Kamp f06a5580a6 add a couple of missing #include lines 1995-03-19 07:00:52 +00:00
Poul-Henning Kamp 2b76585664 add a \t which has been nagging me too long 1995-03-19 06:28:48 +00:00
Bill Paul 409495f6c7 Two major changes:
- Added support for reading netgroups from NIS/YP in addition to the
local /etc/netgroups file. (Note that SunOS and many other systems only
support reading netgroups via NIS, which is a bit odd.)

- Fix Evil Null Pointer Dereferences From Hell (tm) that caused
parse_netgrp() to SEGV when expanding netgroups that include
references to other netgroups. Funny how nobody else noticed this.

This is the first step in implimenting +@netgroup substitution in
getpwent.c and any other places that could use it and don't already
support it (which is probably everywhere).
1995-03-19 06:16:03 +00:00
Poul-Henning Kamp 9346bafa46 And all serial chars with 0x7f to discard parity bits. 1995-03-19 06:10:32 +00:00
Poul-Henning Kamp 9def6b02b2 Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly. 1995-03-19 06:09:01 +00:00
Steven Wallace cb75121aaf Add back SNDCTL_DSP_SETBLKSIZE ioctl code that got zapped.
Submitted by:	Jim Lowe <[email protected]>
1995-03-18 20:01:10 +00:00
David Greenman 4e83f749ec Don't sync the inode date changes of character special devices
during the FS sync. The system would appear to hang momentarily
if there was a large backlog of I/O. This is because the vnode
remains locked during the output - preventing normal character
I/O. The problem was exacerbated by the FFS contiguous block
allocation fixes and a semi-broken disksort(). The inode/date
will still be synced during a normal FS dismount and whenever
the inode is changed for other reasons.
1995-03-18 18:03:29 +00:00
Andrey A. Chernov 798563cdfb Fix authunix_maxgrouplist test
Submitted by: Scott Hazen Mueller <[email protected]>
1995-03-18 17:55:03 +00:00
Andrey A. Chernov cb850faba6 Fix sparse files handling
Submitted by: Alan Bawden <[email protected]>
1995-03-18 17:45:13 +00:00
Bruce Evans ac6776236b Restore the 4.4lite version which apparently was clobbered by a repository
copy.  The differences are trivial.  I have no backups of the clobbered
history.
1995-03-18 17:38:43 +00:00
Nate Williams e6fc505e8f Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 17:36:30 +00:00
Nate Williams c36c788214 Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 17:18:15 +00:00
Bruce Evans 62e2a046b2 Obtained from: 1.1.5 (originally by Andrew Moore)
Add the manpage for the stuff in <machine/floatingpoint.h>.
1995-03-18 16:54:35 +00:00
Poul-Henning Kamp 475e2a7de8 Fix the Name-cache counters. I didn't realign the negative hits. 1995-03-18 08:55:15 +00:00
Rodney W. Grimes dddb7b460b Remove private mkdir for /usr/include/ss, no handled by mtree. 1995-03-18 08:34:42 +00:00
Rodney W. Grimes 0bdd4426bf Create /usr/share/games/quiz.db via mtree and remove private mkdir command
from Makefile.
1995-03-18 08:30:48 +00:00
Rodney W. Grimes f8e028be26 Add Intel EtherExpress16 (ix0) driver.
Reviewed by:
Submitted by:
Obtained from:
1995-03-18 08:12:48 +00:00
Poul-Henning Kamp d4a984cba4 Add "ix0" Intel EtherExpress. 1995-03-18 08:04:18 +00:00
David Greenman 0338878131 Woops, add back that #define...it's used later in the file. 1995-03-18 07:06:51 +00:00
Rodney W. Grimes 2a3e102a44 Correct chmod of /usr/include/rpcsvc to match mtree file. 1995-03-18 07:04:23 +00:00
Rodney W. Grimes 07cf92fa27 Temporarily add mkdir/chown of /usr/include/${LUDIR} so that things
are consistent with the mtree file.  These and all other mkdir/chown/
chmod calls shall be removed in a future version of this file.
1995-03-18 07:03:51 +00:00
Rodney W. Grimes 5a9e9cbac4 Use new mtree file to rebuild /usr/include. 1995-03-18 07:02:10 +00:00
Rodney W. Grimes 2c4bf858fd Use new mtree file to rebuild /usr/include.
Replace rm -f; ln -s with ln -sf when installing LATIN1LINKS, also
do not attempt to chown/chmod these links.
1995-03-18 07:01:53 +00:00
Nate Williams 50dfa3861b Don't rely on the shared library bringing in libmd, do it explicitly.
Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 06:50:00 +00:00
Nate Williams 79f5f586ac Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
1995-03-18 06:41:08 +00:00
David Greenman 9e4817309b Fixed comments and removed b_cylinder #define. 1995-03-18 06:38:04 +00:00
David Greenman 89247e0412 Integrated change from 1.1.5: Fixed broken disksort to sort by pblkno
rather than by cylinder.
1995-03-18 06:32:48 +00:00
Bill Paul 89047c9c7c Fix 'putting +: in /etc/group causes many programs to dump core' bug
by heading off possible null pointer dereferences in grscan(). Also
change getgrnam() slightly to properly handle the change: if grscan()
returns an rval of 1 and leaves a '+' in the gr_name field and YP is
enabled, poll the YP group.byname map before giving up. This should
insure that we make every effort to find a match in the local and
YP group databases before bailing out.
1995-03-18 05:03:10 +00:00
Andrey A. Chernov e831146aee Don't use user PATH into environment for sec reasons 1995-03-18 02:19:25 +00:00
Andrey A. Chernov 24e24f916f 1) Call nroff instead of groff, nroff have some internal groff options
2) Use absolute pathname for nroff
3) Use -Tascii instead -Tlatin1, too many strange chars (like
soft hyphens f.e.) appearse in other case.
1995-03-18 02:11:56 +00:00
Paul Traina 8454052590 rename ngroff to groff 1995-03-18 01:23:06 +00:00
David Greenman 806e386083 In vm_page_alloc_contig: Removed a redundant semicolon and used 'm' instead
of &pga[i] in one place.
1995-03-18 01:04:36 +00:00
Justin T. Gibbs 0c40ff690c Increase the DELAY used in ahc_poll. This is only used during intial
probe of the device and shouldn't affect normal operation.  It seems that
some version of the aic7870 are extreamly slow in clearing their interrupt
register so the added delay is required to ensure we don't poll a stale
interrupt value.

Clean up debugging printfs and stuff superflous output into #ifdef AHC_DEBUG.

Ensure that sdtrpending and wdtrpending are cleared in all cases after
we recieve an SDTR or WDTR message.

With this commit, the 294x should work or at least be much closer to
working properly.
1995-03-17 23:58:27 +00:00
Justin T. Gibbs b8d72a5ae8 Make the aic7xxx assembler take quoted strings as a single token.
Make $Id the version variable which required the quoted string "feature".
1995-03-17 23:54:17 +00:00
Garrett Wollman e1838a91c1 Beginnings of support for loadable pseudo-devices. bsd.kmod.mk support
and Makefiles for the more interesting ones to come on Monday.
1995-03-17 22:02:18 +00:00
Steven Wallace c8c244128f Change probe output to gus0 instead of snd4. 1995-03-17 21:27:39 +00:00
Nate Williams 738ff67657 Gcc v2.6.3 currently has a problem with templates. Specifically, with
default switches, template functions get EXTERNAL linkage in each file
in which they occur, causing multiple definition errors during
linking.  The enclosed patch (from gnu.g++.bug) appears to solve the
problem (I enclose the accompanying message as well).

This patch fixes the multiply defined template functions bug
which was introduced in 2.6.1.

Submitted by:	"Justin T. Gibbs" <[email protected]>
Obtained from:  Jason Merrill at cygnus support on G++ mailing list
1995-03-17 21:24:25 +00:00
Andrey A. Chernov dd970fbdb0 Fix savestring & gdb conflict
Moreover, this fix not breaks any pgm which uses readline's savestring
1995-03-17 21:11:53 +00:00
Joerg Wunsch 2dfe718316 Include a file system debugger fsdb(8). 1995-03-17 19:28:59 +00:00
Rodney W. Grimes 5ccb11c757 Remove extra fi that caused this script to fail during boot. 1995-03-17 17:57:24 +00:00
Rodney W. Grimes f71681dcf8 Add dummy lchown function so that cpio understands 4.4 symbolic links.
Reviewed by:	phk
1995-03-17 07:52:23 +00:00
David Greenman 45e3e324cc Changed some (incorrect) nfsrv_vput()'s back into regular vput()'s. This
fixes the last of the known NQNFS problems (until I find more, that is :-)).
1995-03-17 07:45:19 +00:00
Poul-Henning Kamp 5edd0e154f <libkern/libkern.h> has moved to <sys/libkern.h> (repository copy).
Since /usr/include/libkern doesn't and shouldn't exist, this is the
least evil way to handle this.
1995-03-17 06:15:40 +00:00
Poul-Henning Kamp 48c51d3282 Have include be the first $SUBDIR, this avoid install failure with the
kludgeous install rule in perl/x2p.

Pointed out by:	rgrimes
1995-03-17 04:59:44 +00:00
Poul-Henning Kamp 785bd4b416 Dont install DES bits in cdrom area. 1995-03-17 04:54:13 +00:00
Poul-Henning Kamp 64988eb339 Remove reference to fsdb(8). We don't have it. 1995-03-17 04:41:18 +00:00
Poul-Henning Kamp 2b65c0b067 Remove a spurious printf. 1995-03-17 04:39:41 +00:00
David Greenman cb09d35cb0 Added a new field to the pci_device struct called pd_shutdown to specify
a device specific shutdown routine for devconf. Assign the value of this
to the kern_devconf struct. Implement a device shutdown routine for if_de
that disables the device. This will stop the device from corrupting memory
after a reboot.
1995-03-17 04:27:21 +00:00
David Greenman 3e3eb41588 Call dev_shutdownall() just after unmounting filesystems. 1995-03-17 04:19:19 +00:00
David Greenman 6a21a04a14 Changed names of goaway routines into shutdown routines. 1995-03-17 04:18:07 +00:00
Andrey A. Chernov 0efbb29eec Upgrade 1995-03-17 01:40:52 +00:00
Poul-Henning Kamp c5b0a90902 Remove imutable bits, they will not survive anyway. First cut at cdrom
make rule.
1995-03-16 22:54:42 +00:00
Poul-Henning Kamp 38b590b187 Fix a spelling error.
Submitted by:	Stephen McKay <[email protected]>
1995-03-16 22:03:09 +00:00
Poul-Henning Kamp b372c217fc Fixed Stephen McKay's email address. 1995-03-16 22:01:57 +00:00
Garrett Wollman 0b11bfa164 Fix bonehead formatting error. 1995-03-16 21:43:03 +00:00
Garrett Wollman be02aec01b Print out the new flags. 1995-03-16 20:29:11 +00:00
Garrett Wollman bbf3a56610 Add four more filesystem flags:
VFCF_NETWORK (this FS goes over the net)
	VFCF_READONLY (read-write mounts do not make any sense)
	VFCF_SYNTHETIC (data in this FS is not real)
	VFCF_LOOPBACK (this FS aliases something else)

cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr;
procfs, kernfs, and fdesc are synthetic.
1995-03-16 20:23:48 +00:00
Garrett Wollman f1b2407b0b Print out flags as text rather than a number. 1995-03-16 18:37:47 +00:00
Garrett Wollman cff19ac2ef Statically-compiled filesystems now use a VFCF_STATIC flag rather than
abusing the refcount.
1995-03-16 18:31:00 +00:00
Garrett Wollman 0e5ca0d837 Document net.inet.ip.sourceroute MIB variable. 1995-03-16 18:24:19 +00:00
Garrett Wollman 1025071f85 Reject source routes unless configured on by administrator. 1995-03-16 18:22:28 +00:00
Bruce Evans b5e8ce9f12 Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'.  Fix all the bugs found.  There were no serious
ones.
1995-03-16 18:17:34 +00:00
Stefan Eßer 11098d3bad Prepare for shared interrupts (required by the new PCI code that adds
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).

Submitted by:   Wolfgang Stanglmeier <[email protected]>
1995-03-16 17:41:20 +00:00
Garrett Wollman ef0cdf3329 Add inet_ntoa() and replace ARP's private routine with same. 1995-03-16 17:32:27 +00:00
Stefan Eßer 9b2fa02dd9 Prepare for shared interrupts (required by the new PCI code that adds
support for PCI PCI bridges, e.g. found on 4ch. Ethernet cards).

Submitted by:	Wolfgang Stanglmeier <[email protected]>
1995-03-16 17:31:19 +00:00
Bruce Evans 3bf0c362ad Remove isa/prof_machdep.c. It doesn't exist yet. 1995-03-16 17:18:49 +00:00
Garrett Wollman b53e909d11 Fix long-standing core dump when ld returns failure. 1995-03-16 17:11:21 +00:00
Garrett Wollman 9d3b840f0a Semi-major RC file cleanup:
- Do ntp right
- Move recenrly-added and long-standing junk from rc.local into rc, so
. that rc.local truly is LOCAL.
- Fix named invocation to use the correct boot file location.
1995-03-16 16:58:01 +00:00
Garrett Wollman d99c7a23fa This set of patches enables IP multicasting to work under FreeBSD. I am
submitting them as context diffs for the following files:

sys/netinet/ip_mroute.c
sys/netinet/ip_var.h
sys/netinet/raw_ip.c
usr.sbin/mrouted/igmp.c
usr.sbin/mrouted/prune.c

The routine rip_ip_input in raw_ip.c is suggested by Mark Tinguely
([email protected]). I have been running mrouted with these patches
for over a week and nothing has seemed seriously wrong. It is being run in
two places on our network as a tunnel on one and a subnet querier on the
other. The only problem I have run into is that mrouted on the tunnel must
start up last or the pruning isn't done correctly and multicast packets
flood your subnets.

Submitted by:	Soochon Radee <[email protected]>
1995-03-16 16:25:55 +00:00
Stefan Eßer 619e03fa69 Reading NCR registers is not secure at all times, so prevent
an ordinary user from doing this. (Problem pointed out by
Guido van Rooij).
1995-03-16 15:10:11 +00:00
Stefan Eßer f37ec55185 Make ncr.c compile again (PRINT_ADDR() had been patched
into the middle of a printf() by a buggy diff ...).

Submitted by:	rgrimes
1995-03-16 13:02:40 +00:00
Poul-Henning Kamp 544eee1a54 Well, it seems like the vn driver is pretty hosed still, so don't use it :( 1995-03-16 05:58:28 +00:00
Poul-Henning Kamp 16e5d87eab Code to use vndevice instead of floppy to build floppy images. 1995-03-16 05:40:02 +00:00
Paul Richards eb8e92bd93 Added my little project to stop ps truncating output to pipes. 1995-03-16 05:07:09 +00:00
Poul-Henning Kamp 16ecbe2b7f Added cons30, cons43 and cons60 terminal types (==cons25 with more lines).
Theres a mono entry for them all, and cons50 already existed.
1995-03-16 01:37:41 +00:00
Joerg Wunsch 3ce2ec287b Included the (now use{able,ful}) catman program as an (commented out)
example.
1995-03-15 22:58:19 +00:00
Joerg Wunsch 01e694c2e2 Wolfram's replacement for the oldish ugly catman(1) program. The new
one is much more intelligent, not only that it would accept multiple
man page locations, it also behaves like ``make'' in that it will only
deal with cat pages that are out of date (by default).

Wolfram also wrote a man page for it.

Submitted by:	[email protected] (Wolfram Schneider)
1995-03-15 22:47:38 +00:00
Peter Dufault 66b0ec7d86 Plug lurking bug when a device returns ASC:ASCQ 0xff:0xff 1995-03-15 22:42:25 +00:00
Bill Paul d93cc1a933 According to stdlib.h, malloc and realloc return void * but error_table.y
declares them to return char *. For some reason, this causes no problems
with the old compiler tools, but doing a 'make world' with gcc 2.6.3 in a
seperate DESTDIR got me this error:

yacc -d /usr/src/usr.bin/compile_et/error_table.y
cc -O2 -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err   -I/mnt/usr/include -c y.tab.c -o error_table.o
In file included from /usr/src/usr.bin/compile_et/et_lex.lex.l:11,
                 from /usr/src/usr.bin/compile_et/error_table.y:233:
/mnt/usr/include/stdlib.h💯 conflicting types for `malloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `malloc'
/mnt/usr/include/stdlib.h:104: conflicting types for `realloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `realloc'
*** Error code 1

Stop.

Declaring malloc and realloc to return void * fixes this. It could be that
the new gcc is a bit more picky about these things.
1995-03-15 19:05:28 +00:00
Stefan Eßer 8e95bee6d4 Conditionalise debug message.
Submitted by:	Peter Dufault <[email protected]>
1995-03-15 18:15:32 +00:00
Bruce Evans fe7172b1a6 Fix support for extended partitions (forgot to release the buffer). 1995-03-15 16:25:08 +00:00
Peter Dufault 1a084a9abd Change it so it doesn't say "probe0" for SCSI probe "device". 1995-03-15 14:44:01 +00:00
Peter Dufault de6a307ec7 Document scsi options 1995-03-15 14:27:01 +00:00
Peter Dufault 7a162ba150 Add scsi/scsi_sense.c 1995-03-15 14:23:18 +00:00
Peter Dufault 73d664ca78 1. Add text for ASC/ASCQ
2. Clean up probe messages.  This is how I propose it looks for 2.1 so
if you don't like it you have my e-mail address.
1995-03-15 14:22:12 +00:00
David Greenman 5eb7d0cd2e Special cased the handling of mb_map in the M_WAITOK case. kmem_malloc()
now returns NULL and sets a global 'mb_map_full' when the map is full.
m_clalloc() has further been taught to expect this and do the right thing.
This should fix the "mb_map full" panics that several people have reported.
1995-03-15 07:52:06 +00:00
David Greenman 3669a02157 Changed manual page to conform to the reality in FreeBSD. 1995-03-15 07:08:33 +00:00
Poul-Henning Kamp 76f4de663a Extract the cpio-floppy relative to the root, not /stand. 1995-03-15 06:16:10 +00:00
Poul-Henning Kamp e12c435569 I belive the floppies work as expected now. (incl the fixit) 1995-03-15 06:14:19 +00:00
Bill Paul b337d29402 Repeat after me kids: "I will not try to install files into a directory
when I'm not sure whether or not that directory exists."

Today I discovered that rebuilding /usr/include completely from scratch
doesn't work, because the libss Makefile tries to install headers into
/usr/include/ss, which 'make includes' does not create. The result is that
the libss Makefile plants the header files in /usr/include as individual
files called 'ss,' with the second one overwriting the first, and the
third one overwriting the second. So instead of a directory called
/usr/include/ss, you end up with just one file called /usr/include/ss with
only the last header file in it. Check out /usr/include/ss on freefall
and you'll see what I mean.

I've modified the beforeinstall target in the libss Makefile to check
for the presence of the ${DESTDIR}/usr/include/lbss directory and to
create it if it isn't already there. Hopefully I did it right.
1995-03-15 01:33:05 +00:00
David Greenman e8f1ce6f5a Added $Id$ 1995-03-14 22:15:36 +00:00
David Greenman 2c8fe19f89 pcb allocations are not always done on behalf of a process; it is not
okay to wait.
1995-03-14 21:50:55 +00:00
Ollivier Robert 5eef901954 Add gnu/usr.sbin in the installmost and most targets.
Reviewed by:	roberto
Submitted by:	[email protected]
1995-03-14 21:32:46 +00:00
Stefan Eßer abfefaa786 Fix "-ssync=xx" option. 1995-03-14 21:12:26 +00:00
David Greenman 3c6e6efc95 Added manual page for DEC DEFPA and DEFEA FDDI adapters.
Submitted by:	Matt Thomas
1995-03-14 09:27:20 +00:00
David Greenman d41f24e742 Added support for generic FDDI and the DEC DEFEA and DEFPA FDDI adapters.
Submitted by:	Matt Thomas
1995-03-14 09:16:07 +00:00
David Greenman 78dfa6036a Removed "-D" option and made symbols load all the time. They will be
discarded if the kernel isn't built with DDB.
1995-03-14 08:21:53 +00:00
Poul-Henning Kamp 2706402fd9 This is the shared version of the libgcc which we will need for 2.0 stuff
to run on 2.1.
Obtained from:	2.0-RELEASE bindist
1995-03-14 00:06:11 +00:00
Poul-Henning Kamp 3bc93c76c6 Added a fixit floppy to the rules. 1995-03-13 20:09:38 +00:00
Poul-Henning Kamp c66585d539 Disabled gdb until it compiles. I need make world to work... 1995-03-13 19:14:05 +00:00
Andrey A. Chernov 00c965147b Fix wbkgdset macro
Submitted by: Andreas Wetzel <[email protected]>
1995-03-13 19:02:04 +00:00
Steven Wallace a91ccb55cf Change device entry examples to reflect the following:
Remove PAS-only entry for OPL as ache pointed out.
Update OPL comment to show OPL-2 or OPL-3 support as it is auto-detected.
1995-03-13 18:49:37 +00:00
Andrey A. Chernov 4ad6de4413 Bump SHLIB_MAJOR to 263 to match ../Makefile.inc 1995-03-13 01:30:02 +00:00
Andrey A. Chernov 34ee6d3450 Make /dev/pss instead of /dev/sndproc (unused) 1995-03-13 00:10:40 +00:00
Steven Wallace 12fd08535f Remove old snd file configuration list and add new file list
for the snd controller and the different sound devices.

Update LINT to include all sound device drivers using new format.

Reviewed by:	wollman
1995-03-12 23:43:15 +00:00
Joerg Wunsch 18c0c440eb Do not try to make any notice if the PID file cannot be created.
Makes folks happy that run slattach in single-user, where /var/run is
probably missing.
1995-03-12 23:37:28 +00:00
Steven Wallace 1e25d964d2 Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
  opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart

EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.

Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.

soundcard.c now has additional code to reflect the device driver
routines needed.

Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.

#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.

Probe outputs changed to reflect new device names.

Readme.freebsd not needed.  Update sound.doc with new config instructions.

Reviewed by:	wollman
1995-03-12 23:34:12 +00:00
Andrey A. Chernov c14b1eb830 Add cmp -s to beforeinstall target 1995-03-12 23:21:29 +00:00
Joerg Wunsch 82f5379bc5 Finally get rid of this bothering ``biodone: buffer already done''
warning.  The buffer needs only to be `biodone()' again if the format
operation timed out; otherwise fdstate() did already do the job.
1995-03-12 22:40:56 +00:00
Ollivier Robert 40ac60750c Could some kind soul with commit power please add this site to the mirrors
list? (It should be added at the bottom to the sites serving export-
restricted code, please)

Country         Site and Maintainer
=======         ========================================================
Brazil          ftp://ftp.iqm.unicamp.br/pub/FreeBSD
                Pedro A M Vazquez <[email protected]>

Reviewed by:	roberto
Submitted by:	Mark Murray <[email protected]>
1995-03-12 22:34:05 +00:00
Poul-Henning Kamp 0282d7a383 Don't install shared libgcc, we can't do it this way.
I will uuencode and check in to a "compat20" area the 2.0-RELEASE version.
1995-03-12 20:17:07 +00:00
Bill Paul f7fa522e95 Impliment -ad and -au flags in addition to -a and document the change
in the man page. ifconfig -au affects all interfaces marked as up,
and ifconfig -ad affects only the interfaces marked down. ifconfig -a
still handles everything. This change is purely for compatibility with
SunOS, for those who might be accustomed to the SunOS ifconfig's
behavior.
1995-03-12 19:05:03 +00:00
Bruce Evans f2a5c98e24 Clean up white space. 1995-03-12 15:25:32 +00:00
Joerg Wunsch 21bfcc9f8c Make slattach create a PID file under /var/run when the connection is
established.  This way, automatic scripts are possible that might
control the SLIP connection.  It's unacceptable for a daemon that's
being controlled by a variety of signals to not leave its PID
somewhere.  The file name contains the terminal path name component of
the associated tty device, so it should be unique even with multiple
parallel slattach's running.  The file will be unlinked at regular exit.

Also found a minor bug in the option handling by compiling with -Wall.
1995-03-12 15:04:18 +00:00
Bruce Evans 918bed7582 Remove `|| flags & ALT == 0' which was an obscure no-op, not a
parenthesization/precedence bug.
1995-03-12 13:53:51 +00:00
Ugen J.S. Antsilevich 9870b4d2de Allocate memory as M_IPFW,now we can watch firewall memory usage
in vmstat..
1995-03-12 13:28:13 +00:00
Ugen J.S. Antsilevich 1079e644a8 Fix it - now this programm should work probably..It is
still commented out in rc and i ask everybody to test it and
reply  if it makes any troubles...If no - very good..
1995-03-12 13:27:24 +00:00
Bruce Evans d26be6f09d Obtained from: 1.1.5. Originally by jtc. Cosmetically changed for this
commit by bde.

Fix bugs in floating point formatting.  The 4.4lite version is similar
to revision 1.3 in old-cvs and is missing all of jtc's fixes in revision
1.4 in old-cvs.  Revision 1.2 in ncvs fixed one of the old bugs but
introduced at least one new one (for %.0e).

old-cvs log:
revision 1.4
date: 1993/11/04 19:38:22;  author: jtc;  state: Exp;  lines: +33 -20
My work from NetBSD to make printf() & friends ANSI C compliant.
Fixes several bugs in floating point formatting:
  1. Trailing zeros were being stripped with %e format.
  2. %g/%G formats incorrect.
  3. Lots of other nits.
1995-03-12 13:26:49 +00:00
Ugen J.S. Antsilevich a28fb64b82 Save all changed devices so thet dset would be able to retrive
data and device driver could change it as it wishes to..
1995-03-12 13:25:51 +00:00
Ugen J.S. Antsilevich 3f033b0f76 Add M_DEVS for list of saved isa_device's
and M_IPFW for firewall chans memory on the same opportunity,
theese types of memory are unique enough to have own identifiers and
besides vmstat looks much more useful and right for those now
1995-03-12 13:25:01 +00:00
Ugen J.S. Antsilevich 341dbf8041 Add id_next field to struct isa_device,this does not
breaks anything and needed only in userconfig to make dset work
for now..
1995-03-12 13:23:10 +00:00
Bruce Evans 1475d9283e Move a kernel inline function inside `#ifdef KERNEL' so that including
<vm/vm.h> doesn't cause warnings about nonexistent functions called
by the inline function.  Clean up the formatting of the function.
1995-03-12 12:42:00 +00:00
Bruce Evans 133d0cef4e Fix config-time syntax errors in sound options. 1995-03-12 12:18:43 +00:00
Bruce Evans 97f567ae95 Forward-declare `struct rpc_err' so that it isn't declared inside a
prototype when <rpc/clnt.h> isn't included.
1995-03-12 12:13:37 +00:00
Atsushi Murai 9cfb8f7ee9 Adding tunnel pseudo-device for Network Installation with User process PPP.
Reviewed by:	[email protected]
1995-03-12 12:10:35 +00:00
Atsushi Murai 108136679f Adding GETTING START and so on.
Submitted by:	[email protected]
1995-03-12 12:03:48 +00:00
Bruce Evans dad6f71aed Remove the last vestige of COMMENT_BEGIN. 1995-03-12 11:47:20 +00:00
Bruce Evans 60ae9f8840 Undo most of the changes in the gcc-2.6.3 "upgrade"
- Don't define NO_IMPLICIT_EXTERN_C here.  It is already the default
  (defined in i386/bsd.h).
- Don't lose the fixed comment about FUNCTION_PROFILER.
- Don't lose the define of NO_PROFILE_DATA.

Replace the unused define of COMMENT_BEGIN by the less-unused define
of ASM_COMMENT_START.  COMMENT_BEGIN was only defined in i386-specific
files and was not used in any part of gcc-2.6.3.  ASM_COMMENT_START
is defined for several targets and is used for stuff that we don't
support (dwarf).
1995-03-12 11:45:12 +00:00
cvs2svn 36d59faf6a This commit was manufactured by cvs2svn to create branch 'VENDOR-cvs'. 1995-03-12 10:18:55 +00:00
Joerg Wunsch 8dcdb65e4e Add my script here to make people's life easier when importing new
stuff.  I'd like to have it in CVS, and i figured that this might be
the best place to go.

Someone (phk?) could install it into /usr/local/bin on freefall, for
convenience.

Suggested by: phk
1995-03-12 10:18:54 +00:00
Poul-Henning Kamp fd6eef4fd9 Remove a bunch of funtions that are in libc already.
Add back the shared libgcc, now that we don't use it to link against.
1995-03-12 09:37:26 +00:00
Bruce Evans ec00834c18 Finish the previous change. The device name got lost in diskerr(). 1995-03-12 08:17:30 +00:00
David Greenman c4ed5a07a5 Fixed obsolete comment. 1995-03-12 08:11:34 +00:00
David Greenman 6879ca0fcd Deleted vm_object_setpager(). 1995-03-12 08:05:46 +00:00
David Greenman 61ca29b0e5 Deleted vm_object_setpager(). 1995-03-12 07:58:29 +00:00
David Greenman 4bb624613f Explicitly set object->flags = OBJ_CANPERSIST. 1995-03-12 07:56:06 +00:00
Poul-Henning Kamp 47f196941e Update a couple of counters. 1995-03-12 02:01:20 +00:00
Poul-Henning Kamp dc0b7482de Report the negative hits in the Namei section. 1995-03-12 01:58:18 +00:00
Poul-Henning Kamp c3f4fea40c Don't use curses until initialized. 1995-03-12 01:47:08 +00:00
David Greenman 3d2a8cf3d9 Added a comment. 1995-03-11 22:29:07 +00:00
David Greenman 17dda4c929 Added some additional DIAGNOSTIC code that makes sure that freed
memory addresses and types are with the valid range. Increased
MAX_COPY to 256 (used to verify no freed memory use with DIAGNOSTIC).
1995-03-11 22:28:16 +00:00
David Greenman a14e8fd032 Fix completely bogus comment. 1995-03-11 22:25:20 +00:00
David Greenman 63635f5ae2 Clear OBJ_INTERNAL flag for device pager objects and named anonymous
objects.
1995-03-11 22:25:02 +00:00
David Greenman 9a4bf98e66 Removed gratuitous and *extremely* evil setting of OBJ_INTERNAL. This
caused a cascade of problems including kernel memory corruption, file
corruption, system hangs, and panics.
1995-03-11 22:23:14 +00:00
Gary Clark II b97fb5afcb Add Ollivier as the main FAQ guy...:) (Whew) 1995-03-11 19:13:26 +00:00
Andrey A. Chernov 3ee80812fd Fix syscmd() output out of sync
Submitted by: [email protected]
1995-03-11 16:57:54 +00:00
Ollivier Robert c2766222c3 Add the excellent part on serial communications by Sean Kelly. That's a
great job, thanks Sean !
Reviewed by:	roberto
Submitted by:	Sean Kelly <[email protected]>
1995-03-11 16:48:17 +00:00
Atsushi Murai ca2b8d6944 Add BUGS and few explanation.
Submitted by:	[email protected]
1995-03-11 16:36:30 +00:00
Atsushi Murai 84b8a6ebd1 1.Reducing cpu usage at off connection.
2.Implment Redail function as working correctly.
3.Clean up a code as I notice.
4.Now, RTT getting close to 50ms with ISDN/TA 38400bps !!

Reviewed by:	[email protected]
Submitted by:	[email protected]
1995-03-11 15:18:55 +00:00
Peter Dufault a1b8d6bad1 Noticed by: Nate
Fixed the MAKEDEV pattern for SCSI processor type driver so it doesn't
screw up ptys.  Does anyone want to suggest a better name than "pt0" for
SCSI processor devices before 2.1?
1995-03-11 12:07:57 +00:00
Poul-Henning Kamp 5dad287ead The changes to support the new flags in the vn driver. 1995-03-11 09:33:25 +00:00
Poul-Henning Kamp 5511b2e4f3 A substantial change to the way this works. Not the "TEST_LABELING" is
a option you can turn on and of on the fly, as is debugging.
1995-03-11 09:32:45 +00:00
Nate Williams c6bc11c2f6 Added support for #pragma weak.
Obtained from: NetBSD
1995-03-11 04:07:26 +00:00
Nate Williams b18f8c1dda Updated the sources to gcc 2.6.3 with FreeBSD changes already applied.
Note: This isn't the most correct way, but it works and it's fast.
1995-03-11 03:51:44 +00:00
Poul-Henning Kamp fc20488fba Moved bb stuff to support.s per Bruces suggestion. 1995-03-11 03:49:50 +00:00
David Greenman 07be9bd45f Increased default minfree to 8%. 1995-03-10 22:18:16 +00:00
David Greenman e23c0ff5a0 The threshold for switching from time-space and space-time is too small
when minfree is 5%...so make it stay at space in this case.

Submitted by:	Kirk McKusick
1995-03-10 22:11:50 +00:00
David Greenman 57677027ac Patch to fix quota panic from Mike Karels:
allow Q_SYNC regardless of "target" uid, we allow it with -1;
fix bug that caused all ops to refer to user quotas, not group.

Submitted by:	Mike Karels
1995-03-10 22:06:39 +00:00
David Greenman f8a0b2dd88 Reorganized an if() expression for efficiency. 1995-03-10 21:18:24 +00:00
David Greenman 914e6eb70d Whoops, back out that last change - I misread what Poul had done there. 1995-03-10 20:29:51 +00:00
David Greenman dbd90d413f Don't thrash the name cache while trying to fill up the object cache.
(Make a new cache entry until desiredvnodes is reached).
1995-03-10 20:26:29 +00:00
David Greenman 8950c0148b Changes to support printing stats for the 'cached pages'.
Submitted by:	John Dyson
1995-03-10 20:07:21 +00:00
David Greenman 28b6ade77a Back out Poul's hack that forces static libgcc. This has been fixed via
gcc instead.
1995-03-10 19:41:50 +00:00
David Greenman c683527908 Define LINK_LIBGCC_SPECIAL_1 so that gcc will build static with libgcc. 1995-03-10 19:39:32 +00:00
Rodney W. Grimes 812a118139 Add protected and empty maninstall: targets.
Submitted by:	Philippe Charnier <[email protected]>
1995-03-10 08:54:42 +00:00
Poul-Henning Kamp 14c5b2ae27 Added the kernbb program. No man-page yet :( 1995-03-10 08:53:55 +00:00
David Greenman a74a73d96c Removed some #include's of unnecessary include files. 1995-03-10 08:44:20 +00:00
Rodney W. Grimes cf4a93ba78 Simplify all the newfs commands into ${NEWFS} and add -t 0 -u 0 so
we can again newfs floppies.

Now I just need to squish the bits back under 1.44MB :-(.  I don't know
if it will be possible to get down to 1.2MB.
1995-03-10 08:42:07 +00:00
Poul-Henning Kamp 9eefa8bfc4 Add a dummy ___bb_init_func for BB profiling of the kernel.
To use this: recompile src/gnu/usr.bin/cc, compile your kernel.  The
files you want to profile should be compiled with '-a -g'.  "strip -x"
the kernel and run.  You don't need to profile all files in the kernel.
My next commit is the program to extract the data from the running kernel.
1995-03-10 08:41:26 +00:00
Rodney W. Grimes a5d1fbe54d Need /usr/src/sbin/i386 in srcdirs to get fdisk. 1995-03-10 08:36:19 +00:00
Poul-Henning Kamp 93ccf2fa5e Since we are in the gcc bashing mood anyway: Add two changes for
basic-block profiling:
1. use a .stabs(25) symbol to link all the data structures together with.
The regular method isn't safe for the kernel.
2. add a BB before the prologue and add a BB after the epilogue,  this
alows us to find the length of any counted BB.  This is a cheap and somewhat
reasonable measure of actual cost.
1995-03-10 08:24:09 +00:00
David Greenman b4abbbcad3 kmem_alloc() returns zero-filled memory; it isn't necessary to bzero()
it.
1995-03-10 08:13:07 +00:00
David Greenman 90c47808bb Removed unnecessary routines vm_get_pmap() and vm_put_pmap().
kmem_alloc() returns zero filled memory, so no need to explicitly
bzero() it.
1995-03-10 08:05:00 +00:00
Paul Traina 35040f6884 Remove Matt Day patch (handled elsewhere in 8.6.11) 1995-03-10 05:12:47 +00:00
Paul Traina d986f3c961 Merge CSRG branch changes into main branch 1995-03-10 05:08:18 +00:00
Paul Traina 2a3b769d01 Merge sendmail 8.6.11 patches into CSRG branch 1995-03-10 04:50:28 +00:00
Andrey A. Chernov b603d90c20 Fix suspended vipw hangs
Obtained from: NetBSD
1995-03-09 21:53:12 +00:00
David Greenman 632f53dd4f Fix previous fix that removes an unnecessary space; the output is now
just like it was in 1.1.5.
1995-03-09 20:40:17 +00:00
Poul-Henning Kamp bff1f1d0dd Clean up and improve the namecache.
1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
Clean up and improve the namecache.

1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
gets forced out of the VM/cache.  The latter is not numerous enough to keep
the pool of vnodes needed for the namecache sufficiently big.

2. Purge invalid entries in the namecache as soon as we notice them.  This
avoids a stale entry pushing out a valid entry on the LRU list.

3. Speed up the lookup in the namecache by avoid a special case branch.

4. Make the cache purge routines do the thing they're supposed to, and in
a decently efficient manner.

5. Make the size of the namecache follow the number of vnodes, so that we
can always point to all the vnodes we have in core.

6. Readability has gone way up.

7. Added a "options NCH_STATISTICS" feature that will gather more
detailed statistics on the performance of the namecache.

Reviewed by:    davidg
1995-03-09 20:27:21 +00:00
Poul-Henning Kamp fbd6e6c9ef Clean up and improve the namecache.
1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
Clean up and improve the namecache.

1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
gets forced out of the VM/cache.  The latter is not numerous enough to keep
the pool of vnodes needed for the namecache sufficiently big.

2. Purge invalid entries in the namecache as soon as we notice them.  This
avoids a stale entry pushing out a valid entry on the LRU list.

3. Speed up the lookup in the namecache by avoid a special case branch.

4. Make the cache purge routines do the thing they're supposed to, and in
a decently efficient manner.

5. Make the size of the namecache follow the number of vnodes, so that we
can always point to all the vnodes we have in core.

6. Readability has gone way up.

7. Added a "options NCH_STATISTICS" feature that will gather more
detailed statistics on the performance of the namecache.

Reviewed by:    davidg

(cvs is dumping core on me :-(  )
1995-03-09 20:27:04 +00:00
Poul-Henning Kamp b2e10d6d6f Clean up and improve the namecache.
1. We always keep one 16th of the vnodes on the freelist, so that the
namecache doesn't get trashed.  It used to be that it wasn't a problem, but
the only vnodes getting released these days are directories and things which
gets forced out of the VM/cache.  The latter is not numerous enough to keep
the pool of vnodes needed for the namecache sufficiently big.

2. Purge invalid entries in the namecache as soon as we notice them.  This
avoids a stale entry pushing out a valid entry on the LRU list.

3. Speed up the lookup in the namecache by avoid a special case branch.

4. Make the cache purge routines do the thing they're supposed to, and in
a decently efficient manner.

5. Make the size of the namecache follow the number of vnodes, so that we
can always point to all the vnodes we have in core.

6. Readability has gone way up.

7. Added a "options NCH_STATISTICS" feature that will gather more
detailed statistics on the performance of the namecache.

Reviewed by:	davidg
1995-03-09 20:23:45 +00:00
Paul Richards 0d09ae1111 Change the return status of do_system_command to be -1
if a signal is received.

This fixes a bug where killing the process would cause a
"No manual entry for XXX" to be printed even if the manpage
was found.
1995-03-09 19:56:23 +00:00
Andrey A. Chernov b76cc0f831 stdio.h --> unistd.h 1995-03-09 17:45:23 +00:00
Andrey A. Chernov 0572cd894a Merge. 1995-03-09 17:40:56 +00:00
Andrey A. Chernov 0e0d6a8042 Upgrade. 1995-03-09 17:28:46 +00:00
Andrey A. Chernov 4ef279038c This commit was generated by cvs2svn to compensate for changes in r6962,
which included commits to RCS files with non-trunk default branches.
1995-03-09 17:28:46 +00:00
Andras Olah c8f313a356 Add -I.' to CFLAGS in order to fix the make depend' problem. 1995-03-09 12:15:17 +00:00
Andrey A. Chernov f01592bbca o more options
o less restrictive, you can choise uid, gid ...
	o invite user into some groups
	o encrypted passwords with crypt
	o batch mode (for instance, this works now:
	  $ adduser -batch jkh guest,uuadmin "Jordan K. Hubbard" passwd
	  see manpage for more details)

Submitted by: Wolfram Schneider <[email protected]>
1995-03-08 22:44:37 +00:00
Ugen J.S. Antsilevich 6a8cccb088 Remove redundant IORW definition..
because of this definition never ioctl's for sound
devices worked..For me this resulted also in  loss of
snd1 device...
1995-03-08 18:43:49 +00:00
Nate Williams 2899d0086a Removed redundant function to64() which also exists in local_passwd.c 1995-03-08 18:05:50 +00:00
Andras Olah 9520a7526d Make tcpdump understand the T/TCP (RFC-1644) options. Some extra sanity
checks were also introduced to the tcp_print function so it doesn't try
to interpret TCP options beyond the length of the sniffed packet.
1995-03-08 13:13:01 +00:00
Andras Olah cafb7c1233 Upgrade tcpdump and tcpslice to version 3.0
Obtained from: ftp.ee.lbl.gov and Vern Paxson <[email protected]>
1995-03-08 12:53:42 +00:00
Andras Olah 1dcbf7af64 LIBPCAP -> ${DESTDIR}/usr/lib/libpcap.a 1995-03-08 09:01:32 +00:00
Bruce Evans b2fd1f671d Obtained from: NetBSD
Remove common sources from ${SRCS} when they are replaced by arch-specific
sources.
1995-03-08 01:41:40 +00:00
Poul-Henning Kamp a0e8a1e29b Another little optimization to the nameicache.
If an entry is stale, ditch it.
1995-03-08 01:40:44 +00:00
Poul-Henning Kamp 2425396b27 Improve the quality of the hash used in the namei-cache. 1995-03-08 01:08:03 +00:00
Søren Schmidt edf16d1564 Added ata.c device driver file.
Just so I don't have to repatch files.i386 again & again...
1995-03-07 21:15:30 +00:00
David Greenman d8cb3fb153 Increased number of buffers to 1/12 of (page_count - 1024). This makes the
cache minimum closer to 10% in the usual case.
1995-03-07 19:58:02 +00:00
David Greenman 5dcf309046 Removed most of the special policy regarding the seperation of VMIO and
dir/metadata buffers as it seems to have anomolous effects.
1995-03-07 19:53:27 +00:00
David Greenman 0007244260 Set VAGE flag when pager is destroyed. This usually happens when an
object has fallen off the end of the cached list - this is likely the
last reference to the vnode and it should be reused before non file
vnodes that are already on the free list (VDIR mostly).
1995-03-07 19:04:10 +00:00
David Greenman 79f7a9e1ef Added a new flag "VAGE" to indicate that the vnode should go on the head
of the free list.
1995-03-07 19:00:47 +00:00
David Greenman acc835fd3f Put VAGE vnodes at the head of the free list. 1995-03-07 18:59:45 +00:00
David Greenman f2da180f8e Fixed object reference count problem that occurred in the MAP_PRIVATE
case after we rewrote vm_mmap(). Added some comments to make it easier
to follow the reference counts.
1995-03-07 17:27:49 +00:00
David Greenman be6d5bfac7 Don't attempt to reverse collapse non OBJ_INTERNAL objects. 1995-03-07 17:25:46 +00:00
Ollivier Robert 05048ea000 Correct a few URL for ftp.FreeBSD.ORG. 1995-03-07 13:54:44 +00:00
Peter Dufault 84d84db480 Change warning message for when a device is wired to a floating
host adapter to something hopefully clearer.  Take into account
that "wnum()" writes into a static buffer in the warning.
1995-03-07 11:03:42 +00:00
Justin T. Gibbs 06f0e1ceb8 Be careful to maintain the bits in SBLKCTL that are reserved. 1995-03-07 09:00:44 +00:00
Justin T. Gibbs 7896fbec24 Compile cleanly -Wall. Remove some code that was an attempt to make
the 294x probe more stable, but since the guess was wrong, go back to
the clearer aproach I used the first time around.
1995-03-07 08:59:28 +00:00
Justin T. Gibbs 433c166775 Compile cleanly -Wall. 1995-03-07 08:58:22 +00:00
Bruce Evans 553e72d902 Don't build swab.o here. It gets built in libc/i386/string. Previously
the copy built from here was overwritten by the other copy and the other
copy was put in library-building command lines twice.  ld now objects to
duplicated modules.
1995-03-07 04:19:11 +00:00
Peter Dufault 558b7c23d1 Submitted by: [email protected] (Bruce Evans)
Fix it so that calls to extend_get won't dereference 0 when "swap
on sd.." calls sdsize() on systems with no SCSI devices.

This probably really fixes Poul's "boot with no SCSI" problem.
1995-03-06 15:02:13 +00:00
Jordan K. Hubbard f7ae0afb88 Back out my previous change and file it under the catagory of One Of Those
Things That Seemed Like A Good Idea At The Time.  There's a better solution
for /etc out there and this is not a step in that direction.
1995-03-06 14:33:39 +00:00
Stefan Eßer d3b1e73dd2 Add missing double quote (") in "echo".
Submitted by:	[email protected]
1995-03-06 13:32:58 +00:00
Jordan K. Hubbard fdf5c453e0 We can't bail out on generating the pic archive yet.
Submitted by:	bde
1995-03-06 12:17:49 +00:00
Ugen J.S. Antsilevich 7332d95a98 Restore IPACCT out there.. 1995-03-06 10:33:34 +00:00
Ollivier Robert ffa717dd36 Change some names to First_name Last_name with proper capitalization.
Fix a typo.
1995-03-06 09:54:06 +00:00
Poul-Henning Kamp 3d496ce9e4 Don't make the shared libgcc. I don't belive we need the libgcc_pic.a
anymore, so I killed that as well.
1995-03-06 08:04:05 +00:00
Poul-Henning Kamp 316f7f7725 Never again shall we link libgcc dynamic. It was a big mistake in the
first place and we were too long in finding out.  Now we know, and the
damage is hard to fix.  This is part one:  ld will not link gcc dynamic,
if specified as "-lgcc".

Suggested by:	dyson & davidg
1995-03-06 08:00:23 +00:00
Poul-Henning Kamp 30f467d84a Update vfs_cache.c to use the <sys/queue.h> macros. This makes it easier
to read, but doesn't change the speed.

Reviewed by:	phk
Obtained from:	via NetBSD
1995-03-06 06:45:52 +00:00
Nate Williams 7cd21d1909 Since at least one utility depends on it (GNU diff), install the gnu regex
include file (gnuregex.h) in the includes target.
1995-03-06 05:52:47 +00:00
Nate Williams 0be9c260c5 Install the include file in the same way that all other includes file are
in the 'beforeinstall' target.
1995-03-06 05:51:32 +00:00
David Greenman 7c89bce067 Removed an old (commented out) call to cldisksort(). This has been
obsolete since 4.4 clustering.
1995-03-06 05:40:44 +00:00
David Greenman e1acba5ab1 Remove some of my old debugging junk that somehow slipped in under my nose. 1995-03-06 05:36:59 +00:00
Nate Williams 7e58dfddc1 The new ld has apparently uncovered the bug that sio.c and tty.c
both define ttydefchars[] as globals.  This was fixed in 1.1.5
by making ttydefchars[] static like it should always have been.

Submitted by:	Bruce Evans <[email protected]>
1995-03-06 02:50:49 +00:00
Nate Williams 9617d8b1f6 Removed unnecessary define for TCPOUTFLAGS since they are not used. 1995-03-06 02:49:24 +00:00
Ollivier Robert 1dd5ec0345 Add a remark about the new ctm-announce list. Everyone that use CTM
SHOULD subscribe to it.
Reviewed by:	roberto
Submitted by:	Poul-Henning Kamp <[email protected]>
1995-03-05 23:13:08 +00:00
Joerg Wunsch 2389804061 Make `p'' an explicit alias for `print'' instead of being an
implicit alias for ``panic'', since this seems to be more rational.
1995-03-05 22:56:21 +00:00
Joerg Wunsch 31aafd54c3 Adding the various documentation files that are accompanying
the regular pcvt distribution under pcvt/Misc.
1995-03-05 22:50:24 +00:00
Bill Paul e7969ab094 Added support for bootparams map. 1995-03-05 22:48:50 +00:00
Joerg Wunsch 0e679f8b28 Upgrade to beta 3.20/b22 1995-03-05 22:47:12 +00:00
Joerg Wunsch 9fef3e04b3 Adding the various documentation files that are accompanying
the regular pcvt distribution under pcvt/Misc.
1995-03-05 22:44:03 +00:00
Joerg Wunsch d83a2a270d Update to beta3.20/b22
pcvt_ioctl.h doesn't belong to here.
1995-03-05 22:26:21 +00:00
Joerg Wunsch 1076e16083 Update to beta3.20/b22 1995-03-05 22:25:44 +00:00
Joerg Wunsch 0aff94e169 Make pcvt actually work. 1995-03-05 22:24:59 +00:00
Joerg Wunsch 68cfe626f7 pcvt is still using the XSERVER option; document this. 1995-03-05 22:23:35 +00:00
Steven Wallace 66e456c58e Revert to earlier code which contains FreeBSD snd[1-7] probe information,
$Id$ information, and other code to make sound driver compile and work
correctly with FreeBSD.

Integrate changes obtained from Sujal Patel.  These changes are:
 o  local.h:  reverse option logic from EXCLUDE_* to AUDIO_*
 o  pas2_mixer.c:  small addition
 o  ad1848.c:  minor change with macro names
 o  sequencer.c:  minor change with note check
 o  many spelling corrections in comments in about every other file
1995-03-05 22:11:57 +00:00
Bill Paul 7757d94047 ether_addr.c:
- Implement ether_hostton()
- Implement ether_aton()
- Modify ether_aton() and ether_ntoa() to match the semantics of the
SunOS versions of these functions.
- Neaten up ether_hostton() and ether_ntohost() a little.
- Get rid of ether_print() since it isn't needed for rarpd and it isn't
documented as a standard ethers(5) function.

rarpd.8:

- Make it clear that the 'ipaddr' that rarpd looks for in /tftpboot
is actually in hexadecimal (as in /tftpboot/803B4032) since those who
are not versed in the black art of system administration are not likely
to know this.
1995-03-05 22:04:05 +00:00
Jordan K. Hubbard 68f4eef929 If there is a host-specific rc file lurking in /usr/share/misc, execute
it.
Submitted by:	Heikki Suonsivu <[email protected]>
1995-03-05 22:00:40 +00:00
Jordan K. Hubbard 8d0ab00912 Allow 0 as a signal number to match the man page.
Noticed by:	Mike Murphy <[email protected]>
1995-03-05 21:52:41 +00:00
Jordan K. Hubbard feadd38979 Reserve cdev 63 for Brian Litzinger & his Talisman Lite MPEG decoder
Submitted by:	Brian Litzinger <[email protected]>
1995-03-05 21:41:40 +00:00
Poul-Henning Kamp fcb2469be6 "Various very violent dissections
disables dysfunctional disinformed namei's,
needlessly negating namei cache."

These hacks cuts the number futile attempts made by cc and ccp to find
cross-compilers and other weird stuff.  A make of the BOOTFLP kernel
has 20% less namei calls now, that is from 30647 down to 24563 calls.
1995-03-05 20:34:41 +00:00
Peter Dufault 0f48de1c30 Fix when SCSI_DEBUG turned on. Thanks to Michael Reifenberger. 1995-03-05 20:01:44 +00:00
Joerg Wunsch 2723e3d4c6 Use `interactive' (foreground) delivery by default. The old behaviour
of queuing mails only can be restored by uncommenting a CFLAGS+= line
in the makefile, so sites that _really_ need this (perhaps some huge
mail hubs) can still have it.  The majority of FreeBSD boxes is better
served with an immediate delivery (and last time i've been asking on
the list, nobody complained).
1995-03-05 08:27:14 +00:00
Jordan K. Hubbard 3c931b7071 Have dmabuf.c match the roll-back in soundcard.c. We should be making
better noises again.
Submitted by:	Sujal Patel <[email protected]>
1995-03-05 08:10:28 +00:00
Bill Paul bf3e3428b6 Changed the printf()s in npxattach a bit so you don't end up with
messages like this:

wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST506>
wd0: size unknown, using BIOS values: 615 cyl, 4 head, 17 sec, bytes/sec 512
npx0 at 0xf0-0xff irq 13 on motherboard
npx0: changing root device to wd0a
^^^^^^

The spurious 'npx0: ' pops up if you have a 386 with a 387 FPU.
1995-03-05 04:06:44 +00:00
Jordan K. Hubbard 383fc89445 Correct some of the spelling. 1995-03-05 04:06:11 +00:00
Jordan K. Hubbard 7a31e4deeb Revert change on advice of author.
Submitted by:	Sujal Patel <[email protected]>
1995-03-05 04:01:29 +00:00
Andrey A. Chernov 21a3970b05 PLEASE, PLEASE, PLEASE!!!!!!!
DO NOT COMMIT NEW VOXWARE VERSIONS BLINDLY, TAKE CARE TO RESTORE
PAS16D FIXES, I AM REALLY TIRED TO DO IT WITH EACH NEW RELEASE!!!
1995-03-05 03:28:38 +00:00
Bruce Evans 84428d8465 Don't depend on <stdio.h> bogusly including <sys/types.h>. 1995-03-05 02:19:21 +00:00
Jordan K. Hubbard 7b936a1e66 Remove a gratutious cast. 1995-03-04 21:14:19 +00:00
Jordan K. Hubbard ca83dc2de1 Upgrade the sound drivers to VoxWare pre-3.0 and fix a number of bugs.
Make the sound configuration a little neater
	(see /sys/i386/isa/sound/Readme.freebsd)
Add support for the Microsoft Sound Source.
Document the sound options again.
Submitted by:	Sujal Patel <[email protected]>
Obtained from:	Voxware
1995-03-04 21:11:21 +00:00
Poul-Henning Kamp dd8723c2e3 make sys_nerr __const.
Reviewed by:	phk
Submitted by:	ollivier
1995-03-04 20:57:12 +00:00
Peter Dufault cb282243be This time add the real man pages for "pt" and "worm". 1995-03-04 20:56:39 +00:00
Peter Dufault 8bcbc1f424 Add processor and worm drivers 1995-03-04 20:54:24 +00:00
Peter Dufault 108b30f402 Add processor type and worm drivers 1995-03-04 20:53:18 +00:00
Peter Dufault 33bc833290 Add processor type and worm type drivers 1995-03-04 20:52:38 +00:00
Peter Dufault f29b7a5d14 1. Change driver signatures to full signature for slice support.
2. Add "pt" (processor type) driver.
3. Add "worm" (Write Once) driver for Jordan.
1995-03-04 20:51:10 +00:00
Poul-Henning Kamp 920052bded Look at the .ctm_status file and ignores all patches already applied.
Reviewed by:	phk
Submitted by:	J Wunsch <[email protected]>
1995-03-04 20:36:46 +00:00
Andrey A. Chernov a1bb896c3a Use \E[x in "op" for cons25 1995-03-04 20:14:28 +00:00
Nate Williams c79eac4c4c Weak symbol support from NetBSD. This should bring us in sync with the
NetBSD ld code except for local changes for dlopen() and friends and
the hashing on the minor value of the shlibs.  We should be binary
compatible now with all their libraries.

Obtained from: NetBSD
1995-03-04 17:49:20 +00:00
Nate Williams 5ec07232b9 Fix rpcgen so that generated files are written to the current working
directory (instead of the same directory as the source files) and that
#includes in those files do not contain the path to the source file.

Obtained from: J.T. Conklin via NetBSD
1995-03-04 17:47:50 +00:00
Nate Williams 4f749d2669 If we are going to set the OBJS target, don't add to the old target. This
caused the RPC libraries to contain two versions of the same file.
1995-03-04 17:39:24 +00:00
David Greenman 9bd1697199 Added some more of John's "anti-chatter" fixes - set the page activation
count to 0 after activating the page; the previous behavior biased the
pages too high in some cases.

Submitted by:	John Dyson
1995-03-04 15:16:07 +00:00
Bruce Evans b09e27e3d0 Remove unused common variable `extended'. 1995-03-04 12:36:55 +00:00
Bruce Evans f8360b9bf3 For sd, vn and wd:
Support sliced devices better.  E.g.:
`sh MAKEDEV sd0' creates [r]sd0 and [r]sd0s[1-4] as well as [r]sd0[a-h]
(the extra devices created by default won't hurt apart from wasting inodes).
`sh MAKEDEV sd0s1[a-h]' creates [r]sd0s1[a-h] (any partition creates all).
`sh MAKEDEV sd0s5' creates [r]sd0s5.

Support unit numbers 0-31 (was 0-6).

For wd:

Remove support for creating DOSpartitions wd*[i-m].  These will get removed
if you run MAKEDEV on `all' or on wd*.
1995-03-04 12:22:14 +00:00
Bruce Evans 7262c5ee2c Support extended DOSpartitions.
Accept even suspicious partitions.

Moved most handling of the compatibility slice to dsopen().

Report i/o errors.
1995-03-04 11:44:05 +00:00
Bruce Evans 2973a0eba4 Don't warn about missing labels for non-BSD slices.
Don't print debugging messages by default.

Initialize the compatibility slice here and not in the machine-dependent
code.

Fix initialization of the label for the whole disk slice.

Make it clear that write protection of labels doesn't apply when there is
no label.
1995-03-04 11:42:27 +00:00
Bruce Evans 17fb427c08 Fake the geometry to be 32 sectors * 64 heads * (vn->sc_size / 2048)
cylinders instead of vn->sc_size * 1 * 1.

Remove unnecessary tests of the unit numbern vnioctl().
1995-03-04 11:08:26 +00:00
Bruce Evans 80eee75ed9 Add a type field to struct diskslice. 1995-03-04 11:05:44 +00:00
Dima Ruban 21fa3d85e3 "vidcontrol -s" -> "modload" 1995-03-04 08:03:28 +00:00
David Greenman af78195e00 Reduced loopback MTU to 16k to work around a miriad of problems with it
set near or above 32k (likely caused by 16bit signed word overflow). 16k
actually (surprizingly) has higher performance than other values I tested.
1995-03-04 04:28:50 +00:00
David Greenman 403ef252fa Removed obsolete vtrace() remnants. 1995-03-04 03:24:45 +00:00
David Greenman 812a11a2ec Removed obsolete vtrace() and reorganized a little. 1995-03-04 02:25:36 +00:00
Andrey A. Chernov c08bf286df Use ASCII lock, like everything else does
Submitted by: John Capo <[email protected]>
1995-03-04 00:05:30 +00:00
Gary Palmer 3c4d31f1c8 Add support to miss out ``DUDS'' subdirectories. See thread in freebsd-ports
for more.
1995-03-03 23:30:32 +00:00
Andrey A. Chernov 12a34c80d0 Upgrade cons25 and cons25-r to lastest syscons changes 1995-03-03 23:29:22 +00:00
Andrey A. Chernov 2a999a94c3 Remap Grey Delete to ESC[~ 1995-03-03 23:21:52 +00:00
Andrey A. Chernov 72fe72793f Remove unwanted change sneaked in 1995-03-03 23:17:32 +00:00
Andrey A. Chernov 537907d280 Fix flag bugs with RUKEYMAP 1995-03-03 23:12:20 +00:00
Andrey A. Chernov ac9de083c6 Restore russian traditions 1995-03-03 22:55:02 +00:00
Bill Paul 112072599b Gave rarpd back the ability to poke temporary entries into the arp
table; arptab.c is really a hacked up version of arp.c that only
supports adding temporary entries. (This stuff is nasty -- I wish I
knew what was so wrong with SIOCSARP/SIOCGARP/etc... that made the
BSD developers decide to take it out.) The idea here is that the
client issuing the rarp is expected to be in the middle of booting
and would therefore be unable to answer arp queries from other machines
on the wire. Having rarpd stuff a temporary entry for the booting
host into the local arp table helps keep arp requests from going unanswered.

Also added ether_print() and ether_ntoa() to the ether_addr.c module.
Eventually I'll get ether_aton() and ether_hostton() written and
then this file can be dropped straight into libc. (Assuming no one
objects, of course. :)
1995-03-03 22:20:15 +00:00
David Greenman 3b7517f887 Preserve reverse link integraty while doing the queue insertion. 1995-03-03 22:14:42 +00:00
David Greenman 22470903a0 Fixes from John Dyson to work around vnode lock hang. Basically, remove
the VOP_BMAP calls, and add one to bdwrite.

Submitted by:	John Dyson
1995-03-03 22:13:16 +00:00
Peter Dufault 1ea3a7260a Make sure there is a device before opening. Fixes NULL access
when opening unattached devices.
1995-03-03 21:38:43 +00:00
Dima Ruban 50d387a36e remove option "-s saver" from usage() 1995-03-03 21:21:24 +00:00
Jordan K. Hubbard fe8d7aae57 Remove bogus email message from the top.
Change spelling of "obsolute" to "obsolete" ("obsolute" is the pinacle
of obsolescence :-).
Submitted by:	me
1995-03-03 20:17:16 +00:00
Peter Dufault f88f624943 Fixed bug with wiring down given SCSI bus. 1995-03-03 19:00:39 +00:00
Nate Williams 00076281bf Make in lkm/syscons fails due to missing include for apm stuff.
Submitted by:	John Capo <[email protected]> and John Hay <[email protected]>
1995-03-03 18:38:00 +00:00
Nate Williams 2e2c837a56 Removed redundant delcaration of msdosfs_denode.c from the SRCS line. 1995-03-03 18:33:04 +00:00
Stefan Eßer 9aae4932d6 Have this resemble an actual german keyboard a bit more ... 1995-03-03 18:26:10 +00:00
Stefan Eßer 252e349211 Reduce burst length to 4 DWORDs for now, since there seem to
be 486 chip sets that can't tolerate bursts > cache line size.
This should really made dependent on the particular buggy
chip sets, but for now we'll play safe ...
1995-03-03 16:44:33 +00:00
Nate Williams 19b72402c7 emoved redundant definition of imcs2_close() since it already exists in
ibcs2_file.c

Reviewed by:	Sean and S'oren
1995-03-03 15:44:44 +00:00
Ugen J.S. Antsilevich 009f85df0b Update manpage..BTW,if somebody wit good English
would go through it and fix it would be a really good idea.
1995-03-03 12:59:47 +00:00
Ugen J.S. Antsilevich 3c3f8b95a8 Oops..remove some debugging leftover.. 1995-03-03 12:47:23 +00:00
Ugen J.S. Antsilevich 9071ec3796 Ok..so everybody picking on me that ipfw syntacs
is a pain in ...wel.. trying to fix this
 * from/to/via position indepenndant syntax
 * "any" for 0/0 host address
 * addf/addb default keyword in case you skip it..
 * pass = accept new action, seems to be somewhat better
   in particular cases
 * on = via (as on ed0 instead of via ed0,loook at
   reject tcp on ed0 from hacker )
1995-03-03 12:28:34 +00:00
Søren Schmidt dc463a367e Minor update to syscons.
Let "grey delete" be a function key (default is 0x7f)
Fix the xor cursor again..
Made the backspace key generate del as default
Made CTRL-space generate nul as default.
1995-03-03 08:37:52 +00:00
Jordan K. Hubbard 0722449a9b Back out my previous change. I need to really think about this. 1995-03-03 07:42:10 +00:00
Jordan K. Hubbard 493d75a9d5 A small feature just for my own use. 1995-03-03 06:53:27 +00:00
Andrey A. Chernov 5b79c36cbc Solve conflict between two global force variables 1995-03-03 02:34:14 +00:00
Andrey A. Chernov ad17fe5cc1 Fix CurHostName ($m macro)
Submitted by: [email protected]
1995-03-03 02:06:39 +00:00
David Greenman 9ad19d92e1 Use copyout to install the sigframe rather than directly writing to the
user's stack.
1995-03-03 00:43:08 +00:00
Bill Paul 37fda94006 Make 'config [kernel] swap generic' work again. It would seem that
'matcd' has taken over the position and major number of 'pcd,' so
swapgeneric.c needs to be updated accordingly. (It was still looking
for pcd.h.)
1995-03-02 23:45:49 +00:00
Stefan Eßer a2564a2e9c Disable vga_attach() code, as it always should have been. 1995-03-02 23:29:44 +00:00
Bill Paul c7f2725d43 Took out .include "../../Makefile.inc" which shouldn't be needed now that I
put a proper Makefile.inc in the top level of the bootparam heirarchy.
(Someday I'll learn. *sigh*)
1995-03-02 22:00:33 +00:00
Stefan Eßer 79a6470e10 Speed up PCI attach code by ommiting test if its result is ignored anyway. 1995-03-02 21:51:53 +00:00
Bill Paul c529ee1973 Whoops. I knew I was forgetting something. 1995-03-02 21:24:54 +00:00
Bill Paul e8dfeb8828 Some people have complained that they were unable to boot the
Feb. 10th snapshot. The keyboard probe in the bootblock seems to
have been singled out as the cause of these problems, so I've beefed it
up alittle. This pushes us right up to the edge of the size limit:
the second stage boot is now 7152 bytes in size, just 8 bytes under
the wire. On the other hand, the new probe now does almost exactly
what syscons does, so hopefully this will do the trick. It seems
to work properly on my hardware, but then so did the old probe.
1995-03-02 21:00:14 +00:00
Nate Williams d6212a19ca Add the abilitity to compile the Lites code with the native FreeBSD assembler.
(This adds minor support for the .bss directive)

Submitted by:	Many folks, but I believe Remy Card was the first person to
                propose this change.
1995-03-02 20:29:18 +00:00
Peter Dufault 833eac3148 Fix it so that systems with NSCBUS==0 don't have undefineds. 1995-03-02 20:07:05 +00:00
David Greenman 9d55322b75 Don't try to cluster busy buffers.
Submitted by:	John Dyson
1995-03-02 19:36:50 +00:00
Gary Clark II 0e6a76efea Add notice for Jordans submitters.FAQ.
Cleaned up entry on sup to point to the correct area.
1995-03-02 19:34:05 +00:00
David Greenman 3dbdc25caa Move exact match pcb's to the head of the list to improve lookup
performance.
1995-03-02 19:29:42 +00:00
Jordan K. Hubbard 3d0dfb4eea My first rough cut at a guide to new submitters. I started out answering
someone's question and ended up writing an entire FAQ - I *hate* that! :-)
1995-03-02 12:28:04 +00:00
Jordan K. Hubbard f0ce30bcf4 Add this file here so I finally have something to point people at as a
prototype.
Obtained from: U.C. Regents standard copyright.
1995-03-02 12:00:16 +00:00
Rodney W. Grimes 0af0a35d04 Correct printf format strings to match argument types.
This driver now compiles -Wall both with and without debugging enabled.
1995-03-02 08:17:14 +00:00
Rodney W. Grimes e902ae382a Remove unused variables, and move some inside of DEBUGDO to quite up
compiler.
Be carefull about over usage of volatile, it really killed performance
in a few areas and there was a better place to make things volatile in
almost all cases.  The driver can now receive at full speed without RNR
errors.
1995-03-02 07:40:27 +00:00
Jordan K. Hubbard d52f2f6e84 Move the matcd includes to the right place. 1995-03-02 07:38:12 +00:00
Jordan K. Hubbard 3c034efc04 Finish the matcd import. My face is red. 1995-03-02 07:34:38 +00:00
Jordan K. Hubbard 4c08a2305c Fix up the matcd import. 1995-03-02 07:33:59 +00:00
Jordan K. Hubbard d3468839bf Add Bill Paul to contributors list. We probably need a "FreeBSD associates"
list or something since there are many contributors now but very few on
the order of folks like Bill or Satoshi or Jean-Marc..  This seems unfair.
Suggestions?
1995-03-02 07:20:59 +00:00
Bill Paul 8c9c9e9743 Add rarpd. 1995-03-02 06:44:30 +00:00
Bill Paul 67ba270de8 This commit was generated by cvs2svn to compensate for changes in r6823,
which included commits to RCS files with non-trunk default branches.
1995-03-02 06:41:40 +00:00
Bill Paul 9636a39a61 Obtained from: An old BPF release packaged with the tcpdump-2.0 source code.
"Yes Virginia, there is a rarpd."

(Before anyone asks, this *not* the rarpd from NetBSD. It did come from
the same place as theirs, however.)

This is a port of the rarpd program included with the tcpdump-2.0
source code (which I finally unearthed after scrounging around
some of the darker corners of the Internet). It's as close to the
original as I could keep it except for the following changes:

- The original program was based on an older version of the Berkeley
  Packet Filter which used different filter programming instructions.
  Fortunately, an updated RARP packet filter is available right in the
  BPF man page so this was easy to fix.

- The old code didn't know how to deal with variable length addresses
  in ifreq buffers. This has been fixed.

- Some byte order weirdness had to be fixed. The sanity checks in
  rarp_check() needed some htons()es, and the rarp_reply() function
  needed to properly set the ether_type field in the ethernet header
  to ETHERTYPE_REVARP before transmitting the packet, otherwise
  the bytes in ether_type would wind up reversed. It is important to note
  that using htons(ETHERTYPE_REVARP) will not work. This is odd, because
  the NetBSD rarpd uses htons(ETHERTYPE_REVARP). (Praise be to tcpdump:
  I would never have been able to track this silliness down without it.)

- The update_arptab() function has been castrated. It depends on
  SIOCSARP which has been deprecated in 4.4BSD. The NetBSD people
  don't seem to be using this function either. It wouldn't be too
  hard to replace this with equivalent code from arp.c, but it
  might not be necessary.

- I put together an ether_ntohost() support function that allows
  both local (/etc/ethers) and NIS lookups. This stuff should go
  in libc at some point, but nothing else seems to need it for now,
  so it can wait a while.

As you may have guessed, you need to have the Berkeley Packet Filter in
your kernel in order to use this program. The good news is that together
with the recently added bootparamd, you can use finally use a FreeBSD
box to boot Sun boxes over the network. (This was my whole motivation
for getting this stuff to work: I have this one subnet that has a whole
bunch of Sun3 X-terminals on it with only two Sun4 workstations, both
of which are locked in peoples' offices. If those two machines crash
(and they do every so often) then none of the X-terms will boot. Now I
can use a spare PC that I have as a boot server. :)
1995-03-02 06:41:40 +00:00
Jordan K. Hubbard 9fe9f406a3 Add entry for Sound Blaster/Matsushita CDROM 1995-03-02 04:18:43 +00:00
Jordan K. Hubbard 6ccfe20ece Add Matsushita CDROM device entries.
Submitted by: Frank Durda IV <[email protected]>
1995-03-02 04:11:47 +00:00
Jordan K. Hubbard 05e1d9d455 Changes to incorporate the Matsushita CDROM driver (otherwise known as
the "Sound blaster CDROM").
Submitted by:	Frank Durda IV <[email protected]>
1995-03-02 04:07:03 +00:00
Poul-Henning Kamp ac9dbeaf66 Missed a reference to numvnd.
Thanks Ollivier.
1995-03-02 01:04:38 +00:00
Andrey A. Chernov 2270889953 Fix arrows printout for non-arrows keys in menubox
Move arrows printout to single kernel function
Add PgUp/PgDn/Home/End to checkbox and radiobox
1995-03-02 01:03:39 +00:00
David Greenman 1d1b971bec Use su/fubyte instead of directly touching the user's address space. 1995-03-01 23:59:21 +00:00
David Greenman f919ebde54 Various changes from John and myself that do the following:
New functions create - vm_object_pip_wakeup and pagedaemon_wakeup that
are used to reduce the actual number of wakeups.
New function vm_page_protect which is used in conjuction with some new
page flags to reduce the number of calls to pmap_page_protect.
Minor changes to reduce unnecessary spl nesting.
Rewrote vm_page_alloc() to improve readability.
Various other mostly cosmetic changes.
1995-03-01 23:30:04 +00:00
Joerg Wunsch be7f0d04fe On snap 950210, format %s (print seconds from the epoch) is missing
from the code in strftime.c . This affects both the library code
and all the commands using it (e.g. date +%s).

Note that %s is not required by ANSI, but we've already got it in 1.1.5.1.

Suggested by: [email protected] (Luigi Rizzo)
1995-03-01 23:08:40 +00:00
Peter Dufault c30c84ed1f Added configuration for SCSI devices wired in place. The documentation
is in "man 4 scsi".
1995-03-01 22:34:05 +00:00
Peter Dufault 2460bdf04b Updated man pages to reflect new configuration options. These man pages
are getting pretty out of date and need to be visited some more.
1995-03-01 22:32:38 +00:00
Peter Dufault ded1144b39 Made host id configurable with a kernel option "AIC_SCSI_HOSTID=val".
This is really only a stop gap; it should be settable in config.
1995-03-01 22:30:47 +00:00
Peter Dufault 2778e6ab23 1. Added a "scsi" command to userconfig as a start
2. "uk" is no longer an option.
1995-03-01 22:29:06 +00:00
Peter Dufault ebc1a0e2f8 Added a little documentation on the fixed SCSI config and
fixed a few quirks that snuck in.
1995-03-01 22:27:45 +00:00
Peter Dufault 6675c2f09d 1. "uk" driver now optional on scbus
2. Added base scsi driver file scsi_driver.c
1995-03-01 22:26:23 +00:00
Peter Dufault a0520fbaac Reviewed by: [email protected] [email protected]
1. Support for fixed device configuration
2. Hoisted common code to scsi_driver
3. SCSI busses dynamically allocated at boot
4. Reorg'd for LKMs
1995-03-01 22:24:47 +00:00
David Greenman fde2cdc48a Various changes from John and myself that do the following:
New functions create - vm_object_pip_wakeup and pagedaemon_wakeup that
are used to reduce the actual number of wakeups.
New function vm_page_protect which is used in conjuction with some new
page flags to reduce the number of calls to pmap_page_protect.
Minor changes to reduce unnecessary spl nesting.
Rewrote vm_page_alloc() to improve readability.
Various other mostly cosmetic changes.
1995-03-01 22:08:55 +00:00
David Greenman 54ab07303b Slight change to include file order to accommodate upcoming changes. 1995-03-01 21:37:44 +00:00
Jordan K. Hubbard 60e2f05af7 My patch this morning was not complete. I never tested make install - stupidly
thinking that it would work :( The install program never get a destination
directory. Here is another patch that should also be added. I think this
should be the last one for these makefiles :)

[Note:  I realize that there are more things wrong than this, but this should
at least get the tree compiling again! -jkh]

Submitted by:	John Hay <[email protected]>
1995-03-01 20:36:20 +00:00
Guido van Rooij 528ad82b4c Fix the deletion of trailing newlines with backquote expansion.
Reviewed by:
Submitted by:
Obtained from:
1995-03-01 13:04:15 +00:00
Justin T. Gibbs ce584e16e7 Implement "clean" entries for device config entries.
Submitted by: Pointed out by Bruce Evans <[email protected]>
1995-03-01 10:09:03 +00:00
Justin T. Gibbs 0bf316f5ac Fix "dependency" spelling error. Implement "clean" entries for device
config entries.  Add clean rules to aic7xxx and aic7xxx_seq.h.

Submitted by: Pointed out by Bruce Evans <[email protected]>
1995-03-01 10:08:07 +00:00
Paul Richards 133d8eae53 Disable fib 1995-03-01 08:32:42 +00:00
Paul Richards a7535d5b95 Pull old lex.l out of attic and update to new one. 1995-03-01 08:25:40 +00:00
Paul Richards be7d950dc8 Completely rewrite libforms so everything is done at runtime rather
than at compile time.

Should have same functionality as old libforms but with new mechanism.

Lots of new features that use the new mechanism are still to be added.
1995-03-01 08:19:06 +00:00
Poul-Henning Kamp 1214e6da66 The current bootparamd makefiles break if you do a make obj first. It does
work if you don't have the obj link. Here is a patch for it. It will still
work if you don't have an obj link:)

(I stuck a ${DESTDIR} in front of the absolute path to /usr/include... /phk)
Reviewed by:	phk
Submitted by:	John Hay <[email protected]>
1995-03-01 08:04:40 +00:00
Poul-Henning Kamp d33ac9d9a8 Update entry. 1995-03-01 06:43:12 +00:00
Gary Clark II 87d17a3130 Update some of the FTP entries here.
Also correct name of sup package
1995-03-01 06:12:15 +00:00
Poul-Henning Kamp 3938d930a1 Try to be even more understandable and clear.
What I need is a good speech writer...
1995-03-01 05:41:14 +00:00
Jordan K. Hubbard 7a15a32a17 Additions from Thomas Graichen to mention each functions' floating point
counterpart.
Submitted by:	Thomas Graichen <[email protected]>
1995-03-01 05:06:48 +00:00
Poul-Henning Kamp ee32cbed3b Less bogus allocation of softc to avoid races.
Thanks for the hint David!
1995-03-01 05:05:21 +00:00
David Greenman 3aed948b88 No longer assume that a process's address space can be directly written to. 1995-03-01 04:09:50 +00:00
Andrey A. Chernov f1df5d8bdd Better collate table for koi8-r
Submitted by: [email protected]
1995-02-28 23:38:20 +00:00
Andrey A. Chernov 5d8619d1f2 Workaround IXOFF bug when output queue is full && RTS control is on 1995-02-28 23:21:33 +00:00
Joerg Wunsch c71243fd9a typo.
Submitted by: "Philippe Charnier" <[email protected]>
1995-02-28 23:16:33 +00:00
Poul-Henning Kamp d47cc3d78a Added lock-files, so we should know if the machine panic'ed in the middle
of an "apply".
1995-02-28 20:52:56 +00:00
Poul-Henning Kamp 598c5bd0cc Move a -P 1995-02-28 20:32:29 +00:00
Poul-Henning Kamp 8b5f78d2f6 cvs export doesn't like a explicit '-P' 1995-02-28 04:38:21 +00:00
David Greenman 519b3d1aa6 Do a vnode_pager_uncache after the VOP_RENAME to lose the remaining
reference to the old vnode.

Suggested by:	Bruce Evans
1995-02-28 02:52:48 +00:00
Poul-Henning Kamp 2469b9a2ef More bugfixes. 1995-02-28 01:15:52 +00:00
Paul Traina 90e614df0f Fix a minor grammar bug. 1995-02-28 00:24:47 +00:00
Paul Traina 8c5c37cd75 Incorporate bde's code-review comments.
(a) bring back ttselect, now that we have xxxdevtotty() it isn't dangerous.
(b) remove all of the wrappers that have been replaced by ttselect
(c) fix formatting in syscons.c and definition in syscons.h
(d) add cxdevtotty

NOT DONE:
(e) make pcvt work... it was already broken...when someone fixes pcvt to
	link properly, just rename get_pccons to xxxdevtotty and we're done
1995-02-28 00:21:11 +00:00
Andreas Schulz db312e6697 Delete one of the two references to intro(3) in the SEE ALSO section
and add an intro(7) instead.
1995-02-28 00:19:41 +00:00
Andreas Schulz ecea97a372 build the link from man8/man8.i386/MAKEDEV.8 toman8/MAKEDEV.8 so that this
manual page can now also be read.
Change the references in MAKEDEV from com to tty and delete flog and add
sd instead.
Need much more work, but for today, after i lost my first changes through
a new sup :-), that's enough.
1995-02-28 00:16:13 +00:00
Jordan K. Hubbard 16818161a3 Many stylistic and grammar changes. 1995-02-28 00:13:20 +00:00
Poul-Henning Kamp c855f71f96 Updated. 1995-02-27 23:58:19 +00:00
Poul-Henning Kamp eafbf78d25 Latest updates to this. 1995-02-27 22:26:58 +00:00
Guido van Rooij dcb8def0e7 Fix completely broken find behaviour:
a find -foo -o -bar would behave like find -bar. The same for -a
This broke (among others) ./etc/security.

Obtained from: NetBSD
1995-02-27 20:52:36 +00:00
Ugen J.S. Antsilevich c120979990 same 1995-02-27 19:48:19 +00:00
Ugen J.S. Antsilevich 0739a0dc6e same 1995-02-27 19:47:53 +00:00
Ugen J.S. Antsilevich eeef1b59d9 same.. 1995-02-27 19:46:27 +00:00
Ugen J.S. Antsilevich 446cbcf7ed Snoop device stuff
* Make snoop see the output in tty ECHO mode
 * Allow writing to observed tty (very funny)
 * Fix and extend watch util.
 * Fix and update manpages
1995-02-27 19:45:57 +00:00
Bill Paul fb07c04ab0 Add entry for bootparamd and friends. 1995-02-27 19:21:16 +00:00
Andrey A. Chernov 8a6fe12553 Cleanup device names, add more devices for Linux sounddriver 1995-02-27 18:54:27 +00:00
Stefan Eßer 7368f324a8 Don't try to make use of useless rotational position optimisation,
if all free blocks are in the same bucket (i.e. NRPOS == 1).
Else a free block is choosen, possibly from a different cylinder,
even if the block succeeding bpref was free ...

Submitted by:	se
1995-02-27 17:43:57 +00:00
Stefan Eßer c79b89e28f Add code to deal with PCI-PCI bridge chips, especially the DEC 21050.
Try to deduce maximum number of PCI buses in system (working around
chip set bugs).
Better check for devices at multiple addresses (aliases).

Reviewed by:	se
Submitted by:	<[email protected]> Wolfgang Stanglmeier
1995-02-27 17:22:09 +00:00
Stefan Eßer 04dbb40865 First try to add support for PCI-PCI bridge chips (written for the
DEC 21050 chip in particular, don't have specs of other such chips).

This should add support for Multiple-Ethernet PCI cards (e.g. Znyx 314).

Reviewed by:	se
Submitted by:	<[email protected]> Wolfgang Stanglmeier
1995-02-27 17:17:14 +00:00
Stefan Eßer dff6de1a8c Delete bogus semicolon in macro definition. 1995-02-27 17:10:20 +00:00
Ugen J.S. Antsilevich 5321a06fb8 Remove strncmp() fro userconfig,it's
already in libkern..if there is any other place
strncmp() used,remove it there guys..
1995-02-27 13:39:39 +00:00
Atsushi Murai 41db65649e Fixing minor bug and allow help(Not for all command) and quit
but not close line connection by "quit all" command if not
authorized.

Reviewed by:	[email protected]
Submitted by:	[email protected] [email protected]
1995-02-27 10:57:54 +00:00
Ugen J.S. Antsilevich ce83f1d6d8 Fixed manpage..ldeny,lreject and log options are there
and others not..
Submitted by:	[email protected]
1995-02-27 10:52:22 +00:00
David Greenman 7500ed1d63 Backed out previous change. I forgot (for about the fourth time) that
v_rdev is a #define which is dereferenced through v_specinfo->si_rdev,
and that isn't initialized until later in checkalias().
1995-02-27 10:15:38 +00:00
Ugen J.S. Antsilevich be96c4f445 Add strncmp() function..I need it and
hope nobody will eat me alive for this..:)
1995-02-27 09:16:04 +00:00
Poul-Henning Kamp 841d930e9d Another shameless plug for CTM :-) 1995-02-27 08:31:19 +00:00
Poul-Henning Kamp 015d0d4157 Document CTM now that it went public. 1995-02-27 08:25:53 +00:00
David Greenman f9ceb7c7b5 Initialize v_rdev in getnewvnode() - it appears that some filesystems
may not properly initialize this field in all cases, and this would
result in very anti-social behavior (overwriting on some other random
device/location).

Submitted by:	John Dyson
1995-02-27 06:50:08 +00:00
David Greenman 9ddf48f0d2 Slight change to wdwait() to improve performance while not violating the
ATA spec.

Submitted by:	John Dyson
1995-02-27 06:42:35 +00:00
Atsushi Murai b808c7565b Compile error occured by missing auth.h/cdefs.h
Reviewed by:	[email protected]
1995-02-27 03:18:28 +00:00
Atsushi Murai d71413016a Re add ppp entry causing by missing auth.h/cdefs.h
Reviewed by:	[email protected]
1995-02-27 03:16:48 +00:00
Andrey A. Chernov 6c5f92f17f Fix two quad_t casts, one reported by [email protected] 1995-02-26 23:48:51 +00:00
Bill Paul b9fefab743 Obtained from: The Xkernel source distribution
I hope I'm doing this right.

This is an initial version of bootparamd for FreeBSD based on a public
domain rpc.bootparamd implementation by a gentleman named Klas Heggemann.
This program has apparently been around for a while. The README explicitly
lists the code as public domain, so I guess it's safe to use.

This program is needed for booting diskless SunOS and Solaris machines.
rarpd is also required, but that's in the works too.

I have made two changes to this code:

- Implemented NIS lookups. If /etc/bootparams contains a '+' then the
  bootparams map is consulted.

- Allow 0.0.0.0 as a user-specified router address. The SunOS rpc.bootparamd
  returns this value in many cases.
1995-02-26 23:40:53 +00:00
Jordan K. Hubbard 23adc6b882 I think the security check to invalidate ALL write requests was just a little
excessive, and violates the specification defined in the manpage to boot.
1995-02-26 23:28:00 +00:00
Poul-Henning Kamp f3fb4d806f I really hate this:
unless I go "splhigh" (as opposed to splimp before) the TCP/IP driver
doesn't work anymore...  Why ?
1995-02-26 21:41:41 +00:00
Gary Clark II 22cb53a866 Update Mitsumi CD-ROM entry to state we do not support the IDE
interfaces.
1995-02-26 21:27:29 +00:00
Bill Paul 3e38f89608 The bootparam protocol file needs some extra includes in FreeBSD in order
to properly resolve some definitions in <nfs/nfs.h>. I suppose nobody noticed
this before because no one's tried to build bootparamd in FreeBSD until
now.

(Yes, you read that right: I've got bootparamd ready to go. And
rarpd is on the way. :)
1995-02-26 21:11:08 +00:00
Poul-Henning Kamp 7e055f73f4 Various things, bits and pieces to make this maybe work next time. 1995-02-26 20:45:34 +00:00
Poul-Henning Kamp 7705c77bd6 The things you have to go through some times! Add a minimal program to
read a termcap entry, since tset is picky about filedescriptors...
1995-02-26 20:39:40 +00:00
Andrey A. Chernov e04e0de266 Move symlinks creation here 1995-02-26 20:29:37 +00:00
Rodney W. Grimes 10d8be01f2 Update to use 4.4 style includes.
Include proper files for 2.x.
Remove old unused argument to ixreset (int uba)
Nolonger convert ether_type to host byte order.
Use arp_ifinit in place of arpwhohas.
Change cb_ias to be non volatile.
1995-02-26 20:13:15 +00:00
David Greenman caffd55fe6 Doubled 'maxwait' to 200 (240us).
Submitted by:	[email protected] (Brian Litzinger)
1995-02-26 20:03:53 +00:00
Rodney W. Grimes 28fe6ad5e3 Update copyright to be UCB style allowing redistributions. 1995-02-26 19:40:07 +00:00
Guido van Rooij 3eb568f24c Add some functionality to ftpd so it logs all anonymous file
transfers. It only does this when -S is set.
Reviewed by:
Submitted by:
Obtained from: logdaemon package
1995-02-26 19:36:59 +00:00
Joerg Wunsch def5a1b108 Patch bei Wolfram to avoid processing duplicate directories.
Submitted by:	[email protected] (Wolfram Schneider)
1995-02-26 19:35:06 +00:00
Rodney W. Grimes a44078d03f Last 1.x version of Intel EtherExpress driver. 1995-02-26 19:34:34 +00:00
Jordan K. Hubbard be4ddfeba3 Take ppp out until it works again - there's actually stuff missing from
the merge.
1995-02-26 18:58:49 +00:00
Jordan K. Hubbard a860ee982e I assume someone had a good reason for breaking this? Try again!
For now, I'll content myself with fixing the tree.
1995-02-26 18:20:36 +00:00
Atsushi Murai 53c9f6c0c4 New user Process PPP based on iij-ppp0.94beta2.
o Supporting SYNC SIO device (But need a device driver)
     - add "set speed sync"
   o Fixing bug for Predictor-1 function.
   o Add new parameter that re-sent interval for set timeout commands.
   o Improving RTT (Round Trip Time) and reducing processor time.
     - Previous Timer service was using polling, and now using
       SIGALRM ;-)
     - A 0.94beta2 will not work correctly....

   -- Follows are additinal feature not including 0.94beta2
   o Support Proxy ARP
     - add "enable/disable proxy" commands
   o Marging common routine in CHAP/PAP.
   o Enhancing LCP/IPCP log information.
   o Support local Authfication connection on port 300x and tty.
     - You can set up pair of your "hostname -s" and
       password in ppp.secret. if either ppp.secret file nor
       your hostname line don't exist, It will notify a message
       and working as same as previous version.(Backword compatibility)
     - If you did set up them, It's allow connection but nothing to do
       except help and passwd command.
     - add "passwd yourpasswd" commands
   o Support afilter - keep Alive filter that a packet can send/receiving
     according to ifilter/ofilter but doesn't count it as preventing idle
     timer expires.
     - Same syntax of other filters.
   o Fixing bugs reported by current user for previous one. Thanks !!

Reviewed by: Atsushi Murai ([email protected])
1995-02-26 12:18:08 +00:00
Bruce Evans 550f8550ec Replace all remaining instances of i386/include' by machine' and fix
nearby #include inconsistencies.
1995-02-26 05:14:53 +00:00
Bruce Evans c5489d9047 Use relative include path and -nostdinc avoid getting anything from
/usr/include.
1995-02-26 05:05:53 +00:00
Bill Paul 6a4f61a2ab Submitted by: Sebastian Strollo <[email protected]>
Fixes to ypbind:

- Correctly report the fact that we've bound to a new server when
logging the 'server OK' message.

- Report 'server not responding' just once instead of every
5 seconds while searching for a new server. (Prevents overstuffing
the syslog.)

- Apply patch from Sebstian Strollo to implement '-s' (secure) flag.
ypbind will reject connections from servers that do not originate
from a reserved TCP port.

- Apply patch from Sebastian Strollo to detect when a YP server has
crashed and come back up on a different port number.
1995-02-26 04:42:48 +00:00
Bruce Evans 0fe414febc Eliminate my private type `bool_t'. 1995-02-26 03:15:36 +00:00
Bruce Evans eac78dccac Install manpath.config.sample with the correct mode. It should be installed
elsewhere.
1995-02-26 03:03:15 +00:00
Bruce Evans 2c9da268b6 Remove dbsym. 1995-02-26 02:33:09 +00:00
Bruce Evans eecd3071a6 Don't confuse the frequency with the wavelength in DELAY() args. 960 cps
is close to 1000000 / 960 usec so the confusion probably didn't matter.

Test for COMCONSOLE before testing for RB_SERIAL so that the RB_SERIAL
test can be optimized away if COMCONSOLE is 1.

Simplify and Uniformize style of previous commit.
1995-02-26 02:30:18 +00:00
Poul-Henning Kamp 9ff24e353a Updated TODO a bit.
PLEASE take a little time to dump a couple of the things you know you will
never get around to do yourself into this file !!
1995-02-26 02:10:04 +00:00
Poul-Henning Kamp c8006b1500 oops. 1995-02-26 02:00:35 +00:00
Poul-Henning Kamp 23b406e176 Add a '-p' option to md5. This will save some time in generation of the
ctm deltas.
1995-02-26 01:55:31 +00:00
Bruce Evans 671e2cee97 Declare all the args of Fdopen() and fdclose().
Initialize dk_wpms[] less bogusly.

Clean up includes.

Remove some obsolete comments.
1995-02-26 01:37:51 +00:00
Poul-Henning Kamp 7eb112010a Various changes to make this work. 1995-02-26 01:35:32 +00:00
Poul-Henning Kamp 16c634b104 use etc:distrib-dirs instead of release:hierarchy. remove SUBDIR reference
to release.
1995-02-26 01:27:27 +00:00
Bruce Evans 77a6e242ae Declare all the args of wdclose() and wdioctl(). Cosmetic. 1995-02-26 01:15:30 +00:00
Ollivier Robert 4640bd1515 The latest version of XFree86 is 3.1.1. 1995-02-25 23:42:14 +00:00
Gary Clark II 653ae0189f Updated the FAQ. Would everyone please review their sections.
e.g.
Non-USA DES
Networking cards
Do we have an update kernel debugging FAQ?

I'll posting the FAQ on SUNDAY!!
1995-02-25 23:00:50 +00:00
Poul-Henning Kamp bd668f6f6c New and better "make release" rules. 1995-02-25 22:08:48 +00:00
Poul-Henning Kamp fba33612b8 make distribute change. 1995-02-25 21:01:48 +00:00
Poul-Henning Kamp ffd87c071d "make distribute" have changed, beware if you use it. 1995-02-25 20:51:14 +00:00
Poul-Henning Kamp ca063ee672 Change EISA size to 256 instead of 4096.
Neither are correct, but 256 does least damage.
1995-02-25 20:26:14 +00:00
Paul Traina 8340e9ceab Update to reflect new calling conventions 1995-02-25 20:15:20 +00:00
Paul Traina cb95dc2435 Update to use new calling conventions 1995-02-25 20:14:31 +00:00
Paul Traina 77f77631e7 (a) remove the pointer to each driver's tty structure array from cdevsw
(b) add a function callback vector to tty drivers that will return a pointer
    to a valid tty structure based upon a dev_t
(c) make syscons structures the same size whether or not APM is enabled so
    utilities don't crash if NAPM changes (and make the damn kernel compile!)
(d) rewrite /dev/snp ioctl interface so that it is device driver and i386
    independant
1995-02-25 20:09:44 +00:00
Jordan K. Hubbard 686c46d225 iodone->biodone; get rid of older call syntax. 1995-02-25 19:11:11 +00:00
Poul-Henning Kamp 6e65a78aee Read K&R and get the { } right :-) 1995-02-25 18:55:53 +00:00
Bruce Evans 4f9fb771a5 Don't use __P(()) in a function definition. 1995-02-25 18:39:04 +00:00
Poul-Henning Kamp d8ee5072e3 I belive I finally got the "on eisa" right.
| if (!(isdp->id_iobase & 0xf300)) {
| 	printf(" on motherboard\n");
| } else if (isdp->id_iobase >= 0x1000 &&
| 	!(isdp->id_opbase & 0x300)) {
| 		printf (" on eisa slot %d\n",
| 			isdp->id_iobase >> 12);
| 	} else {
| 		printf (" on isa\n");
| 	}
| }

Based on info in "The undocumented PC" p.165
1995-02-25 18:29:10 +00:00
Andrey A. Chernov 7fe4e56742 configure_network() if carrier already present
Submitted by: [email protected]
1995-02-25 18:06:23 +00:00
Stefan Eßer 781d9d4623 Keep PCI_CONF_MODE in a safe place for later reference, if #defined.
Reviewed by:	se
Submitted by:	[email protected] (Sebastian Strollo)
1995-02-25 17:51:18 +00:00
Stefan Eßer 9b7d1decfc Make people happy, who claim to better know how "interupt"
is to be spelled :).

Submitted by:	<[email protected]> Wolfgang Stanglmeier
1995-02-25 17:34:03 +00:00
Stefan Eßer ef2dee21dc Deal with systems, that lack a fully decoded PCI configuration space.
Submitted by:	<[email protected]> Wolfgang Stanglmeier
1995-02-25 17:26:22 +00:00
David Greenman c3a1e4250f Fixed severely broken printf (arguments out of order, no newline). 1995-02-25 17:02:48 +00:00
Bruce Evans a07f28e24e Remove YF comments. 1995-02-25 16:48:28 +00:00
Bruce Evans 64f14011a8 Fix previous fix to agree with the man page - don't report errors in
kvm_open() if errstr is NULL.
1995-02-25 16:44:01 +00:00
Bruce Evans 5dddb8148b Don't attempt to lstat() the POSIXLY invalid empty pathname.
realpath() still accepts "" as an arg and converts it to a canonical
pathname for the current directory.
1995-02-25 16:06:07 +00:00
David Greenman 386094e305 Fixed comment - IFT_P80 is 80mbit.
Submitted by:	[email protected] (Frank van der Linden)
1995-02-25 15:57:55 +00:00
David Greenman c5b90f7db2 Spell "guaranteed" correctly.
Submitted by:	[email protected] (Frank van der Linden)
1995-02-25 15:56:00 +00:00
Andrey A. Chernov 4e1d0de380 cons25: turn off bold in "op" escape 1995-02-25 13:49:47 +00:00
Poul-Henning Kamp fb7f926e3d Add a '-l' option, which lists the argv[0]'s we will respond to. This will
simplify the src/release Makefile quite a bit.
1995-02-25 07:25:31 +00:00
Poul-Henning Kamp 286e9a77d2 (Not tested yet. I may insist that ctm be invoked with absolute path. /phk)
This patch fixes the concurrency problem, and adds a possibly useful -f switch
(which you can read about in the man page :-) ).  It also removes the absolute
path from the invocation of ctm.  I'll write a note about how to use a script
with sendmail and procmail or some such, and people can fix their PATH there.

BTW, this patch changes ctm_rmail.1, ctm_rmail.c and error.c in the ctm_rmail
directory.

Stephen.

Reviewed by:	phk
Submitted by:	Stephen McKay <[email protected]>
1995-02-25 05:10:18 +00:00
Poul-Henning Kamp 28db07dea2 Just a precaution: ctm will not accept '..' in paths anymore.
I'm never going to generate one, so this is a guard against hackers mostly.

Reviewed by:	phk
Submitted by:	Stephen McKay <[email protected]>
Obtained from:
1995-02-25 05:02:18 +00:00
Poul-Henning Kamp 728736c058 Explain the full story, and make it understandable too. 1995-02-25 04:43:20 +00:00
David Greenman 4494100855 Fixed thrashing buffer problem.
Submitted by:	John Dyson
1995-02-25 01:46:26 +00:00
Joerg Wunsch bcdd2389fe Allow tty0? to be an alias for tty? when creating the dev nodes.
People tend to be confused unnecessarily otherwise.
1995-02-24 19:26:59 +00:00
Ugen J.S. Antsilevich 29fe22b93f Allow "via" to be specified ever as IP adress or
as interface name/unit...
1995-02-24 14:33:54 +00:00
Ugen J.S. Antsilevich b71bca73b6 Add commeent to say that this manpage is out of date
and will be rewwritten..
1995-02-24 14:33:18 +00:00
Ugen J.S. Antsilevich ab7d7f5827 Change utility to accept interface name
along with IP as "via" argument
1995-02-24 14:32:45 +00:00
David Greenman 55088a1c1e In ifa_ifwithdstaddr() when walking through ifa structs associated with
a point-to-point link, don't attempt a comparison if the pointer to the
destination sockaddr is NULL (i.e. it has not been set/initialized).
1995-02-24 11:47:31 +00:00
Jordan K. Hubbard 5865e890a7 Correct a few typos. 1995-02-24 11:21:34 +00:00
Poul-Henning Kamp e4f13e774e Remove a couple of nested comments. 1995-02-24 08:57:45 +00:00
Poul-Henning Kamp 6c20486de4 Clean a bunch of -Wall warnings. 1995-02-24 08:51:34 +00:00
Poul-Henning Kamp 12eaa3d55d Remove some unused variables and fix two blatant core dump triggers. 1995-02-24 08:15:27 +00:00
Poul-Henning Kamp e9434bccf7 Remove an unused variable. 1995-02-24 07:51:13 +00:00
Poul-Henning Kamp 888bbd45f9 fix the synopsis to show
|     void
|    *signal(int sig, void (*func)(int))

instead of

|     void
|     *signal(sig, func())
|
|     void
|     (*func)()
1995-02-24 07:35:49 +00:00
Poul-Henning Kamp b117ae8a85 I (phk) blundered with the last change. Make it right & better now.
Reviewed by:	phk
Submitted by:	John Hay <[email protected]>
1995-02-24 05:41:24 +00:00
Poul-Henning Kamp 6d5be8a5d4 OK, we changed our mind again: -ln -s ... 1995-02-24 04:16:26 +00:00
Andrey A. Chernov 81c427da32 Add releasing of input flow control into
ttyflush(FREAD)
1995-02-24 02:36:01 +00:00
Andrey A. Chernov 977e8ea0c9 Add missing #include <time.h> with time() prototype 1995-02-24 01:02:59 +00:00
Andrey A. Chernov 838dadc476 Revive input flow control, some ideas from [email protected]
Get rid of TS_RTS_IFLOW, all kinds of input flow control handled
by only one flag now: TS_TBLOCK
Add missing put(VSTOP) when IXOFF control is active.
1995-02-24 00:11:01 +00:00
Andrey A. Chernov e6c16d383f Implement --hline "line" and --hfile file 1995-02-23 22:42:44 +00:00
Andrey A. Chernov fdcf149868 Simplify notify()
Fix dupwin usage, now it really restore screen
Disable helpline while helpfile displayed
Fix helpfile borders
Fix mesgbox range computing
1995-02-23 22:36:56 +00:00
David Greenman b106f3b255 Removed redundant HOLDRELE()'s. 1995-02-23 22:32:38 +00:00
Joerg Wunsch 8f72439b71 Update my mail addr, now that i've got my own subdomain. 1995-02-23 20:34:09 +00:00
Poul-Henning Kamp 3acca2e108 Once and for all: Never a ${DESTDIR} in ${BINDIR} ! 1995-02-23 19:45:30 +00:00
Poul-Henning Kamp 0aba884c7d Make sure link to /etc/rmt happens.
Now I know that there was talk of moving it to the release/Makefile or the
etc/Makefile, but I don't think it was ever decided where.

Reviewed by:	phk
Submitted by:	John Hay <[email protected]>
1995-02-23 19:40:48 +00:00
David Greenman 9b4b42d17b Implemented mbstat.m_wait and mbstat.m_drops. 1995-02-23 19:10:21 +00:00
David Greenman c585f97c65 Changed "mapped pages in use" to "mbuf clusters in use". 1995-02-23 19:08:11 +00:00
Andrey A. Chernov 7f3b05aa16 Fix typo: pcap.h.h 1995-02-23 18:47:06 +00:00
Rodney W. Grimes 2828ae663a Fix spelling error (scipt -> script).
Submitted by:	<[email protected]>
Obtained from:	NetBSD-bugs mailling list
1995-02-23 17:46:35 +00:00
Andrey A. Chernov 32a61937d7 READSUBCHANNEL:
complete implementation of CD_MSF_FORMAT
implement CD_LBA_FORMAT
Issue STOP before reading toc entries
1995-02-23 17:40:16 +00:00
Bruce Evans 7f3ae831f7 Submitted by: [email protected] (Sebastian Strollo)
Remove over-cautious early fnop() synchronization.  It caused the probe to
hang on systems without an FPU.
1995-02-23 17:32:38 +00:00
Bruce Evans 226d4c89da Make diskslice files standard and remove option DISKSLICE. ufs_disksubr.c
needed a diskslice function yesterday and all disk drivers will need it.
The diskslice initialization routine should be configurable (but isn't).
1995-02-23 17:19:54 +00:00
Ugen J.S. Antsilevich c8183bbb29 Fix(it was 1 character actually:) 1995-02-23 11:18:35 +00:00
Poul-Henning Kamp 38994f93ce Fix -Wall warnings.
Yes I have better things to do, but just now I'm waiting...
1995-02-23 07:05:01 +00:00
Poul-Henning Kamp 5dec1760ed Quench a warning and fix some duplicity by using the official strerror
routine, instead of rolling our own.
1995-02-23 06:55:14 +00:00
Poul-Henning Kamp 7d6349eb5f Don't rely on execute bit. 1995-02-23 05:48:38 +00:00
Poul-Henning Kamp d742998bc1 Make us a little safer, by writing to a tempfile, and rename when done.
Still needs more locking I belive.
1995-02-23 04:51:36 +00:00
Andrey A. Chernov 227b711d8e Add two IXOFF checks to not confuse with CRTS_IFLOW.
Now TS_TBLOCK used as general input flow flag
for both IXOFF and CRTS_IFLOW cases.
1995-02-23 03:02:38 +00:00
Paul Traina 7fec27e124 Correct error in structure definition 1995-02-23 01:27:17 +00:00
Paul Traina 533f4c5076 Clean up man page 1995-02-23 01:25:48 +00:00
Paul Traina f098a2f451 Import 8.6.10 release notes 1995-02-23 00:53:39 +00:00
Paul Traina 950d9f5aa8 Cover 8.6.10 merge conflicts and warnings 1995-02-23 00:46:36 +00:00
Paul Traina c11cc9c931 Remove watch(8) 1995-02-23 00:27:08 +00:00
Paul Traina 1c4239e90e Add watch(8) 1995-02-23 00:26:49 +00:00
Paul Traina 53493c9b78 Sendmail 8.6.10 update for security problems.
Imported on CSRG/V_8_6_10 branch.

Obtained from: CSRG/Allman
1995-02-23 00:20:00 +00:00
Jean-Marc Zucconi bb12981561 Change permissions and ownership of joystick device files. 1995-02-22 23:52:58 +00:00
Paul Traina 16ae87aed1 Rewrite manual page to use mandoc correctly and fix english grammar. 1995-02-22 23:47:51 +00:00
Jean-Marc Zucconi 95344a43ed Put the joystick status in a struct {int x, y, b1, b2;} rather than in a
dummy array of 4 integers. Declare the struct in the header file and update
the man page.
1995-02-22 23:34:58 +00:00
Bruce Evans f75dd51832 Don't clobber d_secperunit in disklabel -e'. disklabel -e' replaces all
the values that it doesn't print by defaults.  This seems wrong.  I want
to be able to see the total number of sectors more than edit it.  The
default d_secperunit of (sectors/track * tracks/cylinder * cylinders) is
bogus if sectors/track is only an approximation and more bogus if
sectors/track and tracks/cylinder are dummy values such as 4096 and 1
to defeat ufs's pessimizations.
1995-02-22 23:21:29 +00:00
Andrey A. Chernov d8947494e5 Revive hadrware input flow control
Submitted by: [email protected]
1995-02-22 23:20:51 +00:00
Paul Traina 343f523cb9 Added name to contributor list. 1995-02-22 22:57:20 +00:00
Bruce Evans 30ca037de1 Use dsname() to get consistent names. 1995-02-22 22:46:48 +00:00
Bruce Evans 268c424b23 Remove the #error that temporarily stopped this from supporting slices and
labels.

Please test the slice/label features:
	cd /dev; sh MAKEDEV svn0
	cd /var/tmp; dd if=/dev/zero of=vnfile bs=8192 count=1024
	vnconfig -c /dev/rvn0 /var/tmp/vnfile
	fdisk /dev/rvn0  # invent a geometry, create one BSD partition
	disklabel -r -w vn0 floppy  # a convenient (bogus) label
	disklabel -e vn0  # edit label to match device
	newfs /dev/rvn0a
	mount /dev/vn0a /mnt
	...
The steps after the fdisk could name the device vn0s1 instead of vn0.
1995-02-22 22:06:20 +00:00
Bruce Evans ae623967ec Fix initialization of the copy of the label passed to setdisklabel().
Fix the sign of the adjustment after writing a label.

Writing of labels should work now.

Merge adjust_label() into fixlabel().  Detect more errors and don't
write if there is an error.  Adjust sectors/unit and total sectors
to the numbers on the slice.

Add a function dsname() to print slice device names consistently, and
use it.
1995-02-22 21:51:53 +00:00
Ollivier Robert 07d35ca333 Add my thin 8x16 font with ISO-8859-1 characters.
Sorry, no 8x8 or 8x14 font.
1995-02-22 21:49:53 +00:00
Andreas Schulz 08b48e644c Document the mountdtab file in the man page. 1995-02-22 21:42:48 +00:00
Bruce Evans 60a411daf4 Add a prototype. 1995-02-22 21:24:21 +00:00
Rodney W. Grimes 7f4be180a5 Add ``Make find smarter about -fstype local''. 1995-02-22 20:28:07 +00:00
David Greenman 197611452d Added v_interrupt_free_min to cnt struct. 1995-02-22 18:06:49 +00:00
Stefan Eßer fe5278a5cc Cleanup for compatibility with another OS.
Submitted by:	wolf
1995-02-22 18:04:56 +00:00
Jordan K. Hubbard b5909509ee Make good on my promise to finally clean up the config clobbering.
If you invoke config with the `-n' flag or have NO_CONFIG_CLOBBER in
your environment, config will behave the same way it used to.  This is
now _documented_ as well.  Rip out all the CONFIG_DONT_CLOBBER cruft;
some of it wasn't even correct anyway.
1995-02-22 15:37:32 +00:00
Stefan Eßer d9dc2f74ef New PCI attach code:
PCI BIOS mappings are retained, except if option PCI_REMAP
is specified in the kernel config file.
There is now a list of attach addresses, and the first
address that seems to make some device registers appear
is chosen.

Reviewed by:	se
Submitted by:	wolf
1995-02-22 14:17:15 +00:00
Søren Schmidt 1242c0a653 Added six new thin fonts (great on laptops)
Cleaned up Makefile
1995-02-22 14:03:16 +00:00
Søren Schmidt 17ee9d00bc Next syscons update (given up on numbering :)
Removed screensavers from syscons, they are now LKM's. This makes it
possible to do some really "interesting" screensavers...
Fixed bug that sometimes caused garbage to appear when leaving
"scroll-lock" history.
Reformattet indentation, it got too deep for a normal 80 pos screen.
Split up in syscons.c & syscons.h for use with the saver-lkm's.
Temporarily removed -s option from vidcontrol, savers should now
be loaded with modload.
1995-02-22 13:48:07 +00:00
Jordan K. Hubbard dd33263156 Add a man page for the Sony CDROM driver. Other driver authors, you might
do a quick check here..
1995-02-22 13:30:39 +00:00
David Greenman 187f007190 Changed return value from vnode_pager_addr to be in DEV_BSIZE units so
that 9 bits aren't lost in the conversion. Changed all callers to expect
this. This allows paging on large (>2GB) filesystems.

Submitted by:	John Dyson
1995-02-22 10:34:34 +00:00
David Greenman 6f2b142ed8 vm_page.c:
Use request==VM_ALLOC_NORMAL rather than object!=kmem_object in deciding
if the caller is "important" in vm_page_alloc(). Also established a new
low threshold for non-interrupt allocations via cnt.v_interrupt_free_min.

vm_pageout.c:
Various algorithmic cleanup. Some calculations simplified. Initialize
cnt.v_interrupt_free_min to 2 pages.

Submitted by:	John Dyson
1995-02-22 10:27:24 +00:00
David Greenman 5e716206c0 Just return in the case of a page not on any queue in vm_page_unqueue().
Return VM_PAGE_BITS_ALL even if size > PAGE_SIZE in vm_page_bits().

Submitted by:	John Dyson
1995-02-22 10:16:21 +00:00
David Greenman 26f5e3ab12 Removed object locking code (it was a left over from an abortion that
was done a month or so ago).

Submitted by:	John Dyson
1995-02-22 10:06:43 +00:00
David Greenman a7ac758ec7 Removed bogus copy object collapse check (the idea is right, but the
spcific check was bogus).
Removed old copy of vm_object_page_clean and took out the #if 1 around
the remaining one.

Submitted by:	John Dyson
1995-02-22 10:00:16 +00:00
David Greenman a3a8bb29d2 vfs_cluster.c:
Various more tweaks from John Dyson to improve read ahead calculations.

vfs_subr.c:
Only wakeup if numoutput is 0 in vwakeup().

Submitted by:	John Dyson
1995-02-22 09:39:22 +00:00
David Greenman 701d45805b Added some code to make sure that buffers associated with directories and
metadata aren't thrashed by regular file I/O.
Added mechanism to limit the amount of outstanding I/O on a given vnode.
Pagedaemon wakeup policy changed to skew priority a little in favor of
file caching.
Slight code reorganization to improve clarity.
Added a few more comments.

Submitted by:	John Dyson
1995-02-22 09:30:13 +00:00
David Greenman 7a53944444 Only do object paging_in_progress wakeups if someone is waiting on this
condition.
Added some comments.

Submitted by:	John Dyson
1995-02-22 09:16:07 +00:00
David Greenman c0503609a0 Only do object paging_in_progress wakeups if someone is waiting on this
condition.

Submitted by:	John Dyson
1995-02-22 09:15:35 +00:00
David Greenman 50ce2102e1 Rewrote MAP_PRIVATE case of vm_mmap() - all of the COW portion of this
routine was highly convoluted.

Submitted by:	John Dyson
1995-02-22 08:40:54 +00:00
Bruce Evans 6f05a6e836 Fix benign type mismatch. 1995-02-22 07:23:26 +00:00
Atsushi Murai 91fe718914 The 'set ifilter'/'set ofilter' commands accept a syntax containing
IP addresses and/or protocol+port, but in the case where both are
supplied, it happily accepts the command but ignores the proto+port
It also attempts to handle the case where the second IP address
is omitted, but this doesn't work.

Reviewed by:  [email protected]
Submitted by: [email protected]
1995-02-22 06:44:03 +00:00
Andrey A. Chernov 2b7b13bca8 add /usr/local/share, needed by some ports 1995-02-22 04:34:19 +00:00
Poul-Henning Kamp f99949bf6c Added entry from Jim Bryant 1995-02-22 03:49:46 +00:00
Andrey A. Chernov e1a0a1cdfb Increase retry count while reading toc, old one
isn't enough for spin up
1995-02-22 02:12:10 +00:00
Andrey A. Chernov ae9ad53d84 Use CDPLAY environment variable to not type argument each time
Submitted by: [email protected]
1995-02-22 01:45:03 +00:00
Justin T. Gibbs 45e002218d Add a define for the SCSI_QUEUE_FULL sense message 1995-02-22 01:44:21 +00:00
Justin T. Gibbs 6d1dd577f3 Add tagged queueing support. Right now, we only allow two tagged
commands per target.  I could have followed the route of the ncr driver
and gone to great lengths to get the SCSI subsystem to support more, but
I think I'll use the time saved to help Julian and Peter make tagged
queuing a better handled generic feature.  This also includes some comment
and enum clean up and a possible fix for the hanging PCI controllers.
1995-02-22 01:43:25 +00:00
Justin T. Gibbs 7325b76b7d Add tagged queueing support to the aic7xxx sequencer code. 1995-02-22 01:37:52 +00:00
Andrey A. Chernov 13438c1874 mixer added 1995-02-22 01:37:47 +00:00
Andrey A. Chernov ae9304b170 Move mixer to usr.sbin 1995-02-22 01:36:12 +00:00
Andrey A. Chernov 50a3eb230e Do not close cd after eject, close on each ioctl error instead.
Do not open cd on help and quit commands.
1995-02-22 01:19:06 +00:00
Andrey A. Chernov 39c88daba9 Implement tray closing and tray locking
Fix first open fails bug
1995-02-22 01:11:36 +00:00
Bruce Evans 2d091ecf19 Obtained from: memories of 1.1.5
Fix the sign of the timezone offset again.
1995-02-21 18:41:30 +00:00
Jordan K. Hubbard 9016a6c149 Remove FAT_CURSOR - it's deprecated.
Submitted by:	"Philippe Charnier" <[email protected]>
1995-02-21 13:42:57 +00:00
David Greenman 2c0bc39683 Panic if u_map allocation fails. 1995-02-21 12:06:06 +00:00
Andras Olah 8a695f765c Fix bogus Makefile which resulted in incompatible shared and static
libs.

Reviewed by:	Michael Reifenberger <[email protected]>,
		[email protected] (Ollivier ROBERT)
1995-02-21 10:46:34 +00:00
Andreas Schulz 0e13d5af6f Add sgsc to the clean/cleandir targets. 1995-02-21 10:30:41 +00:00
Bruce Evans cf343b5640 Discard junk from partition tables when reading the tables for applications
the same as when initializing the in-core copies.  Adjust checksums in
labels after adjusting labels.  This finishes fudging the on-disk label to
make it coherent with the in-core label.

Handle EIO during initialization better.

Initialize the compatibility slice to the whole disk If there are no real
slices.

Don't warn about adjusting offsets in the label to make the 'c' partition
start at 0.  The 'c' offset is now always absolute on-disk and 0 in-core
so an adjustment is usually required.

Don't confuse LABEL_PART with RAW_PART so much.

Check for partitions being within slices differently.
1995-02-21 08:38:24 +00:00
Bruce Evans 22544eb7a0 Don't generate any errors here other than EIO. An invalid partition
table is not an error, it just causes a smaller slice table.
1995-02-21 08:37:09 +00:00
Poul-Henning Kamp d66cc71bb5 Speed md5 up around 30% by shorting out a couple of cumbersome
memcpy equivalent functions.
1995-02-21 06:01:49 +00:00
Poul-Henning Kamp b27dffd2ac add "fib"
Reviewed by:	phk
Submitted by:	Mark Murray <[email protected]>
Obtained from:
1995-02-21 04:41:03 +00:00
Garrett Wollman e151093c6f Not sure why this one was -lcompat since it doesn't reference anything in
it.
1995-02-21 04:35:43 +00:00
Garrett Wollman 94ea865c39 Use POSIX.2 regular expressions, kill libcompat. 1995-02-21 04:32:55 +00:00
Jordan K. Hubbard a34565af65 Totally get rid of the snic driver.
Submitted by:	davidg
1995-02-21 04:26:35 +00:00
Garrett Wollman 59bfb274d1 Use tcflush(), eliminate libcompat. 1995-02-21 04:15:15 +00:00
Garrett Wollman d7a124e5d8 Use POSIX.2 regular expressions, get rid of libcompat. 1995-02-21 04:05:20 +00:00
Garrett Wollman 9908b9abfc more now uses POSIX regular expressions and no longer needs libcompat. 1995-02-21 03:46:48 +00:00
Poul-Henning Kamp b833a22c62 Be more exclusive about cvs-locks. 1995-02-21 02:09:47 +00:00
David Greenman 2df771e5c0 vm_extern.h: removed vm_allocate_with_pager.
Removed vm_user.c...it's now completely deprecated.
1995-02-21 01:32:47 +00:00
David Greenman 92a63cbb92 Removed vm_user.c. 1995-02-21 01:31:14 +00:00
David Greenman 7fb0c17ed2 Deprecated remaining use of vm_deallocate. Deprecated vm_allocate_with_
pager(). Almost completely rewrote vm_mmap(); when John gets done with
the bottom half, it will be a complete rewrite. Deprecated most use of
vm_object_setpager(). Removed side effect of setting object persist
in vm_object_enter and moved this into the pager(s). A few other
cosmetic changes.
1995-02-21 01:22:48 +00:00
David Greenman d9459480fb Set page alloced for map entries as valid. 1995-02-21 01:13:05 +00:00
David Greenman 5d55f743e7 Added missing extern declaration for 'maxprocperuid'. 1995-02-21 00:37:31 +00:00
David Greenman ffeec4aefe Removed vm_allocate(), vm_deallocate(), and vm_protect() functions. The
only function remaining in this file is vm_allocate_with_pager(), and this
will be going RSN. The file will be removed when this happens.
1995-02-20 23:58:10 +00:00
David Greenman 91ee94544a Use of vm_allocate and vm_deallocate has been deprecated. 1995-02-20 23:52:39 +00:00
David Greenman 0c1dacbc5c Moved ACT_MAX, ACT_ADVANCE, and ACT_DECLINE to vm_page.h. 1995-02-20 23:35:45 +00:00
David Greenman 68940ac1a0 Use of vm_allocate() and vm_deallocate() has been deprecated. 1995-02-20 22:23:31 +00:00
Bruce Evans 7335113fc2 Fix restoring cpl in the swi_ast_phantom case. The system sometimes
returned to user mode without enabling ASTs.  The problem fixed itself
at the next syscall or non-FPU trap, if any.  It hung the system for
a test process that masked SIGFPE's and divided by zero.  The faulting
division was returned to endlessly and this gave plently of opportunities
for the swi_ast_phantom case to be reached; after it was reached the
system hung because the ASTs for preemption and SIGINT handling were
disabled.
1995-02-20 20:35:24 +00:00
Guido van Rooij e6373c9ec0 Implement maxprocperuid and maxfilesperproc. They are tunable
via sysctl(8). The initial value of maxprocperuid is maxproc-1,
that of maxfilesperproc is maxfiles (untill maxfile will disappear)

Now it is at least possible to prohibit one user opening maxfiles

-Guido

Submitted by:
Obtained from:
1995-02-20 19:42:42 +00:00
Poul-Henning Kamp 95104c63d5 Use absolute path for the "ctm" program. 1995-02-20 19:07:32 +00:00
Nate Williams f8972f58e8 Fixed non-conflict errors that occur when changes made to the local files are
the same as the changes made in the repository.  This is often seen by
people with remote CVS trees that have applied their local patches to the
master site.  a 'cvs update' will show bogus conflicts.

Obtained from: CVS mailing list, Stig<[email protected]>

In diffutils 2.6 and 2.7, diff3 -A complains about identical overlapping
changes.  They're different from the ancestor but not from each other...
Why bother?  The patch below fixes this nonsense and preserves [B]ackwards
compatiblity with the -B flag (also --show-bogus-conflicts).

    Party on...
    Stig
1995-02-20 18:47:18 +00:00
Nate Williams 56b688ea1c Make libcompat a static only library.
Since functions will come and go from libcompat as they are deprecated
it makes no sense to build a shared library out of it as it will change.

Based on freedback from Terry and Jonas on the mailing lists.
1995-02-20 18:19:50 +00:00
David Greenman a6e1b30301 vm_inherit function has been deprecated. 1995-02-20 18:08:18 +00:00
David Greenman a1e5cf9de7 Stop using vm_allocate and vm_deallocate. 1995-02-20 17:36:36 +00:00
David Greenman ff16eeefb0 VM for the kernel stack and page tables doesn't need to be explicitly
deallocated as it isn't inherited across the fork.
Use vm_map_find not vm_allocate.

Submitted by:	John Dyson
1995-02-20 17:26:21 +00:00
Jordan K. Hubbard e8d94d90b8 Add Ollivier and Satoshi to list of contributors. 1995-02-20 16:24:30 +00:00
David Greenman 59a9ecebb5 Make sure process isn't swapped when messing with it.
Added missing newline to log() call.
1995-02-20 15:53:33 +00:00
David Greenman 38aa9fc375 Added missing newlines to calls to log(). 1995-02-20 15:48:46 +00:00
David Greenman ba8da83911 Panic if object is deallocated too many times.
Slight change to reverse collapsing so that vm_object_deallocate doesn't
have to be called recursively.
Removed half of a previous fix - the renamed page during a collapse doesn't
need to be marked dirty because the pager backing store pointers are copied
- thus preserving the page's data. This assumes that pages without backing
store are always dirty (except perhaps for when they are first zeroed, but
this doesn't matter).
Switch order of two lines of code so that the correct pager is removed
from the hash list. The previous code bogusly passed a NULL pointer to
vm_object_remove(). The call to vm_object_remove() should be unnecessary
if named anonymous objects were being dealt with correctly. They are
currently marked as OBJ_INTERNAL, which really screws up things (such as
this).
1995-02-20 14:21:58 +00:00
David Greenman d0686727c0 Don't allow act_count to exceed ACT_MAX when bumping it up.
Small optimization to vm_page_bits().

Submitted by:	John Dyson
1995-02-20 14:00:50 +00:00
David Greenman d89ced81b2 Fully initialize pages returned via vm_page_alloc_contig() so that the
memory can be later freed.
1995-02-20 13:58:14 +00:00
Jordan K. Hubbard 304bce7fcf Add Gary J. for all his fine work with gdb and other things. 1995-02-20 12:45:09 +00:00
Poul-Henning Kamp 97074d779f The new and improved mkCTM. Learning from this experience it has been
improved on a couple of accounts.  Amongst these are "damage control"
more than 100 files removed and it will bail out...
1995-02-20 03:03:02 +00:00
Poul-Henning Kamp 9b1fd0e50e Clean this file up so it is readable... 1995-02-20 00:48:50 +00:00
Bruce Evans a3f4faced6 Don't flush the message buffer when it fills up. 1995-02-19 15:02:26 +00:00
Jordan K. Hubbard f1f0a0bf8b Remove the SCSI idsn line - it's permanantly dead. 1995-02-19 14:07:28 +00:00
Jordan K. Hubbard d3a1cd614e remove gnu/scsi/nic5000.c - it's deprecated. 1995-02-19 14:06:29 +00:00
Gary Palmer 43decb5384 Bruces fixes for large filesystems
Submitted by:	Bruce Evans <[email protected]>
1995-02-19 10:36:17 +00:00
Jordan K. Hubbard e28d028200 Whoops! It wasn't totally winning. I left out a couple of :'s. Fixed. 1995-02-19 09:52:52 +00:00
Jordan K. Hubbard 53d8c5c063 A much more winning default dir file. 1995-02-19 09:50:27 +00:00
Rodney W. Grimes e84c2699b9 Change DIR to VOLUME so that this installs in the correct location. 1995-02-19 09:11:30 +00:00
Jordan K. Hubbard 0ccb57e856 1. Get all the nodes in this texinfo document happily pointing in the proper
directions.

2. Drop in a Makefile that properly installs the info files for this.
1995-02-19 09:11:07 +00:00
Poul-Henning Kamp 3e2402edc3 Some recent small changes. Probably about time I start writing this in C. 1995-02-19 04:51:41 +00:00
David Greenman 9219d44e66 Truncate the pte address to a page boundry. This probably won't fix the
panic, but at least it's more correct.
1995-02-19 02:50:31 +00:00
Bruce Evans bd6edcba54 Keep absolute offsets in on-disk labels for backwards compatibility. This
requires complications to adjust the offsets to relative when a block
containing the label is read and back to absolute when such a block is
written.  The adjustment is not made on the whole disk slice.

Don't allow setting the offset of partition C to nonzero in in-core labels.
This will cause some (nonstandard) disktab entries to fail.  They will
need to be changed to have relative offsets (and no partitions outside
of the slice).

Don't write protect the (nonexistent) label on the whole disk slice.

Writing labels and bootstraps should work right now (except if there is
no DOSpartition table).
1995-02-18 22:10:44 +00:00
Bruce Evans 51bcc40b35 Write setconf() in KNF, in K&R C, and in Standard C.Standard C. 1995-02-18 21:32:19 +00:00
Bruce Evans 9d2ccc8e66 New field b_biodone_chain to support nested b_iodone's. 1995-02-18 21:12:33 +00:00
Andreas Schulz c0577faf0c Submitted by: Ollivier ROBERT [email protected]
There is a typo in the include file specification in the  man page  of
time(1).
1995-02-18 20:44:55 +00:00
Bill Paul 188291d20f Do away with 'options SWAP_GENERIC' once and for all: I get ill
just thinking about it.

Two changes need to be made to allow 'config kernel swap generic' to
work properly without requiring any compile-time flags:

/usr/src/usr.sbin/config/mkswapconf.c: we need to define a dummy stub
for the setconf() function to replace the one in swapgeneric.c that
isn't available in non-generic configurations.

/usr/src/sys/i386/i386/autoconf.c: the -a boot flag causes setroot()
to be skipped and lets setconf() prompt the user for a root device.
If you skip setroot() in a non-generic kernel, you could get severely
hosed. To avoid this, we silently ignore the -a flag if rootdev != NODEV.
(rootdev is always initialized to NODEV in swapgeneric.c, so if
we find that rootdev is something other than NODEV, we know we're
not using a generic configuration.)
1995-02-18 18:05:35 +00:00
Jordan K. Hubbard b96f37e2b0 Remove bogus reference to snp.4. Somebody kinda screwed up their move! :) 1995-02-18 17:10:40 +00:00
Jordan K. Hubbard 61a3cfb7a3 ipfirewall.4 is obviously not here anymore! Adjust the Makefile. 1995-02-18 16:36:23 +00:00
Andrey A. Chernov e96a21509f Minor optimization. 1995-02-18 11:36:33 +00:00
Jordan K. Hubbard 590d3b8680 Add Nate back as promised before, but I will also note that he's on
probation..  Another vanishing act and I won't hesitate to nuke this back
out again.  He hasn't been heard from very much since he was over here to
visit! :-)
1995-02-18 09:31:16 +00:00
Scott Mace 1b0c06d938 Correct the grammar for the label of the number of users.
It is plural when zero and >1 users are logged in.
1995-02-18 08:24:16 +00:00
David Greenman 9b4814bba2 1) Added protection against collapsing OBJ_DEAD objects.
2) bump reference counts by 2 instead of 1 so that an object deallocate
   doesn't try to recursively collapse the object.
3) mark pages renamed during the collapse as dirty so that their contents
   are preserved.

Submitted by:	John and me.
1995-02-18 06:48:33 +00:00
Jordan K. Hubbard f4fcba6266 1. Add Justin Gibbs
2. Make all the core team members use FreeBSD.org - it just looks better.
1995-02-18 04:07:09 +00:00
David Greenman 0e65588688 Only clear B_VMIO in brelse() - a bunch of special processing is required
whenever this happens, and that wasn't occurring in some cases.
1995-02-18 02:55:09 +00:00
Andrey A. Chernov 3d4c9a4bd7 Minor optimization 1995-02-18 01:42:02 +00:00
Andrey A. Chernov 7b7aeeccde Copyrights cleanup 1995-02-18 01:39:00 +00:00
Stefan Eßer b5fd1704b2 Bruce pointed out, that a misleading warning would be issued
in an (unlikely) border case (maxgroups==1 and the user is on
an /etc/group line for the same group and that group only ...).

Now this case is dealt with as before ...
1995-02-17 19:45:21 +00:00
Bruce Evans 390784fbeb Undo the busy latch changes made in the previous revision. They broke
some 386/387 systems.

Don't print the IRQ number twice in the boot diagnostics.
1995-02-17 19:38:13 +00:00
Ugen J.S. Antsilevich a53227ff18 Move ipfirewall.4 & snp.4 facility manpage
to share/man/man4
1995-02-17 18:48:36 +00:00
Ugen J.S. Antsilevich 9d0ee8a480 oops..here is the manpage 1995-02-17 18:06:11 +00:00
Ugen J.S. Antsilevich 3377c114e1 Manpage for snoop device itself. 1995-02-17 17:53:52 +00:00
Andrey A. Chernov 5e6cdc1eae colldef added 1995-02-17 17:37:55 +00:00
Stefan Eßer f067e922a9 Protect against duplicate gids in group list (as could be the
result of being a member of some group in both /etc/group and YP).
1995-02-17 17:36:09 +00:00
Andrey A. Chernov a1c128ae2a collate tables compiler
Submitted by: [email protected]
1995-02-17 17:29:50 +00:00
Stefan Eßer 3453c5d5db Improve diagnostics:
Test for correct execution of cache test script by NCR,
and give meaningful error description if it fails.
(A cache problem was reported before.)
Don't wait forever for cache test to complete (to protect
against faulty hardware).

Submitted by:	wolf
1995-02-17 16:45:08 +00:00
Ugen J.S. Antsilevich e2f16ea3ee Add manpage to makefile 1995-02-17 16:41:43 +00:00
Ugen J.S. Antsilevich 15c592c7f2 Watch fresh-made manpage.. 1995-02-17 16:40:32 +00:00
Andrey A. Chernov 926f20c973 Don't pick _warn module now 1995-02-17 16:36:12 +00:00
Ugen J.S. Antsilevich 96fd3f53e8 Finally document "via" feature.. 1995-02-17 15:44:08 +00:00
Ugen J.S. Antsilevich 7f4c79484b This is watch - programm to work with /dev/snp,
it still lacks manpage-i will commit it today later.
For now to test try: watch [ttyname] :)
1995-02-17 14:36:03 +00:00
Ugen J.S. Antsilevich 5d6cb6cac4 Added to makefile watch - snooping programm to work
with /dev/snp
1995-02-17 14:34:21 +00:00
Joerg Wunsch 68be960997 Removed the bogus duplicate pcvt* alias names. Ache renamed them
to shut up cap_mkdb warnings, but they better have to go away.

Reviewed by:	Hellmuth Michaelis
1995-02-17 14:06:51 +00:00
Bruce Evans c69e71b3e9 Fix some bogus and missing chowns:
444 -> root.wheel
root -> root.wheel
uucp -> uucp.wheel (perhaps this should be .dialer, but .wheel is safer)
missing -> root.wheel

chown to root is usually bogus because mknod had to be run by root to
create the inode.  Setting the group explictly is currently necessary
because MAKEDEV does nothing to ensure that its working directory has
a suitable group.

Driver authors!  Please fix any bogons in MAKEDEV that involve your
drivers.  The sound devices are still world writable...
1995-02-17 12:32:34 +00:00
Jordan K. Hubbard f1f041888e Remove the ISDN dialer from LINT until it's working. 1995-02-17 09:33:29 +00:00
Jordan K. Hubbard 664b5e14dc Always go to ${WRKDIR} before extraction. Modify the tar extract command
args to take advantage of this.
Pointed-out-by: asami
1995-02-17 08:52:55 +00:00
Bruce Evans 94a7cbb03e Restore alphabetical order (except gnu is last). 1995-02-17 08:45:59 +00:00
Dima Ruban 399e5b4411 Security fixes.
CERT Advisory CA-95:03.telnet.encryption

Obtained from: CERT
1995-02-17 03:57:00 +00:00
Jordan K. Hubbard 571a258ad5 fstab is in section 5, not section 8.
Obtained from: NetBSD
1995-02-17 03:37:33 +00:00
Poul-Henning Kamp 648c711bb4 This is the latest version of the APM stuff from HOSOKAWA, I have looked
briefly over it, and see some serious architectural issues in this stuff.

On the other hand, I doubt that we will have any solution to these issues
before 2.1, so we might as well leave this in.

Most of the stuff is bracketed by #ifdef's so it shouldn't matter too much
in the normal case.

Reviewed by:	phk
Submitted by:	HOSOKAWA, Tatsumi <[email protected]>
1995-02-17 02:22:57 +00:00
Andreas Schulz 2c0529005c Correct the parameters for the fchown. The third was erroneously
specified as uid_t but should be gid_t.
1995-02-17 00:41:30 +00:00
Garrett Wollman c7a82f9016 Include missing <sys/kernel.h> for `hz'.
Submitted by:  David Greenman, Rod Grimes, Christoph Kukulies
1995-02-17 00:29:42 +00:00
Andrey A. Chernov a4d5d0cbde Add 8bit collate stuff
Submitted by: [email protected]
1995-02-16 17:01:11 +00:00
Bruce Evans 96658fee5a Adjust for rearranged slice numbers. Only create partitions on slice 0
for now (there are too many minors to create by default).  The special
sliced disk case ssd*|svn*|swd*) can almost replace the standard disk
case sd*|vn*|wd*) now (it just creates a few more devices), but there
will have to be special cases to allow creating slices 6-31 and partitions
on slices 2-31.

Fix bogus default cases.
1995-02-16 16:03:29 +00:00
Bruce Evans 7a867ed547 Add compatibility cruft.
Slice 0 is now for the first BSD slice.  The first BSD slice is
the first DOSpartition with id 0xa5 or the whole disk if their
are no DOSpartitions (except the latter is not yet implemented).
Existing partitions on it work the same as in 2.0 except the
'd' partition is no longer special and partitions are relative
to the skice.

Slice 1 is now for the whole disk and gets a read-only label
describing the disk.  Previously, slice 0 was for the whole disk
and there was no label on it.

Slices 2-31 are for DOSpartitions.  Slice 0 is an alias for one
of these if there is a BSD slice.  Previously, slices 1-31 were
for DOSpartitions.

diskslice_machdep.c:
Expand whole disk slice to include all DOSpartitions.  More work
is required for >1024 cylinders and to rewrite the label iff the
driver is unsure about the geometry.

subr_diskslice.c:
New function dsisopen() to help handle media changes.
1995-02-16 15:19:19 +00:00
Bruce Evans 2987d72f4a Adjust for rearranged slice numbers. 1995-02-16 15:06:09 +00:00
Bruce Evans de13c90ff2 Adjust slice names in diskerr() for the rearranged slice numbers. The
mapping from numbers to names is messy for backwards compatibility.
E.g., for driver "sd", unit "0":

slice 0: omit the slice number for compatibility; names are sd0[a-h].
slice 1: omit the partition letter 'c' because the whole disk device
         shouldn't have anything to do with partitions; sd0 is the
         only name.
slices 2-31: subtract 1 from slice number to compensate for the
         compatibility slice 0; names are sd0s[1-30][a-h].
1995-02-16 14:47:38 +00:00
Bruce Evans b10eec80c5 Rearrange slice numbers for compatibility. 1995-02-16 13:35:21 +00:00
Bruce Evans ceb91b3e4a Fix syntax errors in #ifdefed out code. 1995-02-16 13:21:47 +00:00
Bruce Evans 59c0a09db6 Temporarily stop this compiling if the option TEST_LABELLING is defined
so that new slice support code can be installed without risk of
corrupting vn devices (if any).
1995-02-16 13:09:39 +00:00
Jordan K. Hubbard 87e4e7246c Rename TMPDIR to PKG_TMPDIR, just to make Jeff happy.. :-) 1995-02-16 12:43:00 +00:00
Jordan K. Hubbard c21ad9f78e Give user a change to read startx messages.
Suggested by:	David Muir Sharnoff <[email protected]>
1995-02-16 12:36:47 +00:00
Jordan K. Hubbard 5c95e17f96 Make a link to /etc/rmt when we're installed. 1995-02-16 12:34:35 +00:00
Jordan K. Hubbard c80adb3803 Fix embarassing typo pointed out by Dave Sharnoff - 16bit does
NOT = 16k colors! :-}
Submitted by:	David Muir Sharnoff <[email protected]>
1995-02-16 12:30:31 +00:00
Bruce Evans da12c6d2aa config.y:
Support slice numbers in device names.  The syntax is `<driver name>
[<unit number>] ['s' <slice number>] [<partition letter>]'.  Only
`['s' <slice number>]' is new here.  The slice number defaults to 0
so that there is no change in the output from config if this new
feature is not used.

Replace some magic disk numbers by `dk' slice and label macros.

mkswapconf.c:
Improve the output formatting:
Generate <> style includes.
Print minor numbers in hex so that slice numbers are easy to see and edit.
Print the rootdev and dumpdev names in comments like the swapdev names.
1995-02-16 12:17:30 +00:00
Joerg Wunsch 8b47b44cc0 Spell my name with an umlaut. Looks better to me. :-) 1995-02-16 12:04:53 +00:00
Jordan K. Hubbard 6129798f6a Update this a little, though we probably need to either nuke or rename it! 1995-02-16 12:02:08 +00:00
Bruce Evans 5cea80f170 Always return null-terminated identifiers from yylex(). 1995-02-16 11:52:11 +00:00
Bruce Evans 829b9f6e93 Fix checking of directory access for "/foo". The parent directory is
"/", not "".
1995-02-16 11:42:36 +00:00
Joerg Wunsch 3ab1adc555 Alow overriding of the various SHM* options.
Submitted by:	Heikki Suonsivu <[email protected]>
1995-02-16 11:29:19 +00:00
Bruce Evans 48ab66a1f5 Fix another bogon in the change before the last. 1995-02-16 11:23:25 +00:00
Joerg Wunsch 99909befb6 Make the argument list for the (non-Posix) fchown() consistent with
Posix chown(), and also with the man page.

Submitted by: Doug Rabson <[email protected]>
1995-02-16 11:10:24 +00:00
Joerg Wunsch 66b7e31706 gettytab:
Add the `lc' option to default.  Having getty understand the issues of
CAPS-only terminals is a nop these days, but `lc' avoids hassles for
people with CAPS-only user names.

Suggested by: Don Yuniskis


weekly:

Modify the call to makewhatis, now that our makewhatis can take the
entire ${MANPATH} as a single argument.
1995-02-16 10:51:53 +00:00
Jordan K. Hubbard b5886db230 1000000 usec -> 1 sec 0 usec; fix.
Submitted by:	"Philippe Charnier" <[email protected]>
1995-02-16 09:17:27 +00:00
Jordan K. Hubbard 1d5f5f9312 Fix a few bogons introduced when config lost the 3 char limitation. 1995-02-16 08:06:28 +00:00
Bill Paul fbf23e9a0b Minor changes and additions to the serial README file. 1995-02-16 07:37:35 +00:00
Andrey A. Chernov c3d0cca4e9 Add 8-bit collate stuff
Submitted by: [email protected]
1995-02-16 04:24:39 +00:00
Rodney W. Grimes d5b8d6b667 Update my email address. 1995-02-16 03:13:50 +00:00
Garrett Wollman cb04d5c55b Don't need to retransmit FIN bit in CLOSING state.
Obtained from: Stevens, vol. 2, exercise 29.5 (solution p. 1090)
1995-02-16 01:53:31 +00:00
Garrett Wollman 1c09f77422 spl back down in unusual out-of-memory condition in udp_output().
Obtained from: Stevens, vol. 2, exercise 23.4 (solution p. 1083)
1995-02-16 01:47:36 +00:00
Garrett Wollman 1fdbc7ae46 Correctly initialize so_linger in ticks (not seconds).
Obtained from: Stevens, vol. 2, p. 1010
1995-02-16 01:42:45 +00:00
Garrett Wollman dac2030182 Avoid deadlock situation described by Stevens using his suggested replacement
code.

Obtained from: Stevens, vol. 2, pp. 959-960
1995-02-16 01:39:19 +00:00
Garrett Wollman 9bb8795d71 Don't add back in the IP header length to ip_len; icmp_error will do it
for us.

Obtained from: Stevens, vol. 2, p. 774
1995-02-16 01:25:06 +00:00
Bill Paul 5d645648b1 ypbind jumbo patch :)
The existing ypbind exhibits some truly anti-social behavior. After
initially establishing a binding with an NIS server, the following events
take place:

- ypbind waits for 60 seconds before trying to broadcast a ping again
- after the 60 seconds expires, ypbind sends out broadcasts every 5 seconds
  come hell or high water.

These broadcasts travel far and wide, even to NIS servers in other domains
which dutifully log the packets even though they don't respond to them.
This leads to lots of unnecessary traffic and bloated log files.

This behavior has been fixed/changed. Here's what happens now:

- We still broadcast every 5 seconds at startup, just like before.

- Once bound, we send out packets once every 60 seconds to the server
  we're bound to AND NO ONE ELSE.

- If we fail to receive a reply from our server within FAIL_THRESHOLD
  seconds, we assume our server has croaked and go back to broadcasting
  everywhere every 5 seconds again until somebody answers. FAIL_THRESHOLD
  is currently set to 20 seconds.

Other fixes/improvements:

- ypbind now logs 'server not responding' and 'server OK' messages where
  appropriate.

Thanks to Thomas Graichen <[email protected]> for
reporting the problem and guilt-tripping me into fixing it. :)
1995-02-16 01:21:44 +00:00
Garrett Wollman 39052a0eeb Attempting to bind() or connect() a routing socket, while meaningless,
shouldn't cause a panic.

Obtained from: Stevens, vol. 2, p. 667
1995-02-16 01:11:38 +00:00
Garrett Wollman 5f540404a8 getsockopt(s, SOL_SOCKET, SO_SNDTIMEO, ...) would construct the returned
timeval incorrectly, truncating the usec part.

Obtained from: Stevens vol. 2 p. 548
1995-02-16 01:07:43 +00:00
Garrett Wollman 41f82abe5a Transaction TCP support now standard. Hack away! 1995-02-16 00:55:44 +00:00
David Greenman eb2463e1fc Fixed botched previous change - use 'pageno' not initialized to NULL 'kva'.
Submitted by:	Lars Fredriksen
1995-02-16 00:41:16 +00:00
Garrett Wollman 9426bb7c1d Allow the user access to net.inet.igmp, even though there's nothing
sysctl(8) can interpret there.  (Someday there might be.)
1995-02-16 00:28:42 +00:00
Garrett Wollman f2ea20e676 Add lots of useful MIB variables and a few not-so-useful ones for
completeness.
1995-02-16 00:27:47 +00:00
Garrett Wollman bae74debca Document Transaction TCP extensions to generic system calls. 1995-02-15 22:53:04 +00:00
Joerg Wunsch 27dd3ef3b9 Wolfram now also submitted a man page for this.
Submitted by:	Wolfram Schneider <[email protected]>
1995-02-15 22:52:52 +00:00
Andrey A. Chernov 93a56d1fd1 Restore deleted in second time my & bde fixes.
UGEN STOP IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1995-02-15 22:25:51 +00:00
Garrett Wollman d69128d862 Document Transaction TCP. 1995-02-15 22:07:28 +00:00
Andrey A. Chernov 108497c8b6 Remove dir creating, done by mtree
Add missing file name for cmp
1995-02-15 20:59:13 +00:00
Andrey A. Chernov c44aef5655 Add include/readline and share/misc/pkg_manage 1995-02-15 20:57:01 +00:00
Andrey A. Chernov b6d7ccaf9d pkg_manage added 1995-02-15 20:52:52 +00:00
Andrey A. Chernov 56d3ff658b pkg_manage utility, using file selector 1995-02-15 20:47:56 +00:00
Joerg Wunsch c851c2f0ea Include three lines about the pcvt console driver, so we don't ever need
a different config file for it.
1995-02-15 20:38:36 +00:00
Stefan Eßer 6977dc165f For the sake of people, who like to move pci_configure()
before isa_configure() in autoconf.c:

ncr_intr() protected by splbio()/splx()

Submitted by:	wolf
1995-02-15 20:06:38 +00:00
Andrey A. Chernov 12430b365a Changes for new _menu interface 1995-02-15 19:48:10 +00:00
Andrey A. Chernov 895aadbcfb file selector, helpline, helpfile and more, with my fixes
Submitted by: [email protected]
1995-02-15 19:44:08 +00:00
Poul-Henning Kamp 7f8573b091 Various nitpicking from Stephen.
Reviewed by:	phk
Submitted by:	Stephen McKay <[email protected]>
1995-02-15 19:41:38 +00:00
Andrey A. Chernov 9b3f7fd62d Make libexec & sbin for tcp_wrapper and others 1995-02-15 19:12:21 +00:00
Ugen J.S. Antsilevich 964587caee More changes to support user calls.
It's 22:00  here,utility still to come(hopefully tomorrow
morning..)
1995-02-15 18:41:57 +00:00
Bruce Evans ae5e131ac8 Avoid duplicating ttselect() so that we don't have to change cyselect()
when ttselect() is improved.  This requires using an array of tty structs
and not using ttymalloc().

Fix an off by 1 error.  Some caclulations seem to be off by a factor
of NCY.  NCY defaults to 16, which gives 256 tty structs occupying
0xd000 bytes.  The minor number encoding only allows 16 ttys.

Update the types of timeout functions to 2.0.
1995-02-15 18:41:41 +00:00
Ugen J.S. Antsilevich 73bac2c219 More changes to support user calls. 1995-02-15 18:41:21 +00:00
Andrey A. Chernov 8c91744a04 Add more verbosity for status, if standalone 1995-02-15 17:43:12 +00:00
Andrey A. Chernov 6d5f4f30a7 mixer added 1995-02-15 17:39:52 +00:00
Andrey A. Chernov ae0de42130 non-X mixer, useful into rc.local 1995-02-15 17:33:04 +00:00
Ugen J.S. Antsilevich 019b4d63ae Fix couple of nasty bugs..
- Overflow now calculated right
- Close works ok,does not looses tty
- Better overflow handling now the snooping stops
   on overflow,but programm notified and can reconnect if
   it want to..Default maximal buffer set to 664 K and this
   is probably too much..:)))
Utility still to come
1995-02-15 16:35:38 +00:00
Ugen J.S. Antsilevich 1bf407a7a5 Add more flags to snoop device 1995-02-15 16:33:16 +00:00
Bruce Evans 23564ff8c3 Remove duplicated code from ttymalloc(). Disable ttyfree().
Restore fixes to flushing that were lost in the previous commit.

Clean up snoop changes.

Add my TODO list from 1.1.5.  The improvements in 1.1.5 should be "obtained"
first.
1995-02-15 16:00:56 +00:00
David Greenman 792016e7a4 Woops, last change wasn't done quite right...fixed. 1995-02-15 14:45:08 +00:00
David Greenman 32e68582d1 Yanked out (now obsolete) support for 'fastboot'. 1995-02-15 14:35:29 +00:00
David Greenman 2ee6a63f1f Include the special device in the error output so that it makes sense. 1995-02-15 14:29:26 +00:00
David Greenman 8a978495e7 Verify that the last component of the mount point path exists and is
a directory - allows for better error reporting.
1995-02-15 14:20:50 +00:00
Andreas Schulz b019cc8f8e Add a description for the np flag. 1995-02-15 13:59:56 +00:00
David Greenman 919364ea6a Use proc0's proc struct rather than curproc's when calling sync. 1995-02-15 12:27:01 +00:00
Jordan K. Hubbard 8c324d5fb8 Whap a few things not used in the Cyclades driver, at least not for now. 1995-02-15 12:01:24 +00:00
Jordan K. Hubbard 7b2e66b08b Fix a few more nits. Should compile better now! :_) 1995-02-15 11:59:41 +00:00
David Greenman 402cc72db6 Fixed bug caused by attempting a connect with a null 'nam'. 1995-02-15 11:30:35 +00:00
David Greenman ca40da7417 Don't bother calling pmap_create() when creating the temporary map.
The whole COW section of vm_mmap() should be rewritten; the current
implementation is highly convoluted.
1995-02-15 09:22:17 +00:00
Jordan K. Hubbard a043a8428a Quiet the last of the warnings. Must have had my eyes closed when
I committed this! ;-(
1995-02-15 08:19:31 +00:00
David Greenman 2f8f2dd5bb >From a week or two ago I got kernel panics as soon as I tried to access my
tape drive. I traced it to sys/scsi/scsi_base.c where some code were added
to print the return values of the sense command. My tape drive returned a
extended flags value of 0x20, so the key that is the lower 4 bits, is 0.
The code uses "key-1" to index into a table and then the kernel go to never-
never land.

Here is a fix for this. Will somebody please apply it?

Submitted by:	John Hay
1995-02-15 07:44:07 +00:00
Jordan K. Hubbard 37c4acbb58 Make the email address syntax more regular
Add pointer to Mark Murray's foreign eBones/secure site.
1995-02-15 07:07:18 +00:00
Jordan K. Hubbard 38eb155156 Add Hong Kong mirror. 1995-02-15 06:41:50 +00:00
Jordan K. Hubbard f87104d983 And fix some more compiler warnings. Then give up. /sys/net* is FULL of
bogus code!  And besides, Poul's doing this already.. It's just that
fixing compiler warnings is sort of like eating potato chips.. :-)
1995-02-15 06:29:47 +00:00
Jordan K. Hubbard e53e112497 Nuke some more compiler warnings, while I'm at it.. 1995-02-15 06:28:48 +00:00
Jordan K. Hubbard 7543a838ee Fix up include paths, nuke some warnings. 1995-02-15 06:28:29 +00:00
Jordan K. Hubbard f2eea8100f We can enable pcd0 when we actually have one. 1995-02-15 06:18:15 +00:00
Jordan K. Hubbard e7891cd349 Boy, no sooner do I clean it up then dirty it again! Clean up the enxio
stuff I should have caught earlier.
1995-02-15 04:51:10 +00:00
Jordan K. Hubbard a46a6df7e5 Comment out snic0 until it gets updated to the newer scsi code. 1995-02-15 04:49:18 +00:00
Poul-Henning Kamp b8e4cd2bb3 This is a MS-DOS program, but is does something useful for us:
It boots FreeBSD from a running MS-DOS system.

It's compiled using some MS-DOS tools, but there is a binary
hidden in the uuencoded file.  (Go ahead, flame me if you can come up
with a solution for the problem.  Just saying "this is bad" doesn't count!)

Rod, you were right: one would have to deal with weird interfaces to the
memory managers, and it seems that Christian found them all, and made them
work.

Thanks Christian!

Reviewed by:	phk
Submitted by:	DI. Christian Gusenbauer <[email protected]>

Christians README:
------------------

Hi Everybody!

This is version 1.5 of "fbsdboot", a program that allows you to boot a kernel
from a MS-DOS partition or a FreeBSD partition. This program runs using DOS.
It works with various memory managers (like  EMM386, 386MAX) under certain
circumstances.

First, a FreeBSD kernel is always loaded to memory starting at 0x100000. To
assure that loading the kernel *does not* overwrite memory used by memory
managers, high memory for the kernel is allocated and after loading the kernel
it's moved to 0x100000.

Second, there are many ways to switch to protected mode which is necessary to
start the kernel. Each BIOS gives you the possibility to use INT15H (AH=89H)
to do that. But some memory-managers like 386max does not allow you to use
this method.

An other way to do the switch is to use DPMI services, but they do not
guarantee, that the protected mode application is executed with privilege
level 0. Therefore this method is *not* used.

VCPI services offer another way to switch to protected mode, and VCPI servers
are built into "emm386.exe", "386max" and "qemm". That's why, this method is
implemented in fbsdboot.exe.

Fbsdboot.exe tries to switch to protected mode using VCPI services. If they're
not available INT15H is used to do the switch. If that fails, it's not possible
for this version of fbsdboot.exe to boot a kernel :-(.

You can get commandline options of fbsdboot if you start it with "-?" as option!

I don't know, if fbsdboot works with QEMM, as I don't have the possibility to
test it.

Enjoy and have fun!

Christian.
[email protected]


PS: Many thanks to Bruce Evans for his assistance!
1995-02-15 04:45:50 +00:00
David Greenman 7389231d06 Killed the pmap_use_pt and pmap_unuse_pt prototypes as they are now in
machine/pmap.h.
1995-02-15 04:36:31 +00:00
Bill Paul 0e59c1bde3 More DESTDIR lossage. Hopefully this will solve the case of the missing NIS
scripts.
1995-02-15 04:35:55 +00:00
Bill Paul f464a3788e Fix losing Makefile so that it properly honors DESTDIR when installing
/var/yp/Makefile and /usr/libexec/mknetid. *grumble* *mutter* *mutter*
1995-02-15 04:33:52 +00:00
Poul-Henning Kamp 78ff637a2c YF fix. 1995-02-15 04:21:32 +00:00
Rich Murphey 73b2840c90 Reviewed by: Jordan
Submitted by:	Rich

Make conditionals on BIOSWAIT consistent with usage in io.c.

If you had 'BOOTWAIT=0' in your /etc/make.conf then biosboot wouldn't
compile.  It was '#if' in io.c and '#ifdef' in probe_keyboard.c so I
changed the latter to '#if'.

Even if BOOTWAIT is undefined then '#if BOOTWAIT' becomes
'#if 0' so it should compile either way with this change.
1995-02-15 04:17:59 +00:00
Jordan K. Hubbard 6fc1110b71 Make pkg_install use /var/tmp instead of /tmp
Suggested by:	hsu
1995-02-15 03:48:13 +00:00
David Greenman efefea024a Fixed two more bugs related to the merged cache changes.
Submitted by:	John Dyson
1995-02-15 03:40:00 +00:00
David Greenman ad21d87fd5 Woops, change a nfsrv_vput back into a nfsrv_vrele.
Submitted by:	John Dyson
1995-02-15 03:38:12 +00:00
Garrett Wollman a2cc1fa205 Document TCP MIB variables (tcp.4).
Document IP MIB variables (inet.4).
Document Internet-family protocol-specified route cloning (inet.4).
Delete all references to classed addresses (inet.4).
1995-02-15 03:30:54 +00:00
David Greenman 6b03a7ffc5 Fixed three bugs related to the merged cache changes. The bugs likely would
make NFS servers flakey - probably the cause of freefall's recent hangs.

Submitted by:	John Dyson
1995-02-15 03:03:03 +00:00
David Greenman a8c6dbca84 >Description:
The "strings" program chokes if you try using "-n".

>How-To-Repeat:

	Try "strings -n SOMENUMBER SOMEFILE".

>Fix:

Here's a "diff -u" patch that corrects the problem.

Submitted by:	Lon Willett <lon%[email protected]> via NetBSD
1995-02-15 02:47:47 +00:00
Jordan K. Hubbard f4eba1d716 Make /var/yp.
Suggested by: se
1995-02-15 01:51:18 +00:00
Garrett Wollman 8f283fdc8f Move apm(4) to i386 section, since it is i386-specific. 1995-02-15 01:20:03 +00:00
Jordan K. Hubbard 6f96f72b16 Add ISDN entries to LINT. 1995-02-15 00:53:15 +00:00
Jordan K. Hubbard 8c5da82528 Import the ISDN userland utilities. Just about ready to start shaking
this baby out in earnest..
1995-02-15 00:46:26 +00:00
Jordan K. Hubbard c7fcb45b9c Create a /usr/share/isdn directory. 1995-02-15 00:41:23 +00:00
David Greenman 1564b6f5e0 Slight change of wording on clean flag not set message to appease some
complaints.
1995-02-15 00:23:56 +00:00
David Greenman 69f92856cb >The fix for the missing ".." in the root directory is enclosed below.
Submitted by:	Kirk McKusick
1995-02-15 00:17:56 +00:00
Jordan K. Hubbard bfbd29a110 I've found two bugs in manctl(8). There are two spurious ";" after a "then"
in the script. The result is the following :

203 [23:47] root@keltia:/build/cvs-1.4A2# manctl
/usr/sbin/manctl: 165: Syntax error: ";" unexpected

Here is the fix :
Submitted by:	Ollivier Robert <[email protected]>
1995-02-15 00:07:59 +00:00
Jordan K. Hubbard 19c84690f0 Add device entries for ISDN driver. 1995-02-14 23:48:05 +00:00
Stefan Eßer 9ddf96998e ncr.c:
New config option "NCR_IOMAPPED" makes the driver use port I/O.
Put back in 53c815 defines, submitted by Mikael Hybsch <[email protected]>.
These had got lost between cvs rev. 1.14 and now ...

pci.c:

Really write config space register.
Assign ports starting at 0xbc00.

Submitted by:	wolf
Reviewed by:	se
1995-02-14 23:33:38 +00:00
Garrett Wollman 628e3e3401 After dynamically reducing rtq_reallyold, have in_rtqkill() reduce the
expiration timer of anything which would expire later than that.  (There
should be a way to call this from ip_sysctl() as well, but there currently
isn't.)
1995-02-14 23:11:26 +00:00
Garrett Wollman ea80aed1a9 Attempt to make the host route cache a bit smarter under conditions of
high load:

	1) If there ever get to be more than net.inet.ip.rtmaxcache entries
	   in the cache, in_rtqtimo() will reduce net.inet.ip.rtexpire by
	   1/3 and do another round, unles net.inet.ip.rtexpire is less than
	   net.inet.ip.rtminexpire, and never more than once in ten minutes
	   (rtq_timeout).

	2) If net.inet.ip.rtexpire is set to zero, don't bother to cache
	   anything.
1995-02-14 23:04:52 +00:00
Stefan Eßer 1bc2211b44 Verify that NCR was mapped to uncached address.
Submitted by:	[email protected] <Wolfgang Stanglmeier>
1995-02-14 22:48:01 +00:00
Jordan K. Hubbard 804b5d8f47 Bring in the ISDN driver entries. 1995-02-14 22:36:49 +00:00
Jordan K. Hubbard 53c1e53822 Add the ISDN entries 1995-02-14 22:34:41 +00:00
Jordan K. Hubbard 730d52ffe3 Add the ISDN entries. 1995-02-14 22:34:04 +00:00
Jordan K. Hubbard 2933703e6d Julian E. says the code is out of date, but I can at least make the
includes look right until we get a chance to fix the rest of this.
1995-02-14 22:33:10 +00:00
Rodney W. Grimes a533e22a54 Export ${DESTDIR} to h2ph so that the *.ph files end up in the DESTDIR
directories instead of /usr/share/perl.
1995-02-14 21:47:04 +00:00
Gary Palmer 05002e8cb5 Make the checksum target not bomb out if there is a mismatch, just
print a warning. A better fix will come along just as soon as I
work out what it is.
1995-02-14 21:29:28 +00:00
Ugen J.S. Antsilevich d667b870a2 TS_SNOOP flag added to identify tty is begin snoopped
snoop.h have all structures related to the snp device and stuff
1995-02-14 21:23:48 +00:00
Ugen J.S. Antsilevich dde8a05baa Here it came-the all-brand-new snoop device..
Users-beware..
It is tested and working for me but probably have some bugs i
didn't noticed so test it and reply...
It can:
 look at what's sent to the user from tty device
 snoop on pty's,vty's and serial tty's
It (still) can't:
 write to tty
 see what user types in local echo mode
It is probably bad styled and
 very dependant on tty_pty.c,sio.c and syscons.c
I would be really happy if another ppl would make their
changes because i am not sure this is the best snoop
we can have..but it is good..:)))))
1995-02-14 21:21:26 +00:00
Ugen J.S. Antsilevich 71ac9ea4e9 cdevsw[] entry for snoop device.
I took 53 and it was too late when Jordan sayd
it better been 60..besides i have no clue how to make it 60..
Jordan- pleeease don't kill me..(This is also useful(??) device..)
1995-02-14 21:16:43 +00:00
Rodney W. Grimes 99fd7a9b42 Add missing ${DESTDIR} so that the sample dir file ends up in the
correct place.
1995-02-14 21:15:58 +00:00
Ugen J.S. Antsilevich 4cba45558a pseudo-device snp 3
Example entry for snoop.
1995-02-14 21:15:12 +00:00
Ugen J.S. Antsilevich 819f72f9f9 kern/tty_snoop.c - optional for snp device
added..
1995-02-14 21:14:11 +00:00
Ugen J.S. Antsilevich 187ec8f5ae Added /dev/snp? entry.. 1995-02-14 21:13:14 +00:00
Rodney W. Grimes 36d9739b48 Remove usage of LINKS and LN_FLAGS=-s, this does not do the correct thing
for symbolic links when $DESTDIR is set.

Add afterinstall: target to handle symbolic link creation.
1995-02-14 21:08:45 +00:00
Stefan Eßer 70b344d1af Added Matt Thomas' e-mail address. 1995-02-14 20:20:46 +00:00
Rodney W. Grimes 4a218a6de8 Remove use of ${DESTDIR} in target of symbolic link, it makes the link
point to the wrong place.
1995-02-14 19:43:09 +00:00
Poul-Henning Kamp d06b2f2908 Another one... 1995-02-14 19:39:50 +00:00
Søren Schmidt 1e1e0b4463 First attempt to run linux binaries. This is only the changes needed to
the generic kernel. The actual emulator is a separate LKM. (not finished
yet, sorry).
Submitted by:	[email protected] & [email protected]
1995-02-14 19:23:22 +00:00
Poul-Henning Kamp 47ccef1936 More people not on the list.
Submitted by:	se
1995-02-14 19:19:15 +00:00
Poul-Henning Kamp 00ee0c15e4 Gene Stark added. Should have been here for a long time already.
Anybody else missing ?
1995-02-14 18:04:16 +00:00
Poul-Henning Kamp ae4c9a0208 Removed a YF comment. 1995-02-14 18:01:24 +00:00
Bill Paul 01ed185959 Changed passwd's Makefile to use the built-in LINKS mechanism to create
the symlinks for yppasswd & friends (we still can't use hard links
because passwd is installed immutable). This would have been simpler
if the LN_FLAGS variable hadn't chosen to wait until now before leaping
out of the /usr/share/mk directory and biting me in the ass. (And thus,
I was enlightened.)
1995-02-14 15:38:13 +00:00
Jordan K. Hubbard e316b1a9de An ISDN driver that supports the EDSS1 and the 1TR6 ISDN interfaces.
EDSS1 is the "Euro-ISDN", 1TR6 is the soon obsolete german ISDN Interface.
Obtained from: Dietmar Friede <[email protected]> and
	Juergen Krause <[email protected]>

This is only one part - the rest to follow in a couple of hours.
This part is a benign import, since it doesn't affect anything else.
1995-02-14 15:00:39 +00:00
Søren Schmidt 314908fae3 Fixed cursor xor problem... 1995-02-14 14:37:53 +00:00
Jordan K. Hubbard 47d5df1d7d The destructor always assumed that it would be called on objects created from
ONE constructor routine.  This was bogus - there is also a system provided
constructor which does not allocate a pattern buffer.  Make less assumptions.
1995-02-14 12:35:03 +00:00
Ugen J.S. Antsilevich dbec390e8a Ppl asked to make ipfw smarter..ok..
here it is..
1995-02-14 09:34:04 +00:00
Ugen J.S. Antsilevich 8f6466e847 Fix for rather stupid bug by which you couldn't set
ports for the destination IP addr/port.
Nobody reported this btw , while a lot of other things reported-
probably ppl does not use destination ports at all????
1995-02-14 08:28:27 +00:00
Poul-Henning Kamp f0dbdbbf11 Jordan forgot to move the scd in this file. 1995-02-14 07:19:10 +00:00
Poul-Henning Kamp 86ca01bcee Whoops! back out last commit partly. 1995-02-14 06:57:45 +00:00
Poul-Henning Kamp b53d84607c YFfix. 1995-02-14 06:55:42 +00:00
Poul-Henning Kamp f026fea644 susword -> systm.h 1995-02-14 06:51:31 +00:00
Poul-Henning Kamp ed78b305f6 YPfix 1995-02-14 06:34:49 +00:00
Poul-Henning Kamp cb21b8cf38 YFfix. 1995-02-14 06:33:53 +00:00
Poul-Henning Kamp 9977034cd2 YFfix 1995-02-14 06:31:13 +00:00
Poul-Henning Kamp c70f45100d YFfix. 1995-02-14 06:28:25 +00:00
Poul-Henning Kamp c178994d81 YPfix 1995-02-14 06:25:17 +00:00
Poul-Henning Kamp 473e9734a8 YFfix
+int    nfsrv_vput __P(( struct vnode * ));
+int    nfsrv_vrele __P(( struct vnode * ));
+int    nfsrv_vmio __P(( struct vnode * ));
1995-02-14 06:22:18 +00:00
Poul-Henning Kamp a14b2c282e YFfix 1995-02-14 06:19:23 +00:00
Poul-Henning Kamp 01c9aaafc4 YFfix. added
errval scsi_probe_busses __P(( int, int, int));
1995-02-14 06:17:23 +00:00
Poul-Henning Kamp 8ede9d03cf YFfix.
added int    susword __P((void *base, int word));
1995-02-14 06:15:25 +00:00
Poul-Henning Kamp d2fc53150b YF fix. 1995-02-14 06:14:28 +00:00
Poul-Henning Kamp 7aa3a026ad YF Fix. 1995-02-14 06:11:21 +00:00
Poul-Henning Kamp 5723344759 YF fix.
Reviewed by:	phk
Submitted by:	[email protected] (Yves Fonk)
1995-02-14 06:06:07 +00:00
Poul-Henning Kamp a3dbba7a60 Yves has sent us a ~600 Kb patch, which shuts up gcc entirely for the
entire kernel.
Unfortunately we didn't send him a copy of the style guide before he did it.
I'm trying to find all the benign and downright sound bits and will commit
them without any other explanation than "YF fix" if they are merely cosmetic.

Reviewed by:	phk
Submitted by:	[email protected] (Yves Fonk)
1995-02-14 06:00:17 +00:00
Poul-Henning Kamp a2d29640be Added a bunch of people who deserved it. 1995-02-14 04:07:59 +00:00
Jordan K. Hubbard 3268f6b644 Get scdreg.h from new location. 1995-02-14 04:05:04 +00:00
David Greenman bf4bd9bd9b Fixed problem with msync causing a panic.
Submitted by:	John Dyson
1995-02-14 04:00:17 +00:00
Garrett Wollman 522bab9535 Make capitalization consistent with other devices registered in
the database.  Also, distinguish between VGA-like display devices
and everything else.
1995-02-14 03:19:27 +00:00
Garrett Wollman 9a94a59774 Make netstat report the correct state for T/TCP.
Submitted by: Andras Olah <[email protected]>
1995-02-14 03:09:51 +00:00
Garrett Wollman 2f96f1f446 Get rid of some unneeded #ifdef TTCP lines. Also, get rid of some
bogus commons declared in header files.
1995-02-14 02:35:19 +00:00
Jordan K. Hubbard 9e5c18f7b1 The following patches are for the sound drivers. These changes will
add a an ioctl call to set the transfer block size (SNDCTL_DSP_SETBLKSIZE)
and add the select system call to the drivers.  They also fix a problem with
the #EXCLUDE macros for the PAS-16 card.
Submitted by:	Jim Lowe <[email protected]>
1995-02-13 22:49:06 +00:00
Andrey A. Chernov 21edcfa248 Pass prgbox exit code to main exit code 1995-02-13 19:49:42 +00:00
Andrey A. Chernov 7b5de861cd Much better error handling added. 1995-02-13 18:51:50 +00:00
Andrey A. Chernov c6493ee41b Add missing lib_window.c to SRCS 1995-02-13 17:23:18 +00:00
David Greenman 2655f62632 In sync(), don't dereference the proc pointer if it's NULL. Should fix
most or all of the problems with calling sync() without a curproc (which
can happen in machdep.c during a panic sync).
1995-02-13 13:45:04 +00:00
Poul-Henning Kamp 1e3a24e880 Actually access the right first page if the file.
Bruce finally caught this bogon for me, Thank you Bruce !
Due to some part of the VM/buffer/pmap magic doing clustering, this bogon
managed to work better than 99.9% of the time.  Amazing.
If You ever again see a weird message from the gzip code, please tell me.
1995-02-13 07:40:33 +00:00
Poul-Henning Kamp 46fe71cc98 Add -D__BSD__ and don't write "LINUX" on a CD as default. 1995-02-13 06:54:47 +00:00
Poul-Henning Kamp 9170aeb809 Made the changes needed here to install from a CDrom.
Cleaned some cruft in the process.
This program becomes curiouser curiouser...
1995-02-13 06:52:16 +00:00
Poul-Henning Kamp 4a565df5ed strategy for block and char devices are rightfully spec_strategy.
I feel like yanking all the "ISODEVMAP" stuff altogether, it looks
like a bad kludge...
1995-02-13 06:12:32 +00:00
David Greenman d86d477fe6 Fixed incorrect bufsize assignment that was causing a panic.
Submitted by:	John Dyson
1995-02-13 04:25:46 +00:00
Jordan K. Hubbard 31998a1a56 Fix up the comments about NFS options - the ones listed were wrong
Submitted by:	wpaul
1995-02-13 02:28:14 +00:00
Andrey A. Chernov 6d50a4a80f Purge queues in ttylclose(), if ttywflush() failed 1995-02-13 02:18:28 +00:00
Andrey A. Chernov a3f80a9b22 *close: just purge tty queues if we can't drain them 1995-02-13 02:09:14 +00:00
Andrey A. Chernov dee8849b8d Replace previous fix with less agressive, just return EIO
if ttywait can't drain queue.
1995-02-13 02:03:57 +00:00
Jordan K. Hubbard c5c8ff8669 Some small cosmetic changes I'd been meaning to make. 1995-02-13 01:58:29 +00:00
Bill Paul 4b35aae3dd Added three line hack to nfs_ops.c to add support for the 'resvport'
mount option: you need this little bugger in environments with facsist
SunOS NFS servers (like mine :).
1995-02-13 01:56:22 +00:00
Andrey A. Chernov 911b598f11 1. If some output still present at the end of ttywait, kill it.
2. Even if ttywait() fails, call ttyflush(FREAD) in ttywflush.
This two fixes guarantee that queues are empty after calling ttywflush()
in any case
1995-02-12 23:01:13 +00:00
Jordan K. Hubbard bb71d76710 Try to clean up some of these nasty warnings.. This code is not just
twisted, it's seriously evil!
1995-02-12 09:53:03 +00:00
Jordan K. Hubbard ad23c66664 Add mkisofs to list of targets. 1995-02-12 09:51:53 +00:00
Jordan K. Hubbard 9da6a15aa4 Pick a more sensible default for # of ptys, add comment that this can
go as high as 64 now.
1995-02-12 09:29:59 +00:00
David Greenman 17703e4e91 Carefully choose the low limit for number of buffers to acheive the best
performance on small memory machines.
1995-02-12 09:21:04 +00:00
David Greenman 0217125f2b Carefully choose the value for vm_object_cache_max. The previous calculation
was rather bogus in most cases; the new value works very well for both
large and small memory machines.
1995-02-12 09:19:44 +00:00
David Greenman 06031f1f3f Fixed a bogus comment and made a stylistic change (testl instead of orl
to test for zero).
1995-02-12 09:13:27 +00:00
David Greenman 4aa2b6cf22 Minor code improvement to uiomove() 1995-02-12 09:11:47 +00:00
Jordan K. Hubbard bcbd38050e Rename the local variable used by various macros outside the user's
namespace.
Reported-By: "Philippe Charnier" <[email protected]>
1995-02-12 08:31:31 +00:00
Jordan K. Hubbard 8c96ef7169 Walnut Creek's local hacks to this code. Bob says he'll clean them up
RSN and send them back to Eric.
1995-02-12 08:16:50 +00:00
Jordan K. Hubbard 03d08911fe Changes to make it compile under FreeBSD. 1995-02-12 08:06:09 +00:00
Jordan K. Hubbard 6f50ceba0f Original virgin sources for version 1.2 of mkisofs, by Eric Youngdale of
Yggdrasil Computing Inc.  This is a useful concession to us CDROM mastering
weenies out here.
Obtained from: Yggdrasil Computing, Inc.
1995-02-12 08:00:42 +00:00
Poul-Henning Kamp 4519b73393 Fix broken makefile. 1995-02-12 02:35:35 +00:00
Jordan K. Hubbard ceb3de7af6 Updated this to be more FreeBSD-like; there was a lot of bipartisan cruft
in here that just made it a heck of a lot more confusing to maintain.
Somebody like Joerg can reality-check this at some point, when they have more
time.  For now, it works.
1995-02-12 01:51:34 +00:00
Andrey A. Chernov 3d70f09304 Build kpasswd from normal passwd sources now
Submitted by: [email protected]
1995-02-11 18:25:38 +00:00
Andrey A. Chernov 279c49616d Merge with eBones stuff
Submitted by: [email protected]
1995-02-11 18:20:06 +00:00
Andrey A. Chernov cc01ee1e51 Shut up cap_mkdb warnings on pcvt* entries 1995-02-11 15:16:11 +00:00
Jordan K. Hubbard 25719d742a Remove the evil I perpetrated on this file in the name of the Cyclades driver,
now we're back to the old way.  By way of amends, I cleaned up all the
casting evils and generally neated this file up as much as possible.  It
still, however, needs to die.
1995-02-11 05:54:04 +00:00
Jordan K. Hubbard 6469abd9ba Remove dead sound blaster driver entry. 1995-02-11 05:43:44 +00:00
Poul-Henning Kamp 7c89a442ad /var/games -> games dist. 1995-02-11 05:35:37 +00:00
Poul-Henning Kamp d80a026702 Make sure that info files never hit the "bin" dist. 1995-02-11 05:28:31 +00:00
Poul-Henning Kamp 499454c6e9 Intels App Note AP-485 applied.
We will now tell a good deal more about the CPU if Intel made it.

What is a i486DX2 Write-Back Enhanced CPU ?
1995-02-11 04:21:24 +00:00
David Greenman 914a63ebd4 Wire the page table before doing the vm_fault(). Fixes a panic that
happens when using gdb.

Submitted by:	John Dyson
1995-02-10 22:36:11 +00:00
Andreas Schulz 77357d7355 Fix a little typo. Change the "race record" to a "trace record" :-). 1995-02-10 22:07:42 +00:00
Martin Renters d65161535c Added FIFO restore capability. 1995-02-10 21:57:02 +00:00
Bruce Evans 0e229bc0a8 Add chowns for pty's, ttyv's and ttyd's. Correct the chown for lptctl's.
The group was wrong if MAKEDEV was run in a directory with group other
than wheel.  This may have messed up the group in recent SNAPs
(sysinstall/obj should have group bin).

Reset the umask to 77 after running MAKEDEV.local.  Some cases depend on
the 77 default.  MAKEDEV.local and all cases should probably set the
umask explictly and not depend on a default.  Most cases already set it.
1995-02-10 20:08:25 +00:00
Bruce Evans 24d4540cff Use the correct block number for updating the backup copy of the FAT when
deleting a file.  Deleting a large file used to scramble the backup copy.
1995-02-10 18:39:45 +00:00
Stefan Eßer 045de8d38f Block interrupts in more places and warn about the NCR exception handler
being called at inappropriate times (should never happen !).

Reviewed by:	se
Submitted by:	[email protected] (Wolfgang Stanglmeier)
1995-02-10 13:24:52 +00:00
David Greenman 459a929e36 Changed extended memory test so that it's non-destructive and not a
complete test (it never was "complete", which is why it was bogus). Now
only a single longword is checked in each page.
1995-02-10 07:44:03 +00:00
Jordan K. Hubbard 3e68f6e616 Link to /sys in extract. 1995-02-10 07:22:39 +00:00
David Greenman 3c632e1f0c Removed obsolete and unused vmtime() function. 1995-02-10 07:17:46 +00:00
Jordan K. Hubbard 15b07edd97 Fix a small punctuation typo I just noticed. 1995-02-10 06:52:16 +00:00
David Greenman b1e4a738e0 Removed unnecessary check for pr_scale in the AST/OWEUPC case. 1995-02-10 06:43:47 +00:00
David Greenman 5a32829d98 Check P_PROFIL flag for profiling rather than pr_scale as it makes more
sense.
1995-02-10 06:25:14 +00:00
David Greenman 95b44faffd Turn on "Capture Effect" avoidence. This modifies the collision algorithm
so that the interface won't have the effect of blocking other senders
during bulk transfers (i.e. hogging the ethernet). It improves performance
in all of my tests by reducing collisions and I believe it to be a Good
Thing.
1995-02-10 06:06:42 +00:00
Poul-Henning Kamp 99b3da9348 A better fix for the newfs floppy problem 1995-02-10 06:04:58 +00:00
Jordan K. Hubbard e599dc2c51 Merge in some cosmetic changes - clean the two kernel images we depend
on when a `make clean' is done - prevents a Feb 2nd BOOTFLP kernel going
onto a Feb 10th boot.flp, as now almost happened.. :-)
1995-02-10 05:51:01 +00:00
Atsushi Murai b60d4a5d98 Delete a redundant line - "options TUN" and Add explanation for
"pseudo-device tun" as same as other device.
1995-02-10 05:42:24 +00:00
Poul-Henning Kamp ae9548f6ba A bit of unexpected fallout from the newfs change.
newfs'ing a floppy fails now, unless we tell it geometry.  I thought at
disktype would take precedence.
1995-02-10 05:41:10 +00:00
Poul-Henning Kamp 833ccb5d7a Clean up some details, to make it clear to gcc that we do not try to do
something stupid.
1995-02-10 05:25:00 +00:00
Jordan K. Hubbard 070b9f121a On second thought, only do extract if select returns success. 1995-02-10 05:05:41 +00:00
Jordan K. Hubbard 63a5c45719 Clean up some of the english, make things more explanatory. 1995-02-10 05:02:33 +00:00
Jordan K. Hubbard d80fe64d6e Eliminate gratuitous select step. 1995-02-10 04:53:01 +00:00
Garrett Wollman 8075d17ee2 mtree * MD5 = better security
Idea from: Dr. John T. Wroclawski
1995-02-10 03:12:42 +00:00
Jordan K. Hubbard 982a35748b Prepare for 950210-SNAP 1995-02-10 01:13:27 +00:00
Garrett Wollman 35c13fa033 Implement TCP MIB variables. 1995-02-09 23:16:17 +00:00
Garrett Wollman a0292f2375 Merge Transaction TCP, courtesy of Andras Olah <[email protected]> and
Bob Braden <[email protected]>.

NB: This has not had David's TCP ACK hack re-integrated.  It is not clear
what the correct solution to this problem is, if any.  If a better solution
doesn't pop up in response to this message, I'll put David's code back in
(or he's welcome to do so himself).
1995-02-09 23:13:27 +00:00
Stefan Eßer fd65acba73 Try to detect overlapping PCI memory assignment.
(This can only happen with devices that are mapped
by the BIOS.)

Reviewed by:	se
Submitted by:	wolf (Wolfgang Stanglmeier)
1995-02-09 20:20:33 +00:00
Stefan Eßer 6f22585dd4 Initialisation of interrupt masks changed.
Reviewed by:	se
Submitted by:	wolf (Wolfgang Stanglmeier)
1995-02-09 20:16:19 +00:00
Bruce Evans 1e30185a78 Don't allow the alternate superblock block number for one file system
to apply to others (except when it is given on the command line).
1995-02-09 15:58:31 +00:00
Bruce Evans db23157e7c Add ctm and sgsc. ctm is has proved useful and sgsc seems to have been
forgotten.
1995-02-09 15:36:08 +00:00
David Greenman a7fa409d30 Killed MACHVMCOMPAT function prototypes as the functions don't exist. 1995-02-09 14:16:07 +00:00
David Greenman 94aade54ff Killed MACHVMCOMPAT code. It doesn't compile, and in its present state
would require some work to make it not a serious security problem. It's
non-standard and not very useful anyway.
1995-02-09 14:14:13 +00:00
David Greenman 62f8f85b7e Clean up after Jordan's commit: add d_read_t and d_write_t types for
compatibility with the screwy conf.c macros.
1995-02-09 13:51:25 +00:00
Ugen J.S. Antsilevich 742d9f28f7 Ok..at least this man page is up to date now
To be continued..
1995-02-09 13:13:18 +00:00
L Jonas Olsson dc81ebd7a2 Change my email address. 1995-02-09 12:49:41 +00:00
Jordan K. Hubbard b7e56a8d18 Add L Jonas Olsson <[email protected]> 1995-02-09 12:45:42 +00:00
Jordan K. Hubbard 4a48e9b15a The whole NEW_CONF_C_SYNTAX was bogus; David's right, it can't be
optional at all.  Make it non-optional.
Submitted by:	davidg
1995-02-09 11:59:40 +00:00
Jordan K. Hubbard 640ed9d2a8 Remove duplicate functions.
Submitted by:	gj
1995-02-09 11:30:07 +00:00
Jordan K. Hubbard 11af896263 Add PPP to the generic kernel. Now that Poul has made us all this space,
maybe I can get us back into the slip/ppp game without having to tell users
to reconfigure their kernels all the time! :)
1995-02-09 11:21:07 +00:00
Jordan K. Hubbard e17312113c Fixes for chpass.
Submitted by: Heikki Suonsivu <[email protected]>
1995-02-09 11:14:39 +00:00
Jordan K. Hubbard 1f26416679 Export ttnread().
Submitted by: Heikki Suonsivu <[email protected]>
1995-02-09 11:14:19 +00:00
Jordan K. Hubbard 3663f75c18 >32 PTY support
Submitted by: Heikki Suonsivu <[email protected]>
1995-02-09 11:13:30 +00:00
Jordan K. Hubbard 89c1e72662 Some scary macros from Heikki Suonsivu <[email protected]>. Actually, they
make cdev entries look almost readable.  If his stuff works for most of
the entries in here, it might be worth it to refit them all.
1995-02-09 11:13:09 +00:00
Jordan K. Hubbard 1aa515e96a Update some folks who were inadequately credited. Still at least 2 more
passes thru this file required.
1995-02-09 11:11:39 +00:00
Jordan K. Hubbard 1338e00966 Support for >32 PTYs.
Submitted by:	Heikki Suonsivu <[email protected]>
1995-02-09 11:11:01 +00:00
Jordan K. Hubbard a8716840ba Device entries for >32 PTYs.
Submitted by:	Heikki Suonsivu <[email protected]>
1995-02-09 11:10:02 +00:00
Jordan K. Hubbard 232fcad29a Eliminate a duplicate line.
Submitted by:	Heikki Suonsivu <[email protected]>
1995-02-09 11:09:41 +00:00
Jordan K. Hubbard cfc9f6212d Add the Cyclades serial driver code (ALPHA) from Andrew Werple and
adapted to FreeBSD by Heikki Suonsivu <[email protected]>.
Submitted by:	Andrew Werple <[email protected]> and
		Heikki Suonsivu <[email protected]>
Obtained from:	NetBSD
1995-02-09 09:47:31 +00:00
Jordan K. Hubbard 0ba70b00c0 Andreas Schulz asks:
I have seen two strange things in it :-).
	The first: in CLEANFILES is CPIO3 referenced, that leads to the
	deletion of half of the scripts that are in the source. Intended ?
	Second: The comment above the CPIO3= line says that bininst must be
	the last on the floppy, but setup follows it now ?
And I reply:
	This was all wrong!  Fixed!  Thanks!
Submitted by:	ats
1995-02-09 08:36:23 +00:00
Jordan K. Hubbard f2c81e4dd7 Install the header files. 1995-02-09 08:00:20 +00:00
David Greenman 1ed81ef2fa Minor algorithmic adjustments that reduce the CPU consumption of the
pagedaemon in half while not reducing its effectiveness.

Submitted by:	me & John
1995-02-09 07:41:42 +00:00
David Greenman e99d026c60 Fixed another TTCP ifdef problem...there isn't any tcp_sysctl field in
!TTCP.
1995-02-09 00:56:09 +00:00
David Greenman 512ff5eaa0 Fix/#ifdef prototype for tcp_mss...apparantly overlooked by Garrett. 1995-02-09 00:49:20 +00:00
Jordan K. Hubbard 819ab54771 Add y.tab.h to CLEANFILES. 1995-02-09 00:24:00 +00:00
Bruce Evans a2d5fd1975 Disable bogus attempt to switch from the TS_ISOPEN state to the
TS_WOPEN state when CLOCAL is toggled from on to off while there
is no carrier.  There is no way back, and with sio there is no way
forward either (TS_ISOPEN will never be set again for the current
open).  This bug was observed in 1.1 and was fixed in 1.1.5.
1995-02-08 22:02:02 +00:00
Bruce Evans 2c3a858e68 Rewrite the netisr dispatcher.
Rename `_dummynetisr' to `dummynetisr' so that it doesn't show up in
profiling (with gprof -u).

Clean up.
1995-02-08 21:46:44 +00:00
Bruce Evans cdaec7b1a1 More complete implementation of SUBDIR for programs, libraries and kmods.
`depend' wasn't supported.  This seems to have only broken `make depend'
in gnu/usr.bin/ld.

bsd.prog.mk:
Build the man pages in ${MANDEPEND} at build time.
1995-02-08 21:35:31 +00:00
Bruce Evans 7111dc5ac1 CLEANFILES was missing most of the source links. 1995-02-08 21:27:09 +00:00
Bruce Evans c2b5bd7a79 CLEANFILES was missing a few files. 1995-02-08 21:11:39 +00:00
Bruce Evans 9ee337da19 Add libpcap. I don't know what it is doing in the tree, but it has
settled for too long.  Compiling it gives 142 lines of compiler
warnings.  Perhaps the dirt will be fixed if it is visible.
1995-02-08 20:46:53 +00:00
Garrett Wollman 999f1343a5 T/TCP changes to generic IP code. This is all ifdefed TTCP so should
have no effect on most users for now.  (Eventually, once this code is
fully tested, the ifdefs will go away.)
1995-02-08 20:22:09 +00:00
Garrett Wollman eb6ad69646 Merge in T/TCP TCP header file changes. 1995-02-08 20:18:48 +00:00
Bruce Evans b185266a8a Quiet `make -s'. 1995-02-08 20:12:08 +00:00
Garrett Wollman 81e3e0570d Define RTF_PINNED for future use. 1995-02-08 20:01:13 +00:00
Bruce Evans 0c47d7b5e0 Restore the field widths that were clobbered by the previous commit so that
the columns in ioconf.c line up if there are no long names.
1995-02-08 18:42:58 +00:00
Bruce Evans 02a7dd7637 Define CLK_TCK right. 1995-02-08 18:37:14 +00:00
Jordan K. Hubbard 2a947a4bbf Add two parts of Mark's/Gary's dlopen() changes that I missed before. 1995-02-08 17:56:27 +00:00
Bill Paul 17936913ce Small NIS fixes:
1) ypserv is started with nis_serverflags, not yppasswddflags (that's what
   I get for cutting & pasting without paying attention).

2) ypbind can also be started with arguments, so turn nis_client to
   nis_clientflags.
1995-02-08 16:42:12 +00:00
Jordan K. Hubbard 2b6645c034 Various documentation changes.
Submitted by:	Mark Murray <[email protected]>
1995-02-08 10:54:30 +00:00
Dima Ruban 8aec260842 Fixed usage() (cosmetic changes. "(string)" looks much better
than "(string" :-)
1995-02-08 01:07:16 +00:00
Andreas Schulz 8f80ac0afa Submitted by: Michael Reiffenberger ?
Changed the yppaswddd to a yppaswdd :-).
1995-02-07 20:52:35 +00:00
Gary Palmer 6db216a6d7 Remove a possible loophole - previously the code wouldn't pass packets destined
to the loopback address to the packet filter.

Reviewed by:	"Ugen J.S.Antsilevich" <[email protected]>
1995-02-07 20:30:42 +00:00
Bill Paul 6c1bb9003f Hurm... I could have sworn I added usr.sbin to the top level GNU
Makefile. Apparently I was mistaken. *groan*
1995-02-07 19:10:39 +00:00
Garrett Wollman 5404440735 Correct fix for merge conflicts: RTM_VERSION is always 5. Header files
included by user code must never depend on kernel compile options.
1995-02-07 19:05:12 +00:00
Jordan K. Hubbard 19c408ae08 Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by:	gj
Submitted by:	Mark Diekhans <[email protected]>
1995-02-07 13:33:42 +00:00
Jordan K. Hubbard 38f4fb1525 Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by:    gj
Submitted by:   Mark Diekhans <[email protected]>
1995-02-07 13:27:29 +00:00
Jordan K. Hubbard efa6e5fa69 Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by:	gj
Submitted by:	Mark Diekhans <[email protected]>
1995-02-07 13:26:39 +00:00
Jordan K. Hubbard 89bcd2d778 Video Spigot entries.
Submitted by:	Jim Lowe <[email protected]>
1995-02-07 12:07:18 +00:00
Søren Schmidt e3dbac5e96 Added new choises of cursors. 1995-02-07 11:56:21 +00:00
Søren Schmidt 719d3245ae Fixed the bug that caused the cursor to disappear under
boot with -c option
1995-02-07 11:53:27 +00:00
David Greenman e128aa716c Fixed unresolved CVS conflict on RTM_VERSION. 1995-02-07 06:19:56 +00:00
David Greenman 16be381004 Backed out Keith Bostic's getcwd/$PWD hack. It is causing things to break
all over the place.
1995-02-07 05:52:57 +00:00
Bill Paul df76d2a332 Do proper job of reaping child 'ypxfr' processes (we could sometimes
leave a zombie lying around until the next map transfer came alone).

Also fixed some minor typos on the man page.
1995-02-07 05:04:53 +00:00
David Greenman 17279d6cb5 Changed maximum number of symlinks in a path from 8 to 32. The exact value
isn't important; it is only used to prevent symlink loops from looping
forever. 32 is a quite reasonable default.

Submitted by:	Ed Hudson <[email protected]>
1995-02-07 03:33:05 +00:00
Garrett Wollman 838ecf4225 Make sure to disable RSVP intercept when the socket is closed. 1995-02-07 02:53:14 +00:00
Garrett Wollman 24e16f2e1c Merge in the socket-level support for Transaction TCP from the OLAH_TTCP
branch.

Submitted by: Andras Olah <[email protected]>
1995-02-07 02:01:57 +00:00
Garrett Wollman 6b8fda4d12 Merge in the socket-level support for Transaction TCP. 1995-02-07 02:01:16 +00:00
Jordan K. Hubbard c5c3febed7 Extract the sources into the right place! Can't believe I didn't notice
this before.
1995-02-07 01:01:21 +00:00
Bill Paul 6e532401dd Removed annoying changelog entries from ypclnt.c, added usage() function
to ypxfr.c.
1995-02-06 23:35:49 +00:00
Jordan K. Hubbard f741ad121b The very minimum driver required to support a Video Spigot. See the
copyright notices in the code for information on where to go to pick
up additional useful bits.
Submitted by:   Jim Lowe <[email protected]>
1995-02-06 23:20:17 +00:00
Jordan K. Hubbard 2cd01159da The very minimum driver required to support a Video Spigot. See the
copyright notices in the code for information on where to go to pick
up additional useful bits.
Submitted by:	Jim Lowe <[email protected]>
1995-02-06 23:19:49 +00:00
Jordan K. Hubbard ace891ef08 Commit Gary's diffs for adding xcdplayer support to the Sony CDROM driver.
Submitted by:	gj
1995-02-06 22:35:07 +00:00
Bill Paul 5920e7589e Wrote manual page for ypxfr, modified Makefile to install it. 1995-02-06 22:15:21 +00:00
Stefan Eßer 91857942bb Add short delay after NCR reset.
Submitted by:	[email protected] (Wolfgang Stanglmeier)
1995-02-06 22:01:58 +00:00
Jeffrey Hsu e687de7a15 Allow arbitrarily named configure script for use w/ HAS_CONFIGURE. 1995-02-06 08:52:19 +00:00
Jordan K. Hubbard 5297690cfe Commit my userconfig stuff:
1. add iosize command, and show it in `ls'
2. add a probe command
3. add an attach command

[the latter 2 do the obvious thing - call the device's routine and print the
 status returned].
1995-02-06 02:48:38 +00:00
Poul-Henning Kamp e96b9d9f84 Stephen lost a -D, now it's back. 1995-02-06 02:22:29 +00:00
David Greenman a635d6c76a Use M_NOWAIT instead of M_KERNEL for socket allocations; it is apparantly
possible for certain socket operations to occur during interrupt context.

Submitted by:	John Dyson
1995-02-06 02:22:12 +00:00
David Greenman 081129c5e3 Changed order of release of vnode/object to fix a problem where the vnode
is freed with an old object still attached (subsequently causing a panic).
Fixes NFS server panic "object/pager mismatch".

Submitted by:	John Dyson
1995-02-06 02:20:40 +00:00
Jean-Marc Zucconi 30ad8d9349 Correct a bug in the P function: according to 7th edition UNIX (tm), the
newline must be part of the pattern space i.e. `echo a|sed -e P' must print
a
a
and not
aa
This is consistent with gnu sed, SunOS, Ultrix (and probably others!)
1995-02-06 00:14:50 +00:00
Søren Schmidt 768483b761 Fixed the annoing bug that caused writes to /dev/console to go to
the active virtual terminal (Boy, do I have little hair left).
Misc other fixes, try to enable cursor earlier in the game.
1995-02-05 23:44:25 +00:00
Gary Palmer 5b07358347 Add the ports-base target and correct two typos (hosbase!=hostbase) 1995-02-05 23:31:25 +00:00
Bill Paul 714f0adda1 Wrote manual page for yppush and edited Makefile to install it.
Added conditional definition for _PATH_YP in yppush.c in case _PATH_YP
isn't defined anywhere else.
1995-02-05 21:48:04 +00:00
Poul-Henning Kamp c807f32c6b Removed the name length limitations on the device-driver names entirely.
Now device-names can be more than 3 chars.
1995-02-05 21:15:21 +00:00
Poul-Henning Kamp 3eac488435 Added "panic" command to ddb, so we can do something sensible even if
we have no symbols.
1995-02-05 21:09:04 +00:00
Poul-Henning Kamp d55ceee7a3 Document the getenv(PWD) feature. 1995-02-05 18:14:38 +00:00
Poul-Henning Kamp 4e93a5203c Allow zero as value for certain arguments to indicate "take from disklabel". 1995-02-05 18:03:37 +00:00
Jordan K. Hubbard 88644a577e PCVT userland utilities.
Submitted by:	hm
1995-02-05 13:49:25 +00:00
Jordan K. Hubbard a1fed99776 This was wrong - PCVT and syscons don't share the same entrypoint
names.
Submitted by:	mh
1995-02-05 11:29:38 +00:00
Jordan K. Hubbard f534e77446 Add pcvt termcap entries (quite a lot of them - whew!)
Submitted by:	hm
1995-02-05 11:17:03 +00:00
Jordan K. Hubbard 6554acd8ba Add man page for pcvt console driver.
Submitted by:	hm
1995-02-05 11:16:33 +00:00
Jordan K. Hubbard 37be911712 Add pcvt's header files.
Submitted by:	hm
1995-02-05 11:02:45 +00:00
Jordan K. Hubbard b19f21cf89 Bring pcvt console driver into the tree - now users can chose whichever
console driver they like best (2 is ok, it was 4 that was a little insane
for awhile there! :-).
Submitted by:	hm
1995-02-05 11:01:24 +00:00
Jordan K. Hubbard 4530be5246 Bring PCVT's config files into the tree.
Submitted by:	mh
1995-02-05 10:56:47 +00:00
Poul-Henning Kamp 55abc5794a Change the defaults for newfs to disregard the geometry in the disklabel.
We pretend we have one head with two megabyte worth of sectors per cylinder.

The code try to access another head in what it belives to the same
physical cylinder, because it belives that it would be faster than
waiting for the next free sector under this head to come around.

Most modern drives doesn't have a "classical" geometry, and thus
we end up fooling ourselves doing the above optimization.  With this
change we will fill a cylinder sequentially if we can, and thus get
much more mileage from the track-buffer/cache built into the drives.

As a result a lot of seeks to the next or previous track should be
avoided by this.

(My disk is a lot less noisy actually...)

You can still get the old behaviour, by specifying zero for the
numbers.

This will also solve the problem with newfs barfing at really big
drives.

Obtained from:	adult advice from Kirk.
1995-02-05 08:42:31 +00:00
Bruce Evans 0bc786d076 Update kmem_malloc() call to new waitflag(s) interface.
This might fix recent problems on thud and freefall.
1995-02-05 07:08:27 +00:00
Bill Paul d66efc62bd Collapsed _masterpw_breakout_yp() and _pw_breakout_yp() into a
single function.
1995-02-05 02:12:49 +00:00
Poul-Henning Kamp 4620f0962b Use absolute path to md5 program. It lives in /sbin and people are unlikely
to have $PATH to it.
1995-02-04 22:56:28 +00:00
Bill Paul c807d0240e Created manual page for ypserv and changed Makefile to install it.
Also tweaked server.c to support newer versions of tcpwrapper (log_tcp.h
is now tcpd.h and FROM_UNKNOWN changed to STRING_UNKNOWN).
1995-02-04 21:32:04 +00:00
Poul-Henning Kamp ed81a94967 added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.
1995-02-04 20:27:23 +00:00
Poul-Henning Kamp b2ea996c3a Added final '\n' 1995-02-04 20:02:01 +00:00
Poul-Henning Kamp 7a614290f3 Added final '\n'. 1995-02-04 19:59:58 +00:00
Poul-Henning Kamp a309714274 Add missing trailing '\n' 1995-02-04 19:56:39 +00:00
Poul-Henning Kamp 19393bbed2 Support 32bit access to IDE disks, if it seems to work for the drive.
You will normally have to have a VLB or other 32bit IDE "controller" for
this to work.

Depending on your setup, this may gain you 20-100 % speed from your disk.

Reviewed by:	phk
Submitted by:	[email protected]
1995-02-04 19:39:36 +00:00
Poul-Henning Kamp 03cfe806a2 A cute hack to speed up things by Keith: if getenv("PWD") is the same
inode as ".", then just return that.  I added a check so it must start with
a '/'.

Reviewed by:	phk
Submitted by:	[email protected] (Keith Bostic)
1995-02-04 19:29:22 +00:00
Poul-Henning Kamp cbaba1a477 A couple of sensible changes from down under...
Reviewed by:	phk
Submitted by:	Stephen McKay <[email protected]>
1995-02-04 19:20:49 +00:00
Poul-Henning Kamp 1adb7b0dca fixed spelling error. 1995-02-04 19:11:14 +00:00
Stefan Eßer ee1b86ffbd Disable I/O port accesses in case the BIOS enabled them.
Clear all output lines except ATN and ACK when waiting
for target phase change.

Submitted by:	wolf (Wolfgang Stanglmeier)
1995-02-04 14:02:44 +00:00
Stefan Eßer fabf3fb247 Moved "#include <pci/pcivar.h>" from "usr.sbin/lsdev/i386.c"
to "/sys/i386/include/devconf.h", where it really belongs.
1995-02-04 12:47:19 +00:00
Atsushi Murai ddf5b7cc16 Adding ppp configuration files entry for distribution packages. 1995-02-04 11:16:47 +00:00
Dima Ruban 49c42f9a5f comment localhost by default. 1995-02-04 08:32:15 +00:00
Satoshi Asami 94dcffca87 Add long-awaited (:) support for sophisticated dependency checking. We now
have three variables:

EXEC_DEPENDS	- A list of "prog:dir" pairs of other ports this
		  package depends on.  "prog" is the name of an
		  executable.  make will search your $PATH for it and go
		  into "dir" to do a "make all install" if it's not found.
LIB_DEPENDS	- A list of "lib:dir" pairs of other ports this package
		  depends on.  "lib" is the name of a shared library.
		  make will use "ldconfig -r" to search for the
		  library.  Note that lib can be any regular expression,
		  and you need two backslashes in front of dots (.) to
		  supress its special meaning (e.g., use
		  "foo\\.2\\.:${PORTSDIR}/utils/foo" to match "libfoo.2.*").
DEPENDS		- A list of other ports this package depends on being
		  made first.  Use this for things that don't fall into
		  the above two categories.

DEPENDS behaves exactly like before, so old Makefiles will still work
the same.  The two variables are lists of pairs as described above.

For instance, if your program depends on unzip and libjpeg.5.*, use
the following definitions:

EXEC_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS=	jpeg\\.5\\.:${PORTSDIR}/graphics/jpeg

gmake:${PORTSDIR}/utils/gmake is automatically added to EXEC_DEPENDS
if USE_GMAKE is defined.

If NO_DEPENDS is defined, the list will just be printed out one by one.
1995-02-04 05:49:26 +00:00
Bill Paul 1d709ccef1 Created yp_mkdb(8) manual page, modified Makefile to install it. 1995-02-04 04:26:20 +00:00
Bill Paul a613523aa3 Changed some comments. 1995-02-04 00:13:21 +00:00
Bill Paul 3269f6b60e Added options for starting NIS client and server processes. All are
off by default.
1995-02-03 23:54:07 +00:00
Bruce Evans 66a96c4ca4 Include <time.h> instead of <sys/time.h> to get CLK_TCK. Including
<sys/time.h> works because <sys/time.h> includes <time.h> if KERNEL
is not defined, but is ugly.
1995-02-03 22:28:34 +00:00
Bruce Evans 50c1f8972c Include <limits.h> to get the definition of INT_MAX - don't depend on
namespace pollution in <time.h>.
1995-02-03 22:21:09 +00:00
Bruce Evans 711fbb0afc Change CLK_TCK to CLOCKS_PER_SEC.
Add a missing apostrophe that suggests inverting the frequency to get
tick size.  It read better before because `CLK_TCK' suggests a tick
size although it is actually a frequency.
1995-02-03 22:09:56 +00:00
Bill Paul a50aabb5d6 Fixed potential Makefile glitch that could arise if /var/yp doesn't exist yet. 1995-02-03 22:01:17 +00:00
Bruce Evans 3652b5c25d Change CLK_TCK to CLOCKS_PER_SEC. (CLK_TCK is a deprecated POSIX feature
and is not necessarily related to the ANSI CLOCKS_PER_SEC).

Parenthesize macro args.
1995-02-03 21:59:45 +00:00
Bruce Evans 6231933da9 Fix previous change to preserve const'ness. 1995-02-03 21:54:03 +00:00
Bruce Evans ee6075a391 Don't define CLK_TCK here.
Uniformize idempotency ifdef.
1995-02-03 21:49:18 +00:00
Bruce Evans 339b0f68f2 Define CLOCKS_PER_SEC.
Define CLK_TCK only if _ANSI_SOURCE is not defined.

Don't include <machine/limits.h> to get the definition of CLK_TCK.
CLK_TCK should never have been defined there, and the inclusion
polluted the namespace.
1995-02-03 21:47:48 +00:00
Bruce Evans 125bd0c85c Don't depend on namespace pollution in <machine/limits.h> for the
definition of CLK_TCK.  Use _BSD_CLK_TCK_ instead of CLK_TCK so that
we don't have to include the user header <time.h>.
1995-02-03 21:31:35 +00:00
Bruce Evans 915e66b767 Define _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ to support correct
definitions of CLK_TCK and CLOCKS_PER_SEC.
1995-02-03 21:23:46 +00:00
Søren Schmidt 130c74bbe7 Allow all characters except "real" control chars.
Fix NULL reference when serial console (thanks bruce).
1995-02-03 21:09:44 +00:00
Bruce Evans b0b1fe4f53 Include <limits.h> to get LONG_MAX - don't depend on namespace pollution
in <time.h>.
1995-02-03 20:55:37 +00:00
Bruce Evans 9ca5d38370 Include ncr.c from where it is now. 1995-02-03 20:49:10 +00:00
Stefan Eßer 80cdd2af76 Add #include <pci/pcivar.h> for definition of PCI_EXTERNAL_LEN.
Reviewed by:
Submitted by:
Obtained from:
1995-02-03 20:26:50 +00:00
Bruce Evans 9504046bea Include <sys/types.h> explicitly to get declaration of u_long for
<netinet/in.h> - don't depend on namespace pollution in <stdio.h>.
1995-02-03 20:25:59 +00:00
Justin T. Gibbs 1bca1a0922 Have version number track CSV version number. No other change. 1995-02-03 17:18:44 +00:00
Justin T. Gibbs cfa2e9e703 Keep track of when we actually are awaiting a reply to an SDTR or WDTR
message instead of relying on the fact that we are scheduled to send them.
The old method worked 99.9% of the time, but someone reported some periferals
that did MSG_REJECT at odd times (sometimes before we could send an SDTR
or WDTR) that we would construe as the response to an SDTR or WDTR message.
This also removes a possible race condition where after a bus reset (the
result of a command time out not during intial probe time), we might queue
two commands both requesting SDTR, WDTR or both.
1995-02-03 17:15:12 +00:00
Justin T. Gibbs 4e259174eb #include<kernel.h> to quiet a compiler warning having to do with the
DATA_SET (pcidevice_set, ahc_device) macro.  Maybe this will allow
the aic7870 to be probed again.  I don't have a PCI machine here
to test it.
1995-02-03 17:08:17 +00:00
Ugen J.S. Antsilevich a351d38006 Fix to h2ph "undefined function" bug
i reported today earlier..tested and works OK..
( To those who want to experience bug try running aub
with old version of socket.ph and with new one or just any
perl script  "requiring " <sys/socket.ph> or <sys/cdefs.ph> )
1995-02-03 15:16:03 +00:00
Andrey A. Chernov 3bdc031e93 Fix hanging while playing very short notes. 1995-02-03 10:19:38 +00:00
David Greenman efc68ce10f Fixed bmap run-length brokeness.
Use bmap run-length extension when doing clustered paging.

Submitted by:	John Dyson
1995-02-03 06:46:28 +00:00
Bill Paul 2700d33c07 Added ${.CURDIR}s to afterinstall target. 1995-02-03 03:44:41 +00:00
Bill Paul 4efbdedee3 Put ${.CURDIR}s in front of Makefile.yp and mknetid in the required places.
Also took out uneeded BINDIR & BINMODE stuff.
1995-02-03 03:41:38 +00:00
David Greenman ef762baa88 Removed a pile of vfs_unbusy_pages()...both unnecessary and wrong - resulted
in serious system instability. Changed a B_INVAL to a B_NOCACHE so that
buffer data is properly disposed of.

Submitted by:	John Dyson, Rick Macklin, and [email protected]
1995-02-03 03:40:08 +00:00
David Greenman b82c50c4e6 Make B_NOCACHE and B_INVAL buffers work correctly - throw away the data in
the page cache.

Submitted by:	John Dyson
1995-02-03 03:35:56 +00:00
Bill Paul 3e03108763 Removed reference in comments to -o option of yppasswdd: -o option
no longer exists.
1995-02-03 01:11:57 +00:00
Bill Paul a393cc06f5 Fixed a rather serious bug that presents itself when FreeBSD is configured
as an NIS client. The pw_breakout_yp routines that are used to populate the
_pw_passwd structire only do anything if the bits in the pw_fields member
_pw_passwd are cleared. Unfortunately, we can get into a state where
pw_fields has garbage in it right before the YP lookup functions are
called, which causes the breakout functions to screw up in a big way.
Here's how to duplicate the problem:

- Configure FreeBSD as an NIS client
- Log in as a user who's password database records reside only in
  the NIS passwd maps.
- Type ps -aux

Result: your processes appear to be owned by 'root' or 'deamon.'
/bin/ls can exhibit the same problem.

The reason this happens:

- When ps(1) needs to match a username to a UID, it calls getpwuid().

- root is in the local password file, so getpwuid() calls  __hashpw()
  and __hashpw() populates the _pw_passwd struct, including the pw_fields
  member. This happens before NIS lookups take place because, by coincidence,
  ps(1) tends to display processes owned by root before it happens upon
  a proccess owned by you.

- When your UID comes up, __hashpw() fails to find your entry in the
  local password database, so it bails out, BUT THE BITS IN THE pw_fields
  STRUCTURE OF _pw_passwd ARE NEVER CLEARED AND STILL CONTAIN INFORMATION
  FROM THE PREVIOUS CALL TO __hash_pw()!!

- If we have NIS enabled, the NIS lookup functions are called.

- The pw_breakout_yp routines see that the pw_fields bits are set and
  decline to place the data retrieved from the NIS passwd maps into the
  _pw_passwd structure.

- getpwuid() returns the results of the last __hashpw() lookup instead
  of the valid NIS data.

- Hijinxs ensue when user_from_uid() caches this bogus information and
  starts handing out the wrong usernames.

AAAARRRRRRRRRGGGGGGHHHHHHHHHH!!!

*Please* don't tell me I'm the only person to have noticed this.

Fixed by having __hashpw() check the state of pw_fields just before
bailing out on a failed lookup and clearing away any leftover garbage.
What a fun way to spend an afternoon.
1995-02-03 01:09:35 +00:00
Jordan K. Hubbard 0c808a575d Give the user a chance to specify all the network setup parameters again 1995-02-03 00:42:27 +00:00
Jordan K. Hubbard 1787b78f70 Whoops, actually DO the last config! 1995-02-02 23:39:44 +00:00
Jordan K. Hubbard f3c9629d8e Get ready for the XFree86 3.1.1 distribution (next snapshot),
compat1x -> compat1xdist
1995-02-02 23:13:26 +00:00
Jordan K. Hubbard 2c6a122277 Put the release number in the first banner - makes it easier to quickly
tell if I've muffed it.
1995-02-02 23:09:30 +00:00
Stefan Eßer 3f624a0187 Removed misleading copyright note. This file contains just
definitions taken from the PCI specs. Part of them were typed
in by Wolfgang Stanglmeier, the (at that time unneeded) rest
by Charles Hannum (thanks !).
1995-02-02 22:01:40 +00:00
Jordan K. Hubbard 98a72d261a Fix some last boners in the setup script. 1995-02-02 20:46:40 +00:00
Bruce Evans dc3c30d9be Look for files to install first in the object directory, then in the
source directory.

Don't create target directories at install time.  mtree already handles
them correctly.
1995-02-02 17:44:02 +00:00
Bill Paul cf7979fba5 Cleaned up and updated the yppasswdd man page to reflect FreeBSD-specific
changes and new options. (more new man pages and an NIS tutorial to follow)
1995-02-02 17:25:58 +00:00
Stefan Eßer ea6ecb4e52 Disable disconnect after drive timeouts, since these
may be the result of reselect following too fast for
the driver to notice. Not the final solution, but the
problem has been seen only with very few devices.

Reviewed by:	se
Submitted by:	wolf (Wolfgang Stanglmeier)
1995-02-02 15:50:57 +00:00
Jordan K. Hubbard b78f244004 Why not give user a chance to start it, too? 1995-02-02 14:30:36 +00:00
Jordan K. Hubbard 3b138fe08b Make this a bit more aggressive.. :-) 1995-02-02 14:21:46 +00:00
Jordan K. Hubbard f98ec7d321 Here's the _real_ XFree86 3.1.1 installation script. I'm ready.. :-) 1995-02-02 14:18:04 +00:00
David Greenman 6398cf3113 Reapplied all of Stefan's changes. What a mess - the files were modified
and moved at the same time. This made it *very* difficult to fix the
revision log lossage that happend when the files were moved. SIGH.
1995-02-02 13:12:18 +00:00
David Greenman 77e50733d8 Fixed up include paths after copying these in the repository. 1995-02-02 12:36:19 +00:00
Jordan K. Hubbard c6949047a4 A better clean rule. 1995-02-02 12:29:03 +00:00
David Greenman a1f6d91cc2 swap_pager.c:
Fixed long standing bug in freeing swap space during object collapses.
Fixed 'out of space' messages from printing out too often.
Modified to use new kmem_malloc() calling convention.
Implemented an additional stat in the swap pager struct to count the
amount of space allocated to that pager. This may be removed at some
point in the future.
Minimized unnecessary wakeups.

vm_fault.c:
Don't try to collect fault stats on 'swapped' processes - there aren't
any upages to store the stats in.
Changed read-ahead policy (again!).

vm_glue.c:
Be sure to gain a reference to the process's map before swapping.
Be sure to lose it when done.

kern_malloc.c:
Added the ability to specify if allocations are at interrupt time or
are 'safe'; this affects what types of pages can be allocated.

vm_map.c:
Fixed a variety of map lock problems; there's still a lurking bug that
will eventually bite.

vm_object.c:
Explicitly initialize the object fields rather than bzeroing the struct.
Eliminated the 'rcollapse' code and folded it's functionality into the
"real" collapse routine.
Moved an object_unlock() so that the backing_object is protected in
the qcollapse routine.
Make sure nobody fools with the backing_object when we're destroying it.
Added some diagnostic code which can be called from the debugger that
looks through all the internal objects and makes certain that they
all belong to someone.

vm_page.c:
Fixed a rather serious logic bug that would result in random system
crashes. Changed pagedaemon wakeup policy (again!).

vm_pageout.c:
Removed unnecessary page rotations on the inactive queue.
Changed the number of pages to explicitly free to just free_reserved
level.

Submitted by:	John Dyson
1995-02-02 09:09:15 +00:00
David Greenman 8e95996cd7 Calling semantics for kmem_malloc() have been changed...and the third
argument is now more than just a single flag.

Submitted by:	John Dyson
1995-02-02 08:49:45 +00:00
David Greenman 9f518539fd Calling semantics for kmem_malloc() have been changed...and the third
argument is now more than just a single flag. (kern_malloc.c)
Used new M_KERNEL value for socket allocations that previous were
"M_NOWAIT". Note that this will change when we clean up the M_ namespace
mess.

Submitted by:	John Dyson
1995-02-02 08:49:08 +00:00
David Greenman 87bc4e696d Mostly cosmetic changes. Use KERNBASE instead of UPT_MAX_ADDRESS in
some comparisons as it is more correct (we want the kernel page tables
included).
Reorganized some of the expressions for efficiency.
Fixed the new pmap_prefault() routine - it would sometimes pick up the
wrong page if the page in the shadow was present but the page in object
was paged out. The routine remains unused and commented out, however.
Explicitly free zero reference count page tables (rather than waiting
for the pagedaemon to do it).

Submitted by:	John Dyson
1995-02-02 08:45:14 +00:00
Jordan K. Hubbard 097416da01 Bump the date to February 2nd. 1995-02-02 08:32:11 +00:00
Jordan K. Hubbard 24c120144b Clean these up a bunch more - gee I'm glad I do these snapshots, they uncover
*so many problems*.. Too bad the snaps themselves don't get made as a
consequence.. :-)

Bump the date forward Yet Another Day.  David has some changes he wants to
see rolled in, so I guess we're down for Feb 2nd as the snap date!
1995-02-02 08:31:38 +00:00
Andrey A. Chernov d5cf6f6056 Create directory symlinks neccesary for locale because mtree
can't create symlinks.
Suggested by Rod.
1995-02-02 08:03:24 +00:00
Jordan K. Hubbard 59ed2d66e2 Mkdir() now takes two flags. 1995-02-02 05:49:06 +00:00
Jordan K. Hubbard 9e44a9d701 This was misleading - you select OK to continue, not Cancel! ;-) 1995-02-02 05:44:14 +00:00
Jordan K. Hubbard dcca65bed0 Since the pci directory has moved, this required updating. 1995-02-02 05:42:47 +00:00
Poul-Henning Kamp 86abb05569 Make dirs for msdos fs's. 1995-02-02 05:35:36 +00:00
Jordan K. Hubbard a184b0e325 We no longer need a welcome telling us to take a floppy out - it's already
out.
1995-02-02 04:57:05 +00:00
Jordan K. Hubbard 5143382afe Create an obj symlink when necessary.
Submitted by:	"Remy CARD" <[email protected]>
1995-02-02 04:53:30 +00:00
Jordan K. Hubbard 4aed3d5f76 Clean up the documentation in light of a few recent changes. 1995-02-02 04:13:22 +00:00
Jordan K. Hubbard 5134cfac45 We don't need to go back to the first screen again - optimize this. 1995-02-02 04:08:13 +00:00
Jordan K. Hubbard 31c448c24a Argh! I left the setup script off the floppy. Time to re-roll it. 1995-02-02 04:07:51 +00:00
Paul Richards 048aaeebef Fixed problem passing received packets to bpf.
Implemented all the devconf code properly.
1995-02-02 04:07:45 +00:00
Jordan K. Hubbard e9400e0561 Cosmetic fix.
Submitted by:	Christoph Kukulies <[email protected]>
1995-02-02 03:36:51 +00:00
Atsushi Murai bf8a83a027 PPP does not find config files (Wrong path name not a /etc/ppp)
Submitted by:	Michael Reifenberger <[email protected]>
1995-02-02 01:54:27 +00:00
Bill Paul 9e9a89bb1f cleaned up and modified slightly to reflect changes 1995-02-01 23:47:04 +00:00
Bill Paul 87a8966828 Cleaned up Makefile a little, added man page links from ypchsh.1 ypchfn.1
and ypchpass.1 to yppasswd.1. Also fixed a typo: ypshfn != ypchfn.
1995-02-01 23:46:20 +00:00
Bill Paul e0f276ea94 Need to set a umask to avoid security problems (/var/yp/passwd
world-writable).
1995-02-01 23:30:02 +00:00
Bill Paul e26ae5b13a Cleaned up usage() -- removed bogus references to opassfile, which isn't
used anymore (/var/yp/Makefile creates a new /var/yp/passwd file from
/var/yp/master.passwd using awk, so yppasswdd doesn't have to make it
anymore).
1995-02-01 23:27:46 +00:00
Jordan K. Hubbard 770f05c102 Add tun to list of devices.
Submitted by:	mr
1995-02-01 23:15:11 +00:00
Stefan Eßer fe90a500af Reviewed by: se
Submitted by:	wolf (Wolfgang Stanglmeier)
PCI specific code moved to /sys/pci.
1995-02-01 23:11:38 +00:00
Stefan Eßer ac19f91802 Reviewed by: se
Submitted by:	wolf (Wolfgang Stanglmeier)
New ISA dependend file for PCI bus support.
Replaces sys/i386/pci/pcibios.c.
1995-02-01 23:06:58 +00:00
Bill Paul 7870fc7fdb /var/yp/Makefile doesn't create passwd file from master.passwd file
correctly (specified wrong fields to awk). Note that the files in question
are noe the local /etc/master.passwd and /etc/passwd files: this Makefile
expects there to be a seperate master.passwd file under /var/yp for NIS
database creation.
1995-02-01 23:05:36 +00:00
Stefan Eßer 70008bb125 Reviewed by: se
Submitted by:	wolf (Wolfgang Stanglmeier)
Most PCI specific files moved from sys/i386/pci to sys/pci.
One PC specific file (pcibus.c) new in sys/i386/isa.
1995-02-01 23:02:24 +00:00
Stefan Eßer f3f509de23 Reviewed by: se
Submitted by:	wolf (Wolfgang Stanglmeier)
Obtained from:
Most PCI specific files moved from sys/i386/pci to sys/pci.
One PC specific file (pcibus.c) new in sys/i386/isa.
1995-02-01 23:01:54 +00:00
Stefan Eßer 5e70573817 Reviewed by: se
Submitted by:	wolf (Wolfgang Stanglmeier)
Files moved here from sys/i386/pci, since they are meant to be
architecture independent.
1995-02-01 22:56:55 +00:00
Jordan K. Hubbard cfba24a39b Don't forget to make the gzip'd boot floppy. 1995-02-01 22:53:32 +00:00
Søren Schmidt 786f122175 Syscons bug fix: tab now right (thanks bruce!)
Mouse arrow support almost finished.
1995-02-01 21:56:32 +00:00
Gary Palmer cc715f2bca Start the ball rolling by sticking a
MAINTAINER?= line in here.

Idea by: [email protected]
1995-02-01 21:47:57 +00:00
Bill Paul 320ce7b758 Fix for that last fix... pass the hat. :) 1995-02-01 20:09:00 +00:00
Bill Paul c768efa1a8 Small fix to _getyppass(): sometimes we can construct the wrong mapname
when looking for master.passwd.whatever.
1995-02-01 20:06:33 +00:00
Jordan K. Hubbard f4df96ec7e Take out my previous change to update the src tree first - that was
stupid.. :-)
1995-02-01 11:19:24 +00:00
Jordan K. Hubbard 431d67b60e Do what I think Poul *intended* to do, rather than what he did.. :-) 1995-02-01 11:15:45 +00:00
Jordan K. Hubbard 501d72dd36 Bump snap date. Our current version numbering scheme loses.
How can we get ONE canonical version string into everything?
1995-02-01 11:03:35 +00:00
Jordan K. Hubbard 8dc0757983 Bump the date on the snapshot. The previous one never happened.. :-) 1995-02-01 10:59:37 +00:00
Jordan K. Hubbard 4350346dea Change the way I make the link to /etc/termcap. It worked for install
but not distribute.  Now it works for both.
1995-02-01 08:32:05 +00:00
Bill Paul 7506dfc15e Changed passwd/yppasswd's Makefile to create all symbolic links instead
of hard links: since passwd is installed immutable, an attempt to make
a hard link to it during a 'make install' would fail. I didn't notice
this conflict because my /usr directory is an NFS filesystem mounted from a
SunOS server, so the special file mode flags had no effecti when I tested
everything on my machine. Live and learn.
1995-02-01 05:55:18 +00:00
Paul Richards 671a48a577 Fix calculation of default field heights and a bug in the setting
of form dimensions.
1995-02-01 04:08:19 +00:00
Paul Richards 8c490a36b0 Implemented height field for text fields so they can now be more than
one line long.

Fixed a bug in the input field with cursor positioning at the end of
the field.

Make the print_status function available to apps so they can print
status messages.

Updated the example for the new fib parser.
1995-02-01 04:06:37 +00:00
Paul Richards 463e33c94b Clean up the parser, allow fields to be specified inline and
generally make the forms language much less verbose.

Add height option for fields and calculate sensible defaults.
1995-02-01 03:22:17 +00:00
Bill Paul ba3fbfe69c Added the yppwupdate script. This is a small shell script that yppasswdd
executes after it finishes updating the raw master.passwd file. The script
is just there to invoke /var/yp/Makefile to build new maps and yppush them.
We could have yppasswdd run /var/yp/Makefile directly, but this allws a bit
more flexibility: the user may decide to run some other commands too.
1995-02-01 02:13:15 +00:00
Bill Paul 85e33f94dc Added Makefile.yp and mknetid, which are needed to rebuild NIS maps.
mknetid is a script. Both are installed by an afterinstall which as
been added to the main Makefile.
1995-02-01 02:00:03 +00:00
Bill Paul c70242ae20 Need _PATH_YP for ypserver stuff. 1995-01-31 23:12:53 +00:00
Poul-Henning Kamp 5319d4525a I have taken sysinstall out of the normal SUBDIR rule. There are too
many build problems just now, and it isn't that general after all.
1995-01-31 19:41:08 +00:00
Poul-Henning Kamp e86e7d0e07 CTM email tools.
Reviewed by:	phk
Submitted by:	Stephen McKay <[email protected]>
1995-01-31 19:12:53 +00:00
Bruce Evans e322e6a55a Fix reading of stack addresses from core files. USRSTACK now really is
the (top of the) user stack.
1995-01-31 18:07:36 +00:00
Bruce Evans 68abb9f9db Fix off by one error in calculation of `mday' (months start at 1).
Jan 31 gave Jan 30, often for next year.
1995-01-31 17:54:39 +00:00
Jordan K. Hubbard ce0d1cd5db Add dmenu. 1995-01-31 13:53:44 +00:00
Peter Dufault 8be820d189 Split byte packing functions into signed and unsigned versions.
Left most current invocations as signed, though that could be wrong.
1995-01-31 11:41:47 +00:00
Bill Paul d0ef66889a Some changes for YP password map handling:
- FreeBSD's NIS server can supply a master.passwd map, which has
  more fields in it than a standard passwd map, so we need a
  _master_pw_breakout() fuction.

- When doing passwd map lookups, look for master.passwd.* by attempting
  a _yp_first() on master.passwd.byname. If it exists, we're being served
  by a FreeBSD NIS server and we should use this map.

- If we aren't the superuser, retrieve only the standard passwd maps.
  If we're being served by a FreeBSD system, then the passwd map has
  no passwords in it, and it won't serve us the master.passwd map unless
  we're superuser anyway.

There's a small speed hit for the superuser inherent in the check for
the master.passwd map, but this lets us dynamically decide what to do
rather than rely on a non-standard config file somewhere. Since all
of this is bypassed for normal users, they shouldn't notice the
difference.
1995-01-31 10:04:18 +00:00
Bill Paul e35cfba7f2 Added SUNDIR entry for yppush 1995-01-31 09:48:48 +00:00
Bill Paul 9f6a77c541 Obtained from: The NYS project
This is a ported/modified version of the yppush program from the
yps-0.21 package from the NYS project. This program is used to propagate
updated NIS maps from an NIS master to an NIS slave. It's normally invoked
by /var/yp/Makefile.

This version of yppush has been modified in the following ways:

- Cleared up several Linux/BSD incompatibilities, largely involving
  header files.

- converted from GDBM to DB with extreme predjudice. (well, not really...)

- removed lots of ugly debugging code that really didn't do anyone any good.

- Fixed a couple of inaccurate/badly formatted error messages.

- Renamed some functions to avoid collisions with certain YP routines
  hidden inside libc.

- Small signal handling kludge: Linux has different struct sigaction
  that us.

- Incorporated some functions from the yps-0.21 library that yppush was
  dependent on.

Like ypxfr, this works, but could use come cleaning up.
1995-01-31 09:47:11 +00:00
Bill Paul 2fd1e2091b Added subdir entry for ypxfr 1995-01-31 09:29:38 +00:00
Bill Paul c183a93033 Obtained from: The NYS project
This is a ported/modified version of the ypxfr program from the yps-0.21
package from the NYS project. This program is normally invoked by ypserv
when it receives a yppush command from an NIS master. It can also be
run from the command line to grab copies of maps when initializing a
slave server.

This program has been hacked in the following ways:

- rpcgen'ed new yp_xdr.c, yp_svc.c and yp_clnt.c files. The old ones were
  rather grody.

- Changed certain function names (prefended a _ to them) to avoid conflicts
  with certain functions lurking within libc. One major problem here is
  that ypxfr needs to bind to a YP master in order to work correctly,
  but it can't use the _yp_bind function inside libc because that
  function only lets you bind to a domain, not a specific host. Lots
  of head scratching here.

- Converted from GDBM to DB at gunpoint.

- Removed lots of really nasty looking DEBUG code to try to reduce clutter.

- Incorporated some of the library code supplied with yps-0.21 on which
  ypxfr was dependent.

This program still needs to be cleaned up just as a matter of principle:
I get all icky just looking at it sometimes.
1995-01-31 09:28:47 +00:00
Bill Paul 985124b508 New Makefiles for YP server stuff. 1995-01-31 09:14:03 +00:00
Bill Paul 6c394ac5f9 Obtained from: The NYS project
This is a ported/modified version of yppasswd from the NYS yppasswd-0.5
package. This package has code in it from both Olaf Kirch and Theo
de Raadt. There are GPL references and BSD-style copyright all over the
place... hopefully I won't get flamed into oblivion for commiting this.

This program has been modified from the original in the following ways:

- Changed the ALLOW_CHFN and ALLOW_CHSH compile-time options into
  run-time options.

- Demolished the password update functions and replaced them with
  routines to handle FreeBSD-style passwordd databases. It is expected
  that a seperate master.passwd file will be maintained for use with
  the NIS maps. yppasswd will have to be told where it is:

  % yppasswdd -m /var/yp/master.passwd

  A /var/yp/passwd file will be generated from /var/yp/master.passwd by
  /var/yp/Makefile. When yppasswdd has finished modifying the master.passwd
  file, it will invoke /usr/libexec/yppwupdate, which is a script that
  will run /var/yp/Makefile to generate new maps and push them.

Note that there are copies if pw_util.c and pw_copy.c here. This is
deliberate: they are *not* identical to the originals. Very similar, yes,
but not identical. *sigh*
1995-01-31 09:12:52 +00:00
Bill Paul b4a640674a Obtained from: The NYS project
This is a hacked-up port of the ypserv-0.11 server from the NYS project
written by Peter Eriksson.

The original package included some map creating and dumping tools and
was based on GDBM. This version has been modified in the following
ways:

- GDBM replaced with DB and many weird hacks made to the read_database()
  function because of this.

- implimented the ypxfr service (using ypxfr from the yps-0.21 package,
  aso from the NYS project)

- added code to check the TCP port from which NIS requests originate:
  the server will refuse to serve the master.passwd.{byname|byuid} maps
  if the request doesn't come from a privileged port. Normally, only the
  superuser can issue such a request. Requests for the passwd.{bynam|byuid}
  maps aren't affected. There will be a small change made to getpwent.c
  in libc to complement this.

- added code to do DNS lookups via actual resolver queries instead of
  relying on gethostbyname() and friends. The author noted in the original
  documentation that a loop condition could arise where the server would
  query itself for hostsname lookups. Using direct DNS lookups prevents
  this from happening.

- added code to properly fork() the server into the background unless
  invoked with the -debug flag.

- Added combined syslog/perror function.

- fixed a few bugs (which were probably introduced by all the other
  changes)

- Created a bmake Makefile.

Note that this package can be linked against the tcp_wrapper package
to provide address-based authentication, but this isn't done by default
since the tcp_wrapper package isn't part of FreeBSD.
1995-01-31 08:58:57 +00:00
Bill Paul 0faad4f4e7 Obtained from: The NYS project
This program is used for both generating and dumping NIS maps. It's very
similar to the 'makedbm' command in SunOS. This program was ported from
the yps-0.21 package. It's close to the original except for the GDBM to
DB conversions. This was simple compared to the other YP components.
1995-01-31 08:43:07 +00:00
Bill Paul 9e32e2330f Obtained from: The NYS project
This is the first round of changes to incorporate YP server functionality
into FreeBSD. This particular change allows passwd to change either the
local or NIS password, as well as the NIS GECOS and shell information.

Essentially, I've taken passwd(1) and yppasswd from the yppasswd-0.5
distribution (which is part of the NYS project -- a project to provide
a GNU GPL'ed suite of NIS tools) and rammed them into each other
at high speed. I've tried my best to make this co-exist with the
Kerberos stuff, but since I don't run Kerberos I don't have an easy
way to verify that it all works. If you choose any Kerberos flags
then the YP checks should be bypassed, but that may not be enough.
I'll modify it some more if it turns out I broke something. For now,
support for localand NIS passwords is pretty solid:

- If you simply type 'passwd,' the program checks to see if you exist
  in the local pwd.db database. If not, you get bounced to YP.

- If you try to force local functionality with the -l flag and you
  don't exist locally, you get an error.

The -y flag can be used to force YP functionality. -f and -s let you
change your full name and shell (respectively). -f *and* -s let you
change all of your 'account information.'

ypchfn, ypchsh, yppasswd and ypchpass are all links to passwd.
1995-01-31 08:34:16 +00:00
Atsushi Murai ed1eb14104 Adding "ppp" entry for a user process PPP (aka iijppp) 1995-01-31 07:57:09 +00:00
David Greenman 9dc4f38bff Rewrote rlist_free(). The previous code was a good example of how to
write software wrong. rlist_alloc() needs a rewrite, too, but this will
have to wait.
1995-01-31 06:48:53 +00:00
Atsushi Murai 58ca719e76 Add Tunnel devcie for ppp (iijppp) 1995-01-31 06:34:53 +00:00
Atsushi Murai 2d3f9865da Add Tunnel device for ppp (iijppp) 1995-01-31 06:33:58 +00:00
Atsushi Murai c4f2ae4c95 Add tunnel device for ppp(iijppp) 1995-01-31 06:33:02 +00:00
Atsushi Murai af57ed9fdc 1995-01-31 06:29:58 +00:00
Atsushi Murai 4ffc792490 Reviewed by: 1995-01-31 06:24:33 +00:00
Atsushi Murai b74038e18b 1995-01-31 06:15:49 +00:00
Jordan K. Hubbard 053e19c19e Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
Poul-Henning Kamp 087b6ad948 $Id: -> $Id$ 1995-01-31 04:33:41 +00:00
Jordan K. Hubbard 62e2043daa Add sweden to list of install sites. 1995-01-30 22:52:50 +00:00
Jordan K. Hubbard 120ca2ec49 Unify the copyright notice. 1995-01-30 22:21:29 +00:00
Jordan K. Hubbard 45a52e5c98 Add our new Swedish mirror site. 1995-01-30 21:58:39 +00:00
Søren Schmidt 1f741c31eb Added 80x30 & 80x60 experimental modes officially. 1995-01-30 21:44:07 +00:00
Søren Schmidt 00e0cb6577 Added h option for setting the historysize.
fixed problem with Both n&C flags.
1995-01-30 21:41:14 +00:00
Søren Schmidt 123222dbd7 Minor fixes to syscons. Blink cursor fixed. History buffer fixed.
kbdtables updated with boot option for CTL+ALT+DEL
1995-01-30 21:39:18 +00:00
Søren Schmidt 6de1193d13 Reviewed by:
Submitted by:
Obtained from:
1995-01-30 21:36:32 +00:00
Doug Rabson 34728d6afb Add support for kerberised NQNFS.
Reviewed by:
Submitted by:
Obtained from:
1995-01-30 19:18:11 +00:00
Doug Rabson 5439cc46c9 Add support for kerberised NQNFS. 1995-01-30 18:56:06 +00:00
Satoshi Asami 106a8c2a7b Cleanup.
Submitted by:	Wolfram Schneider <[email protected]>
1995-01-30 17:49:19 +00:00
Andrey A. Chernov 2c80666172 Fix owner/mode for installed data 1995-01-30 15:34:06 +00:00
Andrey A. Chernov 90892cea75 Remove creating dirs & symlinks, it is done by mtree now 1995-01-30 15:29:47 +00:00
Andrey A. Chernov 1450574879 Create necessary symlinks for locale dirs 1995-01-30 15:20:53 +00:00
Andrey A. Chernov 988862353e Describe default MAXCONS value: 12 1995-01-30 14:40:06 +00:00
Ugen J.S. Antsilevich 89209d358d Add ipfw to /lkm Makefile..uups.. 1995-01-30 14:21:46 +00:00
Andrey A. Chernov 255ec70534 Add more range/argument checking
Submitted by: [email protected]
1995-01-30 14:11:58 +00:00
Doug Rabson 7cb18415b8 Discard any messages which are buffered on the routing socket before using
it otherwise the response to one of our routing messages could be lost due
to buffer overflow.
1995-01-30 11:11:43 +00:00
Jordan K. Hubbard 3f4fff96f9 Make fetch a bit more forgiving of subdirs. 1995-01-30 10:06:56 +00:00
Jordan K. Hubbard 6098353123 Add LN_FLAGS to all the places it makes sense. 1995-01-30 07:22:02 +00:00
Jordan K. Hubbard 45f7d107ac Add new LN_FLAGS variable for making LINKS symbolic and whatnot. 1995-01-30 07:20:01 +00:00
Jordan K. Hubbard ed0770e938 Make a link to /etc for termcap file. /etc/termcap is just too lodged in
folklore to do without! :-)
1995-01-30 07:19:02 +00:00
Jordan K. Hubbard 213f271939 Make jkhdist also update the tree. 1995-01-30 07:01:56 +00:00
Andrey A. Chernov 85cd355ef1 Use double speed read for FX001D, now this drive
becomes two times faster than in old variant.
Get rid of false "media changed" errors during large disk transfers
1995-01-30 06:44:40 +00:00
Bruce Evans c9c9e30a03 Increase the reserved clist space for the raw queue from 512 to TTYHOG.
This might help avoid tty buffer overflows on loaded systems.
1995-01-30 06:16:59 +00:00
Poul-Henning Kamp ba7d3b1476 Warning: vn doesn't work just now. I havn't found out why. This commit
just removes a couple of unused functions.
1995-01-30 05:31:04 +00:00
Poul-Henning Kamp d1544fa9af Fix the include path to scdreg.h. 1995-01-30 05:29:03 +00:00
Poul-Henning Kamp 40613bee3f The new kernel for boot.flp. In general:
BOOTFLP = GENERIC - networking
1995-01-30 03:23:57 +00:00
Poul-Henning Kamp f39c8af4fd 1.44 floppies considered evil now. Real kernel on cpio.flp.
added explicit "OK" file.
Nuked vn support, doesn't work second time around :-(
1995-01-30 03:22:24 +00:00
Poul-Henning Kamp aa033a1d78 Move the real kernel onto the cpio.flp and read this from the boot.flp
make debug handling with serial console obnoxious, but present.
1995-01-30 03:19:58 +00:00
Paul Richards 481114cd82 Update the parser to handle the color specifications and new attr
options.
1995-01-30 02:43:28 +00:00
Paul Richards 0d595e6acd Add all the necessary bits to use color if the terminal allows it.
You can now specify separate attributes for selected/not selected
cases individually for each field and also an attr for the form as
a whole so you can now have colored backgrounds for the form and
different coloured fields etc.

Update the example.

Change the copyright to a BSD style one.
1995-01-30 02:41:29 +00:00
Jordan K. Hubbard 31892b894c Try one theory about why the domain name isn't being default right now. 1995-01-30 02:13:05 +00:00
Poul-Henning Kamp 50bd4cabd3 Pass '-m' to symorder. Kernels without INET will fail otherwise. 1995-01-29 23:42:11 +00:00
Jordan K. Hubbard e9dd2c6798 Second version of this driver.
Submitted by:	Mikael Hybsch <[email protected]>
1995-01-29 22:51:41 +00:00
Jordan K. Hubbard 55e658a8a1 srcbin dist, not bin 1995-01-29 08:38:22 +00:00
Jordan K. Hubbard f3bee8cfe4 Make the default paths a bit more rational for our systems (sheesh!).
Thanks, Sean!
Suggested by:	Sean McDermott <[email protected]>
1995-01-29 08:01:05 +00:00
Gary Palmer 50d97d16d4 Give this a serious dose of reality by adding the last 2-3
months worth of new sup targets!
1995-01-29 06:46:27 +00:00
Bruce Evans 023ebcd440 Fix longstanding benign type mismatch. 1995-01-29 06:37:13 +00:00
Poul-Henning Kamp bb300ac680 Remove the entry about adding "interrupts to pas", done. 1995-01-29 06:35:03 +00:00
Poul-Henning Kamp 207598c3ad Make sure the scripts/* files have 'x' bits. 1995-01-29 06:29:14 +00:00
Bruce Evans 5053292ac8 Define MAXARCS correctly. It has nothing to do with HISTCOUNTER, and
overflowed when I enlarged HISTCOUNTER to u_int.
1995-01-29 06:23:34 +00:00
Bruce Evans e45d35c3f8 Don't waste 1264K for each MB of unused text.
Remove misplaced comment.
1995-01-29 03:03:23 +00:00
Bruce Evans 15e633f0d9 Fix disassembly of `bt[crs] $Ib,E'. 1995-01-29 02:38:15 +00:00
Poul-Henning Kamp d97ce60ae9 Some cleanup done.
Include bteasy, bootsd, sdboot and termcap entries using file2.c

Remove all traces of "termcap.small".

The policy in this program regarding termcap is:

| If $TERM is set
| 	do nothing special, rely on usual termcap.
| else
| 	use compiled in (via file2c) termcap entries
1995-01-29 02:31:38 +00:00
Andreas Schulz 5992978871 Submitted by: Philippe Charnier <[email protected]>
Install the man page, now that we have one.
1995-01-29 02:16:01 +00:00
Poul-Henning Kamp f5747177b2 Change the boot.flp rule to use the "vn" device. Much faster :-)
remove bootsd and sdboot from the boot.flp, the matching change to
sysinstall will arrive later this evening.
1995-01-29 02:12:30 +00:00
Andreas Schulz ec5b52ee79 fix another bug in the MAKEDEV cludge :-). The x-bit permission are not
necessarly copied over. So better call it explicit with a sh ./MAKEDEV .
1995-01-29 01:45:54 +00:00
Jordan K. Hubbard 32b68a745b Take out ?diskfree - it doesn't make any sense now.. 1995-01-29 01:35:24 +00:00
Jordan K. Hubbard e235775271 I blew the date on this. Sigh.. 1995-01-29 01:32:32 +00:00
Andreas Schulz afb7bd3e81 Kill the comment in a comment to shut up the compiler. 1995-01-29 01:27:58 +00:00
Andreas Schulz abb29799dd Correct the relative path for the etc directory in the makedev cludge :-). 1995-01-29 01:25:17 +00:00
Andreas Schulz aa98692ffb Correct a name of one structure member in the sigaltstack structure.
Now it matches the man page and also the only other commercial implementation
i have found so far ( Solaris 2.x).
Changed the name from ss_base to ss_sp.
1995-01-29 01:19:25 +00:00
Jean-Marc Zucconi 2429906c75 Add parentheses around macros! 1995-01-29 01:00:14 +00:00
Poul-Henning Kamp 1408eb8439 add file2c 1995-01-29 00:51:38 +00:00
Poul-Henning Kamp b71255826d This is a small little program used to execute a bad practice a clean way :-)
It will read a file on stdin and write it as decimal integers on stdout,
this is useful for embedding files in c-sources.

There are a few places where this is needed, and this is a better way than
the current practice of hand-editing the sources.

The command:

date | file2c 'const char date[] = {' ',0};'

will produce:

const char date[] = {
83,97,116,32,74,97,110,32,50,56,32,49,54,58,52,55,58,51,51,32,80,83,84,
32,49,57,57,53,10
,0};

The manual page is 2 lines longer than the source :-)
1995-01-29 00:49:57 +00:00
Jordan K. Hubbard 400560267f Copy the src tarballs' script to the right place. 1995-01-28 22:29:27 +00:00
Søren Schmidt a926a37b0a Third round in syscons update.
Display update method changed, now allways write in memory buffer,
  then periodically update physical display.
Speed improvements (now > 5 times faster than the old syscons).
History now circular buffer, with changeable size.
History scroll by up/down line, up/down page, home and end.
Backtab proberly implemented.
Now space for 96 function keys, 63 allocated standard, default now
  SCO/SYSV compat again as in the old days.
New keyboard definition files ~share/syscons/keymaps/*
Misc fixes for old "hacks" that broke SCO/SYSV compat.
More that I forgot before writing this...
1995-01-28 22:18:05 +00:00
Jean-Marc Zucconi 7c5329fd30 Do not recompute TIMER0's maximum count, since it is in timer0_max_count.
Use a simpler formula to convert usecs to ticks.
Output is in microseconds instead of ticks, so that values do not depend
on the timer frequency.
1995-01-28 21:54:37 +00:00
Satoshi Asami 35bff0b976 Add a -s' flag for silent' processing. Make the script return 0 for
success and 1 for failure.  Describe the options in manpage.
1995-01-28 17:35:56 +00:00
Jordan K. Hubbard ebf5d6bd28 Delete a bogus :. 1995-01-28 13:17:38 +00:00
Jordan K. Hubbard e0b77dac9a Less kludge dev. 1995-01-28 09:17:58 +00:00
Jordan K. Hubbard fadd4e9f07 A different kludge for /dev 1995-01-28 09:16:41 +00:00
Jordan K. Hubbard 1bdc047602 Make some of the extract scripts more explicit. 1995-01-28 09:11:39 +00:00
Jordan K. Hubbard ae547a3309 Print message about ignoring stupid warnings in game dist
Don't ask user to press return after every dist.
1995-01-28 09:07:48 +00:00
Jordan K. Hubbard 02c931e63b Syntax errors corrected
Add support for Sony CDROM
1995-01-28 09:04:12 +00:00
Jordan K. Hubbard 8ed9cf223f Nuke out a printf that otherwise spews crap at probe() time. A no-no. 1995-01-28 06:40:23 +00:00
Jordan K. Hubbard 9b568f1654 Put in a much less bogus Makefile on advice from Bruce. 1995-01-28 06:01:18 +00:00
Jordan K. Hubbard 1569d8d643 Make the check for a precompiled kernel correct. 1995-01-28 05:33:52 +00:00
Jordan K. Hubbard f40f848a55 Look for scdreg.h in the right place. Whoops. 1995-01-28 05:32:53 +00:00
Jordan K. Hubbard f1780a6c25 Add soundblaster CD to generic kernel. Hope this doesn't run us out
of space!
1995-01-28 05:01:43 +00:00
Jordan K. Hubbard 8965b9f5e5 Poul lost his copy of K&R again - add a semicolon to the end of the
preceeding statement..
1995-01-28 05:00:50 +00:00
Poul-Henning Kamp c0f92921df Update to BTEASY 1.7
Submitted by:	vak
1995-01-28 04:42:08 +00:00
Poul-Henning Kamp c874ac0293 Make Jordan a little happier by fixing a couple of bogons. 1995-01-28 04:35:05 +00:00
Jordan K. Hubbard 2e97cbe167 Tweak the location of the scd driver. 1995-01-28 04:20:55 +00:00
Jordan K. Hubbard 4265ddc50f Add the soundblaster CDROM driver back in, but this time under the GPL
since the Linux driver was used as the principle reference.
Submitted by:	Mikael Hybsch <[email protected]>
1995-01-28 04:18:42 +00:00
Andrey A. Chernov d8f5f936d9 Fix configurations in which mail route depends of the name
of sender host.
Submitted by: [email protected]
1995-01-28 04:09:05 +00:00
David Greenman 8710a63985 Get rid of extra []'s and otherwise fix-up boot prompt. Reordered
boot flags processing to be alpha-beta.
1995-01-28 03:51:39 +00:00
David Greenman 8f895206ff Completed the fix for attempting to page out pages via the device_pager.
Submitted by:	John Dyson
1995-01-28 02:02:25 +00:00
David Greenman 3bd0d9a279 Fixed coredump when issuing d$ on a blank line. Fixes bin/191. 1995-01-28 01:58:14 +00:00
Jordan K. Hubbard f700afc402 Tweak some of the notes. 1995-01-28 01:20:18 +00:00
Jordan K. Hubbard 2b868793d1 Update everyone's paths to point properly into /stand/scripts. 1995-01-28 01:18:44 +00:00
Jordan K. Hubbard 9c206926ab Bump the date again - the snapshot doesn't look like it's going to happen until
tomorrow.. :-)
1995-01-28 01:14:39 +00:00
Jordan K. Hubbard ea7f178ccb Call the bininst.sh script by its new name. 1995-01-28 01:13:29 +00:00
David Greenman e1babfc54f Kill used "error" variable. 1995-01-27 23:26:53 +00:00
David Greenman 2f21d07aa3 Fixed bogus error reporting when the failure is RPC related ("Address
already in use", instead of "Permission denied").
1995-01-27 23:24:33 +00:00
Jordan K. Hubbard bc046396d6 Update these to be a little more business-like in appearance.
Delete obsolete information.
1995-01-27 23:15:31 +00:00
David Greenman cc6f628176 Be sure to properly fail if there are not enough fields. Problem
reported by MARC Giannoni <[email protected]>, this fix is by me.
1995-01-27 22:30:03 +00:00
David Greenman 5d20b0e1a2 from Matt Day <[email protected]>:
> So, the problem is hostnamebyanyaddr() assumes that _res is already
> initialized to proper values, but this is no longer true as of BIND
> 4.9.3.  Here is a patch for sendmail 8.6.9 which changes
> hostnamebyanyaddr() to make sure res_init() has been called before using
> _res.retry.

Submitted by:	Matt Day <[email protected]> via Terry Lambert
1995-01-27 22:14:38 +00:00
Jordan K. Hubbard ae099941e3 Back out my previous change and disable the floppy tape controller again
by default.  It's hosing up my test machine's floppy pretty good.
1995-01-27 20:03:07 +00:00
Jordan K. Hubbard f16651aed0 Tweak SNAP date. 1995-01-27 19:56:56 +00:00
Jordan K. Hubbard e654f62e11 Bump the snap number 1995-01-27 18:21:26 +00:00
Justin T. Gibbs b11c81e076 Set the current transfer parameters directly after a mesg reject for either
Wide or Sync negotiation attempts as we do in all other phases of negotiation.
1995-01-27 17:37:05 +00:00
Doug Rabson 6de86c13d8 Reclaim memory used for telldir cookies on closedir. 1995-01-27 13:51:18 +00:00
Jordan K. Hubbard b0c105c05a Make the gzip commands more rational. 1995-01-27 08:30:35 +00:00
Jordan K. Hubbard 24ae520b47 Make this not fall over screaming if a file isn't found (the user might
not have wanted it).
1995-01-27 08:26:25 +00:00
Jordan K. Hubbard 8bfd187bc2 Get the src rule right. 1995-01-27 08:06:43 +00:00
Poul-Henning Kamp 2e442ca3f4 Man page for the new nca driver. 1995-01-27 07:54:59 +00:00
Jordan K. Hubbard 8d27b7fcda Adjust some of these extract scripts. 1995-01-27 07:49:46 +00:00
Poul-Henning Kamp e05407d84b New and far better NCR5380/NCR53400 scsi-driver.
Handles at least Trantor T130 and ProAudioSpectrum adapters.
The pas driver has consequently been removed.
This driver can be configured without without interrupts.

Manpage to follow when PAS16 has been edited in.

Reviewed by:	phk
Submitted by:	Serge Vakulenko, <[email protected]>
1995-01-27 07:49:19 +00:00
Jordan K. Hubbard f8577f8e51 Adjust names of distributions. 1995-01-27 07:37:55 +00:00
Jordan K. Hubbard 6e645041a9 Don't build src tarball by default. 1995-01-27 07:37:41 +00:00
Jordan K. Hubbard f19a9f767a Change a few more mkdirs to mkdir -p's. 1995-01-27 06:24:35 +00:00
Jordan K. Hubbard 213b5e5976 Edit out some extraneous tabs. 1995-01-27 02:20:42 +00:00
Jordan K. Hubbard dd601a5921 Add a -p to mkdir. 1995-01-27 01:47:32 +00:00
Peter Dufault 672412c27e Clean up handling of unspecified names. Clarify man page. 1995-01-26 23:48:41 +00:00
Peter Dufault daa21be5f0 Fix verbose printout of "" name 1995-01-26 23:40:40 +00:00
Jordan K. Hubbard 9d6b125366 Use the better perl script version of which submitted by Wolfram.
Submitted by:	Wolfram Schneider <[email protected]>
1995-01-26 21:49:54 +00:00
David Greenman 7a642ab589 Fix from Doug Rabson for a panic related to not initializing the kernel's
PTD.

Submitted by:	 John Dyson
1995-01-26 21:06:40 +00:00
Jordan K. Hubbard 7119fe23a7 Disable dset for now - Bruce says it hoses the show. 1995-01-26 19:04:29 +00:00
Garrett Wollman 479bb8da0e Correct long-standing error in the RSVP hooks (would initialize but never
return success).
1995-01-26 18:59:02 +00:00
Andrey A. Chernov 49a5c6fd25 Change overloaded Keypad 5 to fkey65 1995-01-26 11:22:01 +00:00
Andrey A. Chernov e4707252dc Upgrade Back tab & Keypad 5 info 1995-01-26 11:04:52 +00:00
Andrey A. Chernov 89d8fc79de MAXCONS option described 1995-01-26 11:00:12 +00:00
Andrey A. Chernov 735fed15b5 DOn't use hardcode values for L_FN & L_SCR 1995-01-26 10:32:55 +00:00
Ugen J.S. Antsilevich 2b43c8c9db ip_fwdef.c was missing some assignments , and this
caused that bug by which firewall code was not working
if configured into kernel and worked only as lkm.
Now this must be fixed...Sorry guys..
1995-01-26 10:26:15 +00:00
Andrey A. Chernov fd4a3c0b42 Use NUM_FKEYS instead of hardcoded 65 for fkey_tab size 1995-01-26 10:16:51 +00:00
Andrey A. Chernov 2c24a153e0 Increase NUM_FKEYS to 65 1995-01-26 10:13:38 +00:00
Andrey A. Chernov f42e354117 Get rid of overloaded Keypad 5, now F(65) 1995-01-26 10:08:39 +00:00
Andrey A. Chernov b99c427733 Get rid of overloaded Back tab, now F(64) 1995-01-26 10:02:21 +00:00
Andrey A. Chernov 325e89b668 Rewrite fkey_tab to produce unique sequences for all fkeys
Get rid of overloaded fkeys
1995-01-26 09:58:37 +00:00
Andrey A. Chernov e7a1520824 Describe Left window, Right window and Menu keys 1995-01-26 09:24:14 +00:00
Andrey A. Chernov 6b1499efe8 Remove Delete remapping, unneccesary now 1995-01-26 09:10:41 +00:00
Andrey A. Chernov 3f18ada3a6 Describe Delete key 1995-01-26 09:05:22 +00:00
Andrey A. Chernov d2eb078dbe Sync with main termcap 1995-01-26 08:51:52 +00:00
Andrey A. Chernov 771930da08 Correct Delete key description 1995-01-26 08:48:13 +00:00
Andrey A. Chernov 4c03cbeb25 Describe Delete key 1995-01-26 08:45:51 +00:00
Andrey A. Chernov 14ed6a7595 Implement Delete key properly, needed by ncurses 1995-01-26 08:43:24 +00:00
Bruce Evans ceac74879e Install man.local in the correct directory. Apparently everyone is using
the version installed from /usr/share.  It's hard to eliminate old versions
- few Makefiles have `uninstall' targets and sup/ctm tends to blow away
old Makefiles.

This Makefile needs more work.  Stuff is built at install time...
1995-01-26 06:00:40 +00:00
Andrey A. Chernov 379e45984a Add yet one & to kadmin startup to not left second-level shell hanging 1995-01-26 05:25:52 +00:00
Andrey A. Chernov 87fcda4634 Remove FAT_CURSOR, it is already non-existent during several
last syscons versions
1995-01-26 05:04:37 +00:00
Andrey A. Chernov 5ddda58b2e o Restore removed hardware cursor support and make it _default_
case, software cursor now optional case. Driver must provide
  raw things (what hardware do for us, exactly) as default case,
  all driver features must be _optional_. Modern VGAs have internal
  configuration utilities to set cursor shape/blinking which stored
  into cards ROM, and syscons nuke out such features completely
  by forcing software cursor. Moreover, software cursor is hard
  to distinguish on standouted (or near standouted) fields and
  tends to disappearse from the screen.
  Set "flags 0x4" to enable software cursor now.

o Cleanup screen savers.

o Don't draw cursor if saver or blinker is active.

o Duplicated code moved to functons.

o Add more checks for blinker in progress, character lost otherwise
  when blinker restore old contents.

o Reduce blinking counter to 3, too slow in old variant.

o Fix timeout code in scrn_timer(), old variant can reenter iself,
  if action takes too long time.

o Disable visual bell for scroll lock mode, saved screen
  becomes overwritted otherwise.
1995-01-26 04:56:25 +00:00
David Greenman 8eea120788 Kill previous commit as it isn't necessary. 1995-01-26 03:56:20 +00:00
David Greenman 6a1c735df7 Fix problem with freeing busy pages reported by Nick Sayer.
Submitted by:	 John Dyson
1995-01-26 03:34:31 +00:00
Andrey A. Chernov 965d72e637 Use (sleep 20; kadmind ...) & -- wait until kerberos started 1995-01-26 02:58:31 +00:00
David Greenman d3a10e2cad Comment out pmap_prefault for the time being (perhaps until after 2.1).
The object_init_pt routine is still enabled and used, however, and this
is where most of the 'pre-faulting' performance improvement comes from.
1995-01-26 01:45:02 +00:00
David Greenman 1e9122e529 Use the VM_PAGE_BITS_ALL in a place it can be used.
Comment out call to pmap_prefault() until stability problems can be
thoroghly analyzed.
1995-01-26 01:40:04 +00:00
David Greenman 3edf89fe83 Make sure that the pages being 'pre-faulted' are currently on a queue. 1995-01-26 00:55:03 +00:00
Jordan K. Hubbard 1cf5e3a68b Add a reference to ft(8). 1995-01-26 00:34:56 +00:00
Jordan K. Hubbard 681e4fa0cf Add pointer to the `ft' command. 1995-01-26 00:32:58 +00:00
Jordan K. Hubbard 8f5738c194 Finally add a freakin' man page for tar!
Submitted by:	John F. Woods <[email protected]>
Obtained from: NetBSD
1995-01-26 00:14:11 +00:00
David Greenman 6100ed1d12 Be a bit less fast and loose about setting non-cacheablity of pages. 1995-01-25 22:06:23 +00:00
Jean-Marc Zucconi 01ab76f4b8 Add joystick man page 1995-01-25 21:41:09 +00:00
Bruce Evans b5d89ca8ad Load the kernel symbol table in the boot loader and not at compile time.
(Boot with the -D flag if you want symbols.)

Make it easier to extend `struct bootinfo' without losing either forwards
or backwards compatibility.

ddb_aout.c:
Get the symbol table from wherever the loader put it.
Nuke db_symtab[SYMTAB_SPACE].

boot.c:
Enable loading of symbols.  Align them on a page boundary.  Add printfs
about the symbol table sizes.
Pass the memory sizes to the kernel.
Fix initialization of `unit' (it got moved out of the loop).
Fix adding the bss size (it got moved inside an ifdef).
Initialize serial port when RB_SERIAL is toggled on.
Fix comments.
Clean up formatting of recently added code.

io.c:
Clean up formatting of recently added code.

netboot/main.c, machdep.c, wd.c:
Change names of bootinfo fields.

LINT:
Nuke SYMTAB_SPACE.
Fix comment about DODUMP.

Makefile.i386:
Nuke use of dbsym.
Exclude gcc symbols from kernel unless compiling with -g.
Remove unused macro.
Fix comments and formatting.

genassym.c:
Generate defines for some new bootinfo fields.  Change names of old ones.

locore.s:
Copy only the valid part of the `struct bootinfo' passed by the loader.
Reserve space for symbol table, if any.

machdep.c:
Check the memory sizes passed by the loader, if any.  Don't use them yet.

bootinfo.h:
Add a size field so that we can resolve some mismatches between the loader
bootinfo and the kernel boot info.  The version number is not so good for
this because of historical botches and because it's harder to maintain.
Add memory size and symbol table fields.  Change the names of everything.

Hacks to save a few bytes:

asm.S, boot.c, boot2.S:
Replace `ouraddr' by `(BOOTSEG << 4)'.

boot.c:
Don't statically initialize `loadflags' to 0.  Disable the "REDUNDANT"
code that skips the BIOS variables.  Eliminate `total'.  Combine some
more printfs.

boot.h, disk.c, io.c, table.c:
Move all statically initialzed data to table.c.

io.c:
Don't put the A20 gate bits in a variable.
1995-01-25 21:40:47 +00:00
Jean-Marc Zucconi 61b1d15857 Add joystick 1995-01-25 21:21:28 +00:00
Jean-Marc Zucconi 2270d53491 Add entry for the joystick driver 1995-01-25 21:04:15 +00:00
Jean-Marc Zucconi e183640c8b Add entry for joystick 1995-01-25 20:57:32 +00:00
Jean-Marc Zucconi 7e0284a390 ioctls for the joystick driver 1995-01-25 20:41:06 +00:00
David Greenman a465acdaf8 Don't attempt to clean device_pager backed objects at terminate time.
There is similar bogusness in the pageout daemon that will be fixed soon.
This fixes a panic pointed out to me by Bruce Evans that occurs when
/dev/mem is used to map managed memory.
1995-01-25 20:36:29 +00:00
Jean-Marc Zucconi 673f8dc3be Add: device joy0 at isa? port "IO_GAME" (joystick) 1995-01-25 20:35:14 +00:00
Andrey A. Chernov 256b89f8bf LIBFORMS added to DPADD 1995-01-25 20:29:32 +00:00
Andrey A. Chernov 7dc8f3a96e LIBS changed to DPADD & LDADD 1995-01-25 20:28:39 +00:00
Andrey A. Chernov 88b0c79e5b DPADD added 1995-01-25 20:25:57 +00:00
Andrey A. Chernov 316cd0cfdd LIBFORMS & LIBSCSI added 1995-01-25 20:24:01 +00:00
Jean-Marc Zucconi 3bc6bf1734 Changed address of the game controller to 0x201 (was 0x200)
joy.c: joystick driver
1995-01-25 20:11:51 +00:00
Bruce Evans 5ba8561800 Add flag RB_BOOTINFO' that tells if the struct bootinfo' passed by the
boot has a size field.
1995-01-25 20:05:03 +00:00
Andrey A. Chernov ac6802b11c Fix database deletion, we don't have .dir & .pag, use .db instead 1995-01-25 19:57:27 +00:00
Andrey A. Chernov 06b1dd511a Fix database rename, we don't have .dr & .pag, use .db instead 1995-01-25 19:45:25 +00:00
Bruce Evans 03a6bd1d69 Remove stale NOOBJ.
Use standard clean and cleandir targets.
1995-01-25 19:26:31 +00:00
Bruce Evans 4c4b1af8c2 Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:25:20 +00:00
Jordan K. Hubbard f417f4a9bb Add which. 1995-01-25 19:19:06 +00:00
Bruce Evans 49da4dfc8d Makefile.dev:
Don't initialize CLEANFILES here.  Many FONTFILES are sources and required
special clean rules to avoid cleaning.

Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:19:03 +00:00
Jordan K. Hubbard ab8791e05b Bring in Joerg's which command. It's small, it's simple, it will stop
people (like me! :) from whining!
Submitted by:	joerg
1995-01-25 19:18:33 +00:00
David Greenman 9be2a2b045 Add links from mem.4 to kmem.4. 1995-01-25 09:43:20 +00:00
David Greenman 7a4bbce6f2 Added link from utmp.5 to lastlog.5. 1995-01-25 09:35:47 +00:00
David Greenman db35f309d1 Added more missing manual pages from 1.1.5. 1995-01-25 09:18:56 +00:00
David Greenman 798bb3d232 Install bpf manual page. 1995-01-25 08:47:30 +00:00
David Greenman 60d06671c1 Added bpf(4) manual page from 1.1.5. 1995-01-25 08:46:06 +00:00
Paul Richards 942e8a961a Truncate any default inputs to the input width.
Update the example so it works properly.
1995-01-25 08:26:17 +00:00
Paul Richards 4a112dd3f8 More parser fixes. Store attributes properly for each field and
don't emit a second declaration unless it's different to the default.
1995-01-25 07:56:10 +00:00
David Greenman a829865d8e Fix bogus format string; fixes problem reported by Wolfram Schneider. 1995-01-25 07:31:01 +00:00
Paul Richards 0795a3fd8e Quash another bug where if no link alias is specified a
duplicate declaration was emitted.
1995-01-25 07:10:53 +00:00
Justin T. Gibbs 8d4b2d911c Less expensive fix for the freeing of uninitialized fields in the hostdata
struct.  Simply test the "no_host" variable, which if true implies that
the hostdata contains bogus data, and act accordingly.
1995-01-25 06:37:33 +00:00
Paul Richards eef7796c26 Correct default calculation of menu field widths. 1995-01-25 06:32:40 +00:00
Paul Richards d13fe009f3 Fix a serious bug where changes to a field changed all fields
in the forms that used the same field declaration.
1995-01-25 06:04:02 +00:00
Justin T. Gibbs 33ac11112d bzero hostdata in send_to_kdc so that if we immediately jump to the
cleanup routine, we don't look at bogus data to determine wheter or not
to free the fields of the hostdata struct.  This cures the "klogin segfaults
when no kerberos servers are availible" problem.
1995-01-25 05:40:00 +00:00
Andrey A. Chernov 7c5bf497e0 Start kadmind -n (if present) for kerberos server to bring
passwd to life.
1995-01-25 05:06:34 +00:00
Paul Richards 5858e91af1 Fix probe so it now correctly identifies all the different chips
in the PCnet/Lance family.

Fix attach so 32 bit cards don't call isa_dmacascade.

Add a workaround for 32 bit chips which incorrectly truncate the
ring buffer size.

Fix a bug where CRC errors were reported as framming errors.

Change copyright to a BSD style one.
1995-01-25 03:50:33 +00:00
Paul Richards b82ad93964 New example that uses the new forms language. 1995-01-25 03:34:48 +00:00
Paul Richards faf710b023 Update libforms to agree with new fib. 1995-01-25 03:33:43 +00:00
Paul Richards 017d5de87b Improve the forms language quite a bit. Most things now
default to sensible values so you don't have to spell out
every little detail for every field. Also, auto-detect
the field type from the syntax.
1995-01-25 03:27:34 +00:00
Andrey A. Chernov 5ba6fadf2f Add missing newline (or messages concatenated) 1995-01-25 02:27:00 +00:00
Peter Dufault af6b5090b9 Remove "va_start" macro. 1995-01-25 00:33:50 +00:00
Andrey A. Chernov b3e643c17b Add libscsi to includes target 1995-01-24 22:30:37 +00:00
Andrey A. Chernov 84d1a18425 Add libforms to includes target 1995-01-24 22:15:25 +00:00
Andrey A. Chernov 509b7efc3e CFLAGS: = --> += 1995-01-24 22:09:46 +00:00
David Greenman 5d64e24d3e Added Andres Vega Garcia's email address.
Submitted by:	Andres Vega Garcia
1995-01-24 20:53:45 +00:00
Paul Richards 94187a78bf is to lnc changes 1995-01-24 20:38:39 +00:00
Garrett Wollman e853f65e5d Get the right name for the v4 kadmin service. 1995-01-24 18:52:50 +00:00
Bruce Evans fe0ac9ddfd Rewrite based on send-pr/Makefile. The old Makefiles used ${PROG},
which is not supposed to work for shell files, but somehow did with
the old `make'.
1995-01-24 17:58:47 +00:00
Jordan K. Hubbard ad1565eef3 NOOBJS was bogus - use the already extant `NOOBJ'. 1995-01-24 17:50:30 +00:00
Jordan K. Hubbard 227756fca2 NOOBJS -> NOOBJ - it's more consistent. 1995-01-24 17:49:41 +00:00
Jordan K. Hubbard 398eaa8341 No object here. 1995-01-24 17:47:49 +00:00
Jordan K. Hubbard 62ef745576 Add the ability to say `NOOBJS' to indicate that the target has no object
files.
1995-01-24 17:33:22 +00:00
Jordan K. Hubbard 03b41c8f3c Deal with this not having an object file. 1995-01-24 17:32:09 +00:00
Jordan K. Hubbard e64b174386 Add dset call to rc file, right after the databases are rebuilt. 1995-01-24 16:49:14 +00:00
Andrey A. Chernov ea4a8be8c2 Fix stdarg.h for GNU C using builtin_next_arg 1995-01-24 16:22:52 +00:00
Paul Richards 83a8b44d6f Changed the example to use the forms spec file. 1995-01-24 13:29:30 +00:00
Paul Richards 39c631d1b9 Changed the example to use the forms spec file.
Made a couple of variable name changes.
1995-01-24 13:27:46 +00:00
Peter Dufault 10ee7eaff2 added libscsi 1995-01-24 12:10:42 +00:00
Peter Dufault c4c754deba SCSI library layered on SCIOCOMMAND 1995-01-24 12:10:11 +00:00
Peter Dufault d29f6c1ec9 Added "scsi" 1995-01-24 12:08:15 +00:00
Peter Dufault 2208cace06 Submitted by: Julian Elischer and Peter Dufault
Obtained from: 1.1.5

"scsi (8)" from 1.1.5, with added support for any command from
the command line.
1995-01-24 12:07:27 +00:00
Peter Dufault d1b8cd258b 1. Reject obviously broken CDB command lengths
2. Use "uprintf" (instead of printf) to log the "tape not ready" message
1995-01-24 12:04:56 +00:00
David Greenman 6d40c3d394 Added ability to detect sequential faults and DTRT. (swap_pager.c)
Added hook for pmap_prefault() and use symbolic constant for new third
argument to vm_page_alloc() (vm_fault.c, various)
Changed the way that upages and page tables are held. (vm_glue.c)
Fixed architectural flaw in allocating pages at interrupt time that was
introduced with the merged cache changes. (vm_page.c, various)
Adjusted some algorithms to acheive better paging performance and to
accomodate the fix for the architectural flaw mentioned above. (vm_pageout.c)
Fixed pbuf handling problem, changed policy on handling read-behind page.
(vnode_pager.c)

Submitted by:	John Dyson
1995-01-24 10:14:09 +00:00
David Greenman e5501f43a5 Removed some unused/obsolete code.
Submitted by:	John Dyson
1995-01-24 10:02:00 +00:00
David Greenman 9532143ae6 Fixed a variety of deadlock and panic bugs, removed the bypass code, and
implemented the ability to limit bufferspace by memory consumed. (vfs_bio.c)
Fixed recently introduced bugs that caused extra I/O to happen in some
cases. (vfs_cluster.c)

Submitted by:	John Dyson
1995-01-24 10:00:46 +00:00
David Greenman fff3cea1a9 Moved various pmap 'bit' test/set functions back into real functions; gcc
generates better code at the expense of more of it.

Submitted by:	John Dyson
1995-01-24 09:57:39 +00:00
David Greenman fbdfe8ac22 Changed buffer allocation policy (machdep.c)
Moved various pmap 'bit' test/set functions back into real functions; gcc
generates better code at the expense of more of it. (pmap.c)
Fixed a deadlock problem with pv entry allocations (pmap.c)
Added a new, optional function 'pmap_prefault' that does clustered page
table preloading (pmap.c)
Changed the way that page tables are held onto (trap.c).

Submitted by:	John Dyson
1995-01-24 09:56:33 +00:00
Andrey A. Chernov 0a1c0d9ae8 Add missing ${.CURDIR} 1995-01-24 08:30:13 +00:00
David Greenman b99f012ec5 Extended the previous change to cover the non-options case, too. 1995-01-24 08:03:22 +00:00
Bruce Evans bc84e96c42 Use the correct include path if there's an obj directory. 1995-01-24 06:10:48 +00:00
Bruce Evans 6670942f71 Declare `struct mbuf' with the correct scope to avoid lots of warnings
for compiling routed...  Previously a kernel function pointer that is
bogusly visible to applications was incompletely declared to hide the
problem.
1995-01-24 04:47:33 +00:00
Bruce Evans 0a17153035 Remove typedefs that are now in <sys/conf.h>. 1995-01-24 04:22:19 +00:00
Bruce Evans 725ae77af0 Fix path to makeinfo. 1995-01-24 04:13:34 +00:00
Jordan K. Hubbard 825de56725 Fix bogus tab in makesum target. 1995-01-24 02:41:52 +00:00
Jordan K. Hubbard 8f998cf202 Y.A.B.M (Yet Another Bogus Makefile) 1995-01-24 00:41:50 +00:00
Andrey A. Chernov d3c39340bc Merge. 1995-01-24 00:41:11 +00:00
Andrey A. Chernov b3e8cc7812 Upgrade. My recent fix applied by author. 1995-01-24 00:37:11 +00:00
Andrey A. Chernov 86cc4d31d3 This commit was generated by cvs2svn to compensate for changes in r5825,
which included commits to RCS files with non-trunk default branches.
1995-01-24 00:37:11 +00:00
Jordan K. Hubbard e593239fdb Fix this bogus Makefile. 1995-01-24 00:36:27 +00:00
Jordan K. Hubbard 20da3572df Fix more deranged targets. 1995-01-24 00:28:51 +00:00
Jordan K. Hubbard b37499c044 Fix bogus all & clean rules. 1995-01-24 00:23:34 +00:00
Jordan K. Hubbard 4eed8738b3 Fix bogus tab. 1995-01-24 00:22:24 +00:00
Jordan K. Hubbard f932e96d48 Eliminate a bogus tab. 1995-01-24 00:13:56 +00:00
Jordan K. Hubbard 7884c1e534 Fix bogus dummy rule (sigh). 1995-01-23 23:43:35 +00:00
Garrett Wollman 745bdc24b4 Print out error messages from libkadm correctly (i.e., using com_err). 1995-01-23 22:54:08 +00:00
Garrett Wollman d0e917e9b8 Don't call _doprnt, which doesn't exist; use vfprintf. 1995-01-23 22:53:12 +00:00
Jordan K. Hubbard 588a45c651 Fix bogus install rule. 1995-01-23 21:30:18 +00:00
Jordan K. Hubbard aae156b27c Fix the bogus depend rule - boy, NetBSD's make catches a lot of
bogus Makefiles!
1995-01-23 21:19:45 +00:00
Jordan K. Hubbard 9f574f9a90 Bring in a number of changes from NetBSD's make, fixing quite a few
problems in the process:

1. Quoting should work properly now.  In particular, Chet's reported bash
   make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
   This should cause make to take up a LOT less memory when dealing with
   archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
1995-01-23 21:03:17 +00:00
Jordan K. Hubbard 8d81c12227 Whomever put the depend rule in screwed it up. Fix it. 1995-01-23 20:53:38 +00:00
Jordan K. Hubbard 1df516f280 Eliminate a bogus stray tab. 1995-01-23 20:50:56 +00:00
Garrett Wollman 51e7d42c56 Don't print protocol-cloned routes by default (enabled by -a flag).
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
Joerg Wunsch e3fa32b485 Implementing the "lp" command.
This command is required to exist in terms of compatibility with the
Posix 1003.2 specification.  It actually invokes the lpr service with
the proper options.
1995-01-23 19:22:43 +00:00
David Greenman fb1322e408 Decrease MCLBYTES from 4k back to 2k. It isn't likely that we'll be doing
page flipping anytime soon and 4k just wastes memory. Performance via the
looback interface will decrease slightly by this change. Idealy, we need
buffers that can have variable sizes, but this requires a rewrite of far
too much code at the moment.
1995-01-23 19:21:49 +00:00
Joerg Wunsch bba63893e5 Add "lp" to list of subdirs. 1995-01-23 19:17:22 +00:00
David Greenman 61be67ba43 Much better fix/support for the 83c795 based cards (the new SMC EtherEZ)
by [email protected] (Steven E. Piette). Minor changes by me.
1995-01-23 19:06:08 +00:00
Garrett Wollman e79b19bc05 Make Jordan happy:
1) Link against object directory version of libcom_err.so.
2) Don't try to install ss_err.h if we haven't made it yet.  It's not
   on the critical path for `make world' at this point.
1995-01-23 18:56:40 +00:00
David Greenman 0a2d61c61c Kill redundant declarations of d_open_t and d_close_t. 1995-01-23 18:46:13 +00:00
Jordan K. Hubbard 7b2bb0fb79 Set PREFIX in the build target. Suggested by John Fieber. 1995-01-23 18:22:36 +00:00
Poul-Henning Kamp b1b8617459 if_ze was not updated when the arp_ifinit stuff was done. now it is. 1995-01-23 18:02:32 +00:00
David Greenman 297a37f334 Applied fix from Andreas Schulz with a different comment by me. Fixes a
bug where TCP connections are closed prematurely.

Submitted by:	Andreas Schulz
1995-01-23 17:58:27 +00:00
David Greenman 3ec66d6c39 Added back the missing last few bytes of the file. 1995-01-23 17:53:21 +00:00
Ugen J.S. Antsilevich e42327af6f Add dset to Makefile. 1995-01-23 15:45:41 +00:00
Ugen J.S. Antsilevich 006baf01ee src/sbin/dset
*blush* this is the commit i meant to do before..
Utility to save device configuration.
1995-01-23 15:42:59 +00:00
Paul Richards 8e6feb0e55 A forms interface builder. Basically, it reads a forms spec file and
spits out a frm.tab.h file with all the definitions needed by the
libforms interface.
1995-01-23 14:43:38 +00:00
Garrett Wollman f35e67894f Make modload more informative about errors encountered while running
`ld' by calling execl() directly rather than using system().
1995-01-23 04:08:00 +00:00
Poul-Henning Kamp 9e2429f597 Moved the typedefs of d_<foo>_t into sys/sys/conf.h and used them in
the definition of struct [cb]devsw.  Guess Bruce never got around to
complete this (?)

Poul-Henning
1995-01-23 02:52:28 +00:00
Jordan K. Hubbard 6b21ba4ff4 Update the Korean admin's address. 1995-01-23 02:37:04 +00:00
Poul-Henning Kamp 2bb96d8923 Nobody seems to need "mem_no" anymore, so I zapped it. 1995-01-23 02:36:22 +00:00
Poul-Henning Kamp 1aaca524e0 Fixed $Id$ 1995-01-23 02:31:53 +00:00
Garrett Wollman bbb7c7109b Change caching strategy somewhat:
1) Don't clone routes to multicast destinations; there is nothing useful
   to be gained in this case.
2) Reduce default expiration timer to one hour.  Busy sites will still
   likely want to reduce this, but for ordinary users this is a reasonable
   value to use.
1995-01-23 02:02:50 +00:00
Garrett Wollman 18e1f1f110 route.c: keep track of where cloned routes come from, and make sure to
delete them when the ``parent'' goes away

route.h: add glue to track this to rtentry structure.  WARNING WILL ROBINSON!
This will be yet another incompatible change in your route-using binaries.
I apologize, but this was the only way to do it.  I took this opportunity
to increase the size of the metrics to what I believe will be the final
length for 2.1, so that when the T/TCP stuff is done, this won't happen
again.
1995-01-23 02:00:35 +00:00
David Greenman 717d9cdd57 First round of changes to clean up the RCSID mess in libc:
1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS.
2) Changed sccsid[] variables to rcsid[]
3) Moved all RCSID strings into .text
4) Converted all SCCSID's to RCS $Id$'s
5) Added missing $Id$'s after copyright.
1995-01-23 01:30:24 +00:00
David Greenman b3c361e217 Changed LIB_SCCS and SYSLIB_SCCS #defines to LIB_RCS and SYSLIB_RCS. 1995-01-23 01:22:08 +00:00
Jordan K. Hubbard cc877a0fe1 Add support for Olof Johansson's WD7000 driver.
Submitted by:   Olof Johansson <[email protected]>
1995-01-23 00:25:44 +00:00
Jordan K. Hubbard 3691d2b97c Add support for Olof Johansson's WD7000 driver.
Submitted by:	Olof Johansson <[email protected]>
Obtained from:
1995-01-23 00:25:03 +00:00
Garrett Wollman 93eb556775 Document the requirements of dynamic loading on mounting order. Cross-ref
to vfsload(3).
1995-01-22 22:54:56 +00:00
Andrey A. Chernov bae50898b7 Infopages cleanup 1995-01-22 22:45:07 +00:00
Andrey A. Chernov 75e2b1e589 Cleanup in examples,groff_font,locale directories 1995-01-22 22:37:45 +00:00
David Greenman 1504cd6172 (Very) minor improvement from NetBSD/J.T.Conklin. 1995-01-22 22:03:45 +00:00
Andrey A. Chernov 95f51c5b57 Add doc subdir 1995-01-22 21:56:38 +00:00
Andrey A. Chernov ae46450f21 Add missing infopages 1995-01-22 21:54:49 +00:00
David Greenman 530eb0c1c4 Added leaner and meaner swab() function by J.T. Conklin. 1995-01-22 21:36:15 +00:00
Gary Palmer 74d7962900 Oops. Fix up the checksum routine - my last commit broke it slightly. 1995-01-22 20:40:48 +00:00
Bruce Evans edf1160963 Build ref.bib.i in the object directory. 1995-01-22 16:49:22 +00:00
Justin T. Gibbs bd524f1b07 Initialize SIMODE1, SCSIID, and SXFRCTL1 in ahc_init instead of at each
reconnection/selection with a target.
1995-01-22 00:48:39 +00:00
Justin T. Gibbs d7be8cb6e9 Change the string returned in the aic7870 motherboard probe case. Change
#define to a more appropriate name.
1995-01-22 00:47:50 +00:00
Justin T. Gibbs c135d93bbf aic7xxx.c:
Print out the length of the compiled sequencer program.

aic7xxx.seq:
	More optimizations.  Replace generic bcopy routine with bcopy_3
and bcopy_4 (ie unroll the loops) since these are the only two cases used.
Initialize SIMODE1 and SXFRCTL1 from the kernel in ahc_init instead of
at each selection/reselection since this is expensive and only needs to
be done once.  Condense function returns into previous instruction if possible.
Reorder some sections to kill superflous jumps.  These optimizations kill
the ~150k/s penalty adding support for Twin/Wide cards was costing since
the last place in the commaon path of execution where we had to do ugly,
convoluted testing for the type of card in the sequencer has gone away.
Next stop tagged queuing and target mode.
1995-01-22 00:46:53 +00:00
Garrett Wollman 1253de3840 Fix from Rod so that std_rqs.c can get rebuilt properly when
doing a make world.
1995-01-21 23:30:31 +00:00
Garrett Wollman a6066145ff *** empty log message *** 1995-01-21 23:01:33 +00:00
Garrett Wollman 41be2d70c9 `make world' fixes from Pat Barron, Mark Murray.
Closes PR #156.
1995-01-21 23:01:19 +00:00
Bruce Evans 1a0518966d Don't use mi_switch() to terminate cpu_exit(). Calling it just happened to
work (mi_switch() counted the last timeslice again but this didn't affect
the exiting process' rusage because the rusage has already been finalized).

Remove stale comment.
1995-01-21 15:34:03 +00:00
Bruce Evans cee6d3700d Remove unused definitions of vm statistics counters. Most of the
counting is now done in C.  There are still about 100 unused
definitions for other things.
1995-01-21 15:22:28 +00:00
Bruce Evans e6891db8c5 Don't count context switches here, they are already counted in mi_switch(). 1995-01-21 15:20:23 +00:00
Bruce Evans d7e3a89f1f Don't count the parent's previous timeslice in the child's resource usage
(it was counted twice).

Set the start time more accurately.
1995-01-21 15:08:57 +00:00
Bruce Evans 54c2af254d #Include <sys/types.h> so that <sys/resource.h> can be #included without
explicitly #including <sys/types.h>.  Some gnu software (?gdb) depends on
this and broke when I fixed <stdio.h> to not include <sys/types.h>.

Bruce
1995-01-21 14:58:25 +00:00
Bruce Evans dd3d164f9e Update comments about MISSING and GNU versions. 1995-01-21 14:47:33 +00:00
Bruce Evans 46d8d93500 Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...'
for debugging.  The default ${CFLAGS} still clobbers the system default
of -O2 to -O.
1995-01-21 14:41:45 +00:00
Bruce Evans a2562ad917 Keep track of open devices better to avoid closing the console device when
the physical device is closed.  Previously only the reverse case was handled.
Abuse the cdevsw interface instead of the vfs interface to do this.

Remove unnecessary #includes.
1995-01-21 14:12:15 +00:00
Bruce Evans 742c88a03a Use exactly the same checks in excluded() as in inlist(): ignore stabs and
stringless symbols in excluded(); check for too-small (nonzero) string table
offsets in inlist().
1995-01-21 10:24:18 +00:00
Andrey A. Chernov 60efec1dab Restore original fix from ohki, not check m for NULL it is already done
in the code above.
Submitted by: [email protected]
1995-01-21 06:32:26 +00:00
Andrey A. Chernov 2fdd39d28d Better protection against too long pathes and 8bit controls in file
names, locate dumps core instead
1995-01-21 05:50:50 +00:00
Andrey A. Chernov f3b2d1fae4 Not go to interactive mode, if login failed for URLs, just
exit(1). Dedicated to Jordan.
1995-01-21 01:37:22 +00:00
Andrey A. Chernov f76c8e8cc3 Change if (m->valid == 0) to if (m && m->valid == 0) 1995-01-20 23:30:42 +00:00
Garrett Wollman 2ade60ce3c In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c
doesn't complain.
1995-01-20 23:07:10 +00:00
Garrett Wollman 422c275a72 Add ksrvutil. 1995-01-20 22:40:02 +00:00
Garrett Wollman 8c5c9f2577 Add last piece in fully-functional Kerberos implementation: ksrvutil,
a program to manage /etc/srvtab.
1995-01-20 22:38:30 +00:00
Garrett Wollman 218a5dcf33 Added Kerberized passwd. 1995-01-20 22:16:47 +00:00
Garrett Wollman 788c8e2ea4 Password-changing program with Kerberos support via the `kadmin'
protocol.  Replaces passwd(1) when eBones is installed.  As before, HOW-TO
explains the gory details.
1995-01-20 22:14:14 +00:00
Garrett Wollman 01ae44681d Fix bonehead /usr/lib -> /usr/bin. 1995-01-20 22:08:14 +00:00
Garrett Wollman 925704439a Update for new kpasswd interface. 1995-01-20 22:03:36 +00:00
Garrett Wollman aaa101d222 Added kadmin protocol port 1995-01-20 22:00:26 +00:00
Garrett Wollman 039b79a960 Allow NIS maps, noconn mounts .
Sumbitted by: Boyd Faulkner <[email protected]>
1995-01-20 20:58:54 +00:00
Garrett Wollman 401de747b8 Add libcom_err to `includes' target so CLOBBERing the world works again (we
hope).
1995-01-20 20:28:31 +00:00
Bill Paul fc042b6935 Submitted by: [email protected]
When using cp to copy a file under the following circumstanes:

- original file in on an NFS filesystem
- destination file is on the same NFS filesystem
- the file is less than 8Mbytes in size
- the file is larger than 65536 bytes in size

the cp process can get frozen in device-wait and never wake up (cp uses
mmap() in this case).
A small change to allocbuf() fixes this.
1995-01-20 20:11:31 +00:00
Søren Schmidt 02fb646de1 Second round in syscons update:
Support for pseudo graphic mouse cursor (not complete yet)
Some cheap speed fixes.
More cleanups.
Call ourselves scxxxx finally.
1995-01-20 08:35:32 +00:00
Bill Paul f06a45ddd7 Removed hardcoded definition for RB_SERIAL that I left in my accident
(had it there for testing purposes). RB_SERIAL should be found in
<sys/reboot.h>.
1995-01-20 07:52:42 +00:00
Bill Paul f778c9da00 Submitted by: Bill Paul ([email protected])
Obtained from:
bios boot block changed to allow booting from both the attached graphics
display and from a serial port. (A specially compiled serial boot block
is no longer necessary.) The boot block should detect the presence or
absence of a keyboard: if there is no keyboard, COM1 is turned into the
console. This simulates the behavior of the Sun boot PROMs. Unplug your
keyboard, attach a terminal to COM1 and you should be ready to go. :)
1995-01-20 07:48:27 +00:00
Bill Paul 2b237b4058 Submitted by: Bill Paul ([email protected])
Obtained from:
sio.c and sioreg.c changed to allow autodetecting the RB_SERIAL flag
passed by the boot blocks so that the kernel can switch to 'serial
console' mode automagically. 'options COMCONSOLE' can still be specified
to force the kernel to always use the serial port as a console.
CONUNIT and CONADDR can also be specified in the kernel config file
if the user wants to shift the console to a different port.
1995-01-20 07:34:18 +00:00
Bill Paul c665f1dabd Submitted by: Bill Paul ([email protected])
Obtained from:
Added a new flag (RB_SERIAL) which is passed by the boot block to tell
the kernel that it should use a serial port as a console. (The kernel
can still be forced to boot in serial console mode if 'options COMCONSOLE'
is used.)
1995-01-20 07:28:47 +00:00
Jordan K. Hubbard 609c85875a Add the Packet Capture Library from Michael Reifenberger.
Submitted by:	mr
1995-01-20 04:13:07 +00:00
Garrett Wollman 4ed9828579 Add kadmind. 1995-01-20 03:13:48 +00:00
Garrett Wollman acfdd75a53 Add kadmind. HOW-TO documents how to get here from raw eBones. 1995-01-20 03:13:00 +00:00
Garrett Wollman 703273c507 Add kadmin. 1995-01-20 02:49:47 +00:00
Garrett Wollman 516345750a The user side of the kadmin protocol. HOW-TO describes how to recreate
this based just on the eBones distribution.
1995-01-20 02:47:50 +00:00
Garrett Wollman a15e22a637 Add the library used by kadmin' and kadmind'. Oddly enough, this
little library is actually exportable (we think) even though it's pretty
useless iwithout the (non-exportable) clients.
1995-01-20 02:02:54 +00:00
Garrett Wollman 1c8f305817 Don't install kadm.h from here; it's done by the libkadm directory. 1995-01-20 02:01:11 +00:00
Garrett Wollman 51c716bd1c Do all libraries first. Don't do `include' twice. 1995-01-20 02:00:34 +00:00
Garrett Wollman 35042b3093 Don't break existing users of libkrb.so.2.0 who aren't using libcom_err. 1995-01-20 01:44:47 +00:00
Garrett Wollman bf836b9a51 Kill more bogus man pages. (The correct ones are with their programs.) 1995-01-20 01:26:53 +00:00
Garrett Wollman 3df56e5197 A more correct fix for the new compile_et. Also, add beforeinstall
rule to ensure that krb_err.h gets installed (some other programs need
it).
1995-01-20 01:12:19 +00:00
Garrett Wollman 562e312d13 Added compile_et' and mk_cmds' to lib-tools target, as they are needed
to build `libss'.  Also delete bogus old /usr/sbin/compile_et at this time
(sorry, it was the only way I could think of to make sure it died).
1995-01-19 22:41:25 +00:00
Garrett Wollman 8a256cf77b Add libss. 1995-01-19 22:32:05 +00:00
Garrett Wollman 8b359e3092 Added mk_cmds. 1995-01-19 22:31:17 +00:00
Garrett Wollman 2343225488 Port to FreeBSD. 1995-01-19 22:28:38 +00:00
Garrett Wollman 3665217fb4 Port to FreeBSD. (Sorry there's no man page yet.) 1995-01-19 22:27:58 +00:00
Garrett Wollman 9d9cb31cdb Add /usr/include/ss because libss expects its header files to live there. 1995-01-19 22:23:13 +00:00
Andreas Schulz c82762a9c3 Submitted by: Bruce Evans
Put in the much shorter and cleaner version for the calibrate_cycle_counter
for the Pentium that Bruce suggested. Tested here on my Pentium  and
it works okay.
1995-01-19 22:05:27 +00:00
Garrett Wollman ba20ecf423 Other part of SIPB subsystem library, the program to make command tables. 1995-01-19 21:30:25 +00:00
Garrett Wollman 282244c5b6 MIT SIPB subsystem' library, needed for kadmin' and some other MIT programs. 1995-01-19 21:28:01 +00:00
Garrett Wollman 0cd34073b2 Kill old Kerberos password-changing support:
1) It was export-controlled.
2) It used some ad-hoc protocol invented by Berkeley in ignorance of the
   standard MIT distribution's way of doing it (which makes it useless
   to most people).

This should be fixed once we have `kadmin'/`kadmind'.
1995-01-19 21:03:48 +00:00
Andreas Schulz a4ef0a998a Add the missing forward declaration of chopen. Reported in the
mailinglists some time ago.
1995-01-19 21:02:54 +00:00
Garrett Wollman bb38a730ff Fix unbalanced #endif introduced by yesterday's change. 1995-01-19 19:01:50 +00:00
Andrey A. Chernov 99b9edabe6 Reflect lastest termcap changes 1995-01-19 17:15:54 +00:00
Bruce Evans 3c447b4f44 Don't build kgdb. It should go away soon. 1995-01-19 17:03:28 +00:00
Bruce Evans 9ad5367675 Enable iostat on i386's. 1995-01-19 16:29:30 +00:00
Bruce Evans b34bc5463d Fix installation of the link to tmac.an. $(FOO} doesn't work. 1995-01-19 15:58:34 +00:00
Peter Dufault c3280a6d1a Remove dup biodone and no more SCSIUSER option. 1995-01-19 12:41:36 +00:00
Peter Dufault 8d38e0afd0 Print out exactly what we think the board is, and for the latest
rev Adaptec boards enable data transfer length detection instead
of assuming requested amount of data is transferred.
1995-01-19 12:33:10 +00:00
Doug Rabson 2cc220b6ed Fix handling of 'e' format floating point so that it prints trailing zeros
correctly.
1995-01-19 12:05:53 +00:00
Andrey A. Chernov a5bf27a269 Remove sneaked tabs
Submitted by: Ollivier Robert
1995-01-19 10:39:22 +00:00
Joerg Wunsch 65f2c37b27 Should that last sentence read "...thus a full dump must be done...",
or do I have it all wrong?

Submitted by:	"Shawn M. Carey" <[email protected]>
1995-01-18 19:26:14 +00:00
Andrey A. Chernov 3ece328451 Put brackets around EXTRACT_CMD, can be several commands here 1995-01-17 23:55:53 +00:00
Garrett Wollman c7da24ddb6 Prevent sites from shooting themselves in the foot while enabling/disabling
YP by disallowing `+' entries as logins in all cases.  (This handles the
case of a `+' entry in the password file but YP not running, which should
never happen but is easy enough to check for so we'll apply some
prophylaxis.)
1995-01-17 23:17:38 +00:00
Andrey A. Chernov c5191e580d More koshering [ul]case fix, don't use pre-initialized tables at all,
treat 0xFF as valid character.
1995-01-17 23:04:29 +00:00
Andrey A. Chernov dde07463cf Make conv=[lu]case works with localized ctype (8bit) 1995-01-17 22:55:59 +00:00
Andrey A. Chernov 3a99ffc355 Remove -Wall for ascii formatting, we don't need so many
warnings while formatting standard BSD docs
1995-01-17 22:04:38 +00:00
Andrey A. Chernov 586cc4e455 Install additionly S and L text fonts, needed for BSD docs formatting 1995-01-17 22:02:34 +00:00
Andrey A. Chernov 932c9d1896 Modify prev. change, pass internal args directly to groff,
if PRINTER == ascii, because nroff shell script strip off
some groff flags
1995-01-17 21:36:06 +00:00
Andrey A. Chernov a812882b19 Call nroff, if PRINTER == ascii 1995-01-17 21:27:30 +00:00
Andrey A. Chernov 8af44ad204 Use nroff instead of groff in %nroff% macro, becasue
nroff shell script pass additional internal parameters to groff
1995-01-17 21:12:05 +00:00
Andrey A. Chernov 8cd8abf162 Oops, forget to add \{ \} in prev. commit 1995-01-17 21:08:33 +00:00
Andrey A. Chernov a61b49098a Fix for 8bit clean ctype 1995-01-17 20:36:26 +00:00
Andrey A. Chernov 32bb7861f2 koi8-r added 1995-01-17 20:17:31 +00:00
Andrey A. Chernov 1f1d79eb97 Back out prev change, don't load tty-char directly, it is already done
into nroff shell script
1995-01-17 20:11:04 +00:00
Andrey A. Chernov 3e6c1c6d90 Load russian hyphentation for -Tkoi8-r 1995-01-17 20:08:42 +00:00
Jordan K. Hubbard 131690bf32 Remove the src tarball stuff from this Makefile - all the release
stuff is on its way out of here and into release/Makefile.
1995-01-17 20:00:01 +00:00
Jordan K. Hubbard 172c16b79a Move all the src tarball stuff from etc/Makefile into here. 1995-01-17 19:57:35 +00:00
Andrey A. Chernov a99d423620 Build ngroff instead of groff now 1995-01-17 19:28:56 +00:00
Andrey A. Chernov 93b3f6d096 Nuke BSD tmac 1995-01-17 19:10:35 +00:00
Andrey A. Chernov 309c205212 afterinstall --> beforeinstall to make LINKS work 1995-01-17 19:05:12 +00:00
Andrey A. Chernov a5cf5392ff Remove unnecessary complex renaming after nuking BSD tmacs 1995-01-17 18:49:52 +00:00
Andrey A. Chernov 083ad6c648 Rename tmacs properly (me)
Strip renamed pages before install
1995-01-17 18:31:07 +00:00
Andrey A. Chernov 18156f8e0f Add tmac/mdoc, needed by ngroff 1995-01-17 17:57:52 +00:00
Andrey A. Chernov 055e903386 Add missing file 1995-01-17 17:51:52 +00:00
Andrey A. Chernov bc70277b5b Add missing psroff.sh (for compatibility with old groff) 1995-01-17 17:36:19 +00:00
Jordan K. Hubbard 0b3782714e Enable floppy-tape controller by default again. Flags no longer has any
special meaning.
1995-01-17 17:32:33 +00:00
Jordan K. Hubbard 65cf764910 Make Makefile take a relative path for CFLAGS.
Submitted by:	Remy Card <[email protected]>
1995-01-17 15:07:13 +00:00
Jordan K. Hubbard 5238dbaecc Here's a patch to gdb-4.13 to add dyadic frames, as per J"org Wunsch.
Could somebody apply it?
Submitted by:	gj
1995-01-17 13:52:39 +00:00
Bruce Evans d25a46b215 Add option `-x excludelist'. This will be used for removing variously
spelled g*compiled* symbols from the kernel so that ddb doesn't have to
do it.  The symbols are currently removed by dbsym but dbsym will go
away when symbols are loaded by the boot loader.

Document -m option in usage message.

Check for overrunning some arrays.

Fix some misformatting.
1995-01-17 07:20:26 +00:00
Bruce Evans f746e67c46 Obtained from: looked at the fix in 1.1.5 and rewrote it
Fix entabbing.
1995-01-17 07:02:31 +00:00
Bruce Evans 2d2fb1bf6b The %eflags checking introduced in the previous commit was too zealous.
sigreturn() sometimes failed for ordinary returns from signal handlers.
Failures of ordinary returns "can't happen" and are badly handled.
"Temporary" fix: allow users to corrupt PSL_RF.  This is fairly
harmless.  A correct fix would involve saving the old %eflags (and
perhaps the old segment registers) where the user can't get at them.
1995-01-17 01:15:12 +00:00
Andrey A. Chernov 0293a7a389 Remove troff chars emulation, handled better via tmac.tty-char 1995-01-17 01:08:03 +00:00
Andrey A. Chernov c1328812d5 Back out 1.x changes (additional troff chars), now handled
via tmac.tty
1995-01-17 01:01:56 +00:00
Andrey A. Chernov e9844b337b Define troff chars in more nice way than defining them into
devascii R.proto (will be fixed too)
1995-01-17 00:58:05 +00:00
Andrey A. Chernov aab45466ff Move MANSRC defining rule (fix for obj subdir) to top level
Makefile.cfg, needed not only in man subdir
1995-01-17 00:42:27 +00:00
Andrey A. Chernov f94052d6fc Add russian hyphentation rules 1995-01-17 00:35:51 +00:00
Andrey A. Chernov 9acd98f380 Add koi8-r referred to tmac.tty 1995-01-17 00:21:30 +00:00
Andrey A. Chernov 5b90fb0af3 Add koi8-r as valid -T option 1995-01-17 00:13:15 +00:00
Andrey A. Chernov 7ac7111d42 Add devkoi8-r to SUBDIR 1995-01-17 00:06:29 +00:00
Andrey A. Chernov a7e36b1757 Add koi8-r device (russian charset) 1995-01-17 00:04:14 +00:00
Gary Palmer 2db2081438 Correct a small problem in that when there isn't a checksum for that
particular file, but there is a files/md5, it reports that it failed
the checksum
1995-01-16 23:33:08 +00:00
Andrey A. Chernov 7650ac4508 Fix install target when obj subdir present 1995-01-16 23:17:06 +00:00
Andrey A. Chernov 2875b41727 Don't call $(SHELL) for mdate.sh, call its directly.
Old method don't works, if login shell != sh && != bash
1995-01-16 23:02:07 +00:00
Andreas Schulz eda3ffc7c2 Add the Adaptec 282x Series of controller to the supported controllers.
They seem to be detected and working ok from the aic driver.
1995-01-16 19:19:14 +00:00
Doug Rabson c48edefb3c Change to use RTM_CHANGE when an arp entry already exists. This closes
problem bin/57 which was caused when an incomplete entry was present for the
host which was booting.
1995-01-16 18:57:45 +00:00
Andrey A. Chernov 23a4e9ded7 Add doc to SUBDIR 1995-01-16 17:56:20 +00:00
Andrey A. Chernov 98f978a585 Remove */doc 1995-01-16 17:53:43 +00:00
Andrey A. Chernov 9953d9b05d Add doc to SUBDIR 1995-01-16 17:49:20 +00:00
Andrey A. Chernov 8ab90258e8 Add doc to SUBDIR list 1995-01-16 17:40:57 +00:00
Andrey A. Chernov eaa36bec77 Back out bkgd changes, now acts per braindamaged sysv standard 1995-01-16 17:33:33 +00:00
Joerg Wunsch 9088576b20 Could someone please add the following patch to
/usr/src/share/termcap/termcap.src? It defines the sequences emitted
by the PageUp, PageDown and Keypad-[79513] keys.

Submitted by:	Thomas Gellekum <[email protected]>
1995-01-16 17:29:29 +00:00
Andrey A. Chernov 1d8834adda Back out bkgd() function usage, it acts not from
common sense but from sysv standard
1995-01-16 17:22:35 +00:00
Andrey A. Chernov 603ef010b6 Back out my ascii->latin1 change, too many special chars
appearse after it (f.e. hyphentate and such) which looks
very different in different code pages
1995-01-16 17:18:03 +00:00
Joerg Wunsch 5c2c5abe6d Removed the comment about missing support for the original "High
Sierra" format from the bugs section.
1995-01-16 17:05:44 +00:00
Joerg Wunsch 988fa8efe3 Roll in my changes to make the cd9660 code understand the older
(original "High Sierra") CD format.  I've already implemented this for
1.1.5.1 (and posted to -hackers), but didn't get any response to it.
Perhaps i'm the only one who has such an old CD lying around...

Everything is done empirically, but i had three of them around (from
different vendors), so there's a high probability that i've got it
right. :)
1995-01-16 17:03:29 +00:00
Justin T. Gibbs 87cf6d44c7 Add $Ids. Use DMA for downloading SCBs to the sequencer. Implement SDTR,
WDTR, and message reject handlers so they don't need to exist in the
sequencer.  All three of these cases are not on the critical path, so it
makes little sense to use up precious sequencer ram for them.
1995-01-16 16:33:47 +00:00
Justin T. Gibbs 344e176820 Add $Id. Recognize motherboard aic7870 based controllers. 1995-01-16 16:31:57 +00:00
Justin T. Gibbs f61afda9a4 Add $Id 1995-01-16 16:31:34 +00:00
Justin T. Gibbs 0d56403998 At $Ids to all files. Have the sequencer use DMA to tranfer its SCB
(SCSI control block) instead of having the host PIO it down.  Also
reimplement WDTR and SDTR optimization to remove code in the sequencer
and place the responsibility of knowing when to initiate SDTR or WDTR
on the kernel driver.  This vastly shortens the sequencer program yet
yeilds the same performance.
1995-01-16 16:31:21 +00:00
Jordan K. Hubbard 03b38adc65 Catch the one I missed. 1995-01-15 11:21:47 +00:00
David Greenman 761dd66739 Attempt to close a hole using splhigh/splx. There still appears to be a
serious one in the same area that I don't have time to fix.
1995-01-15 09:35:58 +00:00
Paul Traina 4f6d30a46a One last one... 1995-01-15 09:12:29 +00:00
Paul Traina b5e6cd375f Last of the FreeBSD changes 1995-01-15 09:06:50 +00:00
David Greenman 7082ec8aa5 Fixed some page table reference count problems; these changes may not be
complete, but should be closer to correct than before.
1995-01-15 09:06:23 +00:00
Paul Traina d94fc6a011 Layer in FreeBSD changes 1995-01-15 08:36:35 +00:00
Paul Traina 26444f9367 Layer in all FreeBSD patches 1995-01-15 08:30:25 +00:00
Paul Traina f84f13d3d0 groff-1.09 1995-01-15 08:10:00 +00:00
David Greenman edfab85b1a Moved some splx's down a few lines in vm_page_insert and vm_page_remove
to make the locking a bit more clear - this change is currently a NOP
as the calls to those routines are already at splhigh().
1995-01-15 07:31:34 +00:00
Jordan K. Hubbard a3de1367e9 Submit srcdist changes 1995-01-15 06:31:50 +00:00
Andrey A. Chernov 9bc89504b8 Remove duplicated ec capability 1995-01-15 06:31:14 +00:00
Andrey A. Chernov 6451258bef Sync with base termcap.src 1995-01-15 06:29:22 +00:00
Andrey A. Chernov bf8a2c7b91 Fix cv & ch to increment pos by one 1995-01-15 06:26:58 +00:00
Jordan K. Hubbard 42e77edcaf The Makefile contained in usr.bin/tconv contains a bogus
reference to the absolute path /usr/src/lib/libmytinfo.  The enclosed
patch fixes this.

Submitted by:	Remy Card <[email protected]>
1995-01-15 06:19:01 +00:00
Jordan K. Hubbard 973e94c5d5 Make one last stab at making this work before I go. 1995-01-15 06:13:46 +00:00
Garrett Wollman b60e6e6e9f Some fixes to device configuration, now that I've had a chance to do it
properly from the beginning:

	1) The `kern_devconf' struct should be a part of the driver's
	   `softc' structure (now it is).
	2) The `description' should say what the device actually is,
	   rather than just giving a model number (now it does).
	3) The device should be registered even if the probe fails, so
	   that it can be reconfigured later.
	4) For netifs, the device state should follow the IFF_UP flag.

Other network interfaces should follow this example.  (Please?)  Eventually
there should be a rundown routine doing the equivalent of setting IFF_UP
off, and perhaps more if warranted.
1995-01-15 00:18:17 +00:00
Garrett Wollman 0e10ef2ea0 Add a `-p' option, allowing the super-user to directly set a user's
encrypted password.  Kerberized `login' might use this, if I get around
to implementing the complete Allspice System behavior.
1995-01-14 23:14:25 +00:00
Garrett Wollman 758f3a64bd Modify klogin to:
1) Don't spit out an error message if Kerberos is installed but not yet
   set up.

2) Don't attempt to verify the ticket you got back, as workstations
   are not intended to have srvtab files of their own.

Both behaviors can be re-enabled with KLOGIN_PARANOID.
1995-01-14 22:57:41 +00:00
Garrett Wollman da626a6f54 Remove obsolete `-n' flag from compile_et command line. 1995-01-14 22:32:48 +00:00
Garrett Wollman d8baa34b91 Fix include directive bobble. 1995-01-14 22:30:32 +00:00
Garrett Wollman 5e914d3b8d Upgrade to latest released SIPB version I can find. (Unfortunately, the
original releases were not numbered.)
1995-01-14 22:29:34 +00:00
Garrett Wollman af4d8ead38 The Common Error Description Library, developed by MIT SIPB and used by
a number of (ex-)Athena programs.  Breaking my own rules for importing
somewhat, as this code does not appear to be actively maintained by anyone
(not that it really needs it).
1995-01-14 22:23:41 +00:00
Garrett Wollman e7f8d55240 Slightly more complete implementation of SUBDIR for libraries. 1995-01-14 22:18:15 +00:00
Garrett Wollman 83fc2a702a Add SUBDIR facility to bsd.lib.mk like in bsd.prog.mk. 1995-01-14 22:14:54 +00:00
Jordan K. Hubbard 5c6d20f99b Add some helpful text about send-pr. 1995-01-14 21:08:05 +00:00
Garrett Wollman f4282c92cd Added compile_et. 1995-01-14 20:58:58 +00:00
Garrett Wollman 3c71319647 Slight makefile cleanup. 1995-01-14 20:58:00 +00:00
Garrett Wollman f6e8b72cb5 Reflect the fact that compile_et is now a `system' utility. 1995-01-14 20:51:05 +00:00
Garrett Wollman 0d003156dd Reflect the fact that compile_et has been moved and is now a `system'
utility.
1995-01-14 20:50:37 +00:00
Garrett Wollman cde665121e Fix Sharnoff complain bin/136 (-e flag doesn't work). 1995-01-14 20:36:22 +00:00
Garrett Wollman 5ddd6b6a1a Fix Sharnoff complaint #121 (cross-reference to config.new which does not
exist on the i386 platform).
1995-01-14 20:25:02 +00:00
Jordan K. Hubbard c549fa6625 Add my own custom target for now. 1995-01-14 20:15:38 +00:00
Garrett Wollman c81d9b5121 Turn off incredibly obnoxious forced -c' option to more'. 1995-01-14 20:09:47 +00:00
Jordan K. Hubbard b6cc3bfac6 The enclosed patch fixes the Makefile contained in
share/doc/usd/{30.rogue,31.trek}: make fails if the games source
tree is not present (see the mail that I have sent yesterday).

        This patch makes the Makefiles test if the games source
tree is present.  If it is not present, the Makefiles default to
no operation.
1995-01-14 19:56:16 +00:00
Jordan K. Hubbard 7f272b53a0 The enclosed patch fixes the Makefile contained in
share/doc/usd/{30.rogue,31.trek}: make fails if the games source
tree is not present (see the mail that I have sent yesterday).

        This patch makes the Makefiles test if the games source
tree is present.  If it is not present, the Makefiles default to
no operation.

[Note:  I'm not sure if the Makefile changes might not be collapsable into
a shorter format, but I'll just leave it this way for now and be safe -jkh]

Submitted by:	Remy Card <[email protected]>
1995-01-14 19:55:40 +00:00
Jordan K. Hubbard 314bc6245e The enclosed patch makes bsd.doc.mk consistent with bsd.prog.mk
when creating the obj link.  While bsd.prog.mk inconditionnaly creates
a link in /usr/obj, bsd.doc.mk tests if the source tree is contained in
/usr/src.  If so, it creates a link to /usr/obj.  If the source tree
is contained in another directory, bsd.doc.mk creates an obj subdirectory.
Submitted by:	Remy Card <[email protected]>
1995-01-14 19:49:54 +00:00
Jordan K. Hubbard af8dd62b9a The enclosed patch is a cosmetic change to bsd.prog.mk. When
a program directory has subdirectories, make now prints "===> dir/subdir"
instead of "===> subdir".  This is modeled after the rules contained in
bsd.subdir.mk.

Submitted by:	Remy Card <[email protected]>
1995-01-14 19:48:49 +00:00
Andreas Schulz ed3cec3fcb Submitted by: David Muir Sharnoff
domainame has referenced getdomainname(2) instead of getdomainname(3).
bug report docs/137.
1995-01-14 17:02:33 +00:00
Jordan K. Hubbard 269f4a2ef1 Add very crude beginnings of the setup script. 1995-01-14 13:34:37 +00:00
Andreas Schulz ccca965b89 Fix a bug, that someone has introduced into /etc/security. It has no longer
found SUID files, only SGID files. The find has missed some parantheses.
1995-01-14 13:23:50 +00:00
Bruce Evans 20415301cd Fix security holes in sigreturn(), ptrace() and procfs. sigreturn()
attempted to check for insecure and fatal eflags and segment
selectors, but missed many cases and got the IOPL check back to
front.  The other syscalls didn't check at all.

sys_process.c, machdep.c:
Only allow PT_WRITE_U to write to the registers (ordinary and FP).

psl.h, locore.s, machdep.c:
Eliminate PSL_MBZ, PSL_MBO and PSL_USERCLR.  We are not supposed
to assume anything about the reserved bits.  Use PSL_USERCHANGE
and PSL_KERNEL instead.  Rename PSL_USERSET to PSL_USER.

exception.s:
Define a private label for use by doreti when returning to user
mode fails.

machdep.c:
In syscalls, allow changing only the eflags that can be changed on
486's in user mode (no longer attempt to allow benign IOPL changes;
allow changing the nasty PSL_NT; don't allow changing the i586
bits).

Don't attempt to check all the cases involving invalid selectors
and %eip's.  Just check for privilege violations and let the invalid
things cause a trap.

procfs_machdep.c:
Call the ptrace register functions to do all the work for reading
and writing ordinary registers and for single stepping.

trap.c:
Ignore traps caused by PSL_NT being set.  Previously, users could
cause a fatal trap in user mode by setting PSL_NT and executing an
iret, and a fatal trap in kernel mode by setting PSL_NT and making
a syscall.  PSL_NT was cleared too late and not in enough modes to
fix the problem.

Make all traps in user mode (except T_NMI) nonfatal.

Recover from traps caused by attempting to load invalid user
registers in doreti by restarting the traps so that they appear to
occur in user mode.
---

Fix bogons that I noticed while fixing the above:

psl.h:
Fix some comments.

Uniformize idempotency ifdef.

exception.s, machdep.c:
Remove rsvd[0-14].  rsvd0 hasn't been reserved since the 486 came
out.  Replace rsvd0 by `align'.  rsvd[0-11] used wrong (magic
non-unique) trap numbers.  Replace rsvd[1-14] by rsvd.

locore.s:
Enable alignment check flag on 486's and 586's.

machdep.c:
Use a better type for kstack[].

Use TFREGP() to find the registers.

Reformat ptrace functions from SEF to something closer to KNF.

procfs_machdep.c:
The wrong pointer to the registers got fixed as a side effect.

Implement reading and writing of FP registers.

/proc/*/*regs now work (only) for processes that are in memory.

Clean up comments.

trap.c, trap.h:
Remove unused trap types.
1995-01-14 13:20:26 +00:00
Jordan K. Hubbard f854ef5dd2 Try out my new idea for making the srcdist.. 1995-01-14 12:51:40 +00:00
Jordan K. Hubbard abf7720722 Actually, there's a better way to do this whole srcdist tarball business.
Take first steps toward implementing it.
1995-01-14 12:48:39 +00:00
Jordan K. Hubbard f14786dd11 Change the way the srcdist is generated. 1995-01-14 12:44:23 +00:00
Jordan K. Hubbard 2a27df60e3 Clean up src-tarball definition. 1995-01-14 12:29:38 +00:00
Andrew Moore c723083073 fixed `s' to set dot to last line affected, not the last line in
a substitution range.
1995-01-14 11:47:16 +00:00
Jordan K. Hubbard 002feff1d6 Change name of secrdist to secure. 1995-01-14 11:32:41 +00:00
Bruce Evans 3831ab07f8 Define some public labels for use by trap(). 1995-01-14 11:00:27 +00:00
Jordan K. Hubbard 9949564470 Remove bogus scd0 driver - I should have looked at LINT first, anyway. 1995-01-14 10:48:56 +00:00
Bruce Evans 3117fbd98e Enable define of CR0_AM to prepare for implementing alignment checking.
Uniformize idempotency ifdef.
1995-01-14 10:44:55 +00:00
Bruce Evans c277f99332 Declare a real `struct fpreg' to prepare for implementing reading and
writing of FP regs for procfs.

Uniformize idempotency ifdef.
1995-01-14 10:41:41 +00:00
Bruce Evans 1e1a3d012d Remove reference to impossible trap type T_KDBTRAP. We don't support
watchpoints.

Uniformize idempotency ifdef.
1995-01-14 10:34:52 +00:00
Jordan K. Hubbard b9ecc1ed61 Make sure a partition we're about to mount on will always exist on the
user's system.  Make Mkdir() selectively not die in case of failure.
1995-01-14 10:31:29 +00:00
Jordan K. Hubbard 709f4fb343 Initial revision 1995-01-14 10:28:20 +00:00
Jordan K. Hubbard f19709746b Be neat - put bininst in scripts directory too. 1995-01-14 10:28:11 +00:00
Bruce Evans 9bf308efab Eliminate T_KDBTRAP, which will soon go away. It was only used for an
unreachable case label in kdb_trap().

Use the correct case labels in kdb_trap() so that normal ddb entry doesn't
print a message.

Change all printf's to db_printf's.  Now you can put a breakpoint at printf,
and ddb entry messages don't spam the syslog output.

Cosmetic:

Use ISPL() instead of magic numbers.

Don't compile the unused function kdb_kbd_trap().

Improve some asms.

Print the arg to Debugger().
1995-01-14 10:24:48 +00:00
Bruce Evans 4d12ebe42c Silence `make -ss'. 1995-01-14 09:48:14 +00:00
Jordan K. Hubbard 84df4daf5b Further review for scripts/ dir renaming. 1995-01-14 08:02:49 +00:00
Jordan K. Hubbard d9584d768f Change DISTRIBUTION names. Also make bsd.doc.mk go to doc distribution,
not bin.  Hmmm.
1995-01-14 07:51:10 +00:00
Jordan K. Hubbard 09d86669dd Make the whole *dist naming structure halfway orthogonal. 1995-01-14 07:48:09 +00:00
Jordan K. Hubbard 30d561922b Do the right thing with init for secrdist. 1995-01-14 07:44:23 +00:00
Jordan K. Hubbard 4dcddd0cca Initial revision 1995-01-14 07:41:52 +00:00
Jordan K. Hubbard 2062c2dbe3 Correct positioning of text, update version. 1995-01-14 07:30:30 +00:00
David Greenman 92c385361b Add missing object_lock/unlock. 1995-01-14 04:58:53 +00:00
Jordan K. Hubbard d15b7357a8 Install suidperl suid root.
Submitted by:	Jean-Marc Zucconi <[email protected]>
1995-01-14 03:31:27 +00:00
Jordan K. Hubbard c19abbbbd7 Close PR#108 - man page 4 tty lies - needs updated info
Submitted by:	[email protected]
1995-01-14 02:48:13 +00:00
Jordan K. Hubbard 0dd1eea105 Put UCONSOLE back - I was wrong, it's still used in one last place.
Submitted by:	ollivier
1995-01-14 02:39:22 +00:00
Jordan K. Hubbard 49f7c177f3 Recognise Linux filesystems.
Submitted by:	remy
1995-01-14 02:26:07 +00:00
Jordan K. Hubbard 0301b28935 Correctly recognise Linux partitions.
Submitted by:	remy
1995-01-14 02:25:36 +00:00
Jordan K. Hubbard f146e52ddb Patch from Remy Card for bogus path in Makefile. 1995-01-14 02:20:42 +00:00
Garrett Wollman b0625a3d46 Delete obsolete references to kerberosIV. 1995-01-13 21:00:05 +00:00
Søren Schmidt 2a13b58b61 Oops, forgot one change when DDB is defined. 1995-01-13 17:13:13 +00:00
David Greenman b9921222a2 Protect a qcollapse call with an object lock before calling. The locks
need to be moved into the qcollapse and rcollapse routines, but I don't
have time at the moment to make all the required changes...this will do
for now.
1995-01-13 13:30:24 +00:00
Justin T. Gibbs d8ef68098b Remove extra leading tabs that made this thing blow up. 1995-01-13 08:06:55 +00:00
Jordan K. Hubbard 9711e78d94 I must be hallucinating. Back out the previous change. Um. Drat,
how to do this?
1995-01-13 06:44:23 +00:00
Jordan K. Hubbard 38862b2dcf Add conv=osync to the boot flop. You know, this might explain those
mysterious rawrite problems! :-)
1995-01-13 05:43:03 +00:00
Andrey A. Chernov b9937fcc84 Use (n - 1) in ESC [ xxx d and ESC [ xxx ` 1995-01-13 03:19:22 +00:00
Justin T. Gibbs b6b99cabea Point dependancy to i386/scsi 1995-01-13 02:29:14 +00:00
Justin T. Gibbs 01ce9c8620 Point include to i386/scsi 1995-01-13 02:27:08 +00:00
Justin T. Gibbs deefdf55f5 Generic support for the entire aic7x70 line of adaptors. No one else
came up with a directory place ment more me, so now we have i386/scsi.
1995-01-13 02:24:31 +00:00
Justin T. Gibbs 451ab98ff3 Add in aic7770.c (EISA/VL Adaptors) and aic7870.c (PCI adaptor) dependancies
for the ahc driver.
1995-01-13 02:23:27 +00:00
Justin T. Gibbs 20c5e65572 Full support for 294x and Wide devices. Fixed month old bug in the SCSI
sense retrieval code that messed up CDROM devices.  This code will also
responde correctly to SDTR and WDTR messages from devices that start a
negotiation sequence.
1995-01-13 02:22:11 +00:00
Andrey A. Chernov 985649bb94 Add more funkeys, correct existen ones 1995-01-13 00:51:48 +00:00
Andrey A. Chernov 21984e24b4 Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.
1995-01-13 00:42:04 +00:00
Andrey A. Chernov 6821668363 Sync with base termcap 1995-01-13 00:19:50 +00:00
Andrey A. Chernov dd5527fa91 Add nw & ec capabilities from new syscons 1995-01-13 00:16:52 +00:00
Andrey A. Chernov c58a405f43 Add more termcap capabilities, correct one escape 1995-01-13 00:14:52 +00:00
Jeffrey Hsu add65270a0 Fix bug that created new files even when running in -C check mode.
Reviewed by: phk
1995-01-12 22:09:40 +00:00
Garrett Wollman 7ba7177c6e Other part of Makefile spam fix. 1995-01-12 20:58:10 +00:00
Garrett Wollman 65dd2ce99f Correctly fix spam with usd/psd Makefile mix-up. 1995-01-12 20:57:11 +00:00
Andrey A. Chernov 9db2473d62 Back out cursor wrap (restore original thing)
Submitted by: Bill Paul
1995-01-12 20:14:28 +00:00
Joerg Wunsch dac0f2dbc1 Argl!, finally found this bummer. The code testing for a write-
protected drive at open() time has been *totally bogus*!  The guy who
submitted it didn't understand all the implications of calling
set_motor(), and the `who' who included the patch into the tree did it
blindly...  Pleeeeze, don't commit code to this driver unless you are
really going to understand what it does!  This one caused me to pull
out even more hears, and those who know me do know that i ain't got
too many o'them. :-)
1995-01-12 19:20:28 +00:00
Joerg Wunsch d5453ba5c4 Make ldconfig and ld.so not hashing the shared lib minor number. This
misfeature caused troubles when a program attempted to access a shlib
where one with a higher minor number has been hashed.  Ldconfig does
only include the highest-numbered shlib anyway, so this is in no way a
limitation of generality.

Caution: after installing the new programs, your /var/run/ld.so.hints
needs to be rebuiult; run ldconfig again as it's done from /etc/rc.
1995-01-12 19:12:29 +00:00
Guido van Rooij 7fc5551693 Install the ipfw.samp.* files
Reviewed by:
Submitted by:
Obtained from:
1995-01-12 18:40:10 +00:00
Jordan K. Hubbard 42941e8055 Remove 05.sysman until I can figure out why the ascii generation
runs amuck.
1995-01-12 17:32:12 +00:00
Jordan K. Hubbard c270d29802 Make this agree with reality - it was actually a Makefile for ../usd! 1995-01-12 16:25:51 +00:00
Jordan K. Hubbard 1ce5c9dc5c A slicker way of eliminating bogus quotes.
Ask less questions about the temporary directory if instructed to.
1995-01-12 16:18:18 +00:00
Jordan K. Hubbard 09c42f85eb 1. Remove UCONSOLE. This appears to be well and truly dead (unless it's
hiding someplace in /sys I can't find).
2. Remove NCONS.  Soren's latest changes make it a no-op.
1995-01-12 15:37:16 +00:00
Stefan Eßer cde24835d3 Submitted by: Mikael Hybsch <[email protected]>
Add support for NCR 53c815 PCI SCSI chip.
1995-01-12 14:01:13 +00:00
Ugen J.S. Antsilevich 564fbfe5c2 Checking new lkm structure.. 1995-01-12 13:57:51 +00:00
Ugen J.S. Antsilevich 4dd1662b4c Actual firewall change.
1) Firewall is not subdivided on forwarding / blocking chains
   anymore.Actually only one chain left-it was the blocking one.
2) LKM support.ip_fwdef.c is function pointers definition and
goes into kernel along with all INET stuff.
1995-01-12 13:06:32 +00:00
Ugen J.S. Antsilevich c5d5269fa6 here ip_fw.c lived once..correct me if i am wrong but
i think it shopuld be in conf/files
1995-01-12 13:05:00 +00:00
Ugen J.S. Antsilevich bd41022924 Firewall files & accounting added here.
ip_fwdef.c is support for ipfw lkm module
and should be compoiled always with 'options inet'.
1995-01-12 13:04:23 +00:00
Ugen J.S. Antsilevich ad6e6b7d58 Firewall can be used as lkm module.To use it
firewall should *NOT* be compiled into kernel.
Then it can  be loaded.This is misc module but i'v
got no problemms with it,so shouldn't you i suppose..
BTW this is very stupid to have one module in CVS
for ALL lkm's...
1995-01-12 13:03:02 +00:00
Ugen J.S. Antsilevich 98bee36695 Utility changes following the facility.
We have only one firewall chain and one accounting chain now.
   No blocking/forwarding so commands changed.
Man pages are somewhat out of date and will be updated ASAP.
1995-01-12 13:01:21 +00:00
Jordan K. Hubbard 4d190d48d6 Efficiency tweaks to Makefile,
add missing regexp lib for grep (cpio floppy).
1995-01-12 12:30:07 +00:00
Jordan K. Hubbard 3506b124bf Correct some bogus instructions, flesh out some of the other doc. 1995-01-12 12:13:58 +00:00
Søren Schmidt 6378775666 First round in syscons update. Several new features has been added:
No kernel config options anymore besides keyboard language layout.
Virtual consoles are now dynamically allocated, no NCONS anymore.
Software cursor blinking/nonblinking.
Visual bell for laptops (don't beep at meetings :-).
Cursor/bell default type setable via config "flags" instead of as defines.
Cursor/bell type setable via ioctl's.
New video modes 80x30 80x60 for some laptops, and those with multisync monitors.
Scroll-lock history (length currently fixed at 100 lines).
Lots of cleanups, some only commented out for now (will goaway soon).
Support for new features in vidcontrol/kbdcontrol.
Updated manpages.
1995-01-12 11:47:05 +00:00
Jordan K. Hubbard 9d68e93aaf Good grammar and good taste, from Gary Jennejohn.
Submitted by:	gj
1995-01-12 11:47:02 +00:00
David Greenman aedcdea1de Fixed mbuf lossage when level != IPPROTO_IP. Problem reported by Robert
Dobbs, hint from Charles Hannum, fix by me.
1995-01-12 10:53:25 +00:00
Jordan K. Hubbard c8a5d5e0b0 Prepare for next snapshot. 1995-01-12 10:34:37 +00:00
Jordan K. Hubbard 533c1db8da Whoops! Correct cut-and-paste gaffe. 1995-01-12 08:21:31 +00:00
Jordan K. Hubbard 161e6a3e83 Add an ID line at the top (this thing still needs some sort of
copyright, Andrew).
Add support for the distribute target.
1995-01-12 08:20:25 +00:00
David Greenman ec2bb6ade1 Increase maxfiles to NPROC*2. This makes the per-process open file limit
highly bogus, however, and this needs to be fixed.
1995-01-12 03:38:12 +00:00
Andrey A. Chernov 4d7b8c9269 dc/doc added 1995-01-12 02:56:15 +00:00
Andrey A. Chernov bfb9b93ee9 Infopage installation 1995-01-12 02:54:14 +00:00
Andrey A. Chernov cd54e1437f as/doc added 1995-01-12 02:50:50 +00:00
Andrey A. Chernov 81d5811672 Infopage installation 1995-01-12 02:48:42 +00:00
Andrey A. Chernov 41c4bc57c7 Use absolute path for install passed to configure
to disallow prepending ../ in second level Makefiles
1995-01-12 02:29:42 +00:00
Andrey A. Chernov eb0dc9c294 ptx/doc added 1995-01-12 01:35:31 +00:00
Andrey A. Chernov 72faa78f5b Use -lgnuregex properly
Install infopages
1995-01-12 01:30:34 +00:00
Garrett Wollman 1df8e837d0 Delete VFS example since it doesn't apply and there are ten perfectly
good examples elsewhere in the tree.  (The MISC example should probably
go, too, but it should still compile so I'm leaving it for now.)
1995-01-11 21:44:23 +00:00
Garrett Wollman 204da1b6b7 Fix these up as much as I'm able; see the README file for more info. 1995-01-11 21:33:54 +00:00
David Greenman 8b4dd3c473 Improve my previous change to use the same tests as are used in qcollapse. 1995-01-11 20:19:20 +00:00
David Greenman a748978457 Fixed a panic that Garrett reported to me...the OBJ_INTERNAL flag wasn't
being cleared in some cases for vnode backed objects; we now do this in
vnode_pager_alloc proper to guarantee it. Also be more careful in the
rcollapse code about messing with busy/bmapped pages.
1995-01-11 20:00:10 +00:00
Garrett Wollman 9e681ba3da Always delete ${DOC}.ps and ${DOC}.ascii in the clean target, no matter what
${PRINTER} is set to.
1995-01-11 19:58:03 +00:00
Garrett Wollman 4b77ba7f2c Add back in the -me papers now that they all work. 1995-01-11 19:51:47 +00:00
Jordan K. Hubbard 6722294de8 Change GENERIC to SWAP_GENERIC for now. I need the GENERIC kernel to
build by default again!  When the furor subsides, maybe something better
can be done, but..
1995-01-11 17:51:26 +00:00
Andrey A. Chernov fe80b9dc28 doc added 1995-01-11 16:40:08 +00:00
Andrey A. Chernov ad04b53da0 Add annotate target 1995-01-11 16:38:10 +00:00
Andrey A. Chernov eb9747a649 Install infopages 1995-01-11 16:29:45 +00:00
Joerg Wunsch dc16046f96 Finally implement support for the `lsdev' program. The controller is
now marked busy as long as it's being in non-reset state, and the
drives are busy as long as at least one instance is open.

Also reformat everything to fit into 80 columns again.

Changed my mind wrt. error reporting for a write-protected drive and
an open() with write intent; ENXIO has been too weird, now return EIO.
Some portions of the code need to be rewritten to use tprintf()
instead of simple printf()'s, so the messages will also appear on the
session terminal, however.
1995-01-11 16:13:01 +00:00
Jordan K. Hubbard 0351215ee6 Ack! Mk must go before cleandist in the world rule now. Otherwise
cleandist will fall over at gnu/lib/libreadline/doc when bsd.info.mk
is not found.
1995-01-11 11:52:50 +00:00
Joerg Wunsch 056dfea8f8 argl, better unzip the perl script before installing. :-/ 1995-01-11 09:21:29 +00:00
Satoshi Asami fb097df2ce Typo! 1995-01-11 08:53:28 +00:00
Satoshi Asami 1deaf2e347 Add missing ! in front of pipeline for extract commands---otherwise
it would exit on *successful* extraction.
1995-01-11 08:50:48 +00:00
Paul Richards 1e95454e10 What I think is a more correct fix for the handling of backslashes
inside backquotes. Reversed my previous fix.
1995-01-11 07:07:00 +00:00
Andrey A. Chernov 514c347b58 awk/doc added 1995-01-11 06:56:12 +00:00
Andrey A. Chernov 09122d010b Infopage install 1995-01-11 06:53:40 +00:00
Andrey A. Chernov 4efe110a6d Use -lgnuregex 1995-01-11 06:42:25 +00:00
Andrey A. Chernov e82aeeb5ef Use -lgnuregex
Tune for 8bit ctype
1995-01-11 06:14:14 +00:00
Andrey A. Chernov 712624913e Upgrade to code which should satisfy all things which we have 1995-01-11 06:12:04 +00:00
Paul Richards f4ae9090f4 Added emacs ^A,^E,^B & ^F keybindings to field editor.
Changed a constant to a sizeof in test.c
1995-01-11 06:08:45 +00:00
Andrey A. Chernov 49b95be03e Use -lgnuregex 1995-01-11 05:45:48 +00:00
Andrey A. Chernov dc92878b84 Upgrade regex code to most recent that I found
Version number still not changed
1995-01-11 05:39:08 +00:00
Andrey A. Chernov e88843d3cf Use -lgnuregex
Tune for 8bit ctype
1995-01-11 05:07:00 +00:00
Andrey A. Chernov 35a3303073 Changes for 8-bit ctype 1995-01-11 04:56:51 +00:00
Andrey A. Chernov ea822ebc88 libregex/doc added 1995-01-11 04:34:23 +00:00
Garrett Wollman 7a41acfd08 Now that `doc' works, do it. 1995-01-11 04:33:00 +00:00
Andrey A. Chernov 68206ccc06 Add infopage installation 1995-01-11 04:32:41 +00:00
Garrett Wollman 056721988a Always make the papers. Automatically make both PostScript and ASCII versions
of each document, and install both on request.
1995-01-11 04:29:38 +00:00
Garrett Wollman debba9d5a3 Disable 05.sysman, it sends nroff into an infinite loop. 1995-01-11 04:24:41 +00:00
Andrey A. Chernov 2e0ad30144 Remove regex code, use -lgnuregex instead 1995-01-11 04:18:38 +00:00
Garrett Wollman a316b26e50 Make all these format under the new scheme. I haven't had a chance to
test the -me stuff, so it's still disabled for now.
1995-01-11 04:10:10 +00:00
Andrey A. Chernov cd4e4d36de Fix path in FILES section 1995-01-11 03:58:32 +00:00
Garrett Wollman 417ed37975 Get the USD to format under the new structure. 1995-01-11 03:24:33 +00:00
Garrett Wollman be3dff6e36 Add .MAIN: all so that extraneous targets don't confuse `make'. 1995-01-11 02:41:09 +00:00
Garrett Wollman d448c6a94f Add standard before/real/afterinstall support like in bsd.prog.mk. 1995-01-11 02:27:01 +00:00
Garrett Wollman 83a924ecc9 Fix last .endif. 1995-01-11 02:06:58 +00:00
David Greenman c3d05da5e3 MFS doesn't bother to associate a struct mount with the vnode...so work
around this by not trying to cluster this type of I/O.

Submitted by:	John Dyson
1995-01-11 01:53:18 +00:00
Garrett Wollman b7a1a0a5ff Make these documents build if possible. 1995-01-11 01:53:04 +00:00
Paul Richards 369cf5afc3 Change size of example form from 80x25 to 80x24 so it works
in a standard xterm.
1995-01-11 01:29:38 +00:00
Garrett Wollman 26b8cb48b1 Add Id keyword. 1995-01-11 00:16:04 +00:00
Garrett Wollman f8f8058e6f Make everything work with new bsd.doc.mk and without symlinks in the
source tree.  Eliminate papers which require -me macros, 'cos they
currently don't work with groff.
1995-01-11 00:15:23 +00:00
Garrett Wollman 25514a1236 Changes to make /usr/share/doc work somewhat right. (SMM commits
to follow soon.)
1995-01-11 00:00:11 +00:00
Andrey A. Chernov 81ab7fb2a7 Add better argument handling
Submitted by: jmz
1995-01-10 21:19:57 +00:00
Andrey A. Chernov b7091db2a5 send-pr/doc added 1995-01-10 20:04:35 +00:00
Andrey A. Chernov 0a172cf4d9 Add info installation 1995-01-10 20:02:15 +00:00
Poul-Henning Kamp bb04461ba0 Speed kvm_mkdb up by a factor 5 or thereabout. Rewrote all the fseek/fread
nonsense to use a mmap'ed file instead and told the DB/hash what we are up to.

dev_mkdb could maybe benefit from the same treatment.
1995-01-10 18:37:12 +00:00
Andrey A. Chernov 80ac129270 Updates from jmz and me 1995-01-10 18:35:23 +00:00
Joerg Wunsch 43c1db28c7 From our favorite Perl script writer: a new makewhatis, about
15 times faster than the existing sh script.

Submitted by:   Wolfram Schneider <[email protected]>
1995-01-10 18:12:50 +00:00
David Greenman f295740e4d Fix conversion to/from nfs v2 time in handling microseconds.
Submitted by:	[email protected]
1995-01-10 13:11:42 +00:00
David Greenman 740c65cfec Added two missing brelse() calls.
Submitted by:	[email protected]
1995-01-10 13:06:51 +00:00
Jordan K. Hubbard 4c0b41ec3b As long as I can't figure out why this doesn't work, I might as well
add some error checking to it and clean this up a bit.
1995-01-10 12:36:44 +00:00
Jordan K. Hubbard 8b9d60735d Catch case where extraction fails. Thanks! 1995-01-10 12:23:44 +00:00
Jordan K. Hubbard 8bc0985035 Latest changes from vak.
Submitted by:	vak
1995-01-10 11:44:30 +00:00
Jordan K. Hubbard ed4a82f717 Latest update from Serge Vakulenko <[email protected]>
Submitted by:	vak
1995-01-10 11:41:28 +00:00
David Greenman 5943df8331 PG_FAKE is no longer used - so don't bother to clear it. 1995-01-10 09:20:34 +00:00
David Greenman a776a317e9 Kill VM_PAGE_INIT macro as it is only used once and makes the code more
difficult to understand. Got rid of unused vm_page flags.
1995-01-10 09:19:52 +00:00
David Greenman 480dff540b Fixed some formatting weirdness that I overlooked in the previous commit. 1995-01-10 07:32:52 +00:00
David Greenman 39b3568a26 Added 'pages in VM cache' statistic. 1995-01-10 05:52:59 +00:00
Paul Richards ba1efeeea4 Place the cursor better on buttons.
Stop field display attributes getting clobbered.
1995-01-10 04:10:55 +00:00
Paul Richards 7f8bb70cff New forms library. This provides some basic functions for writing
input forms. It has the following simple fields:

Text fields: Just titles, labels etc.

Input fields: An editable text field that may or may not have an
initial default value.

Labelled input field: This is an input field that has an initial
informative entry in it but it vanishes when you start editing the
field.

Toggle fields: These are fields with a pre-defined list of options
which you cycle through using the space bar.

Action fields: These are button type fields that call functions when
they are selected.

A simple demo is included in examples.
1995-01-10 04:00:37 +00:00
Bruce Evans fa724216f5 Always build libkern_p.a. `NOPROFILE' should only control user libraries. 1995-01-10 01:57:56 +00:00
Bruce Evans 12981249c8 Remove excessive argc checking. It was impossible to set `dtrwait' and
and `drainwait' in a single command.
1995-01-10 01:42:24 +00:00
Paul Richards f5c4a27846 Fix a bug with handling backslash escapes inside some quotes.
Should solve our problems with edit-pr.
1995-01-09 20:00:54 +00:00
Joerg Wunsch b324392f6b fix for: kern/97: wt DELAY patch
Wangtek PC-02 QIC-02 controller with Cipher 150MB tape drive

        Any attemp to open /dev/rwt0 hangs.

        The following patch to /sys/i386/isa/wt.c is derived from Mikael
Hybsch's wt driver.

Submitted by:	Terry Lee <[email protected]>
1995-01-09 17:55:10 +00:00
Joerg Wunsch 2563fac568 I think someone has already talk about it but I just got bitten again :
perl setuid scripts don't work in 2.1-current for the same reason they were
not working in 1.1.5.1.

Perl 5 has the same "problem" of course.

We have almost POSIX saved uids but  we must undefine the following symbols
in order to get setuid perl scripts :

Submitted by:	[email protected] (Ollivier Robert)
1995-01-09 17:52:25 +00:00
David Greenman 0d94caffca These changes embody the support of the fully coherent merged VM buffer cache,
much higher filesystem I/O performance, and much better paging performance. It
represents the culmination of over 6 months of R&D.

The majority of the merged VM/cache work is by John Dyson.

The following highlights the most significant changes. Additionally, there are
(mostly minor) changes to the various filesystem modules (nfs, msdosfs, etc) to
support the new VM/buffer scheme.

vfs_bio.c:
Significant rewrite of most of vfs_bio to support the merged VM buffer cache
scheme.  The scheme is almost fully compatible with the old filesystem
interface.  Significant improvement in the number of opportunities for write
clustering.

vfs_cluster.c, vfs_subr.c
Upgrade and performance enhancements in vfs layer code to support merged
VM/buffer cache.  Fixup of vfs_cluster to eliminate the bogus pagemove stuff.

vm_object.c:
Yet more improvements in the collapse code.  Elimination of some windows that
can cause list corruption.

vm_pageout.c:
Fixed it, it really works better now.  Somehow in 2.0, some "enhancements"
broke the code.  This code has been reworked from the ground-up.

vm_fault.c, vm_page.c, pmap.c, vm_object.c
Support for small-block filesystems with merged VM/buffer cache scheme.

pmap.c vm_map.c
Dynamic kernel VM size, now we dont have to pre-allocate excessive numbers of
kernel PTs.

vm_glue.c
Much simpler and more effective swapping code.  No more gratuitous swapping.

proc.h
Fixed the problem that the p_lock flag was not being cleared on a fork.

swap_pager.c, vnode_pager.c
Removal of old vfs_bio cruft to support the past pseudo-coherency.  Now the
code doesn't need it anymore.

machdep.c
Changes to better support the parameter values for the merged VM/buffer cache
scheme.

machdep.c, kern_exec.c, vm_glue.c
Implemented a seperate submap for temporary exec string space and another one
to contain process upages. This eliminates all map fragmentation problems
that previously existed.

ffs_inode.c, ufs_inode.c, ufs_readwrite.c
Changes for merged VM/buffer cache.  Add "bypass" support for sneaking in on
busy buffers.

Submitted by:	John Dyson and David Greenman
1995-01-09 16:06:02 +00:00
Jordan K. Hubbard bf8af43789 Fix botched URL for Thailand. 1995-01-09 14:41:13 +00:00
Jordan K. Hubbard 5e65101c41 Fix a messed-up URL. 1995-01-09 14:30:42 +00:00
Jordan K. Hubbard 716831f5f4 Add a MIN macro. 1995-01-09 11:38:40 +00:00
Jordan K. Hubbard 0817ade904 Correct some of the english. 1995-01-09 11:32:01 +00:00
Jordan K. Hubbard 8f1133e6ec Wolfram Schneider <[email protected]>:
o manpage
	o save configuration in /etc/adduser.conf
	o send message file (/etc/adduser.message)
Submitted by:	woschcs.tu-berlin.de
1995-01-09 11:26:31 +00:00
Poul-Henning Kamp 5b568d88bb cdev #50 -> pcmcia 1995-01-09 09:36:48 +00:00
David Greenman 96bccfd8b2 Fixed two bugs: some malloced space wasn't freed after it was no longer
needed and the file wasn't closed when the -t option was used.
Originally by [email protected], but were incomplete.

Submitted by:	[email protected] and myself
1995-01-09 05:59:04 +00:00
David Greenman cfc22f9026 Old fix from Robert Crowe <[email protected]> that has been sitting in
my mailbox since early last year. Fixes a problem with running out of
fds (by hitting the limit or whatever) when ar is given a long list of
objects. The fix was to add a missing close().

Submitted by:	Robert Crowe <[email protected]>
1995-01-09 04:50:30 +00:00
Paul Richards 10824ac8f3 Added a ports category to the list. 1995-01-08 21:38:12 +00:00
Joerg Wunsch 931e501097 Use the "-F" option to /bin/pr now that we have it (thanks to Posix).
This helps for printers that tend to get out of sync.  (For the
cautious folks: we used to have it in 1.1.5, too.  But GNU pr used
"-f" for it.)
1995-01-08 18:01:11 +00:00
Peter Dufault 04bcc6f58b Ensured all files have copyright and RCS ID variable. 1995-01-08 15:56:10 +00:00
Andreas Schulz c9082578fa Submitted by: Gerd Truschinski
Removed one semicolon, two are one to much :-). Found by the hc860 compiler
and Gerd Truschinski 8-).
1995-01-08 15:13:40 +00:00
Peter Dufault f948427e16 Added ssc device 1995-01-08 13:42:19 +00:00
Peter Dufault 081964045f Added residual length for 1542C only 1995-01-08 13:41:28 +00:00
Peter Dufault e8831d3712 added ssc device 1995-01-08 13:40:31 +00:00
Peter Dufault 832ac3cac7 Added "change address" ioctl for ssc device. 1995-01-08 13:39:46 +00:00
Peter Dufault 7562b0d606 Reviewed by: [email protected]
Reenabled "SCIOCOMAND" ioctl.
Restructured so low level drivers can easily request retries.
Added preliminary fixed SCSI devices (should be revisited before 2.1)
Added "ssc" device that can have its' (HBA, ID, LUN) set via ioctl.
1995-01-08 13:38:38 +00:00
Jordan K. Hubbard 9b37088687 Add ftp.dataplex.net to USA mirrors. 1995-01-08 12:18:50 +00:00
David Greenman f7c9e2441f Restored Herb's current copyright. The one in the file appeared to have
been run through indent and additionally doesn't contain clauses 3 and 4
that were apparantly added sometime after the driver was put into FreeBSD.
1995-01-08 10:47:23 +00:00
Andreas Schulz ddfdef1374 Submitted by: Steve Gerakines
Delete some parts of the ultra 24F tests for the controller, so that
it now accepts a broader range.
1995-01-07 23:23:40 +00:00
Jordan K. Hubbard f677a957bf Fix indenting of gsc entry, reserve 48 for cyclades. 1995-01-07 23:20:08 +00:00
Jordan K. Hubbard 647186bcc7 Add Korea mirror 1995-01-07 22:55:12 +00:00
Jordan K. Hubbard 3e533186fc Add Korean site to mirror lists. 1995-01-07 22:53:41 +00:00
Andreas Schulz a9700525d8 Work around a compiler bug in gcc2.6.3 in handling (long long) variables and
shifting. Also correct the original code as Garrett noticed it in mail.
Leave the mishandled code in to use it later if future versions of gcc
are correct. The code was part of the calibrate_cyclecounter routine to
get the speed of the pentium chip.
1995-01-07 17:26:35 +00:00
Andrey A. Chernov 82c1981ce5 Back out prev fix, now fixed in bsd.info.mk 1995-01-07 16:42:39 +00:00
Andrey A. Chernov e9474ecf20 Use .MAIN: all 1995-01-07 16:39:38 +00:00
Jordan K. Hubbard 2f6df2645b Gunther Schadow <[email protected]>'s
driver for the Genius GS-4500 hand scanner.
Submitted by:	[email protected]
1995-01-07 14:52:08 +00:00
Jordan K. Hubbard 349257ffa6 sgsc - utility to control the Genius GS-4500 scanner.
Submitted by:	[email protected]
1995-01-07 14:17:22 +00:00
Jordan K. Hubbard 4ca969939b 1. Add bump release number nag to start of release rule. Thx to Philippe
for suggestion!
2. Add Thailand to list of mirrors.
1995-01-07 11:09:50 +00:00
David Greenman d8e5ab9731 Got rid of unused nclist declaration. 1995-01-07 06:08:15 +00:00
Jordan K. Hubbard deaa72ee2f Fix name of uni-duisberg site. 1995-01-07 03:58:22 +00:00
Andrey A. Chernov ca6887fcae Fix "make" vs "make all" 1995-01-07 01:08:54 +00:00
Andrey A. Chernov 10d65ca957 Move pre-extract target inside COOKIE
Add checksum check for extract, if checksum file present
1995-01-06 22:14:12 +00:00
Andrey A. Chernov 8458a20f14 Remove regex code, use -lgnuregex instead 1995-01-06 21:26:39 +00:00
Gary Palmer a20eb78506 Add information about the checksumming system in ports
Reviewed by:	jkh
1995-01-06 19:24:13 +00:00
Joerg Wunsch dc5df763e4 Peter's work to work around one of the most annoying bugs in the
floppy driver (or in the hardware?).  It turned out to be caused by
spurious interrupts, right after an FDC reset.

Also major cleanup in the low-level structure, there are now functions
performing error-checks for the FDC I/O.

Submitted by:	(mostly) Peter Dufault <[email protected]>
1995-01-06 15:20:00 +00:00
Bruce Evans 123bcf5fda Fix scaling for TIOCM[SG]DTRWAIT to work when hz != 100.
Bruce
1995-01-06 15:03:41 +00:00
Bruce Evans 4c5e4b09a7 Fix error handling for new TIOCSDRAINWAIT ioctl. 1995-01-06 14:56:42 +00:00
Bruce Evans e15532385d Handle segment registers (except %fs and %gs). 1995-01-06 14:52:06 +00:00
Stefan Eßer 623976474c Submitted by: Wolfgang Stanglmeier <[email protected]>
Reviewed by: <wollman>
First hooks and defines for the ISDN driver,
that soon will see the light ...
1995-01-05 19:51:51 +00:00
Justin T. Gibbs ff2e6a8b6f Add VNINACT flag. LFS has a habbit of skipping the ufs_inactive procedure.
It used to do this by setting a global <Yuck>.  Now we set th VNINACT
flag in the vnode to force a skip of ufs_inactive.

Sorry for missing this file in my last commit folks.

Index: vnode.h
===================================================================
RCS file: /usr/cvs/src/sys/sys/vnode.h,v
retrieving revision 1.14
diff -c -r1.14 vnode.h
*** 1.14	1994/11/14 13:51:53
--- vnode.h	1994/12/03 01:06:27
***************
*** 116,121 ****
--- 116,122 ----
  #define	VALIASED	0x0800	/* vnode has an alias */
  #define	VDIROP		0x1000	/* LFS: vnode is involved in a directory op */
  #define VVMIO		0x2000	/* VMIO flag */
+ #define VNINACT		0x4000  /* LFS: skip ufs_inactive() in lfs_vunref */

  /*
   * Vnode attributes.  A field value of VNOVAL represents a field whose value
1995-01-05 16:22:17 +00:00
Søren Schmidt ac2c528771 Added fr.sio.kbd. 1995-01-05 14:09:00 +00:00
Jordan K. Hubbard c090e04591 Whoops! How embarassing. Just now noticed that I forget to update the .Os
lines.  Done.
1995-01-05 10:37:13 +00:00
Jordan K. Hubbard 3852eb465e Fix a bad formatting directive. 1995-01-05 10:31:42 +00:00
Jordan K. Hubbard 8b47e5f5f6 Fix misleading typo in description of @unexec. 1995-01-05 10:22:51 +00:00
David Greenman 5b1ae1f88e Removed daily rm'ing of files in /tmp, /var/tmp, and /scratch. There is no
safe way to do this, and envites very unpleasant results. Removed fsck'ing
of all the disks on the system as it provides output that is almost always
meaningless and only envites bug reports.

Reviewed by:	Jordan Hubbard
1995-01-05 10:15:53 +00:00
Satoshi Asami d5ca901589 Sort out dependencies. Now they look like:
patch: extract
configure: depends patch
build: configure
install: build

Does this look ok?
1995-01-05 08:15:53 +00:00
Gary Clark II 52b3b3087b Convert PORTS.FAQ to ports.FAQ.
All "FAQ" items should be lowercase prefix and upcase FAQ suffix.
1995-01-05 07:27:00 +00:00
David Greenman 010cf3b9e3 Make sure that the object being collapsed doesn't go away on us...by
gaining extra references to it.

Submitted by:	John Dyson
Obtained from:
1995-01-05 04:30:40 +00:00
David Greenman f81dd52383 Initialize map start hint to vm_map_find()...not doing so will cause it
to fail if the random thing on the stack happens to be too large.

Submitted by:	David Jones <[email protected]>
1995-01-05 03:59:38 +00:00
Steven Wallace e86257e166 Change to
#define STANDARD_SEARCH_DIRS    "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib"
Like in 2.0R, except without /usr/X386.
1995-01-05 02:36:29 +00:00
Jordan K. Hubbard edf9e79525 Typo fix from Ollivier Robert.
Submitted by:	ollivier
1995-01-05 02:15:05 +00:00
Jordan K. Hubbard 333881d516 Rename check-md5 target to checksum.
Submitted by:	gpalmer
1995-01-05 01:46:05 +00:00
Steven Wallace 022402f2be Added new function show_index() which does a 'smart' display of the index file.
Index descriptions are limited to MAXINDEXSIZE (60) chars.  Any description
beyond that is truncated.  Also, only the first line is displayed as well.
This allows pkg_info -a -I to be formated in two columns with one line
per package for easy reading.

Reviewed by:	jkh
1995-01-05 01:10:13 +00:00
Andrey A. Chernov b49d97b636 Add drainwait option examples 1995-01-05 00:11:52 +00:00
Andrey A. Chernov b0e399e3c4 Fight agaist hanging modems: add new drainwait option.
Reviewed by: Bruce
1995-01-05 00:03:06 +00:00
Andrey A. Chernov 33c38bd574 Fight against hanging modems: add timeout to ttywait.
Reviewed by: Bruce
1995-01-05 00:01:07 +00:00
Justin T. Gibbs b77430dcb0 Remove -DDIAGNOSTIC in makefile. The DIAGNOSTIC code is severly broken and
will change if I have more time to look at it.  Keep at least 5 segments
cleaned if possible (instead of 2 which is a bare minimum for FS operation).
1995-01-04 23:54:06 +00:00
Justin T. Gibbs 7c49ab48fa Honor the values for bsize, fsize and bps from the disklabel. 1995-01-04 23:50:30 +00:00
Justin T. Gibbs ca4693ed4b Allow for the specification of bsize, fsize, and bps (blocks per segment)
for LFS filesystems.
1995-01-04 23:49:51 +00:00
Justin T. Gibbs 61acca9f2f Change panic messges that are ffs_blah functions to say they are ffs not
ufs functions.
1995-01-04 23:48:04 +00:00
Justin T. Gibbs 1a451e33ef LFS stability patches. There is still a problem with directory update
ordering that can prove fatal during large batches of deletes, but this
is much better than it was.  I probably won't be putting much more time
into this until Seltzer releases her new version of LFS which has
fragment support.  This should be availible just before USENIX.
1995-01-04 23:46:34 +00:00
Jordan K. Hubbard e5d85be85c Gary Palmer's patches for checksumming and description.
Submitted by:	gpalmer
1995-01-04 23:06:38 +00:00
Andreas Schulz 86c7d89044 Submitted by: Ollivier ROBERT
Wrong description where the printer socket lives. Changed from /dev/printer
to /var/run/printer. Bug report submitted by Ollivier ROBERT.
1995-01-04 22:55:00 +00:00
Andrey A. Chernov 8558dc3f69 Fix BINMODE to override sys.mk defaults 1995-01-04 22:43:52 +00:00
Andrey A. Chernov 00e87e70d1 Add readline/doc to SUBDIR 1995-01-04 22:38:51 +00:00
Andrey A. Chernov b4289364f2 Remove INSTALL, now into sys.mk 1995-01-04 22:32:40 +00:00
Andrey A. Chernov 9c596ee78f Fix format error 1995-01-04 22:21:06 +00:00
Andrey A. Chernov 687af2f4b8 Add dependances 1995-01-04 22:19:34 +00:00
Andrey A. Chernov 6f2b954ba5 Install infopages 1995-01-04 22:16:14 +00:00
Andrey A. Chernov 4b99b57547 Fix building of target with multiply sources 1995-01-04 22:01:58 +00:00
Andrey A. Chernov 69234255f2 Fix error in clean target 1995-01-04 21:34:13 +00:00
Andrey A. Chernov 0133d0c591 Much improved variant 1995-01-04 21:29:32 +00:00
David Greenman 53cdbe34f1 Made a few cosmetic changes, and fixed a bug in handling the case of the
remote DMA not completing correctly (the packet was still queued for xmit).
1995-01-04 21:10:17 +00:00
David Greenman b5ba45f6f3 Corrected the list of volatile registers for outsb, outsw, and outsl.
This bug caused my ethernet driver to break, among other things no doubt.
1995-01-04 20:42:25 +00:00
Paul Traina e228c81074 Fix the GUS driver so that it will initialize properly from power-on...
no more DOS boots to start it up.

Simply did a localized nuke of the OUTB macro in this file.  This is
a kludge, since it seems it may actually be necessary in other GUS
files (tbd).

Thanks to: Amancio Hasty & Ken Hornstein
1995-01-04 20:07:27 +00:00
Andrey A. Chernov bf9b664faa Add missing "noflush" option from standard rogue 1995-01-04 17:49:28 +00:00
Jordan K. Hubbard 2511bc4a15 Put depends before configure. No reason that I can see for putting it after,
and it breaks mule the way it is now.
1995-01-04 09:58:39 +00:00
Jordan K. Hubbard bb3c97bf74 Some of the doc here was less than adequately fleshed-out. Make some
feeble attempt to do so.
1995-01-04 08:30:33 +00:00
Jordan K. Hubbard 46911034c3 Add section 11 detailing new `describe' target. 1995-01-04 07:38:40 +00:00
Jordan K. Hubbard ad2a7583d6 Document describe target. 1995-01-04 07:35:46 +00:00
Jordan K. Hubbard 4e26ad2e2c 1. Add Thailand mirror.
2. Orthogonalize this thing to just use the basename.  It was a mixture of
   2.0-RELEASE and -current before, and it was just confusing.
1995-01-04 07:23:47 +00:00
Andrey A. Chernov 4c1a09c6d5 More info about UUCP 1995-01-04 01:53:38 +00:00
Jordan K. Hubbard 8829c73eb6 Add Sean Eric Fagan's support for a ~/.nofinger file for user who prefer
their privacy.
Submitted by:	sef
1995-01-04 01:02:43 +00:00
Jordan K. Hubbard 7c81f71c9c The ports collection FAQ.
Submitted by:	gpalmer & jkh
1995-01-04 00:43:35 +00:00
Jordan K. Hubbard f8c034f997 Updates from Peter da Silva to match the recent syslogd changes.
Submitted by:	pds
1995-01-04 00:40:38 +00:00
Nate Williams 65b94a0d72 Added new lib-tools target used in make world which rebuilds and
installs 'ar', 'nm', and 'ranlib' to avoid bootstrapping problems from
the old utils which don't support the long archive names.
1995-01-03 22:03:25 +00:00
Andrey A. Chernov de2b08724b Add 'news' user, present in group, but missed in master.passwd 1995-01-03 21:02:01 +00:00
Andrey A. Chernov 09b61a7a70 Upgrade 1995-01-03 17:25:13 +00:00
Andrey A. Chernov 8384611bea Merge 1995-01-03 17:22:35 +00:00
Andrey A. Chernov 69bee0e6f2 Upgrade 1995-01-03 17:18:21 +00:00
Andrey A. Chernov 07f055ac21 This commit was generated by cvs2svn to compensate for changes in r5360,
which included commits to RCS files with non-trunk default branches.
1995-01-03 17:18:21 +00:00
Bruce Evans f73f117cf0 Don't allow negative console numbers for the VT_WAITACTIVE ioctl. Use the
correct console number for the VT_WAITACTIVE ioctl.  Invalid console numbers
caused waiting on an invalid pointer.

Use bcopyw() instead of move_up() and move_down().  bcopyw() handles
overlapped copies and should be faster.  Actually use bcopy().  bcopy()
is slightly faster if video memory is 16-bit and about twice as fast if
it is 32-bit.  bcopy() is said to fail on someGA's, but syscons already
depends on it working for other accesses to video memory.
1995-01-03 16:56:05 +00:00
Gary Clark II 94b35ceafb Add Id tags to all FAQs. 1995-01-03 15:54:08 +00:00
Gary Clark II 0772155343 Begin reorg of FAQ directory. 1995-01-03 15:48:52 +00:00
Andrey A. Chernov 091611b3ab Remove adduser.conf & userids, not needed with new adduser 1995-01-03 12:02:05 +00:00
Jordan K. Hubbard c723fc3fc8 Add describe target support. 1995-01-03 11:52:01 +00:00
Jordan K. Hubbard 5cc75e1e12 Update adduser to version by Wolfram Schneider. Sorry, Gary, but his
adduser is a Cadillac to your Volkswagen.. :-)
Submitted by:	[email protected]
1995-01-03 09:46:14 +00:00
Jordan K. Hubbard c4cab716b9 From Gene Stark:
If nd->swap_nblks is zero in nfs_mountroot(), then the system
       comes up without initializing swapdev_vp to an actual vnode pointer.
       The swap pager assumes a non-NULL value for swapdev_vp.

       The fix is to try initializing local swap if no NFS swap space
       is specified.
1995-01-03 07:44:10 +00:00
Bruce Evans b57826604c Install bsd.info.mk. 1995-01-03 06:32:10 +00:00
Bruce Evans 37e52b59cc Use sufficient parentheses in macros.
Remove bogus input operands for fnsave(), fnstcw() and fnstsw().

Change all fwait's to fnop's.  This might help avoid hardware bugs.
Wait after fninit with an fnop.  This should be safer now.

Fix some spelling and formatting errors.

Use natural sizes for control and status words (u_short, promotes to int).

Don't clobber the SWI_CLOCK_MASK bits in npx0_imask when using IRQ13.

Set the devconf state correctly (always busy, if configured).  Improve
code for npx_registerdev() a little (gcc can't keep id->id_unit in a
register for some reason).  Don't register a nonexistent npx device.

Print a useful message in npxattach() again (delete references to errors
and not the whole message).  Don't print "387 emulator" if there is no
emulator in the kernel.

Use %p for pointers in error messages.

Don't clobber the FPU state when there is an FPU exception.  Just clear
the exception flags (after saving the flags as before).  This allows
debuggers and SIGFPE handlers to look at the full exception state.
SIGFPE handlers should normally return via longjmp(), which restores a
good FPU state (as before).  Returning from a SIGFPE handler may leave
the FPU in the wrong state (as before).

Clear the busy latch _after_ clearing the exception flags so that there
is less chance of getting a bogus h/w interrupt for a control operation.

Clear the saved exception status word when the next FPU instruction is
excuted so that it doesn't stick around until the next exception.

Clear the busy latch after fnsave() in npxsave() in case it was set when
npxsave() was called.
1995-01-03 04:00:06 +00:00
Bruce Evans d5ebbddc5e Replace sv_ex_tw by padding (it is no longer used; the tag word in sv_env
is valid).

Expand comment about bogus padding for emulators.

Update prototpe for npxinit().
1995-01-03 03:57:46 +00:00
Rodney W. Grimes 8546c86b55 Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile. 1995-01-03 02:57:53 +00:00
Andreas Schulz 832f3afd12 Submitted by: Ben Jackson
just a missing newline in a kernel printf added.
1995-01-02 22:56:00 +00:00
Søren Schmidt 0e12ebca48 Syscons keymap file for french keyborad layout.
Submitted by:	Ollivier Robert
1995-01-02 13:09:36 +00:00
Bruce Evans 0a51c0612a Use new bsd.info.mk to avoid local rules and fix bugs in all' and depend'
targets.
1995-01-02 12:28:56 +00:00
Bruce Evans 71e8daee66 A generalized version of revision 1.1 of gnu/libnexex/uucp/doc/Makefile.
Fixes bugs in the latter: the `all' target was never up to date; there
was no `depend' target.  Doesn't work for multiple info files because
it leverages bsd.doc.mk and that is broken.  Info should be installed
more like man pages...
1995-01-02 12:12:00 +00:00
Joerg Wunsch 08e9e0741b The -N option takes one argument, hence the getopt control string
needs to have a colon for it.  Looks like nobody has tested this
so far.
1995-01-02 12:08:06 +00:00
Joerg Wunsch e02a6ccb4e Heavily re-worked.
Updated to 2.0 .

Included sections about how to use DDB, post-mortem analysis of
a kernel crash where you didn't anticipate it and therefore
didn't config -g it.  Added a real-world example of a kgdb session.
1995-01-02 12:01:59 +00:00
Andreas Schulz 5cf1ec501a Correct the usage of the maxmaxcode so that compress -b 12 works again.
Thanks to Dave Rivers for reporting that problem.
1995-01-02 10:04:02 +00:00
Andrey A. Chernov 8abfb51a90 Add doc to subdirs 1995-01-01 21:58:01 +00:00
Andrey A. Chernov c987ec8ecd Install info pages now 1995-01-01 21:55:23 +00:00
Bruce Evans 85ae1cf1dc Remove `MKDEP= -p'. Now I know why lkm compiled so fast after headers
are changed.
1995-01-01 21:11:55 +00:00
Rodney W. Grimes 1f2cdfec28 Add missing ${DESTDIR} so that the library ends up in a release.
Remove mkdir -p, this is handled by make hierarchy.
Add NOOBJ= to override obj: target, and remove local obj: target.
1995-01-01 20:30:56 +00:00
Andrey A. Chernov c9c9b4072b Preset ac_cv_path_CC="${CC}" before running ./configure,
needed for Autoconf 2
1995-01-01 20:06:20 +00:00
Bruce Evans 9fb166971e Change adduser to adding_user in Makefile too.
I hate cvs's (nonexistent) handling of name changes
`cvs log adding_user.8' fails to show any relation to adduser.8...
1995-01-01 17:31:01 +00:00
Bruce Evans 47bcf800c3 Fix previous commit. Installing links to manpages without installing
manpages is not completely trivial.

Please don't commit untested changes.
1995-01-01 17:21:09 +00:00
Bruce Evans 2e8e965294 Fix previous commit. 1995-01-01 17:14:45 +00:00
David Greenman 84bcd8659a Possible fix for NE2000 problems...the remote byte count wasn't word
aligned even though the transfers are 16bit.
1995-01-01 06:38:14 +00:00
David Greenman c38c2f7f9b Get rid of unused variable. 1995-01-01 03:54:34 +00:00
Andrey A. Chernov 8c57ee9a12 Move BSD adduser manpage (procedure description) to adding_user.8
to not confuse with adduser.8 command
1994-12-31 22:53:41 +00:00
Gary Clark II b6490eb503 Add mlinks for man page
Reviewed by:
Submitted by:
Obtained from:
1994-12-31 21:10:46 +00:00
Andreas Schulz d3287e7c11 Change the errors in the XT_KEYBOARD patch. red in the face. Thanks Bruce. 1994-12-31 20:34:19 +00:00
Justin T. Gibbs 53a69701bc Handle both channels of Twin channeled devices. Respect the configuration
values for syncronous negotiation.  The 284x series adaptors can now be
supported without the Bios being enabled.  If you disable the Bios on the
274x series adaptors, all configuration parameters revert to the default
since there is no way to retrieve them.
1994-12-31 19:31:56 +00:00
Justin T. Gibbs 58e4304e3d Handle the aic7770 driver's dependancies correctly.
YOU MUST REBUILD CONFIG.
1994-12-31 19:27:29 +00:00
Justin T. Gibbs 8ff1d93efb Update the sequencer code to handle both channels of Twin channel devices.
You can now sling 14 devices off of a 274xT.  In the process of adding
twin channel support, I removed all evident restrictions on supporting
Wide channeled devices, but I do not have a Wide controller to test them
on.

aic7770_seq.h, the pre-compiled header, is no longer needed since config
handles this dependancy.
1994-12-31 19:26:54 +00:00
Justin T. Gibbs 528486881b Allow config to fully handle the aic7770 driver dependancies. 1994-12-31 19:23:10 +00:00
Andreas Schulz 02cb5cc4bf Add the sys/types.h include to the necessary documented includes for the
getrusage call.
1994-12-31 18:50:57 +00:00
Jordan K. Hubbard 00ed485bc4 Really provide support for 3COM cards now.
Submitted by:	wpaul
1994-12-31 17:16:50 +00:00
Jordan K. Hubbard 95da7f140e Another part of Bill Paul's fix to swapgeneric to properly use the -a flag.
Submitted by:	wpaul
1994-12-31 17:15:16 +00:00
Jordan K. Hubbard dd4a485085 From Bill Paul:
- /sys/i386/i386/swapgeneric.c is just plain broke. But fear not, for I
  have unbroken it. One thing that swapgeneric.c does is walk through the
  list of configured devices searching for a boot device. The only easy
  way to accomplish this in 2.0 is to use Garret Wollman's kern_devconf
  stuff. *BUT*, the head of the kern_devconf linked list (dc_list) is declared
  static in /sys/kern/kern_devconf.c. This means that swapgeneric.c can't
  see it at link time. I had to remove the 'static' keyword to get around
  this little problem. I hope this doesn't break anything anywhere.

  *Furthermore,* there's a small matter of making the call to setconf()
  in swapgeneric.c disappear when 'config kernel swap generic' isn't used.
  You could change /sbin/config to create a dummy setconf() function in
  swapkernel.c, but that seems messy somehow. (It's also someting of an
  'it isn't broken, why are you fixing it' situation.) My solution was to
  do what the NetBSD people did and put an #ifdef GENERIC around the call
  to setconf(). If your kernel is called GENERIC or you define 'options
  GENERIC,' then you can use 'config kernel swap generic' and it'll work.

  That aside, the upshot is that: a) swapgeneric.c actually works, and
  and b) the -a boot flag now works as well. If you boot with -a, as in
  "Boot: wd(0,a)/kernel -a" you will be presented with a 'root device?'
  prompt after the autoconfig phase, at which point you can specify what
  device you want mounted as root. Regrettably, you can't specify an NFS
  filesystem. Yet. Three files are affected: /sys/i386/i386/swapgeneric.c,
  /sys/i386/i386/autoconf.c and /sys/kern/kern_devconf.c.

Submitted by:	wpaul
1994-12-31 17:11:59 +00:00
Jordan K. Hubbard 63c5d14d1b Miscellaneous changes from Bill Paul:
- /sys/i386/isa/if_ed.c doesn't quite know how to deal with SMC EtherEZ
  ethernet cards. The EtherEZ looks just like the Elite Ultra, except it
  has only 8K of shared memory. The only way to have it properly detected
  is to zero and test a few bytes of memory just about the first 8K region.
  If it clears properly, it's an Elite Ultra, otherwise it's an EtherEZ.

  I've also got an EtherEZ patch for netboot (Makefile, ether.c and ether.h).

- /sys/i386/isa/syscons.c wraps at the next to the last column rather than
  the last column, like it should. You don't really notice this unless you
  use certain programs that write all the way out to, say, the 80th column,
  like VMSmail. Along with a one-line fix for this are some changes to
  implement a non-blinking cursor. Put 'options "NOBLINK_CURSOR"' in your
  config file and give it a try. :)

Submitted by:	wpaul
1994-12-31 17:09:58 +00:00
Bruce Evans 19bc776351 Add more segment registers to list of registers (fake for %fs and %gs).
This might be useful for debugging applications that use a special LDT.
However, printing of all segment registers is currently broken.

Don't print "last exception: " before the FPU opcode and pc, etc.  The
opcode and pc, etc., are for the last FPU _instruction_.

Pass the saved exception status word to print_387_status() so that the
exception(s) that caused or will cause a trap can be seen.  The kernel
has supported this since 1.1 or before.  The kernel still clobbers the
tag word if a trap occurs.

Remove unused null function clear_regs().
1994-12-31 17:00:09 +00:00
Bruce Evans ccd05d4df4 Fix declaration of i386_float_info(). 1994-12-31 16:56:43 +00:00
Bruce Evans 9d1e3dc7d8 Restore our local changes which were clobbered by the previous commit.
cvs is not being used effectively for gdb.  Our old changes get clobbered
and our new changes are mixed with "vendor" changes in the same updates
so they will be difficult to untangle for the next release of gdb.  The
revision logs get spammed for each release of gdb.
1994-12-31 16:34:59 +00:00
Bruce Evans fcb54b3ee0 Hide yet another redefinition of PAGE_SIZE. Cosmetic. 1994-12-31 16:16:27 +00:00
Bruce Evans bdeaa9bbc3 Restore our (cosmetic) local changes which were clobbered by the previous
commit (do them slightly differently).
1994-12-31 16:14:13 +00:00
Jordan K. Hubbard 86dccd9394 From: Luigi Rizzo <[email protected]>
Would you please commit this two-line patch to /sys/i386/isa/b004.c
(the Transputer driver) so that it at least compiles under 2.x
Haven't tried if the driver is working properly, but a kernel with
compiled-in driver has been running for two days now with no apparent
problems.
Submitted by:	luigi
1994-12-31 12:32:59 +00:00
Andrey A. Chernov 3006712148 Reflects $HOME dir handling 1994-12-31 12:32:01 +00:00
Andrey A. Chernov 16e544e7a1 Fix problem when attached process detached
Submitted by: Gary Jennejohn
1994-12-31 12:26:50 +00:00
Andrey A. Chernov 31e98e3f62 Fix for two problems:
Calendar not cd $HOME when running by user
Calendar calls cpp with # lines allowed
1994-12-31 12:15:27 +00:00
Andrey A. Chernov eaa803797b Remove direct keypad 5 to \E[E remapping, unnecessary now 1994-12-31 11:52:50 +00:00
Andrey A. Chernov 48897b90ef Changes to allow keypad 5 produce \E[E like SCO/ANSI term does 1994-12-31 11:49:12 +00:00
Andrey A. Chernov 1af33e5a7a Changes to allow keypad 5 produce \E[E like SCO/ANSI term does 1994-12-31 11:38:39 +00:00
Andrey A. Chernov f4221a73c3 Change ${COPY} to -c, always needed here 1994-12-31 11:13:52 +00:00
Andrey A. Chernov 71d5664cdc Change ${COPY} to -c, always needed here
Remove manpage reference to BSD adduser, add pwd_mkdb reference
1994-12-31 11:12:35 +00:00
Jordan K. Hubbard 31455121d5 Fix:
>Number:         86
>Category:       misc
>Synopsis:       fixit.conf missing srcdir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    core (FreeBSD core team)

From John Capo.
Submitted by:	jcapo
1994-12-31 05:36:40 +00:00
Jordan K. Hubbard 669fbfeff8 Add seagate driver manpage from Serge Vakulenko ([email protected]) .
Submitted by:	serge
1994-12-31 05:33:56 +00:00
Jordan K. Hubbard 10bfdf2bae From: "Serge V.Vakulenko" <[email protected]>
This is new version of Seagate ST01/02, Future Domain TMC-885, TMC-950
SCSI driver for FreeBSD.  I started from the 2.0R version and mostly
rewrote it.  New features are:

1) New probe algorithm.  Old driver read the BIOS region of the adapter
   memory and find the copyright string.  The problem was in the BIOS itself:
   it conflicted with IDE disks.  The solution was to unplug it and
   make the probe algorithm to work without it.
2) Proper timeout handling in numerous places where the driver
   polls waiting for some event.
3) Assembler flagments added in critical places, mostly for data transfer
   to of from the target.  It was possible to make it faster,
   but at the price of decreasing reliability.
4) Target-dependent delays when waiting for REQ deassert event.
   Some devices seem to be slower (CD-ROMS, some tape drives),
   and some seem to be too fast (disks).  The driver tests the REQ
   deassert timeout for each target and then uses it for polling.
5) Device flags added for SCSI parity control and sense request
   priority control.
6) Generic cleanup, after which the driver became much more readable
   (at least by me:).
7) Target data parity error logging is limited to avoid log file overflow.
8) Manual page added.

Submitted by:	serge
1994-12-31 05:31:48 +00:00
Jordan K. Hubbard 556751c1e8 Add David River's patch fix to use the passed in number of bits (-b <n>)
properly.
Submitted by:	rivers
1994-12-31 04:40:52 +00:00
Jordan K. Hubbard 3c8ea7601e Bring in the files added by Gary Jennejohn's gdb update.
Submitted by:	gj
1994-12-30 23:33:10 +00:00
Jordan K. Hubbard 01db5e69c1 Hurrah! Let the champagne flow, the olive oil barrel be opened and
the wild, slippery orgy commence!

Gary Jennejohn, too studly for his own good, has finally come through with
the new, improved gdb 4.13.  This gdb features:

o	kgdb support - if this works (and I urge folks to test it), we can
	finally purge the old and hateful version of kgdb from our source
	tree.

o	attach/detach support.  See comments in README.FreeBSD for more
	details.

o	Well, it's newer.  Our previous version was 4.11.

Comments and flames to gj, of course! :-)

Thanks, Gary.  Much appreciated.  The previous state of gdb/kgdb has been a
thorn in all of our sides for some time..
Submitted by:	gj
1994-12-30 23:27:33 +00:00
Jordan K. Hubbard 2558753d2e Tweak the man page too. 1994-12-30 22:51:33 +00:00
Jordan K. Hubbard a309172130 From: Wankle Rotary Engine <[email protected]>
- The -a flag now works just as it does in SunOS: '-a' is actually
  handled like a wildcard for all interfaces. 'ifconfig -a' displays
  the status of all interfaces, 'ifconfig -a netmask 0xffffff00' sets
  the netmask of all interfaces, and so forth. I don't know if many
  people really need to be able to set the netmasks of all interfaces
  at once, but the SunOS ifconfig seems to allow this, so there you
  have it.

- An 'ether_status' function has been added to display the ethernet
  address of all ethernet interfaces. Again, as in SunOS, you must
  be root in order for this to work. The ethernet address is read
  from /dev/kmem using kvm_open() and kvm_read(), much in the same
  was as it's done with netstat. If you choose to install ifconfig
  set-gid kmem then normal users will be able to see the ethernet
  address as well, though this may not be desireable. This feature
  requires a small change to the ifconfig Makefile: you need to link
  with -lkvm in order to use the kvm_*() functions.

Submitted by:	wpaul
1994-12-30 22:42:41 +00:00
Andrey A. Chernov f3392428da Add check for writeable terminal
Submitted by: [email protected] (and slightly modified)
1994-12-30 16:09:31 +00:00
Andrey A. Chernov 54b77925ee Remove unneded kbdcontrol from SUBDIRS
Submitted by: [email protected]
1994-12-30 15:44:32 +00:00
Andrey A. Chernov 80aea1ca5e Cleanup. 1994-12-30 15:40:11 +00:00
Andrey A. Chernov 99e4807ade Remove extra targets per Bruce suggestion.
Use more macros instead of hardcoded things
1994-12-30 15:38:04 +00:00
Andrey A. Chernov 7ccdf7da4c Upgrade from new bash 1994-12-30 14:39:39 +00:00
Bruce Evans 7658fd20d7 Don't strip off the last slash in the pathname "/". cp used to
stat the pathname "" in order to decide that the pathname "/" is
a directory.  This caused `cp kernel /' to fail if the kernel has
the POSIX behaviour of not allowing the pathname "" to be an alias
for ".".  It presumably also caused `cp /etc/motd /' to fail in
the unlikely event that "." is not stat'able.

Be more careful about concatenating pathnames: don't check that
the pathname fits until prefixes have been discarded (the check
was too strict).  Print the final pathname in error messages.
Terminate the target directory name properly for error messages.
Don't add a slash between components if there is already a slash.
1994-12-30 13:12:12 +00:00
Bruce Evans 43469be308 icu.s:
Move definition of `stat_imask' to clock.c.

clock.c:
Rename `rtcmask' to `stat_imask' and export it.  Rename `clkmask' to
`clk_imask' for consistency.

Only calculate TIMER_DIV(hz) once.

Merge debugging and "garbage" code to produce debugging code and format the
output better.

Make writertc() static inline and use it everywhere.  Now all accesses to
the clock registers go through rtcin() and writertc().

Move rtc initialization to cpu_initclocks().

Merge enablertclock() with cpu_initclocks() and remove enablertclock().
The extra entry point was just a leftover from 1.1.5.
1994-12-30 12:43:35 +00:00
Bruce Evans 06ea59471c spl.h:
Don't calculate imask for splstatclock() every call.

Remove declaration of nonexistent variable `high_imask'.

Sort declarations of imasks and spl's.
1994-12-30 12:42:15 +00:00
Bruce Evans 62f603b64d Change an 0 to WHOLE_DISK_SLICE. 1994-12-30 12:19:11 +00:00
Bruce Evans 2336b9d7d7 Print "(null)" instead of "<null>" for NULL string args for consistency
with the libc and ddb printf's.

Print "(fmt null)\n" for NULL formats.
1994-12-30 12:17:42 +00:00
Andrey A. Chernov 33148aa5e7 Change man section 1994-12-30 12:15:39 +00:00
Andrey A. Chernov e3763702e6 Oops, rename adduser.sh to adduser.perl
Add empty clean and obj targets.
1994-12-30 12:13:08 +00:00
Andrey A. Chernov 4298bedc38 Yet one cleanup 1994-12-30 12:03:48 +00:00
Bruce Evans cac3ff6bba Avoid compiler warnings for overflow in ~(__LDPGSZ - 1). 1994-12-30 08:06:19 +00:00
Bruce Evans 1365ed99fb Clean up previous commits (format for 80 columns...). 1994-12-30 08:02:16 +00:00
Bruce Evans 7010a8abed Save 16 bytes of data by not explicitly initializing to 0. 1994-12-30 07:48:07 +00:00
Bruce Evans b367f6bf5f Fix everything. 1994-12-30 07:18:23 +00:00
David Greenman 73c2ab4621 Moved declaration of ifnet pointer out of the header file and into the
.c file where it belongs. Bezeroed some uninitialized malloc data.
1994-12-30 06:46:21 +00:00
David Greenman 5197faa894 Fix specification of octal constants.
Submitted by:	John Beukema <[email protected]>
1994-12-30 05:38:14 +00:00
Garrett Wollman d9dc765848 Extend syslogd to allow selection of log destinations by program.
Use getbootfile() to determine the kernel name.

Submitted by: Peter da Silva
1994-12-29 22:02:25 +00:00
Jordan K. Hubbard 71f82b4c91 Nuke out gratutious newlines. 1994-12-29 20:09:59 +00:00
Jordan K. Hubbard 21e19d0143 More changes to the FAQ, just to annoy Ollivier.. :-) 1994-12-29 16:42:10 +00:00
Gary Clark II c6fc9f62f9 Changed my copyright back. Too many problems with new one. 1994-12-28 17:27:21 +00:00
Andrey A. Chernov 19f1105992 Fix compiler warnings about tputs argument 1994-12-28 14:30:19 +00:00
Andrey A. Chernov f4c05c7fcb Fix bug with printing out short archive entries,
incorrect padding
1994-12-28 14:11:21 +00:00
Andrey A. Chernov b2c473eaec adduser added 1994-12-28 14:00:11 +00:00
Andrey A. Chernov 6e06f9d01b Add adduser.conf & userids 1994-12-28 13:54:06 +00:00
Andrey A. Chernov 7a9bf0aeb8 Fix configfile path 1994-12-28 13:49:55 +00:00
Andrey A. Chernov 36e94efd67 Move conf files to src/etc 1994-12-28 13:47:31 +00:00
Andrey A. Chernov 59f2357c5c Move adduser configuration files here 1994-12-28 13:45:47 +00:00
Andrey A. Chernov 0cd388e6aa Additional longname fix
Submitted by: [email protected]
1994-12-28 13:19:39 +00:00
Gary Clark II 0b102aed10 Add makefile for adduser.
Would a makefile guru please look this over to make sure I did this right?
1994-12-28 07:35:09 +00:00
Gary Clark II 4baf40c2ef Add Id strings 1994-12-28 07:11:29 +00:00
Gary Clark II 6f91ec858d Adding my adduser command. I only have to add a makefile for it to
be compleate.
1994-12-28 06:55:42 +00:00
David Greenman 8f5067ba28 Make printf() a bit more robust and allow NULL strings (print them as
"<null>"). It bad to have diagnostic printfs cause panics when they are
trying to tell you about another problem.
1994-12-28 06:28:34 +00:00
David Greenman be6a1d148e Fixed multiple bugs that cause null pointers to be followed or FREEed data
to be accessed if a process blocks when it is being run down.
1994-12-28 06:15:08 +00:00
Andrey A. Chernov 1974136822 Oops, forget "" for ${CC} and ${CFLAGS}... 1994-12-28 04:17:54 +00:00
Andrey A. Chernov 95f1b49e83 Set proper INSTALL* variables before running ./configure 1994-12-28 04:14:19 +00:00
Andrey A. Chernov c74995075b Move INSTALL?=install line duplicated into each .mk to sys.mk
instead
1994-12-28 03:51:03 +00:00
Andrey A. Chernov af87f3630b Use CFLAGS=${CFLAGS} ./configure to avoid picking dumb GNU -g default 1994-12-28 03:30:21 +00:00
Andrey A. Chernov e887886391 Use "CC=${CC} ./configure" to avoid usage of debugging 'gcc' 1994-12-28 03:21:16 +00:00
Jordan K. Hubbard 57d7186a4c Sigh.. Finally add a 6.0 section on what you need to do to actually
configure a new kernel.
1994-12-28 02:39:29 +00:00
Andrey A. Chernov 0cd1222834 Remove -T from ar, nm fixed now 1994-12-28 00:49:58 +00:00
Andrey A. Chernov 8ddd408a2e Fix for handling long archive names
Submitted by: [email protected]
1994-12-28 00:47:24 +00:00
Andreas Schulz 5c0ca64ca0 Submitted by: John Capo
Bogus pstat usage message from pstat:
usage: pstat -Tfnstv [system] [-M core] [-N system]

[system] is not mentioned in the man page and I don't
see where it is used in the code either.
Added also a [] around the first options to show them as optional, ATS.
1994-12-28 00:47:03 +00:00
Jordan K. Hubbard b4314abf31 Bring the 2.0 RELEASE version back into -current. Now I just need
to resurrect my changes for the last snapshot, which were unfortunately
lost in a forest fire on time.
1994-12-27 23:26:59 +00:00
Bruce Evans 62a1ce7ac9 Document the arch flag. It has always worked in 2.0.
Document aliases for the flags.

The formatting of the section describing the flags is poor.
1994-12-27 16:49:08 +00:00
Bruce Evans 59f08b8ba7 Use the same current time throughout ffs_update().
Update some macro names in comments.

Don't use MNT_WAIT for something not related to mounting.
1994-12-27 14:44:42 +00:00
Bruce Evans e4bebee03e Use the same current time throughout ITIMES(). I want all current
timestamps for an atomic operation such as rename() on a local file
system to be identical.

Uniformize yet another idempotency ifdef.  The comment nesting was
bogus.
1994-12-27 13:59:14 +00:00
Bruce Evans 75b6d64b84 fixunsdfsi.S:
Embalm.  Rewrite to do things much the same as gcc-2: use fistpq for speed
and elegance, and mishandle overflow consistently.  __fixunsdfsi() is no
longer called by gcc.
1994-12-27 13:37:38 +00:00
Bruce Evans 08747772a2 sigsetjmp.S:
Remove unnecessary .text statement.
1994-12-27 13:34:04 +00:00
Bruce Evans 1fe9751525 Remove unnecessary .align statement. 1994-12-27 13:33:03 +00:00
Bruce Evans be0264b945 Fix a spelling error and add a comment about possible improvements. 1994-12-27 13:12:34 +00:00
Bruce Evans 0c4fe20e8a Keep track of the devconf state. 1994-12-27 13:07:07 +00:00
Bruce Evans a176f73d19 Fix panic for `cp -p' by root to an msdos file system. Improve handling
of attributes so that `cp -p' to an msdos file system can succeed under
favourable circumstances (no uid or gid changes and no nonzero flags
except SF_ARCHIVED).

msdosfs_vnops.c:
The in-core inode flags were confused with the on-disk inode flags, so
chflags() clobbered the lock flag and caused a panic.

denode.h, msdosfs_denode.c, msdosfs_vnops.c:
Support the msdosfs archive attibute (ATTR_ARCHIVE) by mapping it to
the complement of the SF_ARCHIVED flag and setting the ATTR_ARCHIVE
bit when a file's modification time is set (but not when a file's
permissions are set; this is the standard wrong DOS behaviour).

denode.h, msdosfs_denode.c:
Remove the DE_UPDAT() macro.  It was only used once, and the corresponding
macro in ufs has already been removed.

denode.h:
Don't change the timestamp for directories in DE_TIMES() (be consistent
with deupdat()).

msdosfs_vnops.c:
Handle chown() better: return EPERM instead of EINVAL if there are
insufficient permissions; otherwise, allow null changes.
1994-12-27 12:37:36 +00:00
David Greenman 2048dd682c Fixed two security holes in the pcmmap() function.
Submitted by:	Bruce Evans
1994-12-27 08:43:06 +00:00
Andreas Schulz 04dc4fc21c My prevoius commit missed some things. The out_line didn't need
to be padded to 8 chars. Simply make sure that never more than 8 chars
are printed ( %-.8s ). The former commit otherwise hosed the width
calculation and landed on different positions for the time output.
Also the strlen(xx_out_line) hoses the wide
calculation, so that it sometimes make it much larger than necessary.
Simply use always 8 chars for the out_line calculation now. Looks good
this way.
1994-12-27 00:53:14 +00:00
Andreas Schulz d5a22d48c4 Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
1994-12-26 19:15:19 +00:00
Andreas Schulz 3c8f8257cd Add a patch that someone on the net has used to run on his IBM Thinkpad.
Sorry, lost the name and mail of the original author. The whole patch
is ifdefed, so it should not disturb someone else in the moment.
1994-12-26 17:50:18 +00:00
Andreas Schulz 2d85986466 Add examples for the sony and the panasonic drivers. 1994-12-26 17:33:52 +00:00
Andreas Schulz 9066320224 The out_line doesn't need to be zero terminated, so print it not with %s
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
1994-12-26 17:29:03 +00:00
Bruce Evans 61233bdc2e Obtained from: partly from 1.1.5
Convert "" to "." for "cd" and "cd ''".  chdir("") is required to fail
on POSIX systems.
1994-12-26 13:02:05 +00:00
Bruce Evans abdf111953 Obtained from: partly from 386BSD-0.1.2.4
Fix several bugs involving the obsolescent -d and -t options:
-d 0 and -t 0 were ignored
-t -600 was a usage error
-d 'atoi is not suitable for parsing args' and -t duh were not usage errors

Change some error messages to say which call to settimeofday failed.

Restore casts of NULL in function calls.

Finish conversion to using err() instead of perror().
1994-12-26 12:59:28 +00:00
Andrey A. Chernov 937b5aaa3b Use timelocal() instead of mktime() hack 1994-12-26 10:43:48 +00:00
Andrey A. Chernov 8c2f5ad758 Declare useful functions (timelocal() and timegm()) 1994-12-26 10:19:41 +00:00
Andreas Schulz 8c2f8d0653 Correct the devices.i386 for the major numbers. 8 was already used now
by the lkm driver, so put scd and pcd to the numbers they have now
in i386/conf.c.
Add the pcd.c file for the panasonic driver in files.i386.
1994-12-26 01:06:41 +00:00
Andreas Schulz 60ecea7924 Add entries for the sony and panasonic drives and drivers. 1994-12-25 23:25:54 +00:00
Bruce Evans 6424ff77c2 Fix the bug reported by Torbjorn Granlund <[email protected]>:
The documentation for mrand48 and lrand48 is mixed up.
mrand48 returns a full 32 bit number, while lrand48 only returns
31 bits.
1994-12-25 15:33:39 +00:00
Andreas Schulz c8ac34903c Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
Andrey A. Chernov beae072bc9 Merge several probe diagnostics into one.
Adjust for newer model for all non-LUxxx too.
FLAGS status register names cleanup
1994-12-24 13:24:02 +00:00
Bruce Evans 82189b149e Fix comments on dk_wds and dk_wpms to match code. Improve comment on
dk_time.
1994-12-24 10:11:18 +00:00
Andrey A. Chernov 53df92ac8d Add T option back to ar until nm will be fixed. Sorry, nate. 1994-12-24 10:07:51 +00:00
Bruce Evans 9834a1b204 Fix the "wds" count stat. 1994-12-24 09:48:32 +00:00
Bruce Evans 11fa0751bc Fix the "wd" count stat. The seek and xfer stats are still very bogus
for wd (they both count the number of sectors).  The wpms stat is still
moderately bogus for all drivers.  Even the count stat could be handled
better (partial blocks should be counted as full blocks; should errors
and retries be counted?).
1994-12-24 09:43:12 +00:00
Bruce Evans 026c9b2ce6 Really fix the "byte" count stat. `wd's are actually blocks of 32 16-bit
words in dkstat-speak.  `ms's are seconds in dkstat-speak...
1994-12-24 09:19:00 +00:00
Bruce Evans 13d7c724ca Obtained from: 1.1.5
Fix single-stepping of emulated FPU instructions.

Don't panic if an FPU instruction is attempted but there is no FPU
and no FPU emulator is configured.
1994-12-24 07:22:58 +00:00
Andrey A. Chernov bf2d4aa003 Merging.
v1.9.0 - December 22, 1994.  The program won't exit from the interactive shell
  if it's working from a tty.  For example, it won't exit if you do an mget
  on a pattern that won't match anything.  Added padding around jmp_buf's
  for SunOS.  SunOS needs sigjmp_buf's, but plenty of OS's don't support
  sigjmp_buf's yet.  Fixed the tips to reflect the new archive site.

v1.8.9 - December 20, 1994.  Can now set "passive" user variable, or use
  passive command to toggle PASV/PORT ftp.  Debug mode now prints remote
  responses.  Can now get around buggy FTP servers like boombox.micro.umn.edu,
  that give back invalid port numbers to PASV.

v1.8.8 - December 19, 1994.  Now falls back to port FTP if passive FTP fails.
1994-12-24 01:15:19 +00:00
Andrey A. Chernov 9b786fc227 Update 1994-12-24 01:01:48 +00:00
Andrey A. Chernov 8476490bd2 This commit was generated by cvs2svn to compensate for changes in r5216,
which included commits to RCS files with non-trunk default branches.
1994-12-24 01:01:48 +00:00
David Greenman 55c4727190 Revert last patch - it's wrong. 1994-12-23 23:03:32 +00:00
Nate Williams 7edb8c9b99 New file from pk to aid new in developing the shlib code for new
architectures.

Obtained from: NetBSD
1994-12-23 22:56:08 +00:00
Nate Williams 637cb583c9 Subject: ranlib fix for odd length long final file names (PR #82)
Submitted by:	Peter Dufault <[email protected]>
1994-12-23 22:55:00 +00:00
Nate Williams 45f4664c72 Strip out unused local symbols from shared objects, and no longer
truncate archive members to 15 characters since it's no longer
necessary.
1994-12-23 22:50:45 +00:00
David Greenman be7b04cd7e Fixed byte count stat.
Submitted by:	John Dyson
1994-12-23 22:44:55 +00:00
Nate Williams b35481d443 Added link.5 man page and updated a.out.5 manpage to reflect the new
code.

Obtained from: NetBSD
1994-12-23 22:41:46 +00:00
Nate Williams 1603af0d3b Warning and weak reference macros which are used to generate link-time
messages.

Obtained from: NetBSD
1994-12-23 22:38:54 +00:00
Nate Williams de761939cf Updated version of gas which allows for link-time error reporting if
used in conjustion with the new shlib 'ld' source.  Note, if you use
the new features both gas and ld must be updated.

Obtained from: NetBSD
1994-12-23 22:37:45 +00:00
Nate Williams d27e9722db Document some of the fields used by the new shlib code.
Obtained from: NetBSD
1994-12-23 22:32:48 +00:00
Nate Williams 61f9ce8d32 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
Jordan K. Hubbard 3ed375cb27 Miscellaneous fixes for the snapshot. 1994-12-23 05:11:18 +00:00
David Greenman 45cbbb298d Do vm_page_rename more conservatively in rcollapse and qcollapse, and
change list walk so that it doesn't get stuck in an infinite loop.

Submitted by:	 John Dyson
1994-12-23 05:00:19 +00:00
David Greenman 7609ab12e4 Initialize b_vnbuf.le_next before returning a new buffer in getpbuf and
trypbuf. Move a couple of splbio's to be slightly less conservative.
1994-12-23 04:56:51 +00:00
David Greenman 602d2b481a Protect vnode buffer chain manipulation with splbio to prevent list
corruption..
1994-12-23 04:52:55 +00:00
Jordan K. Hubbard 66a5b326e1 Whoops! I buggered up the tape dialog. Fixed. These changes allow
you to specify your tape drive device for the cases when the user
has more than one.
1994-12-23 03:30:02 +00:00
Jordan K. Hubbard 927a6f682e Fix a typo that crept in with the last update. 1994-12-23 02:55:07 +00:00
Jordan K. Hubbard f1df762392 Even more bogons eradicated. My, there are a lot of them in here! :-) 1994-12-23 02:25:32 +00:00
David Greenman edd5a4af47 Restore my changes in rev 1.11 that Garrett killed in his commit. 1994-12-22 23:42:25 +00:00
Garrett Wollman b2774d00ad Make arp_rtrequest() static since nobody needs to referene it any more. 1994-12-22 22:00:30 +00:00
Garrett Wollman dd2e410221 Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
Jordan K. Hubbard 186c582fdf Whoops, another lurking bogon! 1994-12-22 21:34:36 +00:00
Stefan Eßer 9a3c07de07 Add support for -v option passed to boot loader (bootverbose).
Reviewed by:
Submitted by:
Obtained from:
1994-12-22 21:20:39 +00:00
Stefan Eßer 68d2fa1f21 Added SCSI_DATA_OUT to flags passed to the device driver in sd_dump()
since device drivers may decide not to accept a data out phase without
this flag present.
Submitted by:	Wolfgang Stanglmeier <[email protected]>
1994-12-22 21:18:48 +00:00
Garrett Wollman 59d8d13f60 Added `ds', a black-hole network interface. 1994-12-22 21:00:05 +00:00
Garrett Wollman d87bdc80f2 Added much-needed new options -[lL], to suppress printing of either the
call-graph or the flat profile, since often you only want one of them.
1994-12-22 20:52:15 +00:00
Jordan K. Hubbard 5af8c64327 Fix a slight bogon with a directory not being made before it was used. 1994-12-22 20:38:23 +00:00
Bruce Evans 14c28f38a8 Don't use `MKDEP= -p' even for the case of a single source file since we
always make an intermediate object file.
1994-12-22 17:20:52 +00:00
David Greenman 511cdd1649 Removed bogus semicolon at end of a #define line. 1994-12-22 07:20:03 +00:00
David Greenman 6f7bc393bb Fixed a benign off by one error. 1994-12-22 05:18:12 +00:00
Bruce Evans 222d875bec Print `slicename' and not a bogus pointer in diskerr() 1994-12-22 04:42:31 +00:00
Garrett Wollman 074c4a4e2e Add generic part of generic multiple-physical-interface support (the
successor of IFF_ALTPHYS).
1994-12-21 22:57:05 +00:00
Garrett Wollman b67268cfbc Disable UDP echo, chargen, date, and daytime services. 1994-12-21 20:32:44 +00:00
Garrett Wollman 71704f34b1 Disable UDP service looping attack. 1994-12-21 19:08:45 +00:00
Garrett Wollman b30cbe4a6b Add a #define for if_rawoutput(), which isn't used now, but eventually will
be.
1994-12-21 18:03:41 +00:00
Garrett Wollman f811ab0233 Avoid a serious race by blocking netisrs while walking the route tree.
(IWBRNI we could just block IP netisrs...)
1994-12-21 17:25:52 +00:00
Garrett Wollman 3c896bda76 Correct sysctl info so that net.inet.ip.rtexpire is actually accessible. 1994-12-21 17:23:59 +00:00
Andrey A. Chernov f8c32a9711 Remove get status from probe, confuse LU002
Add check stbytes[1] != stbytes[2] for presence real Mitsumi
controller
1994-12-21 15:17:59 +00:00
Andrey A. Chernov 0bda4f122a stbytes miss by one for new model 1994-12-21 15:12:41 +00:00
Andrey A. Chernov 8dac9202c0 Now crontab works not only for vi editor, i.e. refers to
file name not to file fd
1994-12-21 11:06:08 +00:00
Jordan K. Hubbard 4998acd354 Tweaks for the upcoming 2.1 installation. 1994-12-21 04:57:07 +00:00
Andrey A. Chernov 9502ca4baf Use proper serial device names 1994-12-19 02:02:47 +00:00
Andrey A. Chernov 11c5d06117 Use ASCII lock instead of BINARY one. 1994-12-19 01:57:17 +00:00
Andrey A. Chernov 338bca2c5e Use proper device names.
Remove fix-cua script, does nothing good.
1994-12-19 01:22:21 +00:00
Andrey A. Chernov 4fcbc726d9 Use proper dialout device name 1994-12-19 01:14:58 +00:00
Andrey A. Chernov dcb4550cb2 Uncomment uucpd by default, it is working and secure now 1994-12-19 01:11:19 +00:00
Andrey A. Chernov 67e5e9bc63 Use proper LOCKDIR name 1994-12-19 01:07:59 +00:00
Andrey A. Chernov 322c962402 Use proper lock dir name 1994-12-19 01:02:11 +00:00
Andrey A. Chernov b63b4cdb92 Skip nulls in putback to don't confuse with EOFs 1994-12-19 00:26:20 +00:00
David Greenman 6185408336 Don't ever clear B_BUSY on a pbuf (or any other flag for that matter).
This appears to be the cause of some buffer confusion that leads to
a panic during heavy paging.

Submitted by:	 John Dyson
1994-12-19 00:02:56 +00:00
Andrey A. Chernov 7c5eeb390e Make m4 more 8bit clean.
Don't use is*(EOF)
This fix core dump when LANG setted to 8bit wide charset
and ENABLE_STARTUP_LOCALE
1994-12-18 23:58:25 +00:00
Joerg Wunsch e72e8750d3 Insert a hook to initialize the serial port at the beginning of
boot().  This is needed so the "serialboot" stuff can share this file,
too.

Everything is #ifdef'ed so it evaluates to nothing when actually been
built in the "biosboot" directory.
1994-12-18 20:30:10 +00:00
Joerg Wunsch 2c681fc102 This became a frequently requested item now.
The files in this directory are modified version of "biosboot".  The
only difference is in that they perform their I/O via a serial port,
so their preferrable usage is to form bootblocks for systems where the
kernel happens to have an "options COMCONSOLE".  Most of the code is
actually shared with "biosboot", and make will not (and should not)
descend into this directory by default.  It is in the responsibility
of the user to build these bootblocks instead of the original ones.
1994-12-18 20:12:10 +00:00
Joerg Wunsch 0246a9d813 Initialize syscons also in cases where it ain't the system's console
(i.e., there's a comconsole).
1994-12-18 19:45:53 +00:00
Joerg Wunsch 91c38cb885 Ooops, i forgot one NVT > 0 in a previous commit. Now pcvt will also
work as the system's console.
1994-12-18 19:42:41 +00:00
Joerg Wunsch 00e82d39d7 Move the code providing the equivalent of ICRNL for console input from
the device driver(s) to cons.c.
1994-12-18 19:35:59 +00:00
Bruce Evans bf67b544a2 Pass the slice number of the boot device to the kernel in the previously
unused bitfields for the adaptor and the controller.  It should go in
the bitfield for the partition but that would not be backwards compatible.
1994-12-18 19:14:19 +00:00
Joerg Wunsch 34994fcd8e Make ls recognize the COLUMNS environmental variable, even
in cases where it does not run on a terminal.  This is important
e.g. for commands like

	env COLUMNS=132 ls -CR | lpr -Psome-wide-printer
1994-12-18 19:00:01 +00:00
Poul-Henning Kamp d9a2713bb5 Make sure we allocate at least 8 scbus if we allocate any at all. 1994-12-18 18:48:39 +00:00
Poul-Henning Kamp 40a97f50d4 > ../../i386/isa/if_le.c still has a mountain of warnings.. Anyone keen
> to fix?

Sure. How's this? -

Reviewed by:	phk
Submitted by:	Mark Murray <[email protected]>
1994-12-18 18:42:03 +00:00
Jordan K. Hubbard ffdd6a7267 src/bin/ed will never build DES encumbered ed again. That is the job
for secure/bin/ed ...
1994-12-18 15:15:10 +00:00
David Greenman 2b4e0927f6 Unbogify the size being passed to bzero when clearing struct softc. 1994-12-18 14:40:26 +00:00
David Greenman 94101b5208 Move page_unhold's in pmap_object_init_pt down one line to gard against
a potential race condition.
1994-12-18 14:16:22 +00:00
Guido van Rooij 4e32be0fb7 Add missing getdomainname manual page.
Reviewed by:
Submitted by:
Obtained from: 1.1.5.1 with a few modifictaions.
1994-12-18 14:06:39 +00:00
David Greenman 66ecebed58 Fixed multiple bogons with the map entry handling. 1994-12-18 13:58:41 +00:00
Guido van Rooij f81fcd410f Fix bug in sysctl_string so that when a string has a length that is to
short, it gets filled uop to its length. This matches the getdomainname
and gethostname manual pages.
(getbootfile also uses this function and I think it should have the same
behaviour)

This also fixes a bug with keyinit where the seed was not saved in
/etc/skeykeys. So S/Key should be fully functional again.

Reviewed by:
Submitted by:
Obtained from:
1994-12-18 13:56:50 +00:00
Jordan K. Hubbard 0a06ac68fe Move some obnoxious files: airport, birthtoken, flowers, na.phone & zipcodes
to the "dict" dist.
This is belived to reduce the risk of heart attacks in some european countries.
phk ristede runen.
1994-12-18 12:15:13 +00:00
Jordan K. Hubbard 76fe9b2793 Add a 'vn' to GENERIC 1994-12-18 12:01:40 +00:00
Jordan K. Hubbard 59d7c860ca Nuke bogus duplicate decls. 1994-12-18 11:59:37 +00:00
David Greenman 053bbc788c Fixed bug where statically allocated map entries might be freed to the
malloc pool...causing a panic.

Submitted by:	John Dyson
1994-12-18 10:28:40 +00:00
David Greenman dd0bd066e0 Change swapping policy to be a bit more aggressive about finding a
candidate for swapout. Increased default RSS limit to a minimum of 2MB.
1994-12-18 06:31:31 +00:00
David Greenman 931bde7f72 Check for PG_FAKE too in pmap_object_init_pt. 1994-12-18 03:36:27 +00:00
David Greenman d9b026fcbd Add two more page table pages to keep 64MB machines happy. 1994-12-18 03:11:46 +00:00
David Greenman 8a8d90d871 Fix possible off by one in b_save allocation size. 1994-12-18 03:05:49 +00:00
Andrey A. Chernov 2ef751df5e timedflags quoted
Submitted by: [email protected]
1994-12-18 01:21:51 +00:00
Andrey A. Chernov 8a081b7353 strip not close files on error
Submitted by: [email protected]
1994-12-18 01:18:17 +00:00
Gary Palmer 6d97ec5daa Put dummy targets for make-md5 & check-md5 inside a
NO_EXTRACT ifdef so that tcpblast doesn't muck
things up
1994-12-17 21:29:38 +00:00
Gary Palmer cf6be75886 bsd.port.mk: missing semicolon added
bsd.port.subdir.mk: added check-md5 as target
1994-12-17 20:50:44 +00:00
Jordan K. Hubbard e37a9fea8e Add a sanity-check for those building their own releases. 1994-12-17 12:38:09 +00:00
Jordan K. Hubbard fc0a941a94 Bump LINT's symtab space. 1994-12-17 08:37:22 +00:00
Jordan K. Hubbard faa84d7f2c Fix a few nasties in the conversion. 1994-12-17 08:36:50 +00:00
Jordan K. Hubbard cdf25f3740 Add Fred Cawthorne's GPIB driver.
Submitted by:	[email protected]
1994-12-17 08:07:03 +00:00
Jordan K. Hubbard df26e9b0b2 First cut at making multiple distributions loadable in a single pass. 1994-12-17 06:57:45 +00:00
Andrey A. Chernov 632a24451c Fix odd length long names
Submitted by: [email protected]
also Obtained from: 1.1.5.1
1994-12-17 05:59:33 +00:00
David Greenman 763424fcf0 Changed splimp to splhigh to close a potential hole that could lead
to corrupted malloc data structures caused by frees occurring at other
than splimp.
1994-12-17 04:04:42 +00:00
Andrey A. Chernov 50da78da7c Automatically add gmake to DEPENDS, if USE_GMAKE 1994-12-17 02:37:26 +00:00
Andrey A. Chernov a7e957efb2 Don't use build: ... pre-build, move pre-build inside
BUILD_COOKIE instead
1994-12-17 01:58:11 +00:00
Bruce Evans 8c664261f7 Uncomment DISKSLICE; it should work now (for drivers that support it). 1994-12-16 16:58:08 +00:00
Bruce Evans 9a0f1b5bd5 Continue implementing disk slices and labels for the vn driver. Everything
is supposed to work except "media removal" (shutting down the vn driver)
while some partitions are open.

Fix some errnos: return ENOTTY, not ENXIO for unknown ioctls; return
ENODEV, not ENXIO for the unsupported dump operation.
1994-12-16 16:50:15 +00:00
Bruce Evans fb72042b5c Duplicate readdisklabel() and writedisklabel() and remove DOS stuff from
from the copies to create correct_readdisklabel() and
correct_writedisklabel().

Print the slice number in diskerr() if it is nonzero.
1994-12-16 16:31:23 +00:00
Bruce Evans 9af6068321 Separate go-away code from dsinit() to produce dsgone().
Call correct_writedisklabel() instead of writedisklabel() (temporary
compatibility hack).

Remove kludge for allowing a label on slice 0.
1994-12-16 16:14:39 +00:00
Bruce Evans d92b67e7f0 Add prototype for dsgone. Remove prototype for nonexistent dswlabel. 1994-12-16 16:05:11 +00:00
Bruce Evans 6216a129da Add support for sliced disk devices ssd*, svn*, swd*. The `s' at the start
of these names is so that they can be distinguished in MAKEDEV until the
non-sliced devices go away.
1994-12-16 15:59:44 +00:00
Poul-Henning Kamp d71494d323 Don't push/pop the return-val register. (DUH!) 1994-12-16 07:31:47 +00:00
Poul-Henning Kamp d90b957315 Grumble, try to remember what assembler syntax is used :-/
Increase polling frequency a fraction to just above 1 Hz.
1994-12-16 07:09:22 +00:00
Poul-Henning Kamp 2decd76771 Be much more carefull about what we leave in unused registers when we call
the APM-bios.
This stabilizes a couple of APM bioses quite a bit.
They all make the mistake of going into 16-bit mode, without clearing the
top half of the 32bit registers.
Later they do a
|	movw %si,$0x7331
|	movw %ax,0x6(%si)
or something along those lines and crash and burn, because their segment
is already relocated, so adding 0xf0171ce9 to the base of it is bad news.

At least SystemSoft is guilty of this bummer.
1994-12-16 06:16:30 +00:00
Poul-Henning Kamp 784cf072d8 Remove sd1-sd3 & st1, now that we can autoallocate them.
fix the vn driver in LINT.  It autoallocates too.

Reviewed by:	phk
Submitted by:	rgrimes
1994-12-16 06:04:16 +00:00
Poul-Henning Kamp a31f80dc67 Allocate all scsi-devices on the fly, not just CDs.
Reviewed by:	phk
Submitted by:	rgrimes
1994-12-16 06:03:28 +00:00
Paul Traina 75a128283a Rudimentry bsd-audio emulator for VAT support using FreeBSD's voxware package.
Voxware hackers should feel free to work on this some more,  it's by no means
a perfect product.

(I have patches for GUS users running 2.x to run their GUS with bidirectional
 DMA (talk while listening.  All other soundboards must use push-to-talk until
 people learn to build real hardware).

Submitted by:	amancio hasty & paul traina
1994-12-16 04:59:18 +00:00
Gary Clark II 4915b106ed Changed line so commit would take 1994-12-16 04:01:16 +00:00
Poul-Henning Kamp 22529dad0f An inconsequential #ifdef Bruce forgot. 1994-12-16 01:13:09 +00:00
David Greenman 8d6e8ede62 Protect kmem_map modifications with splhigh() to work around a problem with
the map being locked at interrupt time.
1994-12-15 22:47:11 +00:00
Garrett Wollman e0e878ae9e Document EAFNOSUPPORT error return for TCP bind and connect operations. 1994-12-15 20:54:28 +00:00
Garrett Wollman 9ee39fc64d Fix PR 59: don't allow TCP connections withmulticast addresses at either
end.
1994-12-15 20:39:34 +00:00
Andrey A. Chernov 58328669a3 Fix hostnames >32 chars
Submitted by: [email protected]
1994-12-15 01:21:06 +00:00
Søren Schmidt 45d04cf11f Fix bug around VOP_READDIR, now takes 6 parameters not 4.
The MAXBSIZE has changed, so use DEFAULT_PAGE_SIZE instead.
1994-12-14 22:03:48 +00:00
Garrett Wollman 5be2baf843 Make rtq_reallyold user-configurable via sysctl. 1994-12-14 19:06:37 +00:00
Garrett Wollman c70b84bd3c Document new route flags. 1994-12-14 18:55:01 +00:00
Garrett Wollman 23f6ed01aa Actually enable NTP kernel PLL. (Oops!)
Noticed by Pete Carah.
1994-12-14 17:57:47 +00:00
Andrey A. Chernov f9ff1b665d patch: pre-patch ... is wrong, move pre-patch
inside PATCH_COOKIE
1994-12-14 05:53:09 +00:00
Garrett Wollman 2c17fe9339 Call rtalloc_ign() so that protocol cloning will not occur at the IP layer. 1994-12-13 23:08:12 +00:00
Garrett Wollman 652082e6ac Implemented rtalloc_ign(). 1994-12-13 23:07:03 +00:00
Garrett Wollman a7c7761f65 Make it possible to correctly print out new route flags, and do so. 1994-12-13 22:34:34 +00:00
Garrett Wollman 93587737d7 Update calls to rtalloc1(). 1994-12-13 22:33:05 +00:00
Garrett Wollman 31246bc25f Update calls to rtalloc1(). Also merge rt_prflags with rt_flags. 1994-12-13 22:32:45 +00:00
Garrett Wollman 2c4615f0aa Update calls to rtalloc1() to match. 1994-12-13 22:32:17 +00:00
Garrett Wollman 995add1a12 Add support for two separate cloning flags, one set by the lower layers,
and one set by the protocol family.  Also add another parameter to
rtalloc1() to allow for any interface flags to be ignored; currently
this is only useful for RTF_PRCLONING.  Get rid of rt_prflags and re-unite
with rt_flags.  Add T/TCP ``route metrics''.

NB: YOU MUST RECOMPILE `route' AND OTHER RELATED PROGRAMS AS A RESULT OF
THIS CHANGE.

This also adds a new interface parameter, `ifi_physical', which will
eventually replace IFF_ALTPHYS as the mechanism for specifying the
particular physical connection desired on a multiple-connection card.

NB: YOU MUST RECOMPILE `ifconfig' AND OTHER RELATED PROGRAMS AS A RESULT OF
THIS CHANGE.
1994-12-13 22:31:49 +00:00
Garrett Wollman 0d2d94f67b Add ahc driver, more symtab space. 1994-12-13 22:01:35 +00:00
Andrey A. Chernov 699204c2a5 Merge... 1994-12-13 21:03:46 +00:00
Garrett Wollman 3aa0699930 Delete `HZ' option; it's only of use to Bruce and screws up the NTP PLL
(among other things).  Correctly specify `vn' as a pseudo.  Make sure
things are in the right places.
1994-12-13 20:56:30 +00:00
Andrey A. Chernov 5d9b1b20cb Upgrade... 1994-12-13 20:43:57 +00:00
Andrey A. Chernov f545af68fd This commit was generated by cvs2svn to compensate for changes in r5093,
which included commits to RCS files with non-trunk default branches.
1994-12-13 20:43:57 +00:00
Andrey A. Chernov 62dcb67cdc Point that we use GNU version of uucp 1994-12-13 19:48:51 +00:00
Guido van Rooij a7e6a0941a lsdev paniced the machine when 2 (or more) ide controllers are installed.
Beware for cut and paste!

Reviewed by:
Submitted by:
Obtained from:
1994-12-13 18:20:08 +00:00
Gary Clark II 663abed6d2 Add slip_server FAQ from Guy Helmer
Submitted by: Guy Helmer
1994-12-13 17:48:46 +00:00
Ugen J.S. Antsilevich 3107b31b8d Add clear one accounting entry control.
Structure fields changed to seem more standart.
1994-12-13 15:57:34 +00:00
Ugen J.S. Antsilevich 611367b40f Add interface to clear accounting entry option.
Reflect ip_fw structure changes.
1994-12-13 15:56:51 +00:00
Jean-Marc Zucconi e40adb1bbd Added '${GMAKE} install.man' when installing with Imake and gmake 1994-12-12 22:32:30 +00:00
Ugen J.S. Antsilevich f3caf95e23 Late patch for delete control.. 1994-12-12 18:10:41 +00:00
Ugen J.S. Antsilevich 10a642bb05 Add match by interface from which packet arrived (via)
Handle right fragmented packets. Remove checking option
from kernel..
1994-12-12 17:20:55 +00:00
Ugen J.S. Antsilevich fab9e6db0e Add via option,minor changes to interface to reflect
internal firewall changes.Check option disabled temporary.
1994-12-12 17:19:33 +00:00
Bruce Evans 63e4f22a2a Fix numerous timestamp bugs.
DE_UPDATE was confused with DE_MODIFIED in some places (they do have
confusing names).  Handle them exactly the same as IN_UPDATE and
IN_MODIFIED.  This fixes chmod() and chown() clobbering the mtime
and other bugs.

DE_MODIFIED was set but not used.

Parenthesize macro args.

DE_TIMES() now takes a timeval arg instead of a timespec arg.  It was
stupid to use a macro for speed and do unused conversions to prepare
for the macro.

Restore the left shifting of the DOS seconds count by 1.  It got
lost among the shifts for the bitfields, so DOS seconds counts
appeared to range from 0 to 29 seconds (step 1) instead of 0 to 58
seconds (step 2).

Actually use the passed-in mtime in deupdat() as documented so that
utimes() works.

Change `extern __inline's to `static inline's so that msdosfs_fat.o
can be linked when it is compiled without -O.

Remove faking of directory mtimes to always be the current time.  It's
more surprising for directory mtimes to change when you read the
directories than for them not to change when you write the directories.
This should be controlled by a mount-time option if at all.
1994-12-12 12:35:50 +00:00
Bruce Evans 20989d2d64 Obtained from: my fix for 1.1.5
Remove compatibility hack so that dup(fd) isn't interpreted as
dup2(fd & 0x3f, random_junk_on_stack_fd) when (fd & 0x3f) != 0.
1994-12-12 12:27:39 +00:00
Bruce Evans 6976af69e8 Obtained from: my old fix for 1.1.5
Improve hzto():

Round up instead of down and then add 1 tick.  This fixes sleep(1)
sometimes sleeping for < 1 second and usleep(10000) sometimes sleeping
for as little as 1 usec + syscall time.

Don't do all the calculations at splhigh().

Don't depend on `tick' being a multiple of 1000.

Don't lose accuracy for `sec' between 0x7fffffff / 1000 - 1000 and
0x7fffffff / hz.

Don't assume that longs are 32 bits or that ints have the same size as
longs.
1994-12-12 11:58:46 +00:00
Andrey A. Chernov d2ee1a1856 Fix includes, tputs argument, ospeed setting, printing
attributes started with 'l'
1994-12-12 06:14:42 +00:00
David Greenman e8cdac9bfd Don't mess with already freed structures when a process is being run
down.
1994-12-12 06:04:27 +00:00
Andrey A. Chernov 882588f86c Fix resetting adjkerntz to 0 (pointed by Bruce),
forget to initialize mib variable.
1994-12-12 05:48:45 +00:00
Andrey A. Chernov 408399029a Optimize setting of DISRTCSET 1994-12-12 05:43:28 +00:00
Andrey A. Chernov 62be897817 Clean internal logic, helps for some unusual cases 1994-12-12 05:20:44 +00:00
Andrey A. Chernov 18704338bb add mcd.4 1994-12-12 04:08:58 +00:00
Andrey A. Chernov 7bc3f9e3f4 Mitsumi manpage
Submitted by:  Keith E. Walker with small modifications from me
1994-12-12 04:06:17 +00:00
Andrey A. Chernov f6f38b4bc9 Upgrade to readline from bash 1.14.3 1994-12-12 03:23:04 +00:00
Bruce Evans b01f0b7d76 Obtained from: 1.1.5
getcwd() has two off-by-one bugs in FreeBSD-2.0:

1. getcwd(buf, size) fails when the size is just large enough.
2. getcwd(buf + 1, 1) incorrectly succeeds when the current directory
   is "/".  buf[0] and buf[2] are clobbered.

(I modified Bruce's original patch to return the proper error code
[ERANGE] in the case of #2, but otherwise... -DG)

This program demonstrates the bug:

---
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>

int main(void)
{
    char buf[5];
    int errors;

    errors = 0;
    if (chdir("/tmp") != 0) {
        perror("chdir");
        abort();
    }
    if (getcwd(buf, 5) == NULL) {
        perror("oops, getcwd failed for buffer size = size required");
        ++errors;
    }
    if (chdir("/") != 0) {
        perror("chdir");
        abort();
    }
    buf[0] = 0;
    buf[2] = 1;
    if (getcwd(buf + 1, 1) != NULL) {
        fprintf(stderr,
                "oops, getcwd succeeded for buffer size = one too small\n");
        ++errors;
    }
    if (buf[0] != 0) {
        fprintf(stderr,
                "oops, getcwd scribbled on memory before start of buffer\n");
        ++errors;
    }
    if (buf[2] != 1) {
        fprintf(stderr,
                "oops, getcwd scribbled on memory after end of buffer\n");
        ++errors;
    }
    exit(errors == 0 ? 0 : 1);
}
1994-12-12 01:29:13 +00:00
Bruce Evans a0d0470f49 Obtained from: 386BSD-0.1 patchkit; also fixed in 1.1.5
Compare unsigned chars.
Return the place after where the character was found and not the start
of the string.
1994-12-12 01:23:33 +00:00
Bruce Evans a2c0622293 Fix execl[e]. Multiple execle's failed because of bogus caching of the
pointer returned by realloc().  All callers free the pointer if the
execve fails.  Nuke the caching.  This essentially restores buildargv()
to the 1.1.5 version.  Also fix a memory leak if realloc() fails.  Also
nuke similar but non-broken caching in execvp().  malloc() should be
efficient enough.
1994-12-12 01:15:01 +00:00
Andreas Schulz 4ecd9d4bfa Changed two occurrences of tcpdump(l) to tcpdump(1). 1994-12-12 00:41:04 +00:00
Andreas Schulz 9689f8ef27 Change a SLSTAT 1 to SLSTAT 8 . 1994-12-12 00:38:01 +00:00
Andreas Schulz a78eb8ba84 Changed a PPSTATS 1 to PPPSTATS 8 . 1994-12-12 00:36:41 +00:00
Andreas Schulz 13c29e789d Changed an LSDEV 1 to LSDEV 8 . 1994-12-12 00:35:01 +00:00
Andreas Schulz 2f1aa0f1bf Changed a ACCTON 1 to a ACCTON 8 . 1994-12-12 00:32:36 +00:00
Andreas Schulz ab51dae938 change a .TH VMSTAT 1 to a .TH VMSTAT 8 . 1994-12-12 00:26:08 +00:00
Andreas Schulz 0ebe002b2d Changed a nslookup(1) to nslookup(8). 1994-12-12 00:24:31 +00:00
Bruce Evans a4a59c2b52 Implement disk slices and labels for the vn driver. This is intended mainly
for testing and is only enabled if TEST_LABELLING is defined.  It won't
actually work until DOS goop is removed from ufs_disksubr.c.
1994-12-12 00:23:11 +00:00
Andreas Schulz 73d3aff9ac Changed the usage of the new not existant manpage macros CMD_EXT, INDOT
and SYS_OPS_EXT to the normal numbers. Garrett, don't kill me :-).
1994-12-12 00:23:00 +00:00
Bruce Evans 0300a965c8 diskslice_machdep.c implements reading and checking of DOS slice tables.
It will eventually replace readMBR.c.
1994-12-12 00:22:30 +00:00
Bruce Evans d1f35d579f subr_diskslice.c implements everything related to slices and labels except
reading and writing the slice tables and labels.

subr_dkbad.c implements everything related to bad sector remapping using
the bad144 format.
1994-12-12 00:20:34 +00:00
Andreas Schulz e82f07e12e Changed one uucico(1) to uucico(8). 1994-12-12 00:19:19 +00:00
Bruce Evans 9ba0e7c355 Add old options HZ, VN, ALLOW_CONFLICT_DRQ, ALLOW_CONFLICT_MEMADDR,
AUTO_EOI_1, AUTO_EOI_2, COMCONSOLE, COM_MULTIPORT.

Add new option DISKSLICE.

Change comments about DUMMY_NOPS.
1994-12-11 23:52:18 +00:00
Bruce Evans d98a0992b6 Add i386/isa/diskslice_machdep.c. This will eventually replace readMBR.c.
Sort.
1994-12-11 23:39:01 +00:00
Bruce Evans e03e30f85b Add kern/subr_diskslice.c, kern/subr_dkbad.c.
Sort.
1994-12-11 23:34:42 +00:00
Andreas Schulz a8fcd7af26 Changed a sum(1) to a cksum(1). 1994-12-11 23:29:20 +00:00
Andreas Schulz 2a7abc9144 Changed a reboot(1) to a reboot(8). 1994-12-11 23:27:59 +00:00
Bruce Evans 63856251d2 disklabel.h:
Prepare for disk slices - more macros for handling disk device numbers,
version of readdisklabel() without DOS goop.
Clean up prototypes.
Uniformize idempotency ifdef.

diskslice.h:
New file.

dkbad.h:
Define more magic numbers.
Declare internalized version of dkbad struct and functions to operate on it.
Uniformize idempotency ifdef.
1994-12-11 23:20:50 +00:00
Bruce Evans 51cd3c9666 Declare d_strategy_t here and use it to declare strategy functions.
Sort prototypes.
Uniformize idempotency ifdef.
1994-12-11 23:05:53 +00:00
Bruce Evans 9d93bf70ea Move declaration of d_strategy_t to <sys/conf.h>. 1994-12-11 23:05:18 +00:00
Andreas Schulz 3cefada244 Comment out the man page of rstat.1 from Makefile.inc. There is no rstat
command available yet.
Changed an entry in getprcent.3 from rpcinfo(8C) to rpcinfo(8).
Changed an entry in getrpcport.3 from 3R to 3.
Changed two entries in rpc.3 from 3N to 3.
1994-12-11 22:08:10 +00:00
Andreas Schulz 75f0ecb284 Added the mpool.3 manpage to the installed manpages. It is referred from the
other manpages and there is no conflict.
1994-12-11 22:03:05 +00:00
Andreas Schulz a4bc78d9f1 Changed a SORT 1L to a SORT 1. 1994-12-11 21:41:28 +00:00
Andreas Schulz 3b92fb1ec6 Changed one occurrence of LD 8 to LD 1 and the OS FreeBSD 1.1 to FreeBSD 2.0. 1994-12-11 21:39:31 +00:00
Garrett Wollman 1db18e0fc4 Advanced route cache management is now an official part of IP support. 1994-12-11 21:36:10 +00:00
Andreas Schulz dc59b9fd8d Changed one occurence of rmail(1) to rmail(8). 1994-12-11 21:35:17 +00:00
Garrett Wollman ac9ed61cad install command was missing a ${DESTDIR}. 1994-12-11 21:27:14 +00:00
Sean Eric Fagan 940ff2c0a9 Added "cpuid" opcode. 1994-12-11 20:46:55 +00:00
Gary Palmer ad19367c21 Early md5-checksumming code. This seems to work fine on my machine
but needs more testing on more ports than I have on my box.
1994-12-11 20:36:12 +00:00
Gary Palmer b3ac125106 Last gremlin-killer of the day. Typo fixed and missing .endif replaced. 1994-12-11 15:31:22 +00:00
Gary Palmer d628b1f606 <Sigh> Got the placing of a .if wrong. Fix it. 1994-12-11 14:50:40 +00:00
Gary Palmer 8a7c3fffc6 Erk. Damn. A hash perfixing a comment was lost somewhere.
Fixed.
1994-12-11 14:12:30 +00:00
David Greenman c8a62b4bc5 Removed inappropriate comment. 1994-12-11 03:33:58 +00:00
David Greenman d83ea8bcbd Add additional comment. 1994-12-11 03:11:23 +00:00
David Greenman 32b88083a9 Fix bogus comment. 1994-12-11 02:28:36 +00:00
David Greenman d33095d2b2 The physical memory allocated for input DMA must be contiguous. The driver
worked in the past only because of good fortune. Anyway, use the contig alloc
routine I wrote awhile ago (vm_page_alloc_contig) for the sound code to do
this allocation. Also, specify read+write on the permissions to pmap_enter().
Specifying just read can have unexpected consquences.
1994-12-11 01:45:41 +00:00
David Greenman 7b18a71899 Don't put objects that have no parent on the reverse_shadow_list. Problem
identified and explained by Gene Stark (thanks Gene!).

Submitted by:	John Dyson
1994-12-11 01:36:53 +00:00
Andreas Schulz 3339606d9a Document the options DUMMY_NOPS and TUNE_1542. 1994-12-11 00:09:34 +00:00
Andreas Schulz ea7f90817d Fixed a typo: /usr/sbin/lpd* to /usr/sbin/lpd as the name of the daemon. 1994-12-11 00:02:22 +00:00
Andrey A. Chernov 1223285da7 tputs prototypes... 1994-12-10 23:10:41 +00:00
Andrey A. Chernov d76f7c0fec tputs: (char) -> (int) 1994-12-10 23:02:33 +00:00
Andrey A. Chernov 9945b53297 Prototypes... 1994-12-10 22:56:53 +00:00
Andreas Schulz f2fe51f460 Correct a type in an ifndef EXCLUDE_3812 from 8312 -> 3812. Obtained
from the net or the mailinglist. Sorry, lost the original author.
1994-12-10 22:55:50 +00:00
Andreas Schulz 196c5f3921 Change the example in the printcap file for the spooling dir from
/var/spool/lpd to /var/spool/output/lpd. This is the new location
where the lpd-system now searches for files.
1994-12-10 22:46:25 +00:00
Andrey A. Chernov 6d1385d8be tputs: (char) -> (int) 1994-12-10 22:01:25 +00:00
Gary Palmer e0e109abe7 1) Small tidyup
2) Change INSTALL_MANPAGES to NO_INSTALL_MANPAGES and document it

3) Add a PKGNAME variable to allow the package name
   not to be dictated by stupid DISTNAMEs

4) Add a PATCH_DEBUG option and a slight change to the default
   patch system - add --forward to help ensure correct patching
1994-12-10 18:07:38 +00:00
Andrey A. Chernov b3c5d3e955 Fix tputs/tparm declarations 1994-12-09 22:02:19 +00:00
Andrey A. Chernov f13e0e1455 Fix tputs declaration 1994-12-09 21:59:06 +00:00
Andrey A. Chernov aa31b7471d Fix tputs/tparm declarations 1994-12-09 21:52:47 +00:00
Andrey A. Chernov c7d2093e06 Change all 'regoff_t' occurances to 'int'. GNU typedefed it as 'int',
but BSD 4.4 typedefed it as 'off_t'. Make _RX_C_ hook for sucessful
rx.c compilation
1994-12-09 02:26:23 +00:00
Andrey A. Chernov de0c026bbb Change #include order to not redifine __P 1994-12-09 01:51:16 +00:00
Andrey A. Chernov 9b39c00d7d Regcomp, re_comp eliminating 1994-12-09 01:08:56 +00:00
Andrey A. Chernov 97f0be939c More kosher regexp eliminating, based on BSD date now 1994-12-09 01:08:01 +00:00
Andrey A. Chernov 3f3f840110 Eliminate buggy regcomp and re_comp implementations,
we already have them in another place.
1994-12-09 00:46:42 +00:00
Andrey A. Chernov c9477304b6 Remove links before creating them 1994-12-08 22:27:49 +00:00
Poul-Henning Kamp 3ef61f7ea3 Update to current reality. 1994-12-08 21:46:04 +00:00
Poul-Henning Kamp d8290e4901 Would you please correct nfs/nfs_vfsops.c so that the ip address of the
root filesystem is printed out correctly?
It's line 299 in nfs/nfs_vfsops.c.

Reviewed by:	phk
Submitted by:	Luigi Rizzo [email protected]
1994-12-08 20:59:33 +00:00
Bruce Evans e5cb923fab Fix __CONCAT() for the ANSI case to work with #define'd args, in
particular, when one of the args is another __CONCAT().
1994-12-08 15:42:17 +00:00
Andrey A. Chernov 1fc232a389 Fix wrong regexps 1994-12-08 00:44:55 +00:00
Andrey A. Chernov 634225d12e Fix wrong unit=expr for tty? cua? 1994-12-06 23:06:10 +00:00
Bruce Evans a81b757af0 Don't allow negative limits at all. Convert them to RLIM_INFINITY instead
of returning EINVAL since something may depend on them being broken.
Allowing negative limits caused bugs almost everywhere.  The recent
fixes for MAXSSIZ checked the limits too late to stop anyone defeating
limits set by root...
1994-12-06 22:53:37 +00:00
Bruce Evans a2a65bbb14 Finish removing `#ifdef STATCLOCK'. Not removing it properly here
probably broke (only) the association of interrupts with strings
in vmstat output.
1994-12-06 22:01:16 +00:00
Bruce Evans 300d02be0c Don't refer to "hardwired" ports. 1994-12-06 20:14:30 +00:00
Bruce Evans 600caea8b2 Rename tty0* -> ttyd*. Comment about "serial" terminals instead of
"hardwired" or "dialin" terminals.
1994-12-06 19:59:24 +00:00
Bruce Evans 8a1068b371 Name the serial ports tty* and cua* in comments. ttyd* and cuaa* don't
match all the port names.

Start using shell functions to avoid duplication.

Make tty* independent of cua*.  Restore support for old names (tty0 ==
ttyd0, cua0 = cuaa0...).

Restore making of lpt1 and lpt2 by default.

Keep umask 077 for making vty*.  World-ioctable vtys are huge security holes
because of bugs in syscons.

Make vga if a vty is made.  It may still be required for X.  It got nuked
with pc*.

Start using umask consistently to avoid using chmod.
1994-12-06 19:50:17 +00:00
Gary Palmer 6ac234951f Add kryten.atinc.com 1994-12-06 19:48:07 +00:00
Søren Schmidt 05d7c5e73e Changed the behavior of KDMKTONE to comply with svr4, default to
old behavior if no argument present.
1994-12-06 19:32:00 +00:00
Bruce Evans 9195f40982 Use lstat() instead of stat() for checking if the final source file exists,
so that `ln -fs' works when the source is a symlink pointing to a non-
existent file.
1994-12-06 18:50:44 +00:00
Scott Mace b22bafcacc Add ftp.neosoft.com mirror. 1994-12-06 16:07:16 +00:00
Poul-Henning Kamp e419848b2c Avoid a panic if vn is configured as swapdev. Seems to work fine. 1994-12-06 06:47:32 +00:00
Andrey A. Chernov 62c83be30c 8bit locale ajustment fix 1994-12-06 04:23:42 +00:00
Andrey A. Chernov 1d4039c723 Upgrade to version 2.0 1994-12-06 03:16:45 +00:00
Jordan K. Hubbard ad12efc944 More changes from John T. Kohl. Man pages, mostly.
Submitted by:	jtkohl
1994-12-06 01:04:17 +00:00
Jordan K. Hubbard 8f396ebfb6 Many of John T. Kohl's patches from NetBSD. Thanks, John!
Submitted by:	jkohl
1994-12-06 00:51:50 +00:00
Andrey A. Chernov f62ac99484 rc.local -> rc.serial
cua0? -> cuaa?
1994-12-05 19:52:29 +00:00
Andrey A. Chernov eb1759f18c Add yet one locale example, this time ISO8859-1 as most common example.
Add reference where find full locales list
1994-12-05 19:46:35 +00:00
Andrey A. Chernov b32baf3440 gdc -> grdc 1994-12-05 19:30:00 +00:00
Paul Traina 247c65ea84 Fix spelling/grammar errors 1994-12-05 10:08:35 +00:00
Paul Traina a5af661e23 Remove extra newline introduced in 44lite (oops) 1994-12-05 10:01:39 +00:00
Paul Traina 2e8df940be Remove extra newline introduced in Net/2 1994-12-05 10:01:23 +00:00
Gary Clark II f2311444d3 Added entry to Systems.FAQ
Added note about lp TCP/IP driver
Added notes about b004, cx, ctx and pcaudio
Updated perl entry to point to ftp site that has it

NOTE:  If you have a system running 2.0 please email me ([email protected])
       tell what you have so I can include it!
1994-12-05 08:02:15 +00:00
Jordan K. Hubbard 41a8249b08 Remove pppd. 1994-12-05 01:37:50 +00:00
Jordan K. Hubbard 7520c44dde chrtoblk() returns dev_t, not int. 1994-12-05 01:34:54 +00:00
Jordan K. Hubbard ea13c2c9b5 1. Remove ppp options. There's no room in the generic kernel.
2. Fix some extra `:'s in some of the ftp site names.
1994-12-05 00:40:25 +00:00
Jordan K. Hubbard 9e950df280 Adjust source paths broken by the i386/ renaming. 1994-12-05 00:21:27 +00:00
Andrey A. Chernov e241d366eb change serial interface name 1994-12-05 00:13:11 +00:00
Andrey A. Chernov ee3a2d6021 Reflect lastest serial names change 1994-12-05 00:02:38 +00:00
Andrey A. Chernov fc306b1c16 cua*0? --> cua*a? 1994-12-04 23:54:39 +00:00
Andrey A. Chernov 6a3a94427d Remove yet one pccons-related comment 1994-12-04 23:50:40 +00:00
Andrey A. Chernov ab9ea4a725 New serial naming convention, remove tty0?, change cua0? --> cuaa?
Remove pccons stuff, we don't have it.
1994-12-04 23:48:38 +00:00
Poul-Henning Kamp d6b112dd35 Added vn as a possible swapdev. 1994-12-04 22:36:50 +00:00
Andrey A. Chernov 6d414f9844 Don't install as 'cu', it breaks Taylor 'cu' installed in the same
directory. Taylor 'cu' is much more powerful than this cheap 'tip'
1994-12-04 22:20:42 +00:00
Andrey A. Chernov 9dbcbbcf0d gdc -> grdc 1994-12-04 21:55:23 +00:00
Andrey A. Chernov 20c778875d Re-import with new name, old name conflicts with gated 1994-12-04 21:51:19 +00:00
Gary Palmer c4e294accb Add ftp://ftp.demon.co.uk/pub/BSD/FreeBSD/2.0-RELEASE 1994-12-04 21:15:59 +00:00
Andrey A. Chernov 1d56c96ced Remove iso8859-1 to proper name 1994-12-04 21:13:56 +00:00
Andrey A. Chernov 35daa0b773 Dig out full locale names set for ISO8859-1 (great success!) 1994-12-04 21:11:29 +00:00
Andrey A. Chernov aca02e247c Found at least one proper name for ISO8859-1 locale,
still need more names
1994-12-04 20:46:33 +00:00
Andrey A. Chernov 622d64cf1d Comment out iso88591 installation until proper name set will be found
(see README.locale_name). Please, anybody tell me language set
and countries set described in iso88591 to produce proper name set.
1994-12-04 20:27:31 +00:00
Joerg Wunsch 290dd077ef Here is a minor patch for FreeBSD 2.0R to allow it to recognize
2.88MB floppy drives.  All it does is set the type to 1.44MB if
it finds the 2.88MB drive.

Submitted by:	Andrew Gillham <[email protected]>
1994-12-04 20:22:20 +00:00
Poul-Henning Kamp d71771e8e3 Added vn*, doing the same thing as sd* and wd*. (Disklabel support will
be added to the vn driver).
1994-12-04 20:15:15 +00:00
Poul-Henning Kamp 4da31dbbaa The vnconfig program. 1994-12-04 20:12:26 +00:00
Andrey A. Chernov 5bf433c36e Add quick description of rules how to build locale name,
f.e. iso_8859_1 name is completely incorrect
1994-12-04 20:12:10 +00:00
Poul-Henning Kamp d6bfd0e8f6 Added the vnconfig program. 1994-12-04 20:11:50 +00:00
Poul-Henning Kamp 6f6b3f76c5 ioctl definitions for the vn driver. 1994-12-04 20:09:16 +00:00
Poul-Henning Kamp ae063c2896 Entries for the vn driver completed. 1994-12-04 20:08:57 +00:00
Poul-Henning Kamp 9020e0737c The vn driver from 4.4_lite 1994-12-04 20:08:35 +00:00
Poul-Henning Kamp afa59fd4f7 Added dev/vn/vn.c optional vn 1994-12-04 20:08:18 +00:00
Poul-Henning Kamp 54213fd84a Implemented a "TEXT_SET" called 'cleanup_set' which will be called before
the reboot takes place (if not RB_NOSYNC that is).  The vn driver needs this.
Other places might benefit too.
1994-12-04 19:58:43 +00:00
Andrey A. Chernov c0fc067043 Fix encoding scheme UTF2 --> None 1994-12-04 19:54:19 +00:00
Andrey A. Chernov 7177204106 Reorganize data to not mess with sources 1994-12-04 19:52:31 +00:00
Andrey A. Chernov 69c238f94d Fix wrong encoding scheme UTF2 --> NONE 1994-12-04 19:41:35 +00:00
Jordan K. Hubbard 81db698e3a Joe Greco <[email protected]>'s enhancements to startslip.
Submitted by:	jgreco
1994-12-04 12:26:01 +00:00
Jordan K. Hubbard 6a2af57e44 Install Kaleb's iso_8859_1 by default. 1994-12-04 12:22:45 +00:00
Jordan K. Hubbard f16fb8e0f7 From: Kaleb Keithley <[email protected]>
Here's something that should be a big selling point for European users.
Note that Linux still doesn't support anything other than the POSIX locale.
This is a superset of the POSIX locale with support for all the accented
characters. You need this to do compose processing in XFree86 3.x. I'm
using this on my 1.1.5.1 system. Don't know whether it works on 2.0, but
can't think of any reason why it wouldn't.

Submitted by:	kaleb
1994-12-04 12:19:25 +00:00
Bruce Evans b48a498871 Fix bogus include paths:
<systm.h> is <sys/systm.h>.
<kernel.h> is <sys/kernel.h>.
1994-12-04 08:52:51 +00:00
Bruce Evans 21e880de5d Fix bogus and broken include paths:
<string.h> isn't supposed to be used by the kernel.

cronix.h is <machine/cronix.h>, not "cronyx.h" (ambiguous) or
<sys/cronyx.h> (nonexistent; caused compile to fail).

cxreg.h is <i386/isa/cxreg.h>, not "cxreg.h".

<i386/isa/cpufunc.h> shouldn't be included directly; it is always
included by <sys/systm.h>.

<i386/include/*.h> is <machine/*.h>

<systm.h> is <sys/systm.h>.
<kernel.h> is <sys/kernel.h>.

<bpfilter.h> is "bpfilter.h".  It really is in the current directory.
1994-12-04 08:51:58 +00:00
Bruce Evans 9cdd2c1f8c Add cx.4 to MLINKS.
Someone should fix `man' so that man pages in machine-dependent
subdirectories are handled automagically at least for the
current machine.
1994-12-04 08:07:47 +00:00
Bruce Evans 7e1a4c5c36 Fix another path that was broken by moving things to sbin/i386. 1994-12-04 08:01:24 +00:00
Poul-Henning Kamp bd1322b660 Allocated chardev#43 and blkdev#15 to the vn-driver. The rest of the stuff
will come as a latter date, I just wanted to lay claim on some numbers.
1994-12-04 07:14:16 +00:00
Poul-Henning Kamp bd1f210f7e Cannot use rmdir() for 'FR' because mkCTM doesn't sort the directories
in -depth order for us.  cvs-cur.0018.gz is a good example.
1994-12-04 04:47:31 +00:00
Jordan K. Hubbard e27a543a57 Fixes from Jim Babb. Should finally fix tape installations. Thanks, Jim!
Submitted by:	babb
1994-12-04 03:41:18 +00:00
Andrey A. Chernov f38f7e1a33 Describe tparm 1994-12-04 03:15:30 +00:00
Jordan K. Hubbard 9077e6d34c >Originator: Gene Stark
>Description:

       If a process attempts to open a floppy tape device when the
device has been configured in the kernel, but did not probe and attach
on bootup, then a panic will occur.

[Review:  The current ft situation is a crock, and this only bandaids
 an earlier wound inflicted by making the attach conditional.  This urgently
 requires a review]
Submitted by:	gene
1994-12-04 03:10:09 +00:00
Andrey A. Chernov d6761eb4f8 Add $Id$ 1994-12-04 02:49:24 +00:00
Andrey A. Chernov 5426275f52 Add libtermcap to includes target 1994-12-04 02:46:28 +00:00
Andrey A. Chernov 43f9c02773 termcap.h now belongs to system 1994-12-04 02:43:41 +00:00
Andrey A. Chernov fc98213f95 Add termcap.h & tparm 1994-12-04 02:41:41 +00:00
Andrey A. Chernov cdbbd9cfaf don't allow ctty to be set to ctty - infinite kernel recursion
Obtained from: 1.1.5.1
1994-12-04 01:46:13 +00:00
Gary Palmer 903448b1da Add two sites in the UK - src.doc.ic.ac.uk and unix.hensa.ac.uk 1994-12-04 01:10:47 +00:00
Andrey A. Chernov 73a361245d Call d_stop in ttyflush not only for WRITE but for READ too
Obtained from: 1.1.5.1
1994-12-04 01:01:45 +00:00
Poul-Henning Kamp ada6f1dd56 Fix this to work under 2.0 also. 1994-12-03 22:54:04 +00:00
Poul-Henning Kamp 0c290b8b2d added a missing '\n' in both files. 1994-12-03 22:52:57 +00:00
Scott Mace 663afbc34f Make CHILD_MAX and OPEN_MAX a tunable parameter. 1994-12-03 17:36:37 +00:00
Andreas Schulz d025cfd6c5 Throw out the abort call, the reasoning seems to be false :-).
Change a round to a truncate. Problem reported from Christoph Kukulies:
9.8 2 / p did an IOT trap.
There is one remaining problem.: 9.8 2 % p shows on other machines 1.8
but does here in the moment 1.
1994-12-03 16:32:02 +00:00
Jordan K. Hubbard e28b57d51b Add back the Croynx stuff I nuked accidently. I'm not touching this
file anymore after this.  My link makes it too painful to make
interactive mods, and I don't have the CVS tree here so making changes
for "previous history" have to get done on freefall, with the corresponding
degree of pain.
1994-12-03 14:01:01 +00:00
Bruce Evans 91290462f6 Disable CLKF_BASEPRI() again. I forgot to edit an unwanted change out of
the diffs for the previous commit.
1994-12-03 10:18:24 +00:00
Bruce Evans 3544ae54e2 extern.h, iostat.c, main.c, vmstat.c:
Use the correct value of hz (stathz if it is nonzero) for
	interpretion of dk_time[] and cp_time[] in iostat.c.  Avoid
	multiple conversions of this value in iostat.c and vmstat.c

iostat.c:
	Implement the display of cp_time[CP_INTR].  Fix the display
	of cp_time[CP_IDLE] (the display was always null because
	cp_time[CP_INTR] == 0 was displayed instead).

systat.1:
	Document the display of cp_time[CP_INTR].

vmstat.c:
	Implement the display of cp_time[CP_INTR].
1994-12-03 10:06:40 +00:00
Bruce Evans b39b673d37 i386/exception.s,
Keep track of interrupt nesting level.  It is normally 0
	for syscalls and traps, but is fudged to 1 for their exit
	processing in case they metamorphose into an interrupt
	handler.

i386/genassym.c;
	Remove support for the obsolete pcb_iml and pcb_cmap2.

	Add support for pcb_inl.

i386/swtch.s:
	Fudge the interrupt nesting level across context switches and in
	the idle loop so that the work for preemptive context switches
	gets counted as interrupt time, the work for voluntary context
	switches gets counted mostly as system time (the part when
	curproc == 0 gets counted as interrupt time), and only truly idle
	time gets counted as idle time.

	Remove obsolete support (commented out and otherwise) for pcb_iml.

	Load curpcb just before curproc instead of just after so that
	curpcb is always valid if curproc is.  A few more changes like
	this may fix tracing through context switches.

	Remove obsolete function swtch_to_inactive().

include/cpu.h:
	Use the new interrupt nesting level variable to implement a
	non-fake CLF_INTR() so that accounting for the interrupt state
	works.

	You can use top, iostat or (best) an up to date systat to see
	interrupt overheads.  I see the expected huge interrupt overheads
	for ISA devices (on a 486DX/33, about 55% for an IDE drive
	transferring 1250K/sec and the same for a WD8013EBT network card
	transferring 1100K/sec).  The huge interrupt overheads for serial
	devices are unfortunately normally invisible.

include/pcb.h:
	Remove the obsolete pcb_iml and pcb_cmap2.  Replace them by
	padding to preserve binary compatibility.

	Use part of the new padding for pcb_inl.

isa/icu.s:
isa/vector.s:
	Keep track of interrupt nesting level.
1994-12-03 10:03:19 +00:00
Jordan K. Hubbard 46953c1291 Back out previous commit until we work this out. Sigh. 1994-12-03 04:46:09 +00:00
Andrey A. Chernov 6a24938756 Move gdc/bs to games 1994-12-03 04:42:49 +00:00
Andrey A. Chernov 64cfe457df Add bs/gdc 1994-12-03 04:40:26 +00:00
Andrey A. Chernov fcd9a52b79 Move ncurses test here (also nice game) 1994-12-03 04:34:46 +00:00
Andrey A. Chernov 268e74f211 exit_standout don't turn most attributes off, fixed 1994-12-03 04:27:08 +00:00
Andrey A. Chernov 5e7d2146bb #ifdef out check for pending input, cause problems with
output-only pgms
1994-12-03 03:35:30 +00:00
Andrey A. Chernov 62046959a1 Prevent core dump for root
Obtained from: partially from 1.1.5.1
1994-12-03 02:27:40 +00:00
Garrett Wollman 39c28aded9 Add Cronyx/Sigma cdevsw[] entry. 1994-12-03 00:18:15 +00:00
Garrett Wollman 83401efa16 Add Cronyx/Sigma files and config information; delete outdated config files. 1994-12-03 00:17:55 +00:00
Garrett Wollman 7f41568cfb Add generic sync PPP file. 1994-12-03 00:17:19 +00:00
Garrett Wollman ce257f0e68 Add cronyx driver entries. 1994-12-03 00:07:49 +00:00
Garrett Wollman 15d5589942 Add cx(4) to the Makefile. 1994-12-03 00:03:56 +00:00
Garrett Wollman 1fa33d23b5 Move i386-specific programs into i386 subdirectory. 1994-12-02 23:53:23 +00:00
Garrett Wollman 6014635361 Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
Garrett Wollman 114a506d1a Delete old, confusing comment. 1994-12-02 23:10:32 +00:00
Andreas Schulz 06935b59e5 Add one forgotten u_quad_t typecast in dosetrlimit. 1994-12-02 23:00:40 +00:00
Jordan K. Hubbard 6fe5a28afa Add Israel site. 1994-12-02 21:15:19 +00:00
Jordan K. Hubbard 4e5a373b00 IFCONFIG->IFCONFIG_CMD in dialog box prompt. 1994-12-02 21:05:27 +00:00
Jordan K. Hubbard a268c1cec5 More comments on tape installs. 1994-12-02 20:27:11 +00:00
Andrey A. Chernov 9b50f2c60a Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
Andrey A. Chernov 303f46f591 bkgd() family fixes 1994-12-02 19:43:34 +00:00
Jordan K. Hubbard 4274bc80ca |From: Keith Walker <[email protected]>
|Message-Id: <[email protected]>
|To: [email protected]
|Subject: A little problem with MAKEDEV
|
|For a while now, MAKEDEV's been kinda neat: you create the cua* files,
|and it deletes the tty* files; you create the tty* files and it
|deletes the corresponding cua* files. K00l! :-)

[Ed Note - I think this behavior was wrong, and this fix better].
1994-12-02 16:08:53 +00:00
Jordan K. Hubbard 6413d9a335 Josh Littlefield's fixes for my extreme boneheadedness. 1994-12-02 15:52:55 +00:00
Jordan K. Hubbard 7184c6cea1 Fix dialog width for "Please enter the next diskette..." stuff.
Mount DOS floppies read-only.
1994-12-02 15:36:45 +00:00
Andrey A. Chernov aea7c17415 Implement chage_scroll_region properly 1994-12-02 07:35:48 +00:00
Andrey A. Chernov 795172f7a5 Upgrade to version 1.8.6 1994-12-02 06:40:24 +00:00
Nate Williams 766ee5695e Kernel name is now kernel and not 386bsd. 1994-12-02 06:19:37 +00:00
Garrett Wollman 73579c400f Add a check to make sure that we don't fiddle with the NFS routing tables
as well (bleah!).  Also, increase the interval to the real-life value and
eliminate debugging printfs.  This will be standard once tested by others.
1994-12-02 03:32:24 +00:00
Garrett Wollman 3980ac4f63 Change obnoxious ``Not root dir'' error message into one which actually
tells you what's wrong.
1994-12-02 02:58:56 +00:00
Andrey A. Chernov 92915f5044 Change wakeup to endtsleep, because wakeup don't produce timeout
state, cause infinite wakeups loop in ttywait
1994-12-01 23:48:09 +00:00
Garrett Wollman fa1f0e90fb Add latest version of ``advanced route metric management'' :-)
As before, this is currently conditionalized on options IN_RMX until
I'm sure it's working.
1994-12-01 23:19:48 +00:00
Garrett Wollman 40569757cc In _gethostbydnsaddr(), force RES_RECURSE into _res.options. This is
incredibly obnoxious, but also makes inverse mappings work when the local
resolver is in a cache-only configuration.  (Maybe this is actually
a bug in BIND?)
1994-12-01 22:25:38 +00:00
Andreas Schulz 53daef245b Submitted by: Philippe Charnier
Fixed a little typo: lable -> label.
1994-12-01 22:19:02 +00:00
Poul-Henning Kamp 1c3a258d79 Fixed a typo. Poited out by Bruce & Phillipe. 1994-12-01 21:05:28 +00:00
Andreas Schulz a7d72265c4 The values for setrlimit in the data size and stack size case are
used as an address value. Then all comparisons should be done unsigned
and not signed. Fix it with a typecast of u_quad_t.
Error can be demonstrated with the current bash in port, do a
ulimit -s unlimited and the machine hangs. bash delivers through
an internal error a large negative value for the stacksize, the
comparison saw this smaller than MAXSSIZ and then tried to expand
the stack to this size.
1994-12-01 20:20:21 +00:00
Jordan K. Hubbard bb7cc11ad5 1. the prgboxes aren't working at all. Stop using them for tape
extraction.
2.  If what's extracted from the tape is a subdir, cd into it before attempting
    to extract it.
1994-12-01 20:11:52 +00:00
Jordan K. Hubbard 8591ae7177 Add gzips for the real floppy images. 1994-12-01 20:02:44 +00:00
Jordan K. Hubbard 7f434bbba0 Remove gratuitous gzip of boot.flp 1994-12-01 20:01:37 +00:00
Jordan K. Hubbard c0113a6673 Fix another unfortunate little buglet intruduced during the Great Renaming.. 1994-12-01 20:00:32 +00:00
David Greenman a466088c6b Install rc.serial. 1994-12-01 13:55:49 +00:00
Jordan K. Hubbard 290f426469 More fixes from Keith Walker. Thanks, Keith! 1994-12-01 13:46:13 +00:00
Jordan K. Hubbard 64499a1b6c Fix some long-standing english wonkiness. 1994-12-01 13:24:20 +00:00
Ugen J.S. Antsilevich 57476d2f22 Sorry..forgot something for yesterdays login patch..
(Umm..i hope nobody "make world" this time:)
1994-12-01 12:35:54 +00:00
Jordan K. Hubbard 125cb52f95 Argh. I hate my life. I broke NFS *again* by leaving this line
inadvertantly in place.  I guess I have it in for NFS installs or
something! :-(
1994-11-30 22:15:48 +00:00
Jordan K. Hubbard 62728441d8 Build both 1.2MB and 1.44MB floppies now. this all needs a good re-think,
but this at least works for now.
Reviewed by:
Submitted by:
Obtained from:
1994-11-30 15:54:39 +00:00
Ugen J.S. Antsilevich 6dc4937281 Patch of password expired bug.
Now password changed for right user and
no longer possible to skip password change.
I hope it will be ok....
1994-11-30 15:40:09 +00:00
David Greenman e63424631a Changed the TIOCSTAT ioctl to a no argument type so that tcsh and friends
don't have to pass in the address of a bogus variable just to make ioctl
happy.
1994-11-30 15:02:43 +00:00
Jordan K. Hubbard e54a328608 Document how to re-enable the floppy-tape drive. 1994-11-30 13:17:50 +00:00
David Greenman 89384ace85 Fix bug I introduced that broke BPF support. Caused by a byte order problem
in an if () expression. Problem fixed by removing the test for ETHERTYPE_*
before passing packet to higher layers.
1994-11-30 12:08:23 +00:00
Jordan K. Hubbard 1ca6f46d56 Reverse the meaning of previous change.
Now floppy tape support is *disabled* unless you specifically
request otherwise.  Poul wanted it this way, and I guess I'm not going to argue
though it may seem counter-intuitive.  We can always change it back, later.
1994-11-30 12:04:28 +00:00
Jordan K. Hubbard f8de047922 Keith Walker's "howto" notes on preparing floppy or tape distribtution
fodder.  Thanks, Keith!  Much needed!
1994-11-30 11:59:53 +00:00
Jordan K. Hubbard a45ccac929 Merge in more creature-confort changes, plus some spelling and general
badness fixes from Keith.
1994-11-30 11:58:29 +00:00
Jordan K. Hubbard 4c0c58d87c Change `-o resvport' to a much simpler -P. 1994-11-29 23:55:52 +00:00
Jordan K. Hubbard 371b1a9213 Make the suggested NFS options actually work now. Neither Garrett nor I were
actually correct.  mount_nfs takes *different* options than mount -t nfs does.
1994-11-29 23:54:07 +00:00
Jordan K. Hubbard 3a7ab8e060 Add entry for Australia. 1994-11-29 23:44:07 +00:00
Andrey A. Chernov 5bddf43a12 Restore mv check, cause panic without it
Submitted by: Ade Barkah
1994-11-29 23:39:15 +00:00
Justin T. Gibbs c21818c866 Put the sequencer into FASTMODE during initialization. I can now
get up to 8m/sec write performance out of a pd2100 with this driver.
1994-11-29 23:06:54 +00:00
Justin T. Gibbs cb0d548bf4 Merge in latest Linux sequencer code release with my changes. This should
make the sequencer code fully compatible with the aic7870 (ie 294x adaptors).
I've also added to my local mods putting the sequencer into "FASTMODE" clock.
This gives upwards of 2M/sec write preformance improvement in some scenarios.
There haven't been any reports of this causing problems, and I have been
reaping the benifits of it for more than a week now.

This also includes a new version of the pre-generated file <ugh>

Obtained from: John Aycock ([email protected]) and myself
1994-11-29 23:04:23 +00:00
Jordan K. Hubbard 74c8239d6a Add additional sites from ftp list. Put germany in proper
alphabetical order.
1994-11-29 22:43:15 +00:00
Jordan K. Hubbard d6da96e176 Add uni-duisburg Germany site. 1994-11-29 22:31:03 +00:00
Guido van Rooij f89cc4ce98 Add ftp.nl.net to MIRROR.SITES. 1994-11-29 18:23:21 +00:00
David Greenman 6e1173dc29 In past releases of FreeBSD, I have used the exit status of "ping" to
determine whether a connection to a given machine is up or not.

In FreeBSD 2.0 (and therefore, I assume, BSD 4.4) the exit code of ping
is always zero, even if no packets were received.

I would like to propose the following change to /usr/src/sbin/ping/ping.c
to restore this useful behaviour:

Submitted by:	Denis Fortin
1994-11-29 16:09:56 +00:00
Jordan K. Hubbard 8580379053 Experimental change to floppy driver to NOT probe the floppy tape if
flags & 0x1.  Somebody should build a kernel with this and see if
the floppy-tape damaged people can turn it off properly with userconfig.
I can't reproduce the original problem here.
1994-11-29 15:46:20 +00:00
Andrey A. Chernov 1f36118a96 wscrl: implement partial scrolling via al/dl
winsdel: implemented via wscrl
winsertln/deleteln: implemented as macros via winsdel
1994-11-29 02:48:20 +00:00
Andrey A. Chernov f3be64932f Get rid of gets
Submitted by: Ollivier Robert
1994-11-29 01:11:43 +00:00
Andrey A. Chernov 3d9528063c BSD 4.4 compatibility fix
Submitted by: Ollivier Robert
1994-11-29 01:05:37 +00:00
Jordan K. Hubbard f37da39bb9 Do some last evil things when extracting the bindist to work around problems
reported so far with /tmp and /sys.  This should just drop into a current
bindist without problems.
1994-11-29 00:56:30 +00:00
Stefan Eßer 99e7cabca3 Really deactivated the code that puts scsi stats into dk0.
This should have been disabled for some time, but I had screwed up ...
This made spurious values appear for fd0 in systat, when there was
NCR SCSI activity.
1994-11-28 23:18:46 +00:00
Jordan K. Hubbard 50d89503a4 First shot at fixing all the various bugs reported so far in the
installation.
1994-11-28 22:13:07 +00:00
Justin T. Gibbs aef8c83d89 Add fbtab.5 to the Makefile so that it will be installed.
Garrett mentioned the /etc/fbtab feature and I was wondering why
I hadn't heard of it...
1994-11-28 21:52:45 +00:00
Andreas Schulz 1a61bcff48 Add the 3C501 to the supported hardware list. 1994-11-28 21:52:15 +00:00
Andreas Schulz 86b41cccd2 Add the NCR 53C825 and the 3com 3C507 and 3C579 to the supported
hardware list.
1994-11-28 19:23:19 +00:00
Andreas Schulz a7f24f529c Add the files y.tab.h and a2p.c that get automatically generated to
the CLEANFILES target. Remove the file a2p.c from the source tree, this get
generated anew from a2p.y.
1994-11-28 18:30:44 +00:00
Andreas Schulz eafe5e1c1c Add the automatically generated files: y.tab.h c-exp.tab.c ch-exp.tab.c and
m2-exp.tab.c to the CLEANFILES target.
1994-11-28 17:19:52 +00:00
Ugen J.S. Antsilevich c334f8666a Added: ICMP reply,TCP SYN check,logging.. 1994-11-28 12:35:14 +00:00
Ugen J.S. Antsilevich 7985370449 Interface changes to support additions to firewall. 1994-11-28 12:34:37 +00:00
Andreas Schulz 6313f15402 Add the automatically generated crunched_skel.c file to the CLEANFILES. 1994-11-28 11:46:37 +00:00
Andreas Schulz 588cf4250c Add the files: characs, gold, lastdead, mess, monsters, motd, scoreboard, void
that are created from a setup program to the CLEANFILES list.
1994-11-28 11:12:29 +00:00
Satoshi Asami 9a96872aa3 Add a site in Northern Japan. 1994-11-28 06:46:49 +00:00
Andreas Schulz 7dd4667fed Submitted by: M.C. Wong
Obtained from:
Don't throw away the /etc/nologin file in the -k case.
1994-11-27 23:52:13 +00:00
Andreas Schulz d3378ee165 Include "scbus.h" in scsiconfig.c to get the number NSCBUS from the
config file.
1994-11-27 23:30:48 +00:00
Andreas Schulz f345c4ea15 Comment out an illegal define (E_CLNL_???). 1994-11-27 20:58:30 +00:00
Bruce Evans fb5960efc4 Remove ifdef for STATCLOCK. STATCLOCK is standard. 1994-11-27 16:16:35 +00:00
Bruce Evans e89bcdb80f Apply an even number of ntohl's to icmp_otime. This fixes
`timedc clockdiff ...'.
1994-11-27 16:06:31 +00:00
Bruce Evans 8a3c1b369a Fix syntax errors (0 = foo()). 1994-11-27 16:01:29 +00:00
Bruce Evans 7b9754ed1f Fix previous change: don't attempt to reserve cblocks if the tty is null. 1994-11-27 15:29:57 +00:00
Andreas Schulz 0e01a1ca15 Expand again the SYMTAB_SPACE for LINT. 1994-11-27 14:59:54 +00:00
David Greenman 150f9c68d5 Go back to -O optimization...Bruce's arguments against -O2 are convincing
enough for me.
1994-11-27 14:26:16 +00:00
Joerg Wunsch d439025208 Temporary kludge: treat \r same as \n in input, so working on a
comconsole will behave as expected.  The true problem should be fixed
instead, Bruce' comment for this:

>Anyway, i found the reason for my problems: somehow, ICRNL isn't in
>effect at `userconfig' time (but only for comconsole?), hence only

ICRNL doesn't apply to cngetc().  cnputc() unconditionally does the
equivalent of ONLCR; perhaps cngetc() should unconditionally do the
equivalent of ICRNL.  Ddb must be checking for CR.  Userconfig only
checks for NL.  Userconfig works with syscons because pccngetc()
does the conversion.  This is probably the wrong place to do it.
1994-11-27 13:43:37 +00:00
Andreas Schulz 66f2024ac6 Correct a typo in my mailing address and also use the new alias for my
machine. I should better rename it soon from g386bsd to freebsd to
avoid confusion with the new 386BSD release :-).
1994-11-27 13:06:18 +00:00
Andreas Schulz 0517d73d9a Submitted by: Philippe Charnier
Corrected two typos in the specification of the french freebsd site.
freeBSD -> FreeBSD.
1994-11-27 13:03:00 +00:00
Andrey A. Chernov 79f2f48ea8 Fix many duplicated attribute sets 1994-11-27 05:23:52 +00:00
Andrey A. Chernov 3d3c746818 Add wrefresh before doing putp when idlok 1994-11-27 03:08:12 +00:00
Andrey A. Chernov 06fc741b2a Make idlok works properly with back color erase. 1994-11-27 02:22:09 +00:00
Poul-Henning Kamp 6128633879 I made a syntax error yesterday.
Submitted by:	John Capo
1994-11-27 01:49:39 +00:00
Andreas Schulz 5aff5aea84 Expand the EISA MAX_SLOTS from 8 to 16. 1994-11-26 23:10:03 +00:00
Bruce Evans 3339943545 Submitted by: Kirk McKusick
Allow chown() to return success if the gid isn't changed even if
the gid is not the caller's.  Such gids are normal for files created
in world-writable directories sucj as /tmp.  This "fixes" annoying
error messages for mv'ing files created in /tmp to another file
system.  mv still preserves the foreign gid of /tmp, but now does
it silently.
1994-11-26 19:38:30 +00:00
Andrey A. Chernov 23826a9d2a Call rc.local with . instead of sh to pass variables
Submitted by: John Capo
1994-11-26 19:25:14 +00:00
Bruce Evans d1a795a280 Fix cblock starvation bugs by reserving enough cblocks for minimal
operation of each clist.  Limit the growth of each clist.  Clists
can only grow larger than the reserved minimum if there are free
cblocks in a shared pool.  The size of this pool is now fixed
(this could be improved).  The reserved and maximum sizes are more
carefully allocated for slip and ppp, depending on the mtu.  A maximum
MTU of 16384 is now enforced for ppp.
1994-11-26 19:24:13 +00:00
Bruce Evans ba77d4e47b Don't block for output in non-blocking mode if clists run out.
Remove an unnecessary test (if the output queue is above high water
then it is nonempty).
1994-11-26 18:54:25 +00:00
Andreas Schulz 5dd2c633c9 Add a -fwritable-strings to the CFLAGS. hack need it :-). 1994-11-26 16:15:44 +00:00
Andreas Schulz 0013dd1dc4 Correct a litle typo in an error message: PRC -> RPC. 1994-11-26 13:57:46 +00:00
Satoshi Asami d58baccfd1 Typo. 1994-11-26 12:10:37 +00:00
David Greenman fdfb68ba09 Always put received packets in an mbuf cluster. This simplifies the code
considerably and is measurably faster. Various comment fixes.
1994-11-26 10:51:49 +00:00
Poul-Henning Kamp 4ca88be6e9 Set the bootverbose if so desired.
if (bootverbose)
    Print the geometries the bios passes to us (through the bootblocks).
1994-11-26 09:37:57 +00:00
Poul-Henning Kamp 0a6a925d04 Declare "extern int bootverbose", so that device-drivers and others
easily can find it.
1994-11-26 09:27:58 +00:00
Poul-Henning Kamp 424183f2a4 Implement RB_VERBOSE. This is intended to mean: Print all information which
could be of any use for trouble-shooting problems with boot/devices/drivers.
1994-11-26 09:08:48 +00:00
Poul-Henning Kamp 94fc076f56 Stefan Esser proved that I couldn't program, and Ollivier Robert that I
couldn't spell :-)
Submitted by:	Stefan Esser, Ollivier Robert
1994-11-26 08:57:42 +00:00
Satoshi Asami 94c13683b4 Added some Japanese sites that carry 2.0-RELEASE. 1994-11-25 23:13:26 +00:00
Andreas Schulz e4c5063e0b Changed the MAX_SLOTS constant from 8 to 16. The EISA bus can have up
to 16 slots.
1994-11-25 22:25:15 +00:00
Gary Clark II 156cca51f5 Add entry about missing perl libs. Would someone please add a tar file of
these to freefall.cdrom.com:~/pub/perl/libs.tar.gz.
1994-11-25 19:40:25 +00:00
Andrey A. Chernov 5ddddc4827 Change wrong comment: NCFTP_ARGS --> NCFTPFLAGS 1994-11-25 17:04:02 +00:00
David Greenman 7e20f2848c Go back to Bruce's fix with a minor change that will allow a NULL string
pointer if len is 0. I should have looked at the revision history - I would
have found that Bruce already fixed the bug with len=0 over a month ago.
Whoever said that the bug was in 2.0 was wrong.
1994-11-25 08:58:53 +00:00
David Greenman eadf9e27cd These changes fix a couple of lingering VM problems:
1.	The pageout daemon used to block under certain
	circumstances, and we needed to add new functionality
	that would cause the pageout daemon to block more often.
	Now, the pageout daemon mostly just gets rid of pages
	and kills processes when the system is out of swap.
	The swapping, rss limiting and object cache trimming
	have been folded into a new daemon called "vmdaemon".
	This new daemon does things that need to be done for
	the VM system, but can block.  For example, if the
	vmdaemon blocks for memory, the pageout daemon
	can take care of it.  If the pageout daemon had
	blocked for memory, it was difficult to handle
	the situation correctly (and in some cases, was
	impossible).

2.	The collapse problem has now been entirely fixed.
	It now appears to be impossible to accumulate unnecessary
	vm objects.  The object collapsing now occurs when ref counts
	drop to one (where it is more likely to be more simple anyway
	because less pages would be out on disk.)  The original
	fixes were incomplete in that pathological circumstances
	could still be contrived to cause uncontrolled growth
	of swap.  Also, the old code still, under steady state
	conditions, used more swap space than necessary.  When
	using the new code, users will generally notice a
	significant decrease in swap space usage, and theoretically,
	the system should be leaving fewer unused pages around
	competing for memory.

Submitted by:	John Dyson
1994-11-25 07:58:29 +00:00
David Greenman 40598ff428 Fixed bugs related to returning NULL if length is zero. 1994-11-25 04:11:19 +00:00
David Greenman 293df9d65a Moved "VMSTAT" column up by one row so that it displays properly on 24
row displays.
1994-11-25 03:48:04 +00:00
Andrey A. Chernov 879732b84c Remove -u argument, does nothing for non-priviliged user.
Write LOGNAME in addition to USER as sun uucpd does.
1994-11-25 02:27:08 +00:00
Poul-Henning Kamp 2ef260d35c Fix secrdist sharedlib bug. 1994-11-24 22:34:18 +00:00
Poul-Henning Kamp f9e9c0eceb Finally commit the tzsetup thing :-)
Delete old cksum stuff before remaking it.
1994-11-24 22:30:03 +00:00
Andrey A. Chernov 0f4d42e2c4 Sectors field too narow (6 digits only), increase it to 7 1994-11-24 21:56:03 +00:00
Andrey A. Chernov 3a9d53eaf3 Fix draw_box dims 1994-11-24 21:50:26 +00:00
Andrey A. Chernov 3cab153245 Add -lcompat to LDADD for insque/remque (they treated as part of library) 1994-11-24 21:02:00 +00:00
Jordan K. Hubbard d3be45ac2d Make the UFS stuff try to be a little less clever. 1994-11-24 20:52:16 +00:00
Jordan K. Hubbard 191e03f508 Only get CD/NFS/UFS/... subdirs if they're really necessary. 1994-11-24 20:49:58 +00:00
Stefan Eßer 9ec2a4b3e3 Added #define PROBE_VERBOSE and description (PCI chip set boot messages)
Reviewed by:
Submitted by:
Obtained from:
1994-11-24 20:35:21 +00:00
Andrey A. Chernov 733e641beb Forget to exit alt charset mode, critical for non-cons25r
terminals wits as/ae
1994-11-24 15:09:30 +00:00
David Greenman 4abc71c008 Don't try to page to a vnode that had it's filesystem unmounted. 1994-11-24 14:43:22 +00:00
David Greenman 307d80be7a Moved conversion of ether_type to host byte order out of ethernet drivers
and into ether_input(). It was silly to have bpf want this one way and
ether_input want it another way. Ripped out trailer support from the few
remaining drivers that still had it.
1994-11-24 14:29:38 +00:00
David Greenman 63281ad752 Changed optimization level to -O2. 1994-11-24 14:26:11 +00:00
David Greenman 42f9504181 Re-apply an old patchkit days fix of mine for mempages:
* PATCHES MAGIC                LEVEL   PATCH THAT GOT US HERE
 * --------------------         -----   ----------------------
 * CURRENT PATCH LEVEL:         1       00051
 * --------------------         -----   ----------------------
 *
 * 14 Aug 92    David Greenman          Fixed NEWVM mempages calculation
1994-11-24 13:13:55 +00:00
Andrey A. Chernov 97b8db5f63 For unknown reason _G_HAVE_SYS_RESOURCE was defined to 0 instead
of 1. (we have it). Please check gnu2bmake script
1994-11-23 21:11:20 +00:00
Andrey A. Chernov 284cd8b7b9 Add missing osfcn.h 1994-11-23 21:00:24 +00:00
Garrett Wollman 8a7c811a5b Don't core on ``root on qq0 and fx0 and yy0'' specifications; just
take the first one and ignore all the rest, giving a warning message.
Fixes PR #3.
1994-11-23 20:36:08 +00:00
Andrey A. Chernov 1573231708 mass fixes from 1.1.5.1 + better log erros and incorrect logins 1994-11-23 19:33:17 +00:00
Andrey A. Chernov 768c5595a8 Fix uucico path
Submitted by:  Gene Stark
1994-11-23 17:48:31 +00:00
Doug Rabson e59e6a8322 Update the RenderMorphics entry.
Reviewed by:
Submitted by:
Obtained from:
1994-11-23 13:13:12 +00:00
Jordan K. Hubbard 372f8992f9 More completely integrate Garrett's doc changes. I didn't read them
closely enough the first time.
1994-11-23 11:04:00 +00:00
Jordan K. Hubbard 84b30f9ab5 Fix stupid NFS bug reported by David Rivers
Fix doc bug reported by Garrett Wollman.
A new cpio floppy should probably be rolled from these changes.
1994-11-23 11:01:41 +00:00
Jordan K. Hubbard 820055b04b Correct a really stupid bug that broke NFS installs. SIGH!!!!! 1994-11-23 10:52:30 +00:00
Gary Clark II 8af9982ad9 Add entry about problems with BT-946c's and some Intel MB's.
Obtained from: Paul Richards
1994-11-23 10:21:59 +00:00
Ugen J.S. Antsilevich 033f71c8e2 The long-time-waited-for patch for PPP.
See Gene's mail for explanation..
Submitted by: Gene Stark
1994-11-23 08:29:44 +00:00
Andrey A. Chernov d117a622c6 Make edquota works with other then vi editors,
i.e.check file by name, not by fd
1994-11-22 18:52:58 +00:00
Paul Richards 13b2012a78 Added
CLEANFILES += makedevs.c
1994-11-22 13:34:43 +00:00
Jordan K. Hubbard b68ce711aa Point people at the troubleshooting guide in advance. 1994-11-22 10:57:36 +00:00
Jordan K. Hubbard 9168526dbf Document the "old boot blocks" problem. 1994-11-22 10:55:55 +00:00
Jordan K. Hubbard 5c52037561 Remove /usr/gnu from mandatory manpath. 1994-11-22 09:57:42 +00:00
Jordan K. Hubbard 403d1a0fc2 A few tweaks. 1994-11-22 09:54:19 +00:00
David Greenman b83f4f55d8 Bunch of fixes from Matt Thomas:
1) make #includes correct
2) fix bugs in address check macros
3) fixed bugs in, and enabled, recopy if heavily fragmented code
4) moved call to bpf tap to be before enqueing packet (probably gratuitous)
5) fixed bug that caused "abnormal interrupt" at boot time/first use
6) added support for reading Zynx address ROM
7) fixed bug that caused broadcasts to not work shortly after booting (only
	manifested if not using multicast - e.g. not in FreeBSD 2.0)
8) fixed spelling errors in comments

Submitted by:	Matt Thomas
1994-11-22 09:47:31 +00:00
Poul-Henning Kamp 6b9833ef2e Thanks guys. 1994-11-22 09:16:46 +00:00
Jordan K. Hubbard 5ac7aadff8 Changes for 2.0R. 1994-11-22 09:02:46 +00:00
Jordan K. Hubbard 48ae41e5f9 Changes to README for release. 1994-11-22 08:58:42 +00:00
David Greenman d49456add7 Preallocate the first swap block to work around a failure with swap starting
at physical block 0. Note that this will show up in pstat -s and swapinfo
as space "in use". In reality, the space is simply never made available.
1994-11-22 08:47:20 +00:00
Poul-Henning Kamp c3cd331e8e des DISTRIBUTION became secrdist. 1994-11-22 08:03:26 +00:00
Jordan K. Hubbard a822466469 Update the X Inside, Inc text to include some stuff Jeremy just sent me. 1994-11-22 06:58:09 +00:00
Jordan K. Hubbard 9160b19d04 Make serial interface have a default value, and indicate that it has
to start with /dev.  Thanks, Chris.
1994-11-22 06:50:13 +00:00
Jordan K. Hubbard dfbabf6ea2 1. Add instructions for installing onto a second disk.
2.  Clean up the FAQ just a bit.
1994-11-22 06:48:39 +00:00
Poul-Henning Kamp f20024c410 Various hackeries. 1994-11-22 05:21:06 +00:00
Andrey A. Chernov 106d493a69 add missing tconv 1994-11-22 00:47:14 +00:00
Andrey A. Chernov 47d3b798a6 Make this file more BSD-like 1994-11-21 23:03:23 +00:00
Andrey A. Chernov 326d35c650 Fix wrong size check for scroll forward/backward ('S'/'T') 1994-11-21 17:59:29 +00:00
Andrey A. Chernov 22651317ac Attempt to fix scroll forward/ scroll backward bug bringed by vi,
'S' and 'T' use count 1 in fillw() instead of count == n.
1994-11-21 14:36:02 +00:00
Andrey A. Chernov fafeaee340 Fix scroll bug bringed by 'vi <several_small_files>'
and :n command then. :prev bug still exists because it syscons
bug itself, I work on it.
1994-11-21 14:16:31 +00:00
Jordan K. Hubbard af3583a4e9 Fix an obscure message that went off the right hand side. 1994-11-21 11:18:48 +00:00
Andreas Schulz 0512285fe2 Don't use a rm -rf WORKDIR if NO_WRKDIR is defined. You have a good chance
to blow away your current dir, because WRKDIR == CURDIR. This should
help tcpblast to not blow away itself in the clean target :-).
1994-11-21 10:30:37 +00:00
Jordan K. Hubbard c3a9ff65c8 Allow users to specify both a timezone AND add users. Whoops!
We're all pretty nuked at this point..
1994-11-21 09:50:02 +00:00
Andreas Schulz f8f6d0dc4a Reviewed by: Bruce Evans
Add prototypes for the *rand48 family here in the moment to get them
running again.
1994-11-21 09:25:58 +00:00
Søren Schmidt e152817e20 Fixed ' & ` keys .
Submitted by:	Andreas Klemm
1994-11-21 08:50:18 +00:00
Jordan K. Hubbard 67b7b75534 Make sure new machines always have a host name. 1994-11-21 08:33:56 +00:00
Poul-Henning Kamp a8c663f641 syntax error 1994-11-21 08:15:25 +00:00
Jordan K. Hubbard 13eb85741f ALPHA -> BETA 1994-11-21 07:38:48 +00:00
Jordan K. Hubbard 9d093e920c Make abort just abort, not ask. Dialog's internal state is hosed at that
point anyway by re-entrancy.
1994-11-21 07:33:21 +00:00
Jordan K. Hubbard 604d60cdc0 Delete packages from list of options - we don't handle it properly
anyway.  Clip the XFree86 prompt down to size.
1994-11-21 07:25:27 +00:00
Jordan K. Hubbard 2f6a5f5422 Add XFree86 distribution to list of possibles. 1994-11-21 06:45:01 +00:00
Jordan K. Hubbard 9f3ecf33fd Redirect cd errors properly to /dev/ttyv1 1994-11-21 06:18:30 +00:00
Jordan K. Hubbard f136b559c2 Make David happy. 1994-11-21 06:15:30 +00:00
Jordan K. Hubbard d119e9a337 Wasn't unmounting media in-between extractions. Fixed. 1994-11-21 05:36:01 +00:00
Jordan K. Hubbard de9d098f83 More last minute midnight formatting. 1994-11-21 04:47:28 +00:00
Jordan K. Hubbard 832341b4c0 Remove extra-space braindamage. 1994-11-21 04:35:26 +00:00
Poul-Henning Kamp b258325a0e More hacks from the last 20 hours... 1994-11-21 04:14:33 +00:00
Jordan K. Hubbard bbc9e5fc7e More Helpful Hints from Heloise. 1994-11-21 04:11:28 +00:00
Poul-Henning Kamp 7b0a9474f1 fix libdescrypt reference. 1994-11-21 02:58:43 +00:00
Poul-Henning Kamp 7560c41839 abs path to /sys 1994-11-21 02:21:07 +00:00
Jordan K. Hubbard c9cc84f0a0 Invoke tzsetup properly, since we have no /bin/sh at this stage. 1994-11-21 02:17:06 +00:00
Poul-Henning Kamp 179c34054c once more 1994-11-21 01:54:55 +00:00
Poul-Henning Kamp b8faa34ddb More abs paths nuked 1994-11-21 01:52:36 +00:00
Jordan K. Hubbard 5821901779 Changes for BETA 1994-11-21 01:32:51 +00:00
Jordan K. Hubbard 96d4a2b4e1 (M)ountpoint -> (A)ssign 1994-11-21 01:30:03 +00:00
Poul-Henning Kamp f6936e4b00 Another absolute path... 1994-11-21 01:07:02 +00:00
Poul-Henning Kamp 122e125592 -I${.CURDIR}/../.. 1994-11-21 00:54:28 +00:00
Poul-Henning Kamp 55229b5643 Absolute path to /sys again... 1994-11-21 00:53:32 +00:00
Poul-Henning Kamp d8b4e0d7f5 More absolute paths 1994-11-21 00:17:10 +00:00
Garrett Wollman d477883788 Don't install bogus tftp, tftpd, tcom manual pages from the MIT Kerberos
distribution.  They don't apply here.
1994-11-20 23:41:23 +00:00
Garrett Wollman 1b6e011b0d Add a help-distribute' target which does a distribute' in our subdirs,
then goes into all the directories a `make kprog' would have and
does it there, too.  This should complete the krbdist, except that P-HK
has to figure out where in his build process he wants to build and install
this stuff.
1994-11-20 23:39:44 +00:00
Andreas Schulz fb851cf86c Submitted by: Julian H. Stacey
Changed the echo to match correctly the intended code.
1994-11-20 23:34:51 +00:00
Garrett Wollman b406571dee Add krb (Kerberos) to EXTRADISTRIBUTIONS. 1994-11-20 23:31:36 +00:00
Garrett Wollman a38c3127e1 Add distribution=krb for P-HK 1994-11-20 23:23:28 +00:00
Garrett Wollman 18f3b9a144 Add DISTRIBUTION=krb for Kerberos case. 1994-11-20 23:18:15 +00:00
Garrett Wollman 36e95c3186 Add DISTRIBUTION=krb for P-HK. 1994-11-20 23:16:51 +00:00
Poul-Henning Kamp 3d68884c5b No point, what so ever, in installing /etc/myname 1994-11-20 23:11:00 +00:00
Poul-Henning Kamp 5b4be47e28 Another absolute path... Two actually. 1994-11-20 23:01:27 +00:00
Poul-Henning Kamp 75f6922290 add extract.sh to dists 1994-11-20 22:56:27 +00:00
Poul-Henning Kamp 181d4e73b5 bin_tgz.aa -> bindist_tgz.aa 1994-11-20 22:55:24 +00:00
Poul-Henning Kamp 3eeb0c9e5b Guess what 1994-11-20 22:47:52 +00:00
Poul-Henning Kamp e007d7c51f Whoops. 1994-11-20 22:46:14 +00:00
Poul-Henning Kamp 342fe62299 I might soon stop to keep count of these... 1994-11-20 22:45:14 +00:00
Poul-Henning Kamp c4bff2faf4 And another absolute path -I :-< 1994-11-20 22:42:16 +00:00
Poul-Henning Kamp b53839540d This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
Poul-Henning Kamp 7a621ea796 fix another BLODDY ABSOLUTE .PATH !!!! :-< 1994-11-20 22:28:09 +00:00
Andreas Schulz 794cdf17ef Add parameters "compress", "normal" and "noicmp" for the slip usage.
These names are used in the slip.hosts file as examples, but ifconfig
have formerly only accepted link0, -link0 and link1 for this.
1994-11-20 19:45:58 +00:00
Jordan K. Hubbard e6c9671c34 Add ref.tfs.com to mirrors now that wcarchive is temporarily down and
we'd like to do the BETA.
1994-11-20 15:18:56 +00:00
Jordan K. Hubbard 8151a277cf o Add Michael Reifenberger's mini-adduser script.
o	Optionally invoke tzsetup or adduser from the last stage.
o	Add tzsetup and friends to cpio floppy.
1994-11-20 14:49:48 +00:00
Jordan K. Hubbard 0a50d08da1 Add getopt. 1.x used to have it, it's gone from 2.0, I need it, end
of story.
1994-11-20 14:21:25 +00:00
Andreas Schulz dc0b56513d Put a simple algorithmus in there that checks the last generated prototype
for ioconf.c with the current and suppress the generation if they are
equal. This now prevents all the warnings from the c-compiler about
sio or snd or two adaptecs. This works only if the sio lines are grouped
together in the config files, but it is better than nothing.
1994-11-20 13:39:07 +00:00
Jordan K. Hubbard 07c2d0802d Eliminate a couple of the last remaining bogons. 1994-11-20 12:16:48 +00:00
Ugen J.S. Antsilevich 1050b242d8 G-d help me to do it right first time....
Minor patch to man page,test.
1994-11-20 11:53:06 +00:00
Jordan K. Hubbard 5b83f1d7bb Add Russian mirror site to list. 1994-11-20 05:44:16 +00:00
Poul-Henning Kamp 5f497e07ff Make "games" dist by moving everything relevant out of bindist. 1994-11-20 01:54:13 +00:00
Poul-Henning Kamp 3204ec6602 Make the "games" dist the hard way. 1994-11-20 01:53:09 +00:00
Poul-Henning Kamp 62b2140150 /usr/share/games belong in "games dist" 1994-11-20 01:19:33 +00:00
Poul-Henning Kamp ff93920c50 Make the tarballs target work. 1994-11-20 01:01:28 +00:00
Poul-Henning Kamp 93ea8d147a A couple of changes more. Now Paul & Jordan can play again... :-) 1994-11-20 00:49:21 +00:00
Andrey A. Chernov ef849892d9 Add ^X,^B,^F,^E,^A
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges
1994-11-20 00:21:02 +00:00
Poul-Henning Kamp 309543ede7 Changes to match Pauls code. Had to "globalize" the variables for the
mountpoints.
1994-11-19 23:59:03 +00:00
Andrey A. Chernov a6a32c7ae0 Now use "btab" keyword in all keymaps 1994-11-19 23:27:03 +00:00
Andrey A. Chernov 1afec25476 More intelligent BackTab fix using BTAB special key (unused before) 1994-11-19 23:17:48 +00:00
Andrey A. Chernov db69647720 Fix all keymaps to bring BackTab to life. 1994-11-19 22:58:56 +00:00
Poul-Henning Kamp f143db1a98 I just learned that isa.h is included in assembler files too... 1994-11-19 18:59:04 +00:00
Poul-Henning Kamp f194376568 add
extern u_int atdevbase;       /* offset in virtual memory of ISA io mem */
here for a moment, to get it into BETA
1994-11-19 18:47:57 +00:00
Paul Richards e4124e3192 Changed the MBR partition type field from being a string to
a decimal value.

I don't have the time to deal with users typing in partition names
such as "FreeBSD" at the moment so just allow the numerical id to be
specified for the moment.
1994-11-19 18:23:08 +00:00
Nate Williams 54d17bb8f1 NetBSD -> FreeBSD
(Bring to 2.0 please)
1994-11-19 18:19:27 +00:00
Nate Williams 6764337197 NetBSD -> FreeBSD
(Please bring into 2.0)
1994-11-19 18:13:59 +00:00
Nate Williams 750870d48f NetBSD -> FreeBSD
(Poul, bring this into 2.0 please)
1994-11-19 17:55:35 +00:00
Andreas Schulz ef1520b343 Add the missing subdirs cdplay and spkrtest into the clean/cleandir targets. 1994-11-19 17:34:12 +00:00
Paul Richards 6dd3a38fff Implemented buttons for all the screens.
Could do with some cosmetic tuning regarding placement and things.

Fixed some dialog code (from Andrew).
Pass mountpoints onto stage2 in a struct fstab *mounts[]
Fix all the field connections to conform to the new L&F document.
1994-11-19 17:29:19 +00:00
Andreas Schulz d85050deb1 Ooops, change back the LIBDIR macro to the SHLIBDIR macro for the shared
libs as told by Bruce. Now it works.
1994-11-19 14:01:58 +00:00
Jordan K. Hubbard db85ed15df Some miscellaneous bug fixes inspired by Adam Glass's work. Adam's
work is actually more comprehensive, but I just took what was needed
for now given our compressed time schedules.  Thanks, Adam!
Submitted by:	glass
1994-11-19 13:57:21 +00:00
Andreas Schulz ee2b9e6b02 More updates to the manual pages. Used also the unknown macro.
Also install the named-xfer manual page, when we have it in the source.
1994-11-19 13:42:06 +00:00
Andreas Schulz 85c08d3263 More updates to the manual pages. Used also the unknown macro. 1994-11-19 13:41:26 +00:00
Andreas Schulz 3ea78182f0 Correct the nslookup manpage that has some macros in it, that our man system
doesn't understand.
1994-11-19 13:16:52 +00:00
Andreas Schulz 1957afa609 Correct the named manpage that has some macros in it, that our man system
doesn't understand.
1994-11-19 13:14:54 +00:00
Andreas Schulz 6ace5496e9 Correct the dig manpage that has some macros in it, that our man system
doesn't understand.
1994-11-19 13:12:37 +00:00
Andrey A. Chernov 2c154e8124 Automatically turn off insert mode when end of field reached
in line_edit().
1994-11-19 10:22:12 +00:00
Andrey A. Chernov 5fa4b99ccf Highlight only flen sized part while editing in line_edit() 1994-11-19 09:58:34 +00:00
Paul Richards d35f2e963a I hope this gets my changes merged back into the current branch.
Removed a layer of menus.
Auto select partition to install into -- first FreeBSD partition
in MBR table. Abort if no FreeBSD partition.
Added a F_BUTTON type.
Fixed up label editor to show free space properly.
Fixed a few bugs.
1994-11-19 05:20:13 +00:00
Andrey A. Chernov 3fa6f2210c Highlight only space available for editing 1994-11-19 00:45:02 +00:00
Andrey A. Chernov 1479d21fc1 Insert newline into too long line 1994-11-19 00:17:55 +00:00
Andrey A. Chernov f3dc909d25 Fix more dialog bugs and core dumps introduced by previous commiter 1994-11-19 00:09:00 +00:00
Andreas Schulz bc9c7467df Make two variables static so that the compiler warnings are
vanishing. As far as i know rpc.rusersd is single_threaded, so
this shouldn't be a problem.
1994-11-18 23:36:18 +00:00
Andrey A. Chernov c2cd62a46d Fix dialog things broken by previous commiter 1994-11-18 23:34:05 +00:00
Andreas Schulz 7c760cfd4f Reviewed by: Roger Holst [email protected]
Add an initialization of the len parameter for the getsockname call.
Now rpc.rwalld can run under inetd.
1994-11-18 22:50:22 +00:00
Andrey A. Chernov 852ffa1977 silently restrict all boxes to LINES, COLS 1994-11-18 22:49:09 +00:00
Andreas Schulz 053efb2d12 Reviewed by: Roger Holst [email protected]
Add an initialization of the len parameter for the getsockname call.
Now rpc.rusersd can run under inetd.
1994-11-18 22:40:11 +00:00
Andreas Schulz dc2e984f57 Reviewed by: Roger Holst [email protected]
Add an initialization of the len parameter for the getsockname call.
Now rpc.rstatd can run under inetd.
1994-11-18 22:31:05 +00:00
Andrey A. Chernov 8fbd0636ed Nuke edit_line crawled in again. Change all occurances to line_edit. 1994-11-18 22:21:57 +00:00
Andreas Schulz 193ef50ab2 Fixed a typo. Seems this manual page has stemmed from the rwall
man page :-).
1994-11-18 21:37:40 +00:00
Justin T. Gibbs 88d9617c20 Register with devconfg so we show up in lsdev. 1994-11-18 20:34:30 +00:00
Andreas Schulz 85e5776f0a Change the example line for popper to point to /usr/local/libexec/popper
instead of /usr/local/etc/popper. The 2.0 installation installs it there.
1994-11-18 20:01:21 +00:00
Paul Richards 48dd1a4713 Update the in-core disklabel when we change the on-disk version.
Fix up the editor links for the disklabel editor.
Correct the display of fields when they're longer than the
viewable length.
1994-11-18 19:29:01 +00:00
Jordan K. Hubbard 26b39132e4 Put ie0 above ep0. Otherwise, the ie0 probe clobbers it.
Submitted by:	gibbs
1994-11-18 19:10:25 +00:00
Jordan K. Hubbard 918254f37d Some fields overflowed. Fix 'em up. 1994-11-18 19:09:33 +00:00
Justin T. Gibbs 8c1294dcf2 IO_EISASIZE should be 1 slot, not 2. 1994-11-18 19:01:25 +00:00
Jordan K. Hubbard 80d20e763f Minor reformatting changes. Trying to also figure our why *some* links
are made and not others! :-(  My cu link, for example.  Or restore->rrestore!
1994-11-18 18:42:08 +00:00
Paul Richards 111054f0ba New files that the last commit missed. 1994-11-18 18:24:00 +00:00
Paul Richards 9e3f27547d Merge in my new mbr and disklabel code. 1994-11-18 18:13:13 +00:00
Jordan K. Hubbard ade521b8fd Whoops! Missed a quote. 1994-11-18 17:36:11 +00:00
Jordan K. Hubbard 0d7b509f9c Don't set NFS options unless there really ARE some. 1994-11-18 16:48:57 +00:00
Jordan K. Hubbard 9b1096e759 From: [email protected] (Bill Paul)
Subject: Mea culpa -- small fix for netboot fixes

In accordance with the unavoidable principle sof Murphy's Law, I discovered
that the fixes I recently contributed for the netboot code had some small
flaws in them. Two of them were just typos and had no effect on how the
program functioned. The other one was a missing line from the rootopts and
swapopts functions I created in bootmenu.c, which was supposed to initialize
the NFS sotype flag. It defaults to UDP, and you can change it to TCP with
the rootopts or swapopts commands, but then you can't change it back again.
I originally had a line at the top of each function to reinitialize this
flag, but somehow it got lost in the shuffle, probably because I don't
actually have a need for that flag yet.

Submitted by:	wpaul
1994-11-18 16:29:50 +00:00
Jordan K. Hubbard dca5391032 Grrrr! Dialog menus just bail out without saying anything when the
menu items aren't unique enough.  After half an hour of head-scratching,
here are the disgusting convolutions required to work around the problem.
Sigh..
1994-11-18 16:27:54 +00:00
Jordan K. Hubbard 9ade4053f5 If there's no title for input dialog, select one. 1994-11-18 15:13:37 +00:00
Jordan K. Hubbard 1545cdf5ab More miscellaneous fixes.
Sigh.  It's hard to test something that screws up a running system when
it works, so I have to do most of this through the rather laborious process
of making boot floppies! ;-(
1994-11-18 14:55:12 +00:00
Jordan K. Hubbard 89da5fd2de Document the AHA-274x and 284x driver as a new feature. 1994-11-18 14:26:07 +00:00
Jordan K. Hubbard 4021c574e7 Tell user to remove floppy from the drive before rebooting, too. 1994-11-18 13:59:49 +00:00
Jordan K. Hubbard 0edfee1ddc Tell silly users to remove the cpio floppy from the drive now. 1994-11-18 13:58:25 +00:00
Jordan K. Hubbard cab5cb1fee Some of my menus were hosed by late-night tired braincells. Do it
right now.
1994-11-18 13:56:57 +00:00
Jordan K. Hubbard 8c05edbc74 Boy, was THIS buggered up! Calm the compiler by fixing the obvious
syntax errors.
1994-11-18 13:40:19 +00:00
Jordan K. Hubbard e9a380faf6 Talk a little more about boot roms. 1994-11-18 13:02:23 +00:00
Jordan K. Hubbard c70ce47ad6 1. Unify my coding style.
2. Fix a couple of errors that kept media_install_set from working.
3. Fix another error that disabled media_select_distribution
1994-11-18 12:54:45 +00:00
Andreas Schulz 1e0b142e29 Makefile:
Change the reference for the libtermcap libtermlib link from SHLIBDIR
to LIBDIR. SHLIBDIR is undefined in the standard case.
termcap.c:
Initialize a local variable to zero. Otherwise an erroneous free call
can happen and clobber the calling program.
Seen with vi and gdb. If you have TERMCAP set with a terminal entry and
set TERM with something like huhu, vi and gdb core dumps.
1994-11-18 12:38:43 +00:00
Jordan K. Hubbard 10c3815c46 Add these files. They're referenced in the release notes. 1994-11-18 12:03:29 +00:00
Poul-Henning Kamp 68964a5619 Put bad144 on the boot.flp. It wont do too much good, but maybe somebody
will be able to use it somehow...
1994-11-18 11:31:29 +00:00
Poul-Henning Kamp f1dd848016 Add a "write Bootcode" option to the Fdisk editor.
unzip sysinstall on the way to the hd.
1994-11-18 11:30:04 +00:00
Poul-Henning Kamp e0985944c1 Improve the case for ST506 disks a bit: Pick up Bios-geometry.
That was the good news.  The bad news is that bad144 is a proper mess,
and I don't have time to fix it now, so you will probably not be able to
use it anyway.
Sorry guys, go out and buy a 100Mb IDE drive and a paddleboard :-(
If somebody wants to pick up on this:  bad144 needs to learn how to
stay inside our slice of the disk.  That's the trick.
1994-11-18 11:27:41 +00:00
Jordan K. Hubbard dcfd4857b6 1. Use dynamic sizing code throughout.
2. Add support for *dist menu to have an up-to-date idea of how big each
   distribution is going to be.
1994-11-18 11:01:33 +00:00
Jordan K. Hubbard 30ddff9dfb Document "(P)rocede" - (Q)uit was still being billed as the method
for continuing the installation! :-)
1994-11-18 10:32:43 +00:00
Jordan K. Hubbard 9757986c55 Make sure that homicidal bindist doesn't clobber my /etc/defaultrouter
file, either.
1994-11-18 10:22:39 +00:00
Poul-Henning Kamp 66706b4367 Change the message a little bit... 1994-11-18 10:21:31 +00:00
Jordan K. Hubbard f91148273a Write the /etc/defaultrouter file. I didn't even know it existed.
Thanks, Christoph..
1994-11-18 10:19:04 +00:00
Poul-Henning Kamp 04b734cf24 Extended the SEEKWAIT and RECALWAIT somewhat to avoid annoying messages. 1994-11-18 10:18:36 +00:00
Jordan K. Hubbard 3902fd08ed Give the user a chance to retry the cpio floppy. 1994-11-18 10:12:56 +00:00
Jordan K. Hubbard f25f4d7271 1. Use cpio instead of tar again. Bruce's comments made me paranoid.
2. Invoke sub-scripts using absolute paths.
1994-11-18 10:05:47 +00:00
Justin T. Gibbs 771c42f405 Change the include for the sequencer program to point back to the
right place:

include "../../sys/gnu/misc/aic7770/aic7770_seq.h"
1994-11-18 09:14:14 +00:00
Justin T. Gibbs 8d244f9e3b Previous changes to the sequencer compiler backed out. We go back to
generating the .h file, and a pregenerated file is included.
1994-11-18 09:11:35 +00:00
Justin T. Gibbs b0c8ba6fea Never but never have a bad hair day and go to the movies.
Go to a single dependancy in files.i386.  Using a .c file for the
sequencer code won't work since I need to know the size of the program,
so we just include the generated .h file as:
	"../../sys/gnu/misc/aic7770/aic7770_seq.h"
Reviewed by:
Submitted by:
Obtained from:
1994-11-18 09:08:01 +00:00
Jordan K. Hubbard 1bb8699814 Whoops - this one's my fault. Put back my changes for seqprog[]. 1994-11-18 09:03:09 +00:00
Jordan K. Hubbard d6e867f326 Get IO_EISASIZE properly defined now.
Reviewed by:
Submitted by:
Obtained from:
1994-11-18 08:22:04 +00:00
Jordan K. Hubbard a32a00c32c aha2742.c was bogus - use aic7770.c instead.
Submitted by:	gibbs
1994-11-18 08:20:56 +00:00
Jordan K. Hubbard 9f91f5760a Get the updated version of this file from Justin. 1994-11-18 08:19:21 +00:00
Jordan K. Hubbard 9cc6cb724f Make the compiler spit out a .c file instead of a .h file. 1994-11-18 08:17:20 +00:00
Jordan K. Hubbard 1885873c70 Make this a precompiled script - don't bother autogenerating it.
It makes me crazy.
1994-11-18 08:16:59 +00:00
Jordan K. Hubbard 347abd2ee2 Make the sequencer code a .c file instead of a .h file. 1994-11-18 08:14:16 +00:00
Jordan K. Hubbard 6328676293 Totally gut this thing and just use a precompiled gnu/misc/aha274x_seq.c
instead.  The entire scheme just doesn't work as envisioned (hint: think
about make depend as well as all).  Those extremely rare individuals who
actually hack on the sequencer code will know how to keep stuff in sync,
I *do* get the feeling!
1994-11-18 08:06:37 +00:00
Jordan K. Hubbard fc3891cfb4 Define IO_EISASIZE to something I think it *might* be!
Justin's star is sinking rapidly below the horizon here.. :-)
1994-11-18 07:25:02 +00:00
Jordan K. Hubbard 997dad8b39 Adjust the name of the included file to match reality.
Somehow, I don't think this stuff was tested at all! :-(
I really hope that it actually works, though my hopes are steadily diminishing.
Anyone with 27xx/28xx boards in -current is *strongly encouraged* to give this
stuff a shot!  Otherwise, I suspect that we'll be punting this out of
2.0.  I haven't found a single part of Justin's commit that wasn't broken
in some way.
1994-11-18 07:07:28 +00:00
Poul-Henning Kamp b3c99fe3f3 one ) less. 1994-11-18 06:22:11 +00:00
Jordan K. Hubbard 3363722633 Another file Justin missed. Hope this is the right one! :-(
I found it by hunting around in his home directory..
1994-11-18 05:40:07 +00:00
Poul-Henning Kamp 048773d8d9 Grap the bootinfo structure the bootblock passes us. 1994-11-18 05:27:34 +00:00
Poul-Henning Kamp e0abbebf36 Declare the bootinfo structure in the kernel. 1994-11-18 05:26:52 +00:00
Poul-Henning Kamp fbc5b3073e Add space for the bios-geometry in the bootinfo struct. 1994-11-18 05:02:43 +00:00
Poul-Henning Kamp efcdc34fe3 Ask the BIOS about the geometry, and tell the kernel about it. 1994-11-18 05:02:14 +00:00
Jordan K. Hubbard 5d75485098 I think Justin sort of forgot to commit this! :-) 1994-11-18 05:01:06 +00:00
Jordan K. Hubbard d2e60eeb05 Add some notes about AIX-6x60 based cards. Important to note that
you CAN'T boot from many of these puppies!
1994-11-18 03:10:32 +00:00
Jordan K. Hubbard 40851014d5 From: "Jonathan M. Bresler" <[email protected]>
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug.  a patch is included below.  this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Reviewed by:
Submitted by:
Obtained from:
1994-11-18 02:55:21 +00:00
Poul-Henning Kamp 32b4794aff Relativized a ".PATH:" directive. 1994-11-18 02:26:15 +00:00
Jordan K. Hubbard d76158cc6e From: "Jonathan M. Bresler" <[email protected]>
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug.  a patch is included below.  this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Submitted by:	jmb
1994-11-18 02:24:06 +00:00
Andrey A. Chernov df5add3f69 Draw passed line with passed attrs on enter of line_edit()
and redraw it with default attrs on exit.
1994-11-18 01:46:32 +00:00
Andrey A. Chernov d31ec8c65b Remove edit_line(), use line_edit() libdialog function instead in all places 1994-11-18 01:16:58 +00:00
Jordan K. Hubbard e5525d9d0d Adjust the docs to note that the AHA-2742/2842 series is now supported.
Hurrah for Justin!
1994-11-18 01:12:13 +00:00
Poul-Henning Kamp 7b4b6096f4 dd conv=osync. More distributions. 1994-11-18 01:05:05 +00:00
Andrey A. Chernov a9e8a652cb Add new parameter to line_edit: field length (-1 means unlimited) 1994-11-18 01:02:42 +00:00
Poul-Henning Kamp cb19812e97 Remove ${DESTDIR} from link-macros. Already applied behind the scenes. 1994-11-18 00:59:33 +00:00
Andrey A. Chernov f9c9c70b70 Save/restore attrs in line_edit now 1994-11-18 00:30:06 +00:00
Andrey A. Chernov 45cb79a377 Use newscr instead of curscr in shadows code 1994-11-17 23:54:24 +00:00
Andrey A. Chernov 1f6f0b64cc Make newscr publicly available 1994-11-17 23:53:25 +00:00
Andrey A. Chernov 4195601de8 Use dialog_clear_norefresh() if possible 1994-11-17 23:36:49 +00:00
Andreas Schulz 80aee6ac1f Submitted by: Lawrence J. King [email protected]
Check the firmware revision for non-printing characters and replace them
question-marks if necessary. Problem is known with old Seagate ST296N
drives.
1994-11-17 23:22:22 +00:00
Andrey A. Chernov 934a5f3e30 Use wnoutrefresh() in clear_norefresh 1994-11-17 23:08:57 +00:00
Andrey A. Chernov 1a796bb52a Add dialog_clear_norefresh() function 1994-11-17 22:52:05 +00:00
Søren Schmidt 5e146a0129 Added support for the MicroSoft Natural keyboard
Add support for ws_xpixel & ws_ypixel in winsize.
Submitted by:	Natural support suggested by Kaleb Keithley ([email protected])
1994-11-17 22:03:18 +00:00
Andrey A. Chernov 5c19f0147a Remove regex.h, it conflicts with our POSIX regex.h and we already
have it under different name: gnuregex.h (from libregex)
Change all references of <regex.h> to <gnuregex.h>
1994-11-17 21:44:49 +00:00
Justin T. Gibbs 80785c507b Add new keywords to config. The options availible in file.i386 are now:
/*
         * filename     [ standard | optional ] [ config-dependent ]
         *      [ dev* | profiling-routine ] [ device-driver] [ no-obj ]
         *      [ compile-with "compile rule" [no-implicit-rule] ]
         *                     [ dependancy "dependancy-list"]
         */

I added

no-obj -  This entry does not create anything linkable to the kernel.
dependancy - Add additional dependancy rules to a target.
no-implicit-rule - Don't assume .c -> .o type rules.  Config is really
             dumb in this area and assumes that everything is a .c file
	     irregarless of extention.  This was the best choice really
	     since there may even be .c file that you don't want to follow
	     the standard rules.

This was all done so that the building to the aic7770 assembler and using
the aic7770 assembler in the building of the aic7770 driver could be config
dependant.  I can now have an entry like this for the driver:

aic7770                         optional        ahc     device-driver   \
        compile-with    "${CC} $> -o $@"                                \
        dependancy      "$S/gnu/misc/aic7770/aic7770.c"                 \
        no-obj no-implicit-rule
aic7770_seq.h                   optional        ahc     device-driver          \
        compile-with "${.CURDIR}/aic7770 -o $@ $S/gnu/misc/aic7770/aic7770.seq"\
        dependancy "$S/gnu/misc/aic7770/aic7770.seq aic7770"                   \
        no-obj no-implicit-rule
i386/isa/aic7770.c              optional        ahc     device-driver   \
        dependancy "aic7770_seq.h"

I also added '\' escaping to newlines so that this doesn't look as gross as
it could have.

Reviewed by: jkh
1994-11-17 20:30:01 +00:00
Justin T. Gibbs 09faa0cc64 My port of Julian's 1742 driver to work with the Linux aic7770 sequencer
code.
1994-11-17 20:22:31 +00:00
Justin T. Gibbs cbb8b164f0 New device-driver entries for the aic7770 driver. These use new features
of config so YOU MUST RECOMPILE CONFIG.  Modifying config was the cleanest
solution to integrating this driver into the tree which will become more
obvious in the next commit.
1994-11-17 20:20:54 +00:00
Justin T. Gibbs 0ef8c3017a John Aycock's aic7770 sequencer code and assembler. There is currently
a discussion going on about removing this code from the burden of the
GPL, but it won't happen before Beta, and this code should be tested
before release.

Supports 27/2842 class adaptec cards and is almost capable of supporting
aic7870 based adapters (294X series cards).  It does not support Wide
controllers or the second channel on Twin boards although I have work in
progress on getting both channels and running.

I have also added a few performance improvements to this version that give
us approximately a 25% boost over the original driver.  These patches have
been submitted to the author.

Obtained from: Linux aic7770 driver (John Aycock - [email protected])
1994-11-17 20:19:10 +00:00
Andrey A. Chernov 5007f4061c Use -1, -1 where is possible 1994-11-17 19:44:55 +00:00
Andrey A. Chernov 04339572bc Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.
1994-11-17 19:21:51 +00:00
Andrey A. Chernov 0cb06fc009 Add yet one russian keymap, widely used by some russians 1994-11-17 18:03:18 +00:00
Andreas Schulz 0b293ea528 Fixed the PATH and cleanenv setting in su. This was totally broken in the
4.4BSD Lite source.
1994-11-17 16:56:58 +00:00
Jordan K. Hubbard 886f34fde6 Add another mirror site and adjust the menu to note that not all
sites are created equal.
1994-11-17 16:18:35 +00:00
Jordan K. Hubbard 30229c536a Add reinstall. 1994-11-17 16:02:56 +00:00
Jordan K. Hubbard 4b75ea3568 There seems to be some trouble with install.man working right everywhere.
Conditionalize it off of INSTALL_MANPAGES until I can figure out just
why some X ports seem to like it and others not.
1994-11-17 15:46:27 +00:00
Jordan K. Hubbard 6914768e93 Yow! Ok, distributions should now be fully auto-checksumming, provided
that Poul builds the rest of the dists properly.  I'll run this over the
XFree86 dist, but the rest will be up to him.  Check bindist rule for
the single line to add - it's trivial.
1994-11-17 15:20:04 +00:00
David Greenman 41ec615889 Fixed rather serious bug where the interface wasn't started after it was
stopped in ed_setrcr(). I'm amazed that the driver worked at all. Thanks to
John Hay for pointing this out.
1994-11-17 14:42:27 +00:00
Jordan K. Hubbard 540bb26ac5 Rethink the cpio floppy verify a little. Don't use a magic cookie,
check for bininst instead (see comments in release/Makefile).
1994-11-17 14:18:43 +00:00
Jordan K. Hubbard 1cdab3d432 Add extra scripts to the Makefile. Add another mirror site to
instdist.sh
1994-11-17 14:18:02 +00:00
Jordan K. Hubbard c1b05c7986 1. Add check to see if CPIO floppy extracted properly.
2. See if swapon() failed and at least print a diagnostic.
3. Use -1 instead of strheight()/strwidth() everywhere.

Reviewed by:
Submitted by:
Obtained from:
1994-11-17 14:12:38 +00:00
Jordan K. Hubbard ccac3799a7 Steven G Kargl <[email protected]>
Finds many spelling errors.  Thanks, Steven!
Submitted by:	steven
1994-11-17 12:35:24 +00:00
Jordan K. Hubbard 68cbb04819 Many fixes from Bill Paul:
Smack the netboot program around so that it will allow the user to
  specify mount options.  [So that you can boot from a privileged port]

  Change the default boot image name in netboot to /kernel, then strip
  the leading slash when actually going out to get the NFS file handle.

  Added support for 3Com 3c503 cards. Also added another command to
  the (trans) that allows you to switch the 3Com's on-board transceiver
  on and off. (ether.c, ether.h, bootmenu.c)

  Modified the Makefile to support new compile-time options for 3c503
  cards:

  -DINCLUDE_3COM                Include support for 3c503
  -D_3COM_BASE=0x300            Define 3c503 base i/o address (if not
                                specified, 0x300 is the default)
  -D_3COM_USE_AUI               Disable the 3c503's transceiver by
                                default (without this flag the transceiver
                                is on by default)
1994-11-17 12:16:07 +00:00
Jordan K. Hubbard 8f00e74801 Eliminate the use of cpio in extraction. The stupid thing whines too much,
and it doesn't support --unlink.  I think it's time to nuke cpio completely
out of the installation process, unless someone can think of a really good
reason to keep it (and don't say multiple volume extraction since we a) don't
use it anywhere anyway, and b) tar supports that too, now).
1994-11-17 11:53:14 +00:00
Andrey A. Chernov 4857d86d34 Put #warning "this file is obsoleted ... etc." 1994-11-17 11:20:44 +00:00
Andrey A. Chernov 4c268ef31a By Bruce and Joerg suggestions and by looking into June version
of NetBSD simple #include <stdlib.h> into malloc.h
Put #warning that this file is obsoleted ( by Joerg suggestion)
1994-11-17 11:04:49 +00:00
Jordan K. Hubbard 07b5b56eba Don't create packages with bogus @name lines. 1994-11-17 10:54:11 +00:00
Jordan K. Hubbard 3e78200fd8 Protect against old packages with bogus @name fields. Use basename_of()
on the name before recording it in /var/db/pkg.  Sorry, Kaleb, you
were right after all!  It was my fault! :)
1994-11-17 10:53:21 +00:00
Jordan K. Hubbard d08bdbd3d1 Add a new basename_of() function. 1994-11-17 10:51:51 +00:00
Doug Rabson 72012b54d0 Added sysarch system call which is used my i386_get/set_ltd.c and is needed
for Wine support.  The current snapshot of wine works fine with this.

This should go into the beta as the code which it calls in the kernel is
already there, and works fine.
1994-11-17 10:50:55 +00:00
Jordan K. Hubbard eead05e797 Remove the QUERY_* functions. I don't think they're as good an
idea as I apparently once did.
1994-11-17 10:35:04 +00:00
Jordan K. Hubbard ee5b1a1e22 Whoops! Typo. Correct. 1994-11-17 10:07:45 +00:00
Jordan K. Hubbard 07f6028ea8 I found today that making packages for X11 ports wasn't working.
Further investigation showed that prefix was erroneously set to /usr/local
for X11 based ports as well, when the assumption was that they'd really go
into ${X11BASE} (an /etc/make.conf variable that the user's free to set).

Set X11BASE to /usr/X11R6 if the user hasn't already, and assume that
the user really wants prefix to point there when the port is XMKMF based.
1994-11-17 10:06:03 +00:00
Jordan K. Hubbard c9a156d596 New man pages from Ugen. Delete my old, first attempt. I only hope
that the english in Ugen's two replacement pages is not too impenetrable! :-)
[Note:  Poul - please pull these into the BETA branch along with the
other firewall changes]

Submitted by:	ugen
1994-11-17 09:50:30 +00:00
Scott Mace 4f64b36cda fix if test for rwhod. 1994-11-17 08:28:02 +00:00
Jordan K. Hubbard d9a5a8b8c2 Add a line to automatically generate CKSUMS file for the bindist. 1994-11-17 07:11:30 +00:00
Jordan K. Hubbard 075b19c88f Add cksum to the cpio floppy - automated checksumming of the *dist
tarballs is just one step away.
1994-11-17 07:09:22 +00:00
David Greenman 792216316f Don't ever try to kill off process 1 - even if we are out of swap space
and it's the candidate pig.
1994-11-17 06:24:25 +00:00
Justin T. Gibbs 7a695db9fa Make newlfs work by adding the MAXSYMLINKLEN and a byte padding to
struct lfs.

[email protected]:
The pad2 field in struct lfs is a kludge. You
need it because the raw devices has to be written in DEV_BSIZE. The
lfs_maxsymlinklen is needed because the tells the UFS code that we
want to use 4.4BSD directory layout insted of FreeBSD 1.1.5.

Reviewed by: Justin Gibbs
Submitted by: [email protected]
1994-11-17 01:38:30 +00:00
Justin T. Gibbs 471e5fa096 John Dyson's patches (and a few from me too) to LFS to use a different
buffering scheme and make it more in tune with FreeBSD's vfs_bio
implementation.  The filesystem seems fairly stable, but I wouldn't recommend
it to anyone not willing to experience problems.  This is very green code and
has the limitation that YOU CAN ONLY HAVE ONE LFS PARTITION MOUNTED AT A TIME.

What LFS is good for:

	Non fsynced writes	FASTER THAN FFS
	Large deletions		Increadibly fast

Reads are a little bit slower than FFS right now, but that is a factor of
how under optimized this code is.  LFS should in theory perform at least as
well as FFS under fsync (iozone) type loads, and this is what I'm currently
working on.

Reviewed by:	Justin Gibbs
Submitted by:	John Dyson
Obtained from:
1994-11-17 01:30:53 +00:00
Justin T. Gibbs bf556a1617 Remove a peice of commented out code that was left over from the early
stages of debugging LFS:

         * if we can't bmap, use old VOP code
         */
!       if (/* (vp->v_mount && vp->v_mount->mnt_stat.f_type == MOUNT_LFS) || */
!               VOP_BMAP(vp, foff, &dp, 0, 0)) {
                for (i = 0; i < count; i++) {
                        if (i != reqpage) {
                                vnode_pager_freepage(m[i]);
--- 804,810 ----
        /*
         * if we can't bmap, use old VOP code
         */
!       if (VOP_BMAP(vp, foff, &dp, 0, 0)) {

Reviewed by: gibbs
Submitted by: John Dyson
1994-11-17 01:22:45 +00:00
Jordan K. Hubbard fcd2dde4e0 Add support for NO_WRKDIR. 1994-11-17 00:25:16 +00:00
Jordan K. Hubbard f877e878c9 2 new concepts that just occurred to me:
MASTER_SITE_OVERRIDE - 	If set in the environment, will override everyone's
	MASTER_SITES settings.  Useful if you'd prefer to point to a
	distfiles repository somewhere closer.

MASTER_SITE_FREEBSD  -  Sets OVERRIDE to be FreeBSD's own master repository.
1994-11-17 00:18:28 +00:00
Jean-Marc Zucconi 1876ac94a7 If USE_GMAKE is defined, use ${GMAKE} in ${XMKMF} && ${MAKE} Makefiles 1994-11-16 23:14:22 +00:00
Martin Renters f832250eb5 Instructions for setting up diskless clients 1994-11-16 15:33:42 +00:00
Andrey A. Chernov dc092b5e4c Update with new autosizing code, use -1 -1 now 1994-11-16 14:47:17 +00:00
Andrey A. Chernov 8b6840ff55 Remove str{width,height} functions, they are in libdialog now.
It is only first hook for new autosizing changes, more changes
will follow.
1994-11-16 14:42:22 +00:00
Andrey A. Chernov 5f5d7caab1 Full autosizing support, now you can pass -1, -1 for any
string
1994-11-16 14:37:37 +00:00
L Jonas Olsson 0066ef2281 Added NO_IMPLICIT_C as our header files in standard locations are either
already C++ safe, or C++ header files.
This fixes the problem with parse errors in header files when compiling C++
files.
Recompiling libg++ also solves the undefined synbols problem.
1994-11-16 14:02:42 +00:00
Andrey A. Chernov 915554d454 Change rules to not generate term.h on second make depend 1994-11-16 11:54:09 +00:00
Jordan K. Hubbard 33ccd78725 Latest from Ugen J.S.Antsilevich" <[email protected]>. Poul, please
take this into BETA.
Submitted by:	ugen
1994-11-16 10:18:18 +00:00
Jordan K. Hubbard 63f8d699ac Ugen J.S.Antsilevich's latest, happiest, IP firewall code.
Poul:  Please take this into BETA.  It's non-intrusive, and a rather
substantial improvement over what was there before.
1994-11-16 10:17:11 +00:00
Jordan K. Hubbard f3ac09ee9a 1. Split these scripts into smaller distinct functional units that will
be callable _after_ installation in 2.1's system admin tools.  This is
   almost totally revamped now.

2. Support installation from DOS partition or floppy.

3. Many stray bogons eliminated.  Perhaps a few introduced.  One more
   rev should fix this up, once I've spammed my test machine a couple of
   times.

4. Installation from CD now *really* possible.

5. Allow user to specify arbitary subdirectories for NFS mountpoints -
   UFS, NFS and CD distributions now share many common elements.
1994-11-16 07:51:45 +00:00
Poul-Henning Kamp ff24bee616 Fix a panic I might have seen, or at least could see some day if I havn't
already.
1994-11-16 06:09:29 +00:00
Bruce Evans e5b58b781b The previous revision forgot to define fatal_if_no_DDB() when there is DDB. 1994-11-16 02:45:36 +00:00
Poul-Henning Kamp 6c4b1b79b1 #include <socket.h> -> <sys/socket.h> 1994-11-16 02:16:18 +00:00
David Greenman 288c2640aa Allow MAXMEM to be larger than the detected physical memory. This change
was supposed to have already been made, but got botched somewhere.
Don't clobber the last page of memory (where the message buffer is). Some
BIOS don't gratuitously wipe it out on reboot.
1994-11-16 00:41:06 +00:00
Jordan K. Hubbard 7c85e00e1c From: Michael Reifenberger <[email protected]>
I added a bootfile entry to /kern so every program could examine the
Path and name of the kernel.
Submitted by:	mr
1994-11-15 20:30:56 +00:00
Andrey A. Chernov 81301998fc Make shadow more 'real': now shadowed letters appearse as dim ones. 1994-11-15 17:32:05 +00:00
Bruce Evans ff030ea17d Add prototype for Debugger(). 1994-11-15 14:55:25 +00:00
Bruce Evans 441799e34f Fix it to compile without a leftover ddb.h.
Remove bogus declaration of Debugger().  Call Debugger() even if DDB is
not defined, but still call panic() after Debugger() returns, although
most other SCSI drivers just call Debugger().
1994-11-15 14:54:13 +00:00
Bruce Evans b1234dc0cd Remove bogus declaration of Debugger(). Call Debugger() even if DDB is
not defined, but still call panic() after Debugger() returns, although
most other SCSI drivers just call Debugger().
1994-11-15 14:53:09 +00:00
Bruce Evans baffceaddc Remove bogus and unused declaration and definition of Debugger(). 1994-11-15 14:49:56 +00:00
Bruce Evans f8d920b2db Remove unused definition of Debugger(). 1994-11-15 14:49:12 +00:00
Bruce Evans 16bb31e361 Remove bogus declaration of Debugger(). Change the macro for Debugger()
to call the function instead of doing nothing.
1994-11-15 14:47:49 +00:00
Bruce Evans d0c8f50566 Don't define KERNEL for compiling genassym. The prototype for the system
printf() is inconsistent with the prototype for the library printf() and
gets declared if DIAGNOSTIC is defined because <vm/vm_page.h> includes
<sys/systm.h>.
1994-11-15 14:43:45 +00:00
Bruce Evans df708ff192 Include <sys/socket.h> for declaration of struct sockaddr. This helps
genassym compile when KERNEL is not defined.

Uniformize idempotency ifdef.
1994-11-15 14:41:38 +00:00
Bruce Evans 67f517330d Include <sys/time.h> so that we compile again provided <sys/param.h> is
included first (rtprio stuff broke this).

Add missing __dead2's.
1994-11-15 14:37:39 +00:00
Bruce Evans 84fac47641 Include <sys/disklabel.h> to prepare for slices. Don't include the
unused <sys/dkbad.h>.
1994-11-15 14:34:42 +00:00
Bruce Evans 5783a8ffe5 The SYMTAB_SPACE bloatometer was 40% out of date. 1994-11-15 14:28:46 +00:00
Bruce Evans 962cb277f0 Include <sys/systm.h> to get inlines for spl*() so that LINT kernel links. 1994-11-15 14:26:31 +00:00
Bruce Evans e44e6415cf Disable prototypes that conflict with ones in <netinet/in_pcb.h>. The
conflicts stopped the LINT kernel from being buildable.
1994-11-15 14:23:06 +00:00
Bruce Evans b0d1e6de04 Make gdt_segs[] public again for APM.
Make ldt[] public again and restore currentldt and _default_ldt for
USER_LDT.
1994-11-15 14:12:55 +00:00
Bruce Evans dc4de4ca23 Fix type mismatches exposed by a recently added prototype. 1994-11-15 14:09:18 +00:00
Andrey A. Chernov 89247e2d78 Add malloc.h for better SYSV/Linux compatibility like most
providers (like SUN f.e.) does.
malloc.h have comment about its SYSVism
1994-11-15 13:42:20 +00:00
Jordan K. Hubbard ef3e2ecfbd Change CD devices to the correct ones. 1994-11-15 13:40:00 +00:00
Andrey A. Chernov a17f442eba Add comment about SYSV-ism 1994-11-15 13:32:35 +00:00
Andrey A. Chernov fb05aa973e Fix bug: only one second-level shadow drawed 1994-11-15 12:42:14 +00:00
Andrey A. Chernov ebd8696266 Use autodetected dimensions in Sorry! window 1994-11-15 12:17:42 +00:00
Andrey A. Chernov f7b5cb4380 Use TellEm instead of dialog_msgbox 1994-11-15 12:15:51 +00:00
Jordan K. Hubbard 041c2641f1 Make depends a separate target. Now you can select when the dependency
list is traversed.
1994-11-15 10:16:56 +00:00
Jordan K. Hubbard 5dab37e2b3 Add back tar - I'm not sure where it went again! I know that
cpio reads tar files, but this gives you "tar" in its old familar
way, which is important for those trying to read the old extract.sh'd
bindist.
1994-11-15 08:10:35 +00:00
Poul-Henning Kamp 8ab1d79d16 Integrated GCC-2.6.1 -> GCC-2.6.2 changes.
Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.
1994-11-15 04:52:19 +00:00
Jordan K. Hubbard 4ef84c6a4e sendbug -> send_pr 1994-11-14 23:52:42 +00:00
Andreas Schulz e9bc745de3 scsiconf.h:
Change the sc_link structure from 8 targets with 8 lun's to
16 targets with 8 lun's. Wide scsi and the ncr 825 does support 16 targets.
scsiconf.c:
move the addition of the trailing NUL's out of a then clause, they are also
needed in the else clause for an unknown device.
1994-11-14 23:39:33 +00:00
Poul-Henning Kamp 7a82d2eb91 A little fix for "make distribute". 1994-11-14 21:28:46 +00:00
Poul-Henning Kamp 48327bc9af Final changes. Now "make distribute" should work as advertised. 1994-11-14 20:56:17 +00:00
Poul-Henning Kamp 750f81de87 More changes for the "distribute" target. 1994-11-14 20:52:54 +00:00
Poul-Henning Kamp f079582484 Make the "distribute" target build the "des" distribution. Make des'ed
init and ed, by pointing to real sources.
1994-11-14 20:45:35 +00:00
Andrey A. Chernov 3f6dabb23b strncmp use wrong utmp name size
Submitted by: [email protected]
1994-11-14 20:26:52 +00:00
Andrey A. Chernov ea69190efb Check exit code of the dialer, from [email protected]
Set HUPCL as default modem flag, idea from [email protected]
but different implementation.
1994-11-14 20:17:36 +00:00
Poul-Henning Kamp d28db85ed5 "distribute" games into their own distribution.
Reviewed by:
Submitted by:
Obtained from:
1994-11-14 20:10:49 +00:00
Andrey A. Chernov 775fca0065 Remove unused variable from previous commit 1994-11-14 19:32:11 +00:00
Andrey A. Chernov c26acd6574 Add model autodetection code, idea from [email protected]
This change affects probe printout, disklabel, devconf stuff
1994-11-14 19:25:43 +00:00
Bruce Evans 004bedeb68 Rewrite almost everything.
Alphabetize.

Write all i/o functions in sleep so that we don't use anything from
NetBSD.

Restore the correct type of u_int for ports.  This saves a whole cycle
per i/o on 486's.

Change `inline' back to __inline to avoid compiler warnings with
-Wreally-all.

Don't implement bdb() unless BDE_DEBUGGER is defined.  Declare bdb_exists
outside the function to avoid hundreds of compiler warnings.

Let the compiler pick the register in asms if possible.

Implement ffs() using inline asm().  gcc provides a slightly different
one.  It was broken in gcc-2.4.5 but works now.  Declaring a correct
version inline ensures getting a correct version.  FreeBSD-1.1.5 has
an slow inline version but FreeBSD-2.0 has a library version (which
probably never gets used).

Do inb() and outb() without using %edx for constant ports below 0x100.

Remove casts to the same type in queue functions.

Declare prototypes for everything implemented i386/*.s and also for
everything that is normally implemented as an inline here (I don't
like the current complete dependency on gcc).  Ifdef out the prototypes
that are declared elsewhere.  THere should be a separate header to
declare things implemented in i386/*.s, but then it would be harder
to override declarations with inlines.

${UII}
1994-11-14 15:04:06 +00:00
Bruce Evans 663f148514 Log processes that exit with an masked npx exception that would trap
with the current default exception (un)mask.  There should be no such
processes unless you change the mask.  Someday the mask should be
changed to the IEEE default of everything masked.  The npx state
gets saved so that it can be checked and this may have the side effect
of fixing a bug that was reported for 1.1.5.  (npx exceptions may
sometimes leak across exits and clobber another process.  I can't see
how this can happen.)

Get some missing/wrong declarations from headers now that the headers
have them.
1994-11-14 14:59:06 +00:00
Bruce Evans 1b099e1e02 Hide the declaration of ffs() if an inline ffs() is implemented.
I couldn't find a better way to avoid compiler warnings about
redundant and/or inconsistent declaration of ffs().  I'd like to
be able to declare prototypes in general headers without committing
to implementing them as `static inline' or `extern', but there
seems to be no way to do this with gcc-2.6.1.  E.g.,

	int foo(void);
	static __inline int foo(void) { return 1; }

causes a warning about the linkage mismatch, while the opposite
order causes a warning about the redundant declaration.
1994-11-14 14:56:46 +00:00
Bruce Evans e77e2e6ca1 Oops, the previous commit got the diff for the log message instead of
the following.

Move declarations to and from <machine/segments.h>.  Make segment stuff
static if possible.

Remove unused (although initialized) global variables _default_ldt,
currentldt, _gsel_tss (rename the latter to the auto variable
gtel_tss).

Use "correct" and consistent types for interrupt handlers.

Remove a mailing address from the code.

Fix type mismatches found by adding prototypes.
1994-11-14 14:23:54 +00:00
Bruce Evans 30008dda2d (Bogus several hundred line diff for a log message deleted. See rev 1.91
for the intended log message. -DG)
1994-11-14 14:19:54 +00:00
Bruce Evans 095b0028db Move declarations of atdevbase and rtcin() to cpufunc.h (a less wrong
place).

Fix spelling error.

Uniformize idempotency ifdef.
1994-11-14 14:19:10 +00:00
Bruce Evans 040f100044 Remove 1.5+K of bloat for unused idt entries.
Partly support BDE_DEBUGGER.  Still broken by conflict with APM.  Does
nothing if BDE_DEBUGGER is not defined.

Clean up prototypes and data declarations.  Declare most of the segment
functions that are implemented in support.s.  Make data private in
machdep.c if possible.

Parenthesize expressions in macros properly!

${Uniformize idempotency ifdef}.
1994-11-14 14:18:15 +00:00
Bruce Evans e00dc32993 Remove extra idempotency ifdef and uniformize the other one.
Comment about support for 4 different spellings of KERNEL.
1994-11-14 14:13:13 +00:00
Bruce Evans 3bbb00e1a3 Declare inline functions as __inline and with new-style parameter lists
to avoid compiler warnings.

Clean up prototypes: alphabetize; don't use redundant `extern' or
meaningless `extern inline'.

Uniformize idempotency ifdef.
1994-11-14 14:12:24 +00:00
Bruce Evans 080e34f38b Declare fuswintr() and suswintr() the same as fusword() and susword().
(These functions are implemented in assembler so the compiler can't
check the declarations.)

Clean up prototypes: restore CSRG's alphabetical order, arg names in
prototypes, formatting to fit in 80 columns
1994-11-14 14:09:38 +00:00
Bruce Evans 67df6ed30c if.h:
Declare a complete prototype for the function pointer *ifa_rtrequest.

radix.h:
Declare a complete prototype for the function pointer *rnh_walktree
and for the function rn_walktree.

Uniformize idempotency ifdef.
1994-11-14 14:06:06 +00:00
Bruce Evans dedb3ba62d Update stupid declaration in comment to match code.
Declare all public syscntlfn's here.
1994-11-14 13:59:09 +00:00
Bruce Evans 6124ac44aa Move declarations of public functions to <sys/sysctl.h>.
Make some private data static.

Comment about MAXPATHLEN bytes of bloat for the kernel name.
1994-11-14 13:58:30 +00:00
Bruce Evans bf40299d44 Declare a complete prototype for the function pointer *ext_free and the
function m_devget.

Uniformize idempotency ifdef.
1994-11-14 13:54:20 +00:00
Bruce Evans 80d08a820d Add prototype for vfinddev(). 1994-11-14 13:51:53 +00:00
Bruce Evans ad7dee4d66 Remove unused `struct disklabel' (the declarations that used it went away).
Uniformize idempotency ifdef.
1994-11-14 13:50:15 +00:00
Bruce Evans 36633bf49d Undo a previous change. <sys/disklabel.h> was broken, not these files. 1994-11-14 13:22:52 +00:00
Bruce Evans 3d06c6b3f5 Declare `struct dkbad' with the correct scope so that everything including
<sys/disklabel.h> doesn't have to include <sys/dkbad.h> to avoid compiler
warnings.
1994-11-14 13:08:44 +00:00
Bruce Evans 4f21005bdd pmap.h:
Disable the bogus declaration of pmap_bootstrap().  Since its arg list
is machine-dependent, it must be declared in a machine-dependent header.

vm_page.h:
Change `inline' to `__inline' and old-style function parameter lists for
inlined functions to new-style.

`inline' and old-style function parameter lists should never be used in
system headers, even in very machine-dependent ones, because they cause
warnings from gcc -Wreally-all.
1994-11-14 08:19:08 +00:00
Bruce Evans ba9c09688c Add missing define of DPADD. Remove uneccessary define SRCS. Reorder
defines.
1994-11-14 08:02:40 +00:00
Bruce Evans 99fb10656e Don't follow a null pointer for the reporting error if kvm_openfiles() fails.
Don't ever pretend that the program is named "." and has no args.
1994-11-14 07:54:06 +00:00
Bruce Evans 2f1d65aabc Don't build an unused array of kernel names when HAVE_GETBOOTFILE is
defined.

Don't use the newfangled C features to waste time building the array
at runtime when HAVE_GETBOOTFILE is not defined.
1994-11-14 07:51:11 +00:00
Bruce Evans d6238d7915 Fix logic in previous commit. 1994-11-14 07:13:12 +00:00
Bruce Evans f0f78037fe Remove the bogus include of <sys/dkbad.h>. 1994-11-14 07:01:58 +00:00
Bruce Evans ff8189b3f8 Install shared libraries in ${SHLIBDIR} instead of in ${LIBDIR}.
Add missing ${DESTDIR}'s.
1994-11-14 06:45:23 +00:00
Bruce Evans 643c00317e Install shared libraries in ${DESTDIR}${SHLIBDIR} instead of in
$(DESTDIR)/$(LIBDIR) (I need SHLIBDIR.  The / was a bug and the
$(...) style was inconsistent.)

Install ordinary libraries in ${DESTDIR}${LIBDIR} instead of in
$(DESTDIR)/$(LIBDIR).

Change remaining $(...) to ${...}.
1994-11-14 06:44:45 +00:00
Bruce Evans baa5e01a32 This change was actually made in the previous revision:
Define SHLIBDIR?= ${LIBDIR} and install shared libraries in
${DESTDIR}${SHLIBDIR} instead of in ${DESTDIR}${LIBDIR}.
SHLIBDIR may be defined in /etc/make.conf to override the
default of /usr/lib (I use /lib).  Other changes are required
for non-default shared library directories to actually work
(ld* and crtso have too many hard-coded paths).

Bruce
1994-11-14 06:28:20 +00:00
Bruce Evans 069fcad2d9 Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries.  This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)
1994-11-14 05:57:36 +00:00
Bruce Evans a3a5ddcb52 Include <sys/types.h> early. This will be required when <stdio.h> and/or
<signal.h> are fixed to not include it.

Bruce
1994-11-14 05:16:46 +00:00
Bruce Evans 2175e44a77 Define `RANTOUCH?= ${RANLIB} -t' and use it instead of ${RANLIB} -t.
RANTOUCH may be defined in /etc/make.conf as
`${ECHO} skipping ${RANLIB} -t' to help stop `make install' from
changing the timestamps on unchanged libraries, thus making the
uninstalled binaries appear to be out of date...  Other changes
are required to stop install from clobbering the timestamps.
1994-11-14 04:55:39 +00:00
Bruce Evans 3ecb436950 Define LIBEDIT, LIBGCC, LIBKVM, LIBSCRYPT and LIBY.
Comment about missing libraries for LIBDES, LIBKDB, LIBKRB, LIBMP, LIBPC
and LIBPLOT.

Don't define LIBDBM since it was replaced by db in libc.

Remove duplication.  ${DESTDIR}/usr/lib/... gives /usr/lib/... even when
DESTDIR is not defined.
1994-11-14 04:28:44 +00:00
Bruce Evans 2c02e8a20a Replace strtol() by strtoul() so that "negative" addresses and masks don't
get truncated to LONG_MAX.  Don't lobotomize the merged library source.

Make all private data static.

Use int_parms for the i/o "address" since the "address" is really a number
and is represented as an int.

Add command `flags' to allow changing device flags.

Fix scrolling of device listing.  Only scrolling of the current devtab
was controlled.  Reprint the header after scrolling.

Rename commands and change strings to match their config(8) keywords:

	io -> port
	IOaddr -> port
	mem -> iomem (abbreviation is io :-()
	MemAddr -> iomem
	case changes

Don't use NULL for ASCII NUL.

Call strtoul() with base 0 for both numbers and addresses so that input
is consistent and hex and octal can be used for numbers.

Fix entry of irq number.  Check the range at no extra cost.  It wasn't
possible to enter irq -1.

Format device listing better.  Large numbers (such as 0xffffffff for the
GENERIC lpt0 port) messed up the formatting.

Show the unit number in the device listing.  Comment about the fields
that aren't shown.
1994-11-14 03:22:28 +00:00
David Greenman b0150bfc4b Set laundry flag when transitioning an inactive page from clean to dirty.
This fixes a performance bug where pages would sometimes not be paged
out when they could be.

Submitted by:	John Dyson
1994-11-14 02:57:40 +00:00
David Greenman 317205ca28 Fixed bug where a read-behind to a negative offset would occur if the
fault was at offset 0 in the object. This resulted in more overhead but
was othewise benign. Added incore() check in vnode_pager_has_page()
to work around a problem with LFS...other than slightly higher overhead,
this change has no affect on UFS.
1994-11-13 22:48:55 +00:00
Nate Williams 0dc02ef480 Fixed a mis-spelling. 1994-11-13 21:19:18 +00:00
Nate Williams 0f1f11ef34 Added the DEC ethernet cards to the list of supported ethernet drivers. 1994-11-13 21:17:38 +00:00
Nate Williams 7145a92269 Changed output message in interrupt-driven lp device from
'TCP/IP interface' to 'TCP/IP capable interface' to avoid confusion.
1994-11-13 21:14:30 +00:00
Poul-Henning Kamp 55ff8fb132 Add a new "distribute" target. This is a variant of install, which will
put the stuff into the right "distribution".  As default things end up
in "bindist".

Normal (ie: most) makefiles know naught of this.

More commits will follow, which will direct various parts of the tree
into the distribution we want them in.

Some of the grief of being release-engineer is supposed to go away with this.
1994-11-13 21:05:28 +00:00
Poul-Henning Kamp 2a7b3781fc Added routines to read the canonical UNIX configuration file. This will
later be applied to a number of programs (inetd for instance) to clean
out the bogus code doing the same thing, modulus all the bugs.

If you need to read a '#'-is-a-comment-file, please use these routines.

I realize that the shlib# should be bumped (for the non-US world:
increased by something), but will defer this until something significant
happens.
1994-11-13 20:47:44 +00:00
David Greenman 24ea4a9671 Fixed bugs in accounting of swap space that resulted in the pager thinking
it was out of space when it really wasn't.

Submitted by:	John Dyson
1994-11-13 15:36:48 +00:00
David Greenman bfbfac11c9 Implemented swap locking via P_SWAPPING flag. It was possible for a process
to be chosen for swap-in while it was being swapped-out. This was BAD.

Submitted by:	John Dyson
1994-11-13 12:47:07 +00:00
David Greenman 0d15e0ac1e Added P_SWAPPING flag to implement a lock for swap in. It was possible for
a process to be chosen for swap-in while it was being swapped-out. This was
BAD.

Submitted by:	John Dyson
1994-11-13 12:46:08 +00:00
David Greenman 07d0d0fc9c Added support for SIOCSIFMTU ioctl. Fixed bug that caused panic at boot time
related to interrupts being enabled before the device attach. The interrupt
should be mapped *after* the device attach.
1994-11-13 12:39:38 +00:00
Justin T. Gibbs e424e8bfac Add ep0 line to kernel config files. 1994-11-13 10:17:07 +00:00
Justin T. Gibbs 72f30c2bd3 Andres Vega Garcia's improvements to the ep driver. This driver is a merging
of the 1.1.5 driver, a recent version of the NetBSD driver, Andres'
transmission start threshold code, and all other relavent changes to the driver
since it was brought into 2.0.  The multicast support from NetBSD has not be
folded in yet.  I've tested it under high loads for two weeks and it is now
robust enough to be included in the GENERIC kernel.
Reviewed by: gibbs
Submitted by:	[email protected] (Andres Vega Garcia)
1994-11-13 10:12:37 +00:00
Nate Williams 412ac969ed Add Matt Thomas' le0 DEPCA driver to the GENERIC kernel. This works
but I can't test to see if it walks on other ethernet drivers.  Can the
install folks add this driver to the install script?
1994-11-13 09:42:07 +00:00
Nate Williams e369a78c55 Added VLB to the list of PC busses supported since this question comes up
often on USENET.

Added comments regarding the new 'extended IDE' controllers, which work with
FreeBSD but do not use the extended features.

Minor formatting changes.
1994-11-13 09:19:04 +00:00
Paul Richards 1ab772898b Fix some bugs with forms that have only text fields.
Add an extern form to forms.h for apps to pick up.
1994-11-13 07:43:43 +00:00
Jordan K. Hubbard c4115cc446 There were some bogons with redirection to /dev/ttyv1 lurking here.
Fix them.
1994-11-13 07:27:36 +00:00
David Greenman ef53d2f8b6 Nuked ed2 - it was added for the common 16bit card case where the
irq is 10. This is auto-sensed/configured now in the 'ed' driver.
1994-11-13 07:20:03 +00:00
David Greenman fed69e2fd2 In cases where it is possible, use the card's configured irq rather than
the one compiled into the kernel. Left in some commented-out shared memory
performance test code.
1994-11-13 07:17:46 +00:00
Paul Richards 0d18307afc The start of a forms editor library. Currently implements text and
input fields. It reads a template file passed to init_forms(char *)
and creates a curses based form editor. See the examples directory
for a basic demo.
1994-11-13 06:45:44 +00:00
Jordan K. Hubbard e2855afcca Adjust the size of the input box. It looks a bit funkier now,
but at least the code is smaller!
1994-11-13 06:32:40 +00:00
Jordan K. Hubbard c9902b6aaa Fix merge conflicts. 1994-11-13 06:11:02 +00:00
Jordan K. Hubbard be25b01844 Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
Jordan K. Hubbard b3f6f5fbb3 Michael Reifenberger's libg++ 2.6.1 port.
Submitted by:	mr
1994-11-13 05:54:27 +00:00
Jordan K. Hubbard b8565ceeb3 I buggered the last commit. Make sysinstall work again (^$&*!! missing
comma!).
1994-11-13 04:20:23 +00:00
Jordan K. Hubbard 1d9dacf401 Support ufs installations. 1994-11-13 03:48:55 +00:00
Jordan K. Hubbard 5ece1e4625 Whoops! Update the size of the main menu to 7 items. I'm sleepy. 1994-11-13 02:06:50 +00:00
Jordan K. Hubbard 501cc59d80 I *almost* had it right. Skip over the rest of the command if it's
abbreviated.
1994-11-13 01:55:33 +00:00
Jordan K. Hubbard 0429030d68 Disable the building of the evil floppy images. We blew through the
1.2MB barrier again.  I tell ya, Poul, it's a losing game!  You shave
50 bytes off, the next change takes 100 back, and this is just ALPHA!
The 1.2MB weenies will _just have to buy new drives_!
1994-11-13 01:46:22 +00:00
Jordan K. Hubbard a47758ac19 Add my first-cut at a very short troubleshooting document. We can add
more stuff here as people report it.
1994-11-13 01:21:11 +00:00
Jordan K. Hubbard 89dcf33514 Change the name of the TROUBLE-2.0 file to TROUBLESHOOTING; it just makes
more sense.
1994-11-13 01:20:37 +00:00
Jordan K. Hubbard 65890857c5 Now I know what this message is really supposed to say.. :-) 1994-11-13 01:14:38 +00:00
Jordan K. Hubbard 95ea0c1390 Make the command set actually work the way I'd intended - you can abbrevate
commands now, as long as whatever you abbreviate them to remains unique.
1994-11-13 00:57:06 +00:00
Jordan K. Hubbard 7bb4591ed9 Whoops, make the comment match the new reality while we're at it. 1994-11-13 00:43:29 +00:00
Jordan K. Hubbard b5cd0f92f4 mem's 2nd arg was incorrectly defined as an integer, not address parameter.
I found this out the hard way when I went to do:

	mem ed0 0xe8000

And found out that I had to enter the second parameter in decimal.. :-)
1994-11-13 00:42:01 +00:00
Lars Fredriksen 5d07694903 Delete duplicate pppd entry. Also move pppstats in the right spot lexically. 1994-11-12 22:24:17 +00:00
Jordan K. Hubbard 4cdfb89cfd Install the soon-to-be-written troubleshooting file. 1994-11-12 20:40:14 +00:00
Jordan K. Hubbard 21c3b39552 Erm, on second thought, if it's named `mkextract.sh' then everyone
will think that it builds the extract.sh in THIS directory, which it
most certainly doesn't.  Rename it to be a bit longer, but more explanatory.
1994-11-12 20:39:15 +00:00
Jordan K. Hubbard 2da486aa70 Add the mkextract.sh script I use for the XFree86 distribution, just so
I have a master copy someplace.
1994-11-12 20:37:41 +00:00
Jordan K. Hubbard ed9a3c50d8 Add dmesg. 1994-11-12 20:36:28 +00:00
Jordan K. Hubbard c6c612c2c6 Add hooks for a short trouble shooting document. 1994-11-12 20:34:18 +00:00
Jordan K. Hubbard 5231231d03 Add back ed2. Harrumph.. 1994-11-12 20:27:24 +00:00
Lars Fredriksen ab0f6b123c Obtained from: ppp-2.1.2
More correct use of __FreeBSD__ and BSD4_4 ifdefs. Fixed kvm_openfile()
call based upon suggestion from Bruce Evans.
1994-11-12 19:33:41 +00:00
Lars Fredriksen 665583d21a pppd was missing from the SUBDIRS. 1994-11-12 19:15:01 +00:00
Andrey A. Chernov 8e3327c9e3 Use CDIOCALLOW before CDIOCEJECT 1994-11-12 18:25:03 +00:00
Andrey A. Chernov f1c0b3ad97 Implement CDIOCALLOW as dummy function (for xcdplayer) 1994-11-12 18:18:20 +00:00
Andreas Schulz 9055754b40 Delete a bogus check that the SCSI_DELAY only works for the first
scsi adapter. Let it work on every adapter. Someone want to rewrite
this to be coupled with the adapter specification in the config file,
so that you can say which adapters need it ?
1994-11-12 17:13:23 +00:00
Andrey A. Chernov b27a526947 Revision 1.6 fix was lost: don't write 0 to RTC_DIAG 1994-11-12 16:24:54 +00:00
Andrey A. Chernov a4d451dbae cdplay added 1994-11-12 16:05:43 +00:00
Andrey A. Chernov cc35e837fa Very simple non-X CD player for testing purposes,
better than nothing
1994-11-12 16:03:14 +00:00
Andrey A. Chernov 0e60e64d95 Wrong raw device was created for cd/mcd: d instead of c 1994-11-12 15:48:54 +00:00
Andrey A. Chernov 9c971e7df2 Changes from [email protected] NOT installed (expect one
cosmetique) because we already have right things there or his changes
are incorrect.
Fix mcd_subchan to return position, inspired by idea from
[email protected], but different implementation.
1994-11-12 14:19:11 +00:00
Andrey A. Chernov 866c34f93a Add and reorganize new MCD commands from [email protected]
No functionality changes yet, will be next step
1994-11-12 13:26:13 +00:00
Jordan K. Hubbard 263f1796af When this is run manually, the myname protection stuff probably isn't
needed in all cases.  Guard against this.
1994-11-12 09:55:29 +00:00
Jordan K. Hubbard d86019dd9b Drat! For CDROM, we need to mount_cd9660 not just mount (slap!). 1994-11-12 06:22:25 +00:00
Jordan K. Hubbard 46cf4f38ae Remove ed2. 1994-11-12 06:12:27 +00:00
Jordan K. Hubbard 794a798905 ed2 was actually an impossible entry to reach! 1994-11-12 06:12:01 +00:00
Lars Fredriksen f147a7b270 This commit was generated by cvs2svn to compensate for changes in r4381,
which included commits to RCS files with non-trunk default branches.
1994-11-12 06:07:15 +00:00
Lars Fredriksen 1b4d00dd27 pppstats from ppp-2.1.2 1994-11-12 06:07:15 +00:00
Poul-Henning Kamp 32b9d0746e Try to align to floppy image to a number of sectors to avoid people
making bad floppies.
1994-11-12 05:47:28 +00:00
Poul-Henning Kamp e8411f60b0 Don't continue if we don't get a /, swap and a /usr or 80Mb in /. 1994-11-12 05:40:28 +00:00
Lars Fredriksen 4ecbaff289 Added chat 1994-11-12 05:32:46 +00:00
Lars Fredriksen 9b1aec4804 chat for ppp, from ppp 2.1.2 1994-11-12 05:25:32 +00:00
Lars Fredriksen 0f0f80bfbf This commit was generated by cvs2svn to compensate for changes in r4374,
which included commits to RCS files with non-trunk default branches.
1994-11-12 05:25:32 +00:00
Jordan K. Hubbard c0141fe81f I blew the redirects on the slip stuff. 1994-11-12 05:04:21 +00:00
Jordan K. Hubbard dfd2c8103a Point to new README file location. 1994-11-12 02:25:04 +00:00
Jordan K. Hubbard 8a03984548 Move the README here, with a few updates. 1994-11-12 02:24:28 +00:00
Poul-Henning Kamp e113d7633d Make a kernel sans FFS possible. 1994-11-12 01:47:43 +00:00
Jordan K. Hubbard 3aa40eb0ac Add pppd to the Makefile. It seems to work.. 1994-11-11 23:47:32 +00:00
Jordan K. Hubbard 3695f7d1ae ncftp can't interact with us. Redirect its input from /dev/null. 1994-11-11 23:29:26 +00:00
Jordan K. Hubbard aa638b7a35 Make this use cpio, not tar. Poul-H is going to get his weenie whacked
for this.
1994-11-11 23:27:05 +00:00
Jordan K. Hubbard 7c6f13dc4b Make sysinstall deal with user interrupts properly. 1994-11-11 23:22:56 +00:00
Jordan K. Hubbard d9b4b736b0 Add basename to to the cpio floppy. Thanks, Lars! 1994-11-11 22:27:12 +00:00
L Jonas Olsson 0a599256ea Remove z_abs. It is already in libm.a 1994-11-11 12:58:12 +00:00
L Jonas Olsson dc400d8541 Add missing z_abs. In BSD tradition this is in libm.a. 1994-11-11 12:56:27 +00:00
Jordan K. Hubbard a3f2401e48 Try and make this just a little bit more self-explanatory. Still
a LONG way to go..
1994-11-11 10:55:02 +00:00
Jordan K. Hubbard ff47faa890 Add patch cookies. This should prevent gratuitous patch re-application
attempts.
1994-11-11 09:45:33 +00:00
Jordan K. Hubbard 0ec708c963 Whoops! cu == tip. 1994-11-11 08:47:34 +00:00
Jordan K. Hubbard 99a164544a Make sure /var/log exists so that cu doesn't complain. 1994-11-11 08:34:03 +00:00
Jordan K. Hubbard 97fa4b4e3c Add cu (and cu slip dialog) so that poor SLIP users can dial their modems
before initiating a slip transfer.
1994-11-11 08:33:04 +00:00
Jordan K. Hubbard dcaed5228b 1. Ask the user one final time before newfs'ing his disk into oblivion.
This means that even "proceed" can be chosen now without going
   irrevokably down that path.
2. Clean up the stage5 text.
1994-11-11 07:58:09 +00:00
Jordan K. Hubbard f10ad5791f Typos fixed by Michael E. and Gary J. Thanks, guys!
Submitted by:	me,gj
1994-11-11 07:39:40 +00:00
Jordan K. Hubbard 61c0812173 Add de0 to list of ethernet drivers. This list will be dynamic shortly..
Add an interrupt handler for trigger-happy users.
Add domain to resolv.conf
More general cleanup in preparation for this script being split into
several scripts.
1994-11-11 07:33:50 +00:00
Jordan K. Hubbard 71694402b9 From: Michael Reifenberger <[email protected]>
z_abs is missing in libf2c.
Could someone please commit the following patch?

Submitted by:	mr
1994-11-11 07:27:04 +00:00
David Greenman e50e132aa8 Added 'de' ethernet driver. 1994-11-11 05:48:49 +00:00
David Greenman 027f8c4e0f Convert irq to a bitmask before putting in id_irq.
Fixed bugs related to the 'more' code.
1994-11-11 05:28:59 +00:00
Andreas Schulz 94e6bbfc64 pick up the changes from a makesyscall.sh run. The multiple lkmnosys
declarations should now be gone.
1994-11-10 23:59:47 +00:00
Jordan K. Hubbard 49445644f1 Enable floppy-tape support. 1994-11-10 23:46:31 +00:00
Jordan K. Hubbard e903ac3586 Add ft. 1994-11-10 23:44:35 +00:00
Jordan K. Hubbard eaad9ab057 Experimental floppy-tape suport. 1994-11-10 23:43:25 +00:00
Andreas Schulz fa49dc9cf0 Fix an error to prevent some core dumps from ps.
You can get ps easily to core dump, if you are running a "make depend"
on a kernel in one window and a "ps -auxww" in another. The ww will
try to give you the full argument list of the command that can
now be 64Kb large, but ps expected only 4Kb large arg arrays and
doesn't check for overflows.
1994-11-10 23:25:12 +00:00
Andreas Schulz 1113f91681 Shut up a compiler warning about a missing cast. 1994-11-10 23:14:55 +00:00
Guido van Rooij b0dd7a6b99 Remove redundant stuff. Amazing that they actually solved a bug found in
1.1.5.1, and oversaw this thang.
1994-11-10 18:49:23 +00:00
Andrey A. Chernov af39413d8c Additionly use erase char from termios
Implement kill line by ^U or kill char from termios
1994-11-10 15:16:46 +00:00
Andrey A. Chernov 936d754a6c Fix printout bug
Submitted by: [email protected]
1994-11-10 13:39:01 +00:00
Andrey A. Chernov 6e96c3814b Add 57600, 115200 ro baudrate() 1994-11-10 13:10:21 +00:00
Andrey A. Chernov 3b8f1cfc05 Use adjkerntz into inittodr too (for APM stuff) 1994-11-10 12:53:13 +00:00
Jordan K. Hubbard eb1452c54a Enable support for Lucifer's floppies.
More stylistic drick-drack in bininst.
1994-11-10 05:27:57 +00:00
Jordan K. Hubbard a1f26907b3 Small tweak - I said that ESC-ESC aborted the install. It actually only
suspends it.  Whoops!
1994-11-10 04:28:15 +00:00
Jordan K. Hubbard af75c6de49 Whoops! I wrapped. Try again. 1994-11-10 04:11:58 +00:00
Jordan K. Hubbard 0d4cd18b56 Add some more information on FreeBSD's default security.
Make this a little more readable and fix some typos.
1994-11-10 03:51:18 +00:00
Poul-Henning Kamp d67fe71073 Added des to the food for this. 1994-11-10 03:22:27 +00:00
David Greenman 6e876d0d60 Added missing call to bpf on the transmit side. Nuked revision log. 1994-11-10 02:56:48 +00:00
Jordan K. Hubbard 1690fb01f0 Small stylistic change - don't spawn a subshell, just use the -C flag to tar. 1994-11-10 02:50:42 +00:00
Jordan K. Hubbard 830d93f8fd Move the echo to the right place in case the bindist has already extracted. 1994-11-10 02:47:06 +00:00
Poul-Henning Kamp ffc232881f address @freefall.cdrom.com -> @freebsd.org 1994-11-10 02:34:54 +00:00
Poul-Henning Kamp feba6ddfd8 /dev/apm should be /dev/apm0 1994-11-10 02:32:29 +00:00
Poul-Henning Kamp 9a4deb1b4a Now that the default for the shared gcc-internal lib changed, make this match. 1994-11-10 02:29:41 +00:00
Poul-Henning Kamp e3245077f6 Make it extract anything it finds... 1994-11-10 02:24:47 +00:00
Jordan K. Hubbard 8ac098442c Document that we support 1522 controllers now. 1994-11-09 23:26:57 +00:00
Poul-Henning Kamp 7bb7781dd6 Really build bindist... 1994-11-09 23:07:04 +00:00
Jordan K. Hubbard 0b25c3665d [Changes are now for BETA]
This attempts to make the installion a little less grating by not
clearing the screen every time a like-sized dialog is going to splat
on top of another one.  If you don't want the screen to clear, set
clear="", otherwise leave it set to (or set it back to) "--clear".

It can't be set to "" all the time since then small dialogs appearing
on top of big dialogs look funky.
1994-11-09 23:02:11 +00:00
Poul-Henning Kamp 00063f88d5 some things Jordan forgot... 1994-11-09 20:27:32 +00:00
Jordan K. Hubbard 6eca28c059 One last formatting change. Done. 1994-11-09 20:16:09 +00:00
David Greenman e754e0f30f Fixed bug that somehow made it into here: the ifp must be stored in the
mbuf header for received packets. Minor performance optimizations. Removed
#ifdef MULTICAST's as this isn't optional in our kernel.
1994-11-09 15:12:44 +00:00
Jordan K. Hubbard af34aca310 Changes from Gary Palmer to make all this stuff fit on the screen!
Submitted by:	gpalmer
1994-11-09 02:51:21 +00:00
Jordan K. Hubbard 414f020212 Remove ppp from the list of options - we don't even have ppp in the default
kernel, and ppp people can generally use SLIP.

A few more formatting changes.

Make slip installation work.
1994-11-09 02:49:04 +00:00
Bruce Evans 86a8bb8a33 Don't declare DELAY() here. Callers should include <machine/clock.h>. 1994-11-09 00:51:38 +00:00
Jordan K. Hubbard ba4175f496 Sigh. I'm sleepy, and I just read this again. Have it make sense this time. 1994-11-09 00:10:04 +00:00
Jordan K. Hubbard eefaaf356d Add a long-needed comment about logging in as root. 1994-11-09 00:05:42 +00:00
Jordan K. Hubbard aac9a41cfc Just some last tweaks to make NFS install more friendly. 1994-11-08 23:59:04 +00:00
Poul-Henning Kamp cf268280d3 And the tree is 2.1.0-Development, have fun guys... Who breaks it first ? 1994-11-08 21:28:34 +00:00
Jordan K. Hubbard 55cfde8297 Damn!! I left Soren's name off the core team roster by mistake! :-( :-(
I'm going to re-roll the boot floppies to have this in, and hopefully
Poul will update it into his world tree before making the bin tarballs.
Be a real shame to leave this incorrect!  Very sorry, Soren!  It was
simply an updating oversight! :-(
1994-11-08 20:17:45 +00:00
Garrett Wollman 0b06d15f3a Initial import of pppd from ppp2.1.2 package. Will follow with port commit. 1994-09-25 02:11:29 +00:00
Garrett Wollman 511288a31c Secondf of three commits: add distributed slcompress.[ch] as pppcompress.[ch].
I want to keep these separate as it facilitates LKMs and obviates the need
to merge the two diverging versions of this code.
1994-09-23 00:10:36 +00:00
Garrett Wollman 3ea8854e61 Initial import of the latest version of the PPP stuff. This doesn't
even compile (yet).  You will see three commit messages on this, of which
this is the first.
1994-09-23 00:10:35 +00:00
cvs2svn 67144da169 This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-23 00:10:34 +00:00
10438 changed files with 929369 additions and 890089 deletions

No files matched your search

+27 -6
View File
@@ -13,13 +13,24 @@ committing code that was written by someone else, I decided to use the
The template looks like this:
Reviewed by:
Submitted by:
Reviewed by:
Submitted by:
Obtained from:
CVS: ----------------------------------------------------------------------
CVS: Delete the ``Reviewed by'' line if this is somebody else's work
CVS: (you are the reviewer).
CVS: Delete the ``Submitted by'' line if this is NOT somebody else's
CVS: work (you are the author).
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NetBSD,
CVS: then name the system in this line, otherwise delete it.
CVS: Reviewed by:
CVS: Before committing changes please have someone check your work and
CVS: include their name here. If the change is trivial and you have not
CVS: had it reviewed then delete this line.
CVS: Submitted by:
CVS: If this code has been contributed to FreeBSD by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
(Note that these lines will also automatically removed now if the tags
are empty.)
If you are making substantial or possibly controversial changes to the
code, please talk to someone else who either has commit authority, or
@@ -42,3 +53,13 @@ so that the logs look cleaner.
-GAWollman
Importing new stuff is somewhat error-prone since it's easy to create
unwanted directories or even whole subtrees without noticing it. The
script ``easy-import'' has been created to make first-time imports
easier to handle (vendor-branch imports are not yet supported), and to
help people avoiding the most common errors. It is available as
/usr/local/bin/easy-import on freefall, or in the source tree as
src/gnu/usr.bin/cvs/contrib/easy-import.pl.
Jörg Wunsch
-49
View File
@@ -1,49 +0,0 @@
$Id$
This file lists hardware, which doesn't do what it should do.
Due to the nature of FreeBSD, we do not have the resources to test all
possible kinds of hardware. We do however every now and then find, buy
or hear about hardware which doesn't work with FreeBSD or in general.
This is that list.
To be added to this list, a piece of hardware has to:
A: not do what it claims.
or
B: not do what common sense would expect it to.
Only if performance claims are wildly of the mark will it be listed here.
All entries must have a date and a mail-address associated with them, to
reflect when and by whom they were added.
For multifunctional devices, please indicate if other parts of the device
work OK, or are untested.
For mutual incompabilities, list both devices.
For SCSI and IDE-devices, list the string seen on boot of FreeBSD, if
possible, and trade name.
Infer format from other entries, Keep sorted by first line.
Thankyou.
---
Controller, Data Technology DTC2280, "PC/AT Super I/O Card"
IDE interface can be set to secondary address, but doesn't work there. Suspect
Interrupt isn't moved along. Works fine on primary address. Other parts of
card not tested.
19940828 [email protected]
---
IDE-disk, <Maxtor 7345 AT>, "Maxtor 7345"
Cannot coexist on the same IDE-controller with a <WDC AC2540H>, "Western
Digital Caviar 2540" disk. Jumpers not exhaustively experimented with, as
neither of the companies make sufficient information available. Disk works
fine when alone on IDE-controller.
19940828 [email protected]
---
IDE-disk, <WDC AC2540H>, "Western Digital Caviar 2540"
Cannot coexist on the same IDE-controller with a <Maxtor 7345 AT>, "Maxtor
7345" disk. Jumpers not exhaustively experimented with, as neither of the
companies make sufficient information available. Disk works fine when alone
on IDE-controller.
19940828 [email protected]
---
+122 -62
View File
@@ -1,53 +1,43 @@
#
# $Id: Makefile,v 1.28 1994/11/01 19:52:38 pst Exp $
# $FreeBSD$
#
# Make command line options:
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
# -DCLOBBER will remove /usr/include and MOST of /usr/lib
# -DMAKE_LOCAL to add ./local to the SUBDIR list
# -DMAKE_PORTS to add ./ports to the SUBDIR list
# XXX1 -DMAKE_KERBEROS to build KerberosIV
# -DMAKE_EBONES to build eBones (KerberosIV)
#
# -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
# -DNOCLEAN to not clean anything at all
# -DNOCRYPT will prevent building of crypt versions
# -DNOLKM do not build loadable kernel modules
# -DNOOBJDIR do not run ``${MAKE} obj''
# -DNOPROFILE do not build profiled libraries
# -DNOSECURE do not go into secure subdir
#
#
# XXX1 The kerberos IV off the 4.4-Lite tape (src/kerberosIV)
# will not build successfully yet. MAKE_KERBEROS should not be
# defined.
# Put initial settings here.
SUBDIR=
# We must do include and lib first so that the perl *.ph generation
# works correctly as it uses the header files installed by this.
.if exists(include)
SUBDIR+= include
.endif
.if exists(lib)
SUBDIR+= lib
.endif
.if exists(bin)
SUBDIR+= bin
.endif
.if exists(contrib)
SUBDIR+= contrib
.endif
.if exists(etc)
# XXX until etc vs release conversion is done
# SUBDIR+= etc
.endif
.if exists(games)
SUBDIR+= games
.endif
.if exists(gnu)
SUBDIR+= gnu
.endif
.if exists(include)
SUBDIR+= include
.endif
.if exists(lib)
SUBDIR+= lib
.endif
.if exists(kerberosIV) && !defined(NOCRYPT) && defined(MAKE_KERBEROS)
SUBDIR+= kerberosIV
.endif
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
SUBDIR+= eBones
.endif
@@ -76,6 +66,11 @@ SUBDIR+= secure
SUBDIR+= lkm
.endif
# etc must be last for "distribute" to work
.if exists(etc) && make(distribute)
SUBDIR+= etc
.endif
# These are last, since it is nice to at least get the base system
# rebuilt before you do them.
.if defined(MAKE_LOCAL) & exists(local) & exists(local/Makefile)
@@ -91,26 +86,33 @@ OBJDIR=
.else
OBJDIR= obj
.endif
.if defined(NOCLEAN)
CLEANDIR=
WORLD_CLEANDIST=obj
.else
WORLD_CLEANDIST=cleandist
.if defined(NOCLEANDIR)
CLEANDIR= clean
.else
.else
CLEANDIR= cleandir
.endif
.endif
world: hierarchy cleandist mk includes libraries tools
world: hierarchy mk $(WORLD_CLEANDIST) include-tools includes lib-tools libraries build-tools
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} The whole thing"
@echo "--------------------------------------------------------------"
@echo
${MAKE} depend all install
cd ${.CURDIR}/share/man && ${MAKE} makedb
@echo "make world completed on `date`"
hierarchy:
@echo "--------------------------------------------------------------"
@echo " Making hierarchy"
@echo "--------------------------------------------------------------"
cd ${.CURDIR}/release && ${MAKE} hierarchy
cd ${.CURDIR}/etc && ${MAKE} distrib-dirs
update:
.if defined(SUP_UPDATE)
@@ -118,6 +120,12 @@ update:
@echo "Running sup"
@echo "--------------------------------------------------------------"
@sup -v ${SUPFILE}
.if defined(SUPFILE1)
@sup -v ${SUPFILE1}
.endif
.if defined(SUPFILE2)
@sup -v ${SUPFILE2}
.endif
.endif
.if defined(CVS_UPDATE)
@echo "--------------------------------------------------------------"
@@ -163,6 +171,7 @@ installmost:
cd ${.CURDIR}/usr.sbin && ${MAKE} ${.MAKEFLAGS} install
cd ${.CURDIR}/gnu/libexec && ${MAKE} ${.MAKEFLAGS} install
cd ${.CURDIR}/gnu/usr.bin && ${MAKE} ${.MAKEFLAGS} install
cd ${.CURDIR}/gnu/usr.sbin && ${MAKE} ${.MAKEFLAGS} install
#.if defined(MAKE_EBONES) && !defined(NOCRYPT)
# cd ${.CURDIR}/eBones && ${MAKE} ${.MAKEFLAGS} installmost
#.endif
@@ -181,6 +190,7 @@ most:
cd ${.CURDIR}/usr.sbin && ${MAKE} ${.MAKEFLAGS} all
cd ${.CURDIR}/gnu/libexec && ${MAKE} ${.MAKEFLAGS} all
cd ${.CURDIR}/gnu/usr.bin && ${MAKE} ${.MAKEFLAGS} all
cd ${.CURDIR}/gnu/usr.sbin && ${MAKE} ${.MAKEFLAGS} all
#.if defined(MAKE_EBONES) && !defined(NOCRYPT)
# cd ${.CURDIR}/eBones && ${MAKE} ${.MAKEFLAGS} most
#.endif
@@ -200,33 +210,69 @@ includes:
@echo "--------------------------------------------------------------"
@echo
.if defined(CLOBBER)
rm -rf ${DESTDIR}/usr/include
mkdir ${DESTDIR}/usr/include
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include
chmod 755 ${DESTDIR}/usr/include
rm -rf ${DESTDIR}/usr/include/*
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.include.dist \
-p ${DESTDIR}/usr/include
.endif
cd ${.CURDIR}/include && ${MAKE} install
cd ${.CURDIR}/gnu/include && ${MAKE} install
cd ${.CURDIR}/gnu/lib/libdialog && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libgmp && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libmp && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libreadline && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libg++ && ${MAKE} beforeinstall
cd ${.CURDIR}/gnu/lib/libdialog && ${MAKE} beforeinstall
.if exists(kerberosIV) && !defined(NOCRYPT) && defined(MAKE_KERBEROS)
cd ${.CURDIR}/kerberosIV/include && ${MAKE} install
.endif
cd ${.CURDIR}/gnu/lib/libregex && ${MAKE} beforeinstall
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
cd ${.CURDIR}/eBones/include && ${MAKE} beforeinstall
cd ${.CURDIR}/eBones/lib/libkrb && ${MAKE} beforeinstall
cd ${.CURDIR}/eBones/lib/libkadm && ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/lib/csu/${MACHINE} && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libc && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libcurses && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libdisk && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libedit && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libftpio && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libmd && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libmytinfo && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libncurses && ${MAKE} beforeinstall
.if defined(WANT_MSUN)
.if !defined(WANT_CSRG_LIBM)
cd ${.CURDIR}/lib/msun && ${MAKE} beforeinstall
.endif
cd ${.CURDIR}/lib/libpcap && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/librpcsvc && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libskey && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libtermcap && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libcom_err && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libss && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libscsi && ${MAKE} beforeinstall
cd ${.CURDIR}/lib/libutil && ${MAKE} beforeinstall
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
cd ${.CURDIR}/secure/lib/libdes && ${MAKE} beforeinstall
.endif
lib-tools:
@echo "--------------------------------------------------------------"
@echo " Rebuilding tools needed to build the libraries"
@echo "--------------------------------------------------------------"
@echo
cd ${.CURDIR}/usr.bin/xinstall && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/ld && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/ar && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/ranlib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/nm && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/lex/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/compile_et && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR} && \
rm -f /usr/sbin/compile_et
cd ${.CURDIR}/usr.bin/mk_cmds && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
libraries:
@echo "--------------------------------------------------------------"
@@ -237,51 +283,65 @@ libraries:
find ${DESTDIR}/usr/lib \! -name '*.s[ao].*' -a \! -type d | \
xargs rm -rf
.endif
cd ${.CURDIR}/gnu/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/cc/libgcc && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
cd ${.CURDIR}/secure/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.if exists(lib/libcompat)
cd ${.CURDIR}/lib/libcompat && \
${MAKE} depend all install
.endif
.if exists(lib/libncurses)
cd ${.CURDIR}/lib/libncurses && \
${MAKE} depend all install
.endif
.if exists(lib/libtermcap)
cd ${.CURDIR}/lib/libtermcap && \
${MAKE} depend all install
.endif
.if exists(lib)
cd ${.CURDIR}/lib/csu/i386 && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(gnu)
cd ${.CURDIR}/gnu/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/cc/libgcc && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
cd ${.CURDIR}/secure/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.endif
cd ${.CURDIR}/usr.bin/lex/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.if exists(kerberosIV) && !defined(NOCRYPT) && defined(MAKE_KERBEROS)
cd ${.CURDIR}/kerberosIV/acl && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/kerberosIV/des && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/kerberosIV/kdb && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/kerberosIV/krb && \
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
cd ${.CURDIR}/eBones/lib && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.endif
.if exists(eBones) && !defined(NOCRYPT) && defined(MAKE_EBONES)
cd ${.CURDIR}/eBones/des && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/eBones/acl && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/eBones/kdb && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/eBones/krb && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.if exists(usr.sbin/pcvt/keycap)
cd ${.CURDIR}/usr.sbin/pcvt/keycap && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.endif
tools:
include-tools:
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} Compiler and Make"
@echo " Rebuilding tools needed to build the includes"
@echo "--------------------------------------------------------------"
@echo
cd ${.CURDIR}/usr.bin/xinstall && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
build-tools:
@echo "--------------------------------------------------------------"
@echo " Rebuilding ${DESTDIR} C compiler, make, and zic(8)"
@echo "--------------------------------------------------------------"
@echo
cd ${.CURDIR}/gnu/usr.bin/cc && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/make && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/gnu/usr.bin/groff && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.sbin/zic && \
${MAKE} depend all install ${CLEANDIR} ${OBJDIR}
.include <bsd.subdir.mk>
-69
View File
@@ -1,69 +0,0 @@
-----------------------------------------
FreeBSD 2.0 --- ALPHA Release , ,
----------------------------------------- /( )`
\ \___ / |
Welcome to the ALPHA release of FreeBSD 2.0 - the /- _ `-/ '
first public snapshot of our new 4.4BSD Lite based (/\/ \ \ /\
operating system environment. This install proce- / / | ` \
dure is also at the ALPHA stage, and contains only O O ) / |
the minimum functionality required by an `-^--'`< '
*EXPERIENCED* person to install the system. (_.) _ ) /
It is our hope, of course, that the feedback `.___/` /
provided from this snapshot will `-----' /
greatly assist us in making the release <----. __ / __ \
of 2.0 much more user friendly. Your <----|====O)))==) \) /====
comments and criticisms are very <----' `--' `.__,' \
valuable to us, so please don't hesitate | |
in contacting us! Full details on where and \ / /\
how to provide feedback are given below. ______( (_ / \______/
,' ,-----' |
This install procedure is ALPHA code, and `--{__________)
may very possibly *DESTROY* the contents of your
ENTIRE DISK! Please do not proceed with this installation
unless you've adequately backed up your data first!
If any errors occur during this installation, you can see them
by toggling over to the alternate screen - type ALT-F2 to switch
over, ALT-F1 to switch back to the install screen. The debugging
output on the second screen may be very valuable to us in understanding
your bug report, so please be sure to take note of it when reporting
any failures in the installation! Thanks!
Menus and scrolling output windows may be traversed with the arrow
and Page Up/Page Down keys. To abort the installation at any point,
hit ESC twice. Hitting TAB will move the focus to different controls.
If you've ever dealt with a DOS installation, you'll know how to deal
with this.
For a more complete description of what's new in this release, please
see the release notes.
For more documentation on this system, it is recommended that you purchase
the 4.4BSD Document Set from O'Reilly Associates and the USENIX Association.
ISBN 1-56592-082-1 We have no connection with O'Reilly, we're just
satisfied customers!
Have fun, and please let us know of any problems you encounter with
this release!
Comments should be sent to:
[email protected]
Bug reports should be sent using the `send-pr' utility, if you
were able to get the system installed, otherwise to:
[email protected]
And general questions to:
[email protected]
Please have patience if your questions are not answered right away -
this is an especially busy time for us, and our volunteer resources
are often strained to the limit (if not somewhat past!).
Thanks!
The FreeBSD Project
+20 -56
View File
@@ -1,9 +1,9 @@
; $Id: TODO,v 1.4 1994/09/11 20:01:03 phk Exp $
; $FreeBSD$
** To skip this preamble, search forward for the pattern `**'.
This file contains a list of ideas that people have come up for "good
things to do" in FreeBSD 2.0. These aren't necessarily things on the
things to do" in FreeBSD. These aren't necessarily things on the
fast-track, and in fact consist mostly of things that the core team is
never going to find the time to do so, if most things here are going
to happen at all, they'll happen when someone reading this list steps
@@ -13,7 +13,7 @@ That said, a lot of these ideas would be very nice to have and would
add substantially to the perceived value of FreeBSD. Some items on
this list would add a LOT of value, for that matter, and are by no
means trivial. Take and fix an item with a (*) next to it and WC will
even send you a free 2.0 CD for your troubles! It's the least they
even send you a free CD for your troubles! It's the least they
can do for all notable contributors.
This is a also good place to look if you're keen for a little
@@ -40,8 +40,8 @@ If you start working on something from this list, we also suggest that
you contact the email-address listed for more information and to
provide some central coordination for your effort. If the email
address given is simply <foo> then the email address can be presumed
to be <foo@freefall.cdrom.com>. If no email address is listed, then
simply send to <freebsd-hackers@freefall.cdrom.com>.
to be <foo@FreeBSD.ORG>. If no email address is listed, then
simply send to <freebsd-hackers@FreeBSD.org>.
Thanks!
@@ -49,30 +49,12 @@ Thanks!
** --- cut here ---
TASKID: 940820001
TASK: Add interupts to pas.c
DETAIL: { You'll need a manual for the ncr-5380 chip and possibly some
doc on the PAS16. Linux/NetBSD also have existing drivers to study. }
EMAIL: <phk>
CATS: kernel scsi
GRADE: ADVANCED
STATUS: OPEN
TASKID: 940820002
TASK: Add Linux/Crynwr compatible plip mode to lpt.c
DETAIL: { Use IF_LLC0 as mode-flag. Look at the crynwr packet-driver
plip.asm (ftp::ftp.ftp.com) and the linux driver for reference. }
EMAIL: <phk>
CATS: kernel networking
GRADE: ADVANCED
STATUS: OPEN (*)
TASKID: 940820003
TASK: Add laptop-feature to wd.c
DETAIL: { If disk just spun up, do sync when we have it running. Need
to detect that disk was turned off, e.g. had a long delay in becomming
ready again. }
EMAIL: <phk>
EMAIL: <phk, nate>
CATS: kernel laptop
GRADE: INTERMEDIATE
STATUS: OPEN
@@ -85,29 +67,10 @@ also requires some modification of existing drivers to support being used
by PCMCIA cards. This task is both really hard and comparatively easy;
hard because it's a big job, easy because others have already gone much of
the way and you have their work for reference. }
EMAIL: <jkh>
EMAIL: <phk, nate>
CATS: kernel laptop
GRADE: ADVANCED
STATUS: OPEN (*)
TASKID: 940820005
TASK: Salvage seagate.c driver from 1.1.5.1
DETAIL: { We've got a seagate driver that could use a little cleanup and
migration effort }
EMAIL: <jkh>
CATS: kernel scsi
GRADE: BEGINNER
STATUS: OPEN
TASKID: 940820006
TASK: Add bootp/DHCP to the generic ethernet code.
DETAIL: { Implement an ioctl(), which will send a bootp on a particular
interface and return the data in a usable format. OR make a program which uses
existing ioctls to do it. See RFC153[34] for information on DHCP. }
EMAIL: <phk>
CATS: kernel networking
GRADE: ADVANCED
STATUS: OPEN (*)
STATUS: IN PROGRESS
TASKID: 940820007
TASK: Add bootp/DHCP capability to slip driver.
@@ -118,16 +81,6 @@ CATS: kernel networking
GRADE: ADVANCED
STATUS: OPEN (*)
TASKID: 940820009
TASK: Make a freebsd.com MS-DOS boot program
DETAIL: { This program should be able to boot like the boot-blocks, that is
find a FreeBSD-partition and load the kernel from there, but it should
also be able to load the kernel from an optional MS-DOS file. }
EMAIL: <phk>
CATS: kernel DOS
GRADE: ADVANCED
STATUS: OPEN (*)
TASKID: 940820010
TASK: Make iostat find the disks
DETAIL: { This is actually mostly a change to the device-drivers to collect
@@ -156,7 +109,7 @@ best accomplish the task. }
EMAIL: <jkh>
CATS: user
GRADE: INTERMEDIATE
STATUS: OPEN
STATUS: CLOSED - PENDING DOC
TASKID: 940911001
TASK: Make PAS16 a controller.
@@ -166,3 +119,14 @@ EMAIL: <phk>
CATS: kernel
GRADE: INTERMEDIATE
STATUS: OPEN
TASKID: 950222001
TASK: Make find smarter about -fstype local
DETAIL: { Currently when doing a find blah -fstype local the find traverses
through all nfs mounted file systems looking for locally mounted filesystems,
this could be short circuited by using getmntinfo/statfs. Note that you
can not do this when following symlinks. }
EMAIL: <rgrimes, phk>
CATS: user
GRADE: INTERMEDIATE
STATUS: OPEN
+1 -1
View File
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
SUBDIR= cat chmod cp csh date dd df domainname echo ed expr hostname \
kill ln ls mkdir mv pax ps pwd rcp rm rmail rmdir sh sleep \
+11
View File
@@ -1,4 +1,15 @@
# @(#)Makefile.inc 8.1 (Berkeley) 5/31/93
# $FreeBSD$
BINDIR?= /bin
NOSHARED?= YES
.if exists (${.CURDIR}/../../secure)
.if exists(${.CURDIR}/../../secure/lib/libcipher/obj)
CIPHEROBJDIR= ${.CURDIR}/../../secure/lib/libcipher/obj
.else
CIPHEROBJDIR= ${.CURDIR}/../../secure/lib/libcipher
.endif
.endif
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= cat
+1 -1
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cat.1 8.1 (Berkeley) 6/29/93
.\" $Id$
.\" $FreeBSD$
.\"
.Dd June 29, 1993
.Dt CAT 1
+7 -2
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -128,6 +128,7 @@ cook_args(argv)
fp = stdin;
else if ((fp = fopen(*argv, "r")) == NULL) {
warn("%s", *argv);
rval = 1;
++argv;
continue;
}
@@ -196,6 +197,7 @@ cook_buf(fp)
}
if (ferror(fp)) {
warn("%s", filename);
rval = 1;
clearerr(fp);
}
if (ferror(stdout))
@@ -216,6 +218,7 @@ raw_args(argv)
fd = fileno(stdin);
else if ((fd = open(*argv, O_RDONLY, 0)) < 0) {
warn("%s", *argv);
rval = 1;
++argv;
continue;
}
@@ -248,6 +251,8 @@ raw_cat(rfd)
for (off = 0; nr; nr -= nw, off += nw)
if ((nw = write(wfd, buf + off, nr)) < 0)
err(1, "stdout");
if (nr < 0)
if (nr < 0) {
warn("%s", filename);
rval = 1;
}
}
-7
View File
@@ -1,7 +0,0 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= chflags
SRCS= chflags.c stat_flags.c
.PATH: ${.CURDIR}/../../bin/ls
.include <bsd.prog.mk>
-123
View File
@@ -1,123 +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
.\"
.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 nothing yet.
dump set the dump flag
sappnd set the system append-only flag (super-user only)
schg set the system immutable 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)
.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
The
.Nm chflags
utility exits 0 on success, and >0 if an error occurs.
.Sh SEE ALSO
.Xr chflags 2 ,
.Xr stat 2 ,
.Xr fts 3 ,
.Xr symlink 7
-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 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 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")) != EOF)
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,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= chmod
+2 -1
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
.\" $Id$
.\" $FreeBSD$
.\"
.Dd March 31, 1994
.Dt CHMOD 1
@@ -274,6 +274,7 @@ There's no
.Ar perm
option for the naughty bits.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr install 1 ,
.Xr chmod 2 ,
.Xr stat 2 ,
+4 -1
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -49,6 +49,7 @@ static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#include <err.h>
#include <errno.h>
#include <fts.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -69,6 +70,8 @@ main(argc, argv)
int Hflag, Lflag, Pflag, Rflag, ch, fflag, fts_options, hflag, rval;
char *ep, *mode;
set = NULL;
omode = 0;
Hflag = Lflag = Pflag = Rflag = fflag = hflag = 0;
while ((ch = getopt(argc, argv, "HLPRXfgorstuwx")) != EOF)
switch (ch) {
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= cp
SRCS= cp.c utils.c
+1 -1
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\" $Id$
.\" $FreeBSD$
.\"
.Dd April 18, 1994
.Dt CP 1
+36 -37
View File
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -48,11 +48,11 @@ static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
/*
* Cp copies source files to target files.
*
*
* The global PATH_T structure "to" always contains the path to the
* current target file. Since fts(3) does not change directories,
* this path can be either absolute or dot-realative.
*
*
* The basic algorithm is to initialize "to" and use fts(3) to traverse
* the file hierarchy rooted in the argument list. A trivial case is the
* case of 'cp file1 file2'. The more interesting case is the case of
@@ -79,7 +79,7 @@ static char sccsid[] = "@(#)cp.c 8.2 (Berkeley) 4/1/94";
#include "extern.h"
#define STRIP_TRAILING_SLASH(p) { \
while ((p).p_end > (p).p_path && (p).p_end[-1] == '/') \
while ((p).p_end > (p).p_path + 1 && (p).p_end[-1] == '/') \
*--(p).p_end = 0; \
}
@@ -105,7 +105,7 @@ main(argc, argv)
char *target;
Hflag = Lflag = Pflag = Rflag = 0;
while ((ch = getopt(argc, argv, "HLPRfipr")) != EOF)
while ((ch = getopt(argc, argv, "HLPRfipr")) != EOF)
switch (ch) {
case 'H':
Hflag = 1;
@@ -188,8 +188,8 @@ main(argc, argv)
to.target_end = to.p_end;
/* Set end of argument list for fts(3). */
argv[argc] = NULL;
argv[argc] = NULL;
/*
* Cp has two distinct cases:
*
@@ -210,7 +210,7 @@ main(argc, argv)
if (r == -1 || !S_ISDIR(to_stat.st_mode)) {
/*
* Case (1). Target is not a directory.
*/
*/
if (argc > 1) {
usage();
exit(1);
@@ -227,7 +227,7 @@ main(argc, argv)
stat(*argv, &tmp_stat);
else
lstat(*argv, &tmp_stat);
if (S_ISDIR(tmp_stat.st_mode) && (Rflag || rflag))
type = DIR_TO_DNE;
else
@@ -253,7 +253,7 @@ copy(argv, type, fts_options)
FTS *ftsp;
FTSENT *curr;
int base, dne, nlen, rval;
char *p;
char *p, *target_mid;
if ((ftsp = fts_open(argv, fts_options, mastercmp)) == NULL)
err(1, NULL);
@@ -274,18 +274,10 @@ copy(argv, type, fts_options)
}
/*
* If we are in case (2) or (3) above, we need to append the
* source name to the target name.
* If we are in case (2) or (3) above, we need to append the
* source name to the target name.
*/
if (type != FILE_TO_FILE) {
if ((curr->fts_namelen +
to.target_end - to.p_path + 1) > MAXPATHLEN) {
warnx("%s/%s: name too long (not copied)",
to.p_path, curr->fts_name);
rval = 1;
continue;
}
/*
* Need to remember the roots of traversals to create
* correct pathnames. If there's a directory being
@@ -308,24 +300,29 @@ copy(argv, type, fts_options)
if (curr->fts_level == FTS_ROOTLEVEL)
if (type != DIR_TO_DNE) {
p = strrchr(curr->fts_path, '/');
base = (p == NULL) ? 0 :
base = (p == NULL) ? 0 :
(int)(p - curr->fts_path + 1);
if (!strcmp(&curr->fts_path[base],
if (!strcmp(&curr->fts_path[base],
".."))
base += 1;
} else
base = curr->fts_pathlen;
if (to.target_end[-1] != '/') {
*to.target_end = '/';
*(to.target_end + 1) = 0;
}
p = &curr->fts_path[base];
nlen = curr->fts_pathlen - base;
(void)strncat(to.target_end + 1, p, nlen);
to.p_end = to.target_end + nlen + 1;
target_mid = to.target_end;
if (*p != '/' && target_mid[-1] != '/')
*target_mid++ = '/';
*target_mid = 0;
if (target_mid - to.p_path + nlen > MAXPATHLEN) {
warnx("%s%s: name too long (not copied)",
to.p_path, p);
rval = 1;
continue;
}
(void)strncat(target_mid, p, nlen);
to.p_end = target_mid + nlen;
*to.p_end = 0;
STRIP_TRAILING_SLASH(to);
}
@@ -368,23 +365,23 @@ copy(argv, type, fts_options)
* umask blocks owner writes, we fail..
*/
if (dne) {
if (mkdir(to.p_path,
if (mkdir(to.p_path,
curr->fts_statp->st_mode | S_IRWXU) < 0)
err(1, "%s", to.p_path);
} else if (!S_ISDIR(to_stat.st_mode)) {
errno = ENOTDIR;
err(1, "%s: %s", to.p_path);
err(1, "%s", to.p_path);
}
/*
* If not -p and directory didn't exist, set it to be
* the same as the from directory, umodified by the
* umask; arguably wrong, but it's been that way
* the same as the from directory, umodified by the
* umask; arguably wrong, but it's been that way
* forever.
*/
if (pflag && setfile(curr->fts_statp, 0))
rval = 1;
else if (dne)
(void)chmod(to.p_path,
(void)chmod(to.p_path,
curr->fts_statp->st_mode);
break;
case S_IFBLK:
@@ -392,17 +389,19 @@ copy(argv, type, fts_options)
if (Rflag) {
if (copy_special(curr->fts_statp, !dne))
rval = 1;
} else
} else {
if (copy_file(curr, dne))
rval = 1;
}
break;
case S_IFIFO:
if (Rflag)
if (Rflag) {
if (copy_fifo(curr->fts_statp, !dne))
rval = 1;
else
} else {
if (copy_file(curr, dne))
rval = 1;
}
break;
default:
if (copy_file(curr, dne))
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.2 (Berkeley) 4/1/94
* $Id$
* $FreeBSD$
*/
typedef struct {
+10 -10
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -64,7 +64,7 @@ copy_file(entp, dne)
#ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED
char *p;
#endif
if ((from_fd = open(entp->fts_path, O_RDONLY, 0)) == -1) {
warn("%s", entp->fts_path);
return (1);
@@ -143,13 +143,12 @@ copy_file(entp, dne)
}
}
/* If the copy went bad, lose the file. */
if (rval == 1) {
(void)unlink(to.p_path);
(void)close(from_fd);
(void)close(to_fd);
return (1);
}
/*
* 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
* to remove it if we created it and its length is 0.
*/
if (pflag && setfile(fs, to_fd))
rval = 1;
@@ -242,7 +241,8 @@ setfile(fs, fd)
int rval;
rval = 0;
fs->st_mode &= S_ISUID | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO;
fs->st_mode &= S_ISUID | S_ISGID | S_ISVTX |
S_IRWXU | S_IRWXG | S_IRWXO;
TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec);
TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec);
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
#
# C Shell with process control; VM/UNIX VAX Makefile
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 8/14/93
# $Id$
# $FreeBSD$
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$
.\" $FreeBSD$
.\"
.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$
.\" $FreeBSD$
.\"
.nr H1 1
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.3 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.nr H1 2
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.4 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.nr H1 3
.NH
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.a 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.SH
Appendix \- Special characters
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.g 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.SH
Glossary
+1 -1
View File
@@ -30,6 +30,6 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)tabs 8.1 (Berkeley) 6/8/93
.\" $Id$
.\" $FreeBSD$
.\"
.ta 5n 10n 15n 20n 25n 30n 35n 40n 45n 50n 55n 60n 65n 70n 75n 80n
+3 -2
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -122,5 +122,6 @@ showall(v, t)
{
memtop = (char *) sbrk(0);
(void) fprintf(cshout, "Allocated memory from 0x%lx to 0x%lx (%ld).\n",
(unsigned long) membot, (unsigned long) memtop, memtop - membot);
(unsigned long) membot, (unsigned long) memtop,
(unsigned long) (memtop - membot));
}
+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$
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)char.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
#include <ctype.h>
+5 -5
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -72,7 +72,7 @@ Char STRcent2[] = { '%', '%', '\0' };
Char STRcenthash[] = { '%', '#', '\0' };
Char STRcentplus[] = { '%', '+', '\0' };
Char STRcentminus[] = { '%', '-', '\0' };
Char STRchase_symlinks[] = { 'c', 'h', 'a', 's', 'e', '_', 's', 'y', 'm', 'l',
Char STRchase_symlinks[] = { 'c', 'h', 'a', 's', 'e', '_', 's', 'y', 'm', 'l',
'i', 'n', 'k', 's', '\0' };
Char STRchild[] = { 'c', 'h', 'i', 'l', 'd', '\0' };
Char STRcolon[] = { ':', '\0' };
@@ -90,7 +90,7 @@ Char STRfignore[] = { 'f', 'i', 'g', 'n', 'o', 'r', 'e', '\0' };
Char STRfilec[] = { 'f', 'i', 'l', 'e', 'c', '\0' };
#endif /* FILEC */
Char STRhistchars[] = { 'h', 'i', 's', 't', 'c', 'h', 'a', 'r', 's', '\0' };
Char STRtildothist[] = { '~', '/', '.', 'h', 'i', 's', 't', 'o', 'r',
Char STRtildothist[] = { '~', '/', '.', 'h', 'i', 's', 't', 'o', 'r',
'y', '\0' };
Char STRhistfile[] = { 'h', 'i', 's', 't', 'f', 'i', 'l', 'e', '\0' };
Char STRhistory[] = { 'h', 'i', 's', 't', 'o', 'r', 'y', '\0' };
@@ -109,7 +109,7 @@ Char STRml[] = { '-', 'l', '\0' };
Char STRmn[] = { '-', 'n', '\0' };
Char STRmquestion[] = { '?' | QUOTE, ' ', '\0' };
Char STRnice[] = { 'n', 'i', 'c', 'e', '\0' };
Char STRnoambiguous[] = { 'n', 'o', 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u',
Char STRnoambiguous[] = { 'n', 'o', 'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u',
's', '\0' };
Char STRnobeep[] = { 'n', 'o', 'b', 'e', 'e', 'p', '\0' };
Char STRnoclobber[] = { 'n', 'o', 'c', 'l', 'o', 'b', 'b', 'e', 'r', '\0' };
@@ -121,7 +121,7 @@ Char STRnotify[] = { 'n', 'o', 't', 'i', 'f', 'y', '\0' };
Char STRor[] = { '|', '\0' };
Char STRor2[] = { '|', '|', '\0' };
Char STRpath[] = { 'p', 'a', 't', 'h', '\0' };
Char STRprintexitvalue[] = { 'p', 'r', 'i', 'n', 't', 'e', 'x', 'i', 't', 'v',
Char STRprintexitvalue[] = { 'p', 'r', 'i', 'n', 't', 'e', 'x', 'i', 't', 'v',
'a', 'l', 'u', 'e', '\0' };
Char STRprompt[] = { 'p', 'r', 'o', 'm', 'p', 't', '\0' };
Char STRprompt2[] = { 'p', 'r', 'o', 'm', 'p', 't', '2', '\0' };
+11 -2
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)csh.1 8.2 (Berkeley) 1/21/94
.\" $Id$
.\" $FreeBSD$
.\"
.Dd January 21, 1994
.Dt CSH 1
@@ -40,7 +40,7 @@
.Nd a shell (command interpreter) with C-like syntax
.Sh SYNOPSIS
.Nm csh
.Op Fl bcefinstvVxX
.Op Fl bcefimnstvVxX
.Op arg ...
.Nm csh
.Op Fl l
@@ -96,6 +96,14 @@ and outputs are terminals.
The shell is a login shell (only applicable if
.Fl l
is the only flag specified).
.It Fl m
The shell loads
.Pa .cshrc
even if it does not belong to the effective user.
.Xr su 1
can pass
.Fl m
to the shell.
.It Fl n
Commands are parsed, but not executed.
This aids in syntactic checking of shell scripts.
@@ -2107,6 +2115,7 @@ To detect looping, the shell restricts the number of
substitutions on a single line to 20.
.Sh SEE ALSO
.Xr sh 1 ,
.Xr su 1 ,
.Xr access 2 ,
.Xr execve 2 ,
.Xr fork 2 ,
+19 -16
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -248,14 +248,6 @@ main(argc, argv)
if ((tcp = getenv("TERM")) != NULL)
set(STRterm, SAVE(tcp));
/*
* Re-initialize path if set in environment
*/
if ((tcp = getenv("PATH")) == NULL)
set1(STRpath, defaultpath(), &shvhed);
else
importpath(SAVE(tcp));
set(STRshell, Strsave(STR_SHELLPATH));
doldol = putn((int) getpid()); /* For $$ */
@@ -417,6 +409,16 @@ main(argc, argv)
stderror(ERR_SYSTEM, "csh", strerror(errno));
}
}
/*
* Re-initialize path if set in environment
* importpath uses intty and intact
*/
if ((tcp = getenv("PATH")) == NULL)
set1(STRpath, defaultpath(), &shvhed);
else
importpath(SAVE(tcp));
/*
* Decide whether we should play with signals or not. If we are explicitly
* told (via -i, or -) or we are a login shell (arg0 starts with -) or the
@@ -618,7 +620,8 @@ importpath(cp)
for (;;) {
if ((c = *dp) == ':' || c == 0) {
*dp = 0;
if ((*cp != '/' || *cp == '\0') && (euid == 0 || uid == 0))
if (*cp != '/' && (euid == 0 || uid == 0) &&
(intact || intty && isatty(SHOUT)))
(void) fprintf(csherr,
"Warning: imported path contains relative components\n");
pv[i++] = Strsave(*cp ? cp : STRdot);
@@ -809,7 +812,7 @@ rechist()
(void) Strcat(buf, STRsldthist);
}
if ((fp = creat(short2str(hfile), 0600)) == -1)
if ((fp = creat(short2str(hfile), 0600)) == -1)
return;
oldidfds = didfds;
@@ -873,14 +876,14 @@ int sig;
/*
* We kill the last foreground process group. It then becomes
* responsible to propagate the SIGHUP to its progeny.
* responsible to propagate the SIGHUP to its progeny.
*/
{
struct process *pp, *np;
for (pp = proclist.p_next; pp; pp = pp->p_next) {
np = pp;
/*
/*
* Find if this job is in the foreground. It could be that
* the process leader has exited and the foreground flag
* is cleared for it.
@@ -888,7 +891,7 @@ int sig;
do
/*
* If a process is in the foreground; we try to kill
* it's process group. If we succeed, then the
* it's process group. If we succeed, then the
* whole job is gone. Otherwise we keep going...
* But avoid sending HUP to the shell again.
*/
@@ -1267,9 +1270,9 @@ vis_fputc(ch, fp)
{
char uenc[5]; /* 4 + NULL */
if (ch & QUOTE)
if (ch & QUOTE)
return fputc(ch & TRIM, fp);
/*
/*
* XXX: When we are in AsciiOnly we want all characters >= 0200 to
* be encoded, but currently there is no way in vis to do that.
*/
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)csh.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
/*
+3 -3
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -84,7 +84,7 @@ dinit(hp)
/* Don't believe the login shell home, because it may be a symlink */
tcp = getwd(path); /* see ngetwd.c for System V version */
if (tcp == NULL || *tcp == '\0') {
(void) fprintf(csherr, "csh: %s\n", path);
(void) fprintf(csherr, "csh: %s: %s\n", path, strerror(errno));
if (hp && *hp) {
tcp = short2str(hp);
if (chdir(tcp) == -1)
@@ -221,7 +221,7 @@ printdirs()
}
if (!(dirflag & DIR_LONG) && hp != NULL && !eq(hp, STRslash) &&
(len = Strlen(hp), Strncmp(hp, dp->di_name, len) == 0) &&
(dp->di_name[len] == '\0' || dp->di_name[len] == '/'))
(dp->di_name[len] == '\0' || dp->di_name[len] == '/'))
len = Strlen(s = (dp->di_name + len)) + 2;
else
len = Strlen(s = dp->di_name) + 1;
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)dir.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
/*
+7 -7
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -425,7 +425,7 @@ Dgetdol()
if (dimen || bitset)
stderror(ERR_SYNTAX);
if (backpid != 0) {
if (dolbang)
if (dolbang)
xfree((ptr_t) dolbang);
setDolp(dolbang = putn(backpid));
}
@@ -645,13 +645,13 @@ fixDolMod()
dolwcnt = 10000;
c = DgetC(0);
}
if ((c == 'g' && dolmcnt != 10000) ||
if ((c == 'g' && dolmcnt != 10000) ||
(c == 'a' && dolwcnt != 10000)) {
if (c == 'g')
dolmcnt = 10000;
else
dolwcnt = 10000;
c = DgetC(0);
c = DgetC(0);
}
if (c == 's') { /* [eichin:19910926.0755EST] */
@@ -659,12 +659,12 @@ fixDolMod()
int delim = DgetC(0);
dolmod[dolnmod++] = c;
dolmod[dolnmod++] = delim;
if (!delim || letter(delim)
|| Isdigit(delim) || any(" \t\n", delim)) {
seterror(ERR_BADSUBST);
break;
}
}
while ((c = DgetC(0)) != (-1)) {
dolmod[dolnmod++] = c;
if(c == delim) delimcnt--;
@@ -708,7 +708,7 @@ setDolp(cp)
Char *lhsub, *rhsub, *np;
size_t lhlen = 0, rhlen = 0;
int didmod = 0;
delim = dolmod[++i];
if (!delim || letter(delim)
|| Isdigit(delim) || any(" \t\n", delim)) {
+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$
* $FreeBSD$
*/
#ifndef lint
+14 -7
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -50,7 +50,7 @@ static char sccsid[] = "@(#)exec.c 8.1 (Berkeley) 5/31/93";
# include <stdarg.h>
#else
# include <varargs.h>
#endif
#endif
#include "csh.h"
#include "extern.h"
@@ -656,7 +656,7 @@ tellmewhat(lex)
register struct biltins *bptr;
register struct wordent *sp = lex->next;
bool aliased = 0;
Char *s0, *s1, *s2;
Char *s0, *s1, *s2, *cmd;
Char qc;
if (adrof1(sp->word, &aliases)) {
@@ -696,13 +696,15 @@ tellmewhat(lex)
if (eq(sp->word, str2short(bptr->bname))) {
if (aliased)
prlex(cshout, lex);
(void) fprintf(cshout, "%s: shell built-in command.\n",
(void) fprintf(cshout, "%s: shell built-in command.\n",
vis_str(sp->word));
sp->word = s0; /* we save and then restore this */
return;
}
}
sp->word = cmd = globone(sp->word, G_IGNORE);
if ((i = iscommand(strip(sp->word))) != 0) {
register Char **pv;
register struct varent *v;
@@ -717,10 +719,14 @@ tellmewhat(lex)
while (--i)
pv++;
if (pv[0][0] == 0 || eq(pv[0], STRdot)) {
sp->word = Strspl(STRdotsl, sp->word);
prlex(cshout, lex);
xfree((ptr_t) sp->word);
if (!slash) {
sp->word = Strspl(STRdotsl, sp->word);
prlex(cshout, lex);
xfree((ptr_t) sp->word);
} else
prlex(cshout, lex);
sp->word = s0; /* we save and then restore this */
xfree((ptr_t) cmd);
return;
}
s1 = Strspl(*pv, STRslash);
@@ -734,5 +740,6 @@ tellmewhat(lex)
prlex(cshout, lex);
(void) fprintf(csherr, "%s: Command not found.\n", vis_str(sp->word));
}
xfree((ptr_t) cmd);
sp->word = s0; /* we save and then restore this */
}
+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$
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
#include <sys/cdefs.h>
+6 -6
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -112,14 +112,14 @@ static void
setup_tty(on)
int on;
{
static struct termios tchars;
struct termios tchars;
(void) tcgetattr(SHIN, &tchars);
if (on) {
tchars.c_cc[VEOL] = ESC;
if (tchars.c_lflag & ICANON)
on = TCSANOW;
on = TCSADRAIN;
else {
on = TCSAFLUSH;
tchars.c_lflag |= ICANON;
@@ -127,10 +127,10 @@ setup_tty(on)
}
else {
tchars.c_cc[VEOL] = _POSIX_VDISABLE;
on = TCSANOW;
on = TCSADRAIN;
}
(void) tcsetattr(SHIN, TCSANOW, &tchars);
(void) tcsetattr(SHIN, on, &tchars);
}
/*
@@ -521,7 +521,7 @@ again: /* search for matches */
return (numitems);
}
else { /* LIST */
qsort((ptr_t) items, numitems, sizeof(items[0]),
qsort((ptr_t) items, numitems, sizeof(items[0]),
(int (*) __P((const void *, const void *))) sortscmp);
print_by_column(looking_for_lognames ? NULL : tilded_dir,
items, numitems);
+3 -3
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -860,12 +860,12 @@ wfree()
if (wp->w_end.type != I_SEEK && wp->w_start.type == wp->w_end.type &&
wp->w_start.type == o.type) {
if (wp->w_end.type == F_SEEK) {
if (o.f_seek >= wp->w_start.f_seek &&
if (o.f_seek >= wp->w_start.f_seek &&
(wp->w_end.f_seek == 0 || o.f_seek < wp->w_end.f_seek))
break;
}
else {
if (o.a_seek >= wp->w_start.a_seek &&
if (o.a_seek >= wp->w_start.a_seek &&
(wp->w_end.a_seek == 0 || o.a_seek < wp->w_end.a_seek))
break;
}
+5 -5
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -574,7 +574,7 @@ tglob(t)
*/
if (c == '`') {
gflag |= G_CSH;
while (*p && *p != '`')
while (*p && *p != '`')
if (*p++ == '\\') {
if (*p) /* Quoted chars */
p++;
@@ -806,7 +806,7 @@ pword()
pnleft = MAXPATHLEN - 4;
}
int
int
Gmatch(string, pattern)
Char *string, *pattern;
{
@@ -829,7 +829,7 @@ Gmatch(string, pattern)
blkfree(blk);
return(gres == gpol);
}
}
static int
pmatch(string, pattern)
@@ -870,7 +870,7 @@ pmatch(string, pattern)
(*(pattern-2) & TRIM) <= stringc);
pattern++;
}
else
else
match = (stringc == (rangec & TRIM));
}
if (rangec == 0)
+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$
* $FreeBSD$
*/
#ifndef lint
+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$
* $FreeBSD$
*/
#ifndef lint
+5 -5
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -575,12 +575,12 @@ getdol()
int delimcnt = 2;
int delim = getC(0);
*np++ = delim;
if (!delim || letter(delim)
|| Isdigit(delim) || any(" \t\n", delim)) {
seterror(ERR_BADSUBST);
break;
}
}
while ((c = getC(0)) != (-1)) {
*np++ = c;
if(c == delim) delimcnt--;
@@ -877,7 +877,7 @@ dosub(sc, en, global)
wdp = hp;
while (--i >= 0) {
register struct wordent *new =
register struct wordent *new =
(struct wordent *) xcalloc(1, sizeof *wdp);
new->word = 0;
@@ -1187,7 +1187,7 @@ gethent(sc)
}
np = lhsb;
event = 0;
while (!cmap(c, _ESC | _META | _QF | _QB) && !any("${}:", c)) {
while (!cmap(c, _ESC | _META | _QF | _QB) && !any("^$*-%{}:", c)) {
if (event != -1 && Isdigit(c))
event = event * 10 + c - '0';
else
+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$
* $FreeBSD$
*/
#ifndef lint
+8 -8
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -52,19 +52,19 @@ static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 5/31/93";
static void asyntax __P((struct wordent *, struct wordent *));
static void asyn0 __P((struct wordent *, struct wordent *));
static void asyn3 __P((struct wordent *, struct wordent *));
static struct wordent
static struct wordent
*freenod __P((struct wordent *, struct wordent *));
static struct command
static struct command
*syn0 __P((struct wordent *, struct wordent *, int));
static struct command
static struct command
*syn1 __P((struct wordent *, struct wordent *, int));
static struct command
static struct command
*syn1a __P((struct wordent *, struct wordent *, int));
static struct command
static struct command
*syn1b __P((struct wordent *, struct wordent *, int));
static struct command
static struct command
*syn2 __P((struct wordent *, struct wordent *, int));
static struct command
static struct command
*syn3 __P((struct wordent *, struct wordent *, int));
#define ALEFT 21 /* max of 20 alias expansions */
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)pathnames.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
#define _PATH_BIN "/bin"
+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$
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
/*
+3 -3
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -438,7 +438,7 @@ execute(t, wanttty, pipein, pipeout)
}
/*
* Fall through for all breaks from switch
*
*
* If there will be no more executions of this command, flush all file
* descriptors. Places that turn on the F_REPEAT bit are responsible for
* doing donefds after the last re-execution
@@ -476,7 +476,7 @@ int i;
*
* I don't know what is best to do. I think that Ambiguous is better
* than restructuring the command vector, because the user can get
* unexpected results. In any case, the command vector restructuring
* unexpected results. In any case, the command vector restructuring
* code is present and the user can choose it by setting noambiguous
*/
static Char *
+3 -2
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -664,7 +664,8 @@ exportpath(val)
"Warning: ridiculously long PATH truncated\n");
break;
}
if ((**val != '/' || **val == '\0') && (euid == 0 || uid == 0))
if (**val != '/' && (euid == 0 || uid == 0) &&
(intact || intty && isatty(SHOUT)))
(void) fprintf(csherr,
"Warning: exported path contains relative components.\n");
(void) Strcat(exppath, *val++);
+5 -5
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -449,21 +449,21 @@ vis_str(cp)
if (cp == NULL)
return (NULL);
for (dp = cp; *dp++;)
continue;
n = ((dp - cp) << 2) + 1; /* 4 times + NULL */
if (dstsize < n) {
sdst = (char *) (dstsize ?
sdst = (char *) (dstsize ?
xrealloc(sdst, (size_t) n * sizeof(char)) :
xmalloc((size_t) n * sizeof(char)));
dstsize = n;
}
/*
/*
* XXX: When we are in AsciiOnly we want all characters >= 0200 to
* be encoded, but currently there is no way in vis to do that.
*/
(void) strvis(sdst, short2str(cp), VIS_NOSLASH);
return (sdst);
}
+4 -4
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -180,7 +180,7 @@ prusage(r0, r1, e, b)
break;
case 'X': /* (average) shared text size */
(void) fprintf(cshout, "%ld", t == 0 ? 0L :
(void) fprintf(cshout, "%ld", t == 0 ? 0L :
(r1->ru_ixrss - r0->ru_ixrss) / t);
break;
@@ -246,7 +246,7 @@ pdeltat(t1, t0)
struct timeval td;
tvsub(&td, t1, t0);
(void) fprintf(cshout, "%d.%01d", td.tv_sec, td.tv_usec / 100000);
(void) fprintf(cshout, "%ld.%01ld", td.tv_sec, td.tv_usec / 100000L);
}
void
@@ -256,7 +256,7 @@ tvadd(tsum, t0)
tsum->tv_sec += t0->tv_sec;
tsum->tv_usec += t0->tv_usec;
if (tsum->tv_usec > 1000000)
if (tsum->tv_usec >= 1000000)
tsum->tv_sec++, tsum->tv_usec -= 1000000;
}
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= date
SRCS= date.c netdate.c
+3 -3
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)date.1 8.2 (Berkeley) 11/17/93
.\" $Id$
.\" $FreeBSD$
.\"
.Dd November 17, 1993
.Dt DATE 1
@@ -107,7 +107,7 @@ in the
manual page, as well as any arbitrary text.
The format string for the default display is:
.Bd -literal -offset indent
``%a %b %e %H:%M:%S %Z %Y%n''.
``%+''.
.Ed
.Pp
If an operand does not have a leading plus sign, it is interpreted as
@@ -127,7 +127,7 @@ Hour, a number from 0 to 23.
.It Ar mm
Minutes, a number from 0 to 59.
.It Ar .ss
Seconds, a number from 0 to 61 (59 plus a a maximum of two leap seconds).
Seconds, a number from 0 to 61 (59 plus a maximum of two leap seconds).
.El
.Pp
Everything but the minutes is optional.
+19 -16
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -76,13 +76,19 @@ main(argc, argv)
struct timezone tz;
int ch, rflag;
char *format, buf[1024];
char *endptr;
int set_timezone;
tz.tz_dsttime = tz.tz_minuteswest = 0;
rflag = 0;
set_timezone = 0;
while ((ch = getopt(argc, argv, "d:nr:ut:")) != EOF)
switch((char)ch) {
case 'd': /* daylight savings time */
tz.tz_dsttime = atoi(optarg) ? 1 : 0;
tz.tz_dsttime = strtol(optarg, &endptr, 10) ? 1 : 0;
if (endptr == optarg || *endptr != '\0')
usage();
set_timezone = 1;
break;
case 'n': /* don't set network */
nflag = 1;
@@ -96,11 +102,11 @@ main(argc, argv)
break;
case 't': /* minutes west of GMT */
/* error check; don't allow "PST" */
if (isdigit(*optarg)) {
tz.tz_minuteswest = atoi(optarg);
break;
}
/* FALLTHROUGH */
tz.tz_minuteswest = strtol(optarg, &endptr, 10);
if (endptr == optarg || *endptr != '\0')
usage();
set_timezone = 1;
break;
default:
usage();
}
@@ -111,14 +117,13 @@ main(argc, argv)
* If -d or -t, set the timezone or daylight savings time; this
* doesn't belong here, there kernel should not know about either.
*/
if ((tz.tz_minuteswest || tz.tz_dsttime) &&
settimeofday(NULL, &tz))
err(1, "settimeofday");
if (set_timezone && settimeofday((struct timeval *)NULL, &tz))
err(1, "settimeofday (timezone)");
if (!rflag && time(&tval) == -1)
err(1, "time");
format = "%a %b %e %H:%M:%S %Z %Y\n";
format = "%+";
/* allow the operands in any order */
if (*argv && **argv == '+') {
@@ -135,7 +140,7 @@ main(argc, argv)
format = *argv + 1;
(void)strftime(buf, sizeof(buf), format, localtime(&tval));
(void)printf("%s", buf);
(void)printf("%s\n", buf);
exit(retval);
}
@@ -210,10 +215,8 @@ setthetime(p)
logwtmp("|", "date", "");
tv.tv_sec = tval;
tv.tv_usec = 0;
if (settimeofday(&tv, NULL)) {
perror("date: settimeofday");
exit(1);
}
if (settimeofday(&tv, (struct timezone *)NULL))
err(1, "settimeofday (timeval)");
logwtmp("{", "date", "");
}
+1 -1
View File
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.1 (Berkeley) 5/31/93
* $Id$
* $FreeBSD$
*/
int netsettime __P((time_t));
+4 -3
View File
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -116,7 +116,8 @@ netsettime(tval)
warn("gethostname");
goto bad;
}
(void)strncpy(msg.tsp_name, hostname, sizeof(hostname));
(void)strncpy(msg.tsp_name, hostname, sizeof(msg.tsp_name));
msg.tsp_name[sizeof(msg.tsp_name) - 1] = '\0';
msg.tsp_seq = htons((u_short)0);
msg.tsp_time.tv_sec = htonl((u_long)tval);
msg.tsp_time.tv_usec = htonl((u_long)0);
@@ -169,7 +170,7 @@ loop:
(void)close(s);
return (0);
default:
warnx("wrong ack received from timed: %s",
warnx("wrong ack received from timed: %s",
tsptype[msg.tsp_type]);
timed_ack = -1;
break;
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= dd
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
+1 -1
View File
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
+3 -69
View File
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -71,76 +71,10 @@ static char sccsid[] = "@(#)conv_tab.c 8.1 (Berkeley) 5/31/93";
*/
/* Lower-case to upper-case */
u_char l2u[] = {
0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007, /* 0000 */
0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017, /* 0010 */
0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027, /* 0020 */
0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037, /* 0030 */
0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047, /* 0040 */
0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057, /* 0050 */
0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067, /* 0060 */
0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077, /* 0070 */
0100, 0101, 0102, 0103, 0104, 0105, 0106, 0107, /* 0100 */
0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117, /* 0110 */
0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127, /* 0120 */
0130, 0131, 0132, 0133, 0134, 0135, 0136, 0137, /* 0130 */
0140, 0101, 0102, 0103, 0104, 0105, 0106, 0107, /* 0140 */
0110, 0111, 0112, 0113, 0114, 0115, 0116, 0117, /* 0150 */
0120, 0121, 0122, 0123, 0124, 0125, 0126, 0127, /* 0160 */
0130, 0131, 0132, 0173, 0174, 0175, 0176, 0177, /* 0170 */
0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207, /* 0200 */
0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217, /* 0210 */
0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227, /* 0220 */
0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237, /* 0230 */
0240, 0241, 0242, 0243, 0244, 0245, 0246, 0247, /* 0240 */
0250, 0251, 0252, 0253, 0254, 0255, 0256, 0257, /* 0250 */
0260, 0261, 0262, 0263, 0264, 0265, 0266, 0267, /* 0260 */
0270, 0271, 0272, 0273, 0274, 0275, 0276, 0277, /* 0270 */
0300, 0301, 0302, 0303, 0304, 0305, 0306, 0307, /* 0300 */
0310, 0311, 0312, 0313, 0314, 0315, 0316, 0317, /* 0310 */
0320, 0321, 0322, 0323, 0324, 0325, 0326, 0327, /* 0320 */
0330, 0331, 0332, 0333, 0334, 0335, 0336, 0337, /* 0330 */
0340, 0341, 0342, 0343, 0344, 0345, 0346, 0347, /* 0340 */
0350, 0351, 0352, 0353, 0354, 0355, 0356, 0357, /* 0350 */
0360, 0361, 0362, 0363, 0364, 0365, 0366, 0367, /* 0360 */
0370, 0371, 0372, 0373, 0374, 0375, 0376, 0377, /* 0370 */
};
u_char l2u[256];
/* Upper-case to lower-case */
u_char u2l[] = {
0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007, /* 0000 */
0010, 0011, 0012, 0013, 0014, 0015, 0016, 0017, /* 0010 */
0020, 0021, 0022, 0023, 0024, 0025, 0026, 0027, /* 0020 */
0030, 0031, 0032, 0033, 0034, 0035, 0036, 0037, /* 0030 */
0040, 0041, 0042, 0043, 0044, 0045, 0046, 0047, /* 0040 */
0050, 0051, 0052, 0053, 0054, 0055, 0056, 0057, /* 0050 */
0060, 0061, 0062, 0063, 0064, 0065, 0066, 0067, /* 0060 */
0070, 0071, 0072, 0073, 0074, 0075, 0076, 0077, /* 0070 */
0100, 0141, 0142, 0143, 0144, 0145, 0146, 0147, /* 0100 */
0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157, /* 0110 */
0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167, /* 0120 */
0170, 0171, 0172, 0133, 0134, 0135, 0136, 0137, /* 0130 */
0140, 0141, 0142, 0143, 0144, 0145, 0146, 0147, /* 0140 */
0150, 0151, 0152, 0153, 0154, 0155, 0156, 0157, /* 0150 */
0160, 0161, 0162, 0163, 0164, 0165, 0166, 0167, /* 0160 */
0170, 0171, 0172, 0173, 0174, 0175, 0176, 0177, /* 0170 */
0200, 0201, 0202, 0203, 0204, 0205, 0206, 0207, /* 0200 */
0210, 0211, 0212, 0213, 0214, 0215, 0216, 0217, /* 0210 */
0220, 0221, 0222, 0223, 0224, 0225, 0226, 0227, /* 0220 */
0230, 0231, 0232, 0233, 0234, 0235, 0236, 0237, /* 0230 */
0240, 0241, 0242, 0243, 0244, 0245, 0246, 0247, /* 0240 */
0250, 0251, 0252, 0253, 0254, 0255, 0256, 0257, /* 0250 */
0260, 0261, 0262, 0263, 0264, 0265, 0266, 0267, /* 0260 */
0270, 0271, 0272, 0273, 0274, 0275, 0276, 0277, /* 0270 */
0300, 0301, 0302, 0303, 0304, 0305, 0306, 0307, /* 0300 */
0310, 0311, 0312, 0313, 0314, 0315, 0316, 0317, /* 0310 */
0320, 0321, 0322, 0323, 0324, 0325, 0326, 0327, /* 0320 */
0330, 0331, 0332, 0333, 0334, 0335, 0336, 0337, /* 0330 */
0340, 0341, 0342, 0343, 0344, 0345, 0346, 0347, /* 0340 */
0350, 0351, 0352, 0353, 0354, 0355, 0356, 0357, /* 0350 */
0360, 0361, 0362, 0363, 0364, 0365, 0366, 0367, /* 0360 */
0370, 0371, 0372, 0373, 0374, 0375, 0376, 0377, /* 0370 */
};
u_char u2l[256];
/* EBCDIC to ASCII -- 32V compatible. */
u_char e2a_32V[] = {
+1 -1
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)dd.1 8.2 (Berkeley) 1/13/94
.\" $Id$
.\" $FreeBSD$
.\"
.Dd January 13, 1994
.Dt DD 1
+20 -6
View File
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -177,26 +177,40 @@ setup()
if (ddflags & (C_LCASE|C_UCASE))
if (ddflags & C_ASCII)
if (ddflags & C_LCASE) {
for (cnt = 0; cnt < 0377; ++cnt)
for (cnt = 0; cnt <= 0377; ++cnt)
if (isupper(ctab[cnt]))
ctab[cnt] = tolower(ctab[cnt]);
} else {
for (cnt = 0; cnt < 0377; ++cnt)
for (cnt = 0; cnt <= 0377; ++cnt)
if (islower(ctab[cnt]))
ctab[cnt] = toupper(ctab[cnt]);
}
else if (ddflags & C_EBCDIC)
if (ddflags & C_LCASE) {
for (cnt = 0; cnt < 0377; ++cnt)
for (cnt = 0; cnt <= 0377; ++cnt)
if (isupper(cnt))
ctab[cnt] = ctab[tolower(cnt)];
} else {
for (cnt = 0; cnt < 0377; ++cnt)
for (cnt = 0; cnt <= 0377; ++cnt)
if (islower(cnt))
ctab[cnt] = ctab[toupper(cnt)];
}
else
else {
ctab = ddflags & C_LCASE ? u2l : l2u;
if (ddflags & C_LCASE) {
for (cnt = 0; cnt <= 0377; ++cnt)
if (isupper(cnt))
ctab[cnt] = tolower(cnt);
else
ctab[cnt] = cnt;
} else {
for (cnt = 0; cnt <= 0377; ++cnt)
if (islower(cnt))
ctab[cnt] = toupper(cnt);
else
ctab[cnt] = cnt;
}
}
(void)time(&st.start); /* Statistics timestamp. */
}
+1 -1
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)dd.h 8.3 (Berkeley) 4/2/94
* $Id$
* $FreeBSD$
*/
/* Input/output stream state. */
+1 -1
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)extern.h 8.3 (Berkeley) 4/2/94
* $Id$
* $FreeBSD$
*/
#include <sys/cdefs.h>
+1 -1
View File
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.2 (Berkeley) 4/1/94
# $Id$
# $FreeBSD$
PROG= df
BINGRP= operator
+1 -1
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)df.1 8.2 (Berkeley) 1/13/94
.\" $Id$
.\" $FreeBSD$
.\"
.Dd January 13, 1994
.Dt DF 1
+26 -27
View File
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -76,29 +76,30 @@ struct typetab {
char *str;
long types;
} typetab[] = {
"ufs", MT(MOUNT_UFS),
"local", MT_LOCAL,
"all", MT_ALL,
"nfs", MT(MOUNT_NFS),
"mfs", MT(MOUNT_MFS),
"lfs", MT(MOUNT_LFS),
"msdos", MT(MOUNT_MSDOS),
"fdesc", MT(MOUNT_FDESC),
"portal", MT(MOUNT_PORTAL),
{"ufs", MT(MOUNT_UFS)},
{"local", MT_LOCAL},
{"all", MT_ALL},
{"nfs", MT(MOUNT_NFS)},
{"mfs", MT(MOUNT_MFS)},
{"lfs", MT(MOUNT_LFS)},
{"msdos", MT(MOUNT_MSDOS)},
{"fdesc", MT(MOUNT_FDESC)},
{"portal", MT(MOUNT_PORTAL)},
#if 0
/* return fsid of underlying FS */
"lofs", MT(MOUNT_LOFS),
"null", MT(MOUNT_NULL),
"umap", MT(MOUNT_UMAP),
{"lofs", MT(MOUNT_LOFS)},
{"null", MT(MOUNT_NULL)},
{"umap", MT(MOUNT_UMAP)},
#endif
"kernfs", MT(MOUNT_KERNFS),
"procfs", MT(MOUNT_PROCFS),
"afs", MT(MOUNT_AFS),
"iso9660fs", MT(MOUNT_CD9660),
"cdfs", MT(MOUNT_CD9660),
"misc", MT(MOUNT_LOFS)|MT(MOUNT_FDESC)|MT(MOUNT_PORTAL)|
MT(MOUNT_KERNFS)|MT(MOUNT_PROCFS),
NULL, 0
{"kernfs", MT(MOUNT_KERNFS)},
{"procfs", MT(MOUNT_PROCFS)},
{"afs", MT(MOUNT_AFS)},
{"iso9660fs", MT(MOUNT_CD9660)},
{"cdfs", MT(MOUNT_CD9660)},
{"misc", MT(MOUNT_LOFS)|MT(MOUNT_FDESC)|MT(MOUNT_PORTAL)|
MT(MOUNT_KERNFS)|MT(MOUNT_PROCFS)},
{NULL, 0}
};
long addtype __P((long, char *));
@@ -124,6 +125,7 @@ main(argc, argv)
char *mntpt;
iflag = nflag = tflag = 0;
fsmask = MT_NONE;
while ((ch = getopt(argc, argv, "iknt:")) != EOF)
switch (ch) {
@@ -334,7 +336,7 @@ prtstat(sfsp, maxwidth)
used = inodes - sfsp->f_ffree;
(void)printf(" %7ld %7ld %5.0f%% ", used, sfsp->f_ffree,
inodes == 0 ? 100.0 : (double)used / (double)inodes * 100.0);
} else
} else
(void)printf(" ");
(void)printf(" %s\n", sfsp->f_mntonname);
}
@@ -384,10 +386,7 @@ ufs_df(file, maxwidth)
sfsp->f_blocks = sblock.fs_dsize;
sfsp->f_bfree = sblock.fs_cstotal.cs_nbfree * sblock.fs_frag +
sblock.fs_cstotal.cs_nffree;
sfsp->f_bavail = (sblock.fs_dsize * (100 - sblock.fs_minfree) / 100) -
(sblock.fs_dsize - sfsp->f_bfree);
if (sfsp->f_bavail < 0)
sfsp->f_bavail = 0;
sfsp->f_bavail = freespace(&sblock, sblock.fs_minfree);
sfsp->f_files = sblock.fs_ncg * sblock.fs_ipg;
sfsp->f_ffree = sblock.fs_cstotal.cs_nifree;
sfsp->f_fsid.val[0] = 0;
@@ -422,7 +421,7 @@ bread(off, buf, cnt)
void
usage()
{
fprintf(stderr,
fprintf(stderr,
"usage: df [-ikn] [-t fstype] [file | file_system ...]\n");
exit(1);
}
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id$
# $FreeBSD$
PROG= domainname
+2 -2
View File
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)hostname.1 8.1 (Berkeley) 5/31/93
.\" $Id$
.\" $FreeBSD$
.\"
.Dd September 18, 1994
.Dt DOMAINNAME 1
@@ -55,7 +55,7 @@ domain name does not necessarily have anything to do with the Domain
Name System domain name, although they are often set equal for administrative
convenience.
.Sh SEE ALSO
.Xr getdomainname 2
.Xr getdomainname 3
.Sh HISTORY
The
.Nm
+2 -2
View File
@@ -40,7 +40,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "From: @(#)hostname.c 8.1 (Berkeley) 5/31/93"; */
static const char rcsid[] =
"$Id: domainname.c,v 1.3 1994/09/21 22:30:55 bde Exp $";
"$FreeBSD$";
#endif /* not lint */
#include <sys/param.h>
@@ -56,7 +56,7 @@ main(argc,argv)
int argc;
char *argv[];
{
char *p, domainname[MAXHOSTNAMELEN];
char domainname[MAXHOSTNAMELEN];
argc--, argv++;
+1 -1
View File
@@ -1,5 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id$
# $FreeBSD$
PROG= echo
+1 -1
View File
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)echo.1 8.1 (Berkeley) 7/22/93
.\" $Id$
.\" $FreeBSD$
.\"
.Dd July 22, 1993
.Dt ECHO 1
+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$
* $FreeBSD$
*/
#ifndef lint
+6 -5
View File
@@ -1,14 +1,15 @@
# $Id: Makefile,v 1.8 1994/09/24 02:55:20 davidg Exp $
# $FreeBSD$
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
MLINKS= ed.1 red.1
.if !defined(NOCRYPT)
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
CFLAGS+=-DDES
LDADD+= -lcrypt
DPADD+= ${LIBCRYPT}
LDADD+= -L${CIPHEROBJDIR} -lcipher
DPADD+= ${CIPHEROBJDIR}/libcipher.a
.endif
.include <bsd.prog.mk>
+1 -1
View File
@@ -1,4 +1,4 @@
$Id$
$FreeBSD$
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$
$FreeBSD$
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
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
static char *rcsid = "@(#)buf.c,v 1.4 1994/02/01 00:34:35 alm Exp";
@@ -253,7 +253,7 @@ init_buffers()
{
int i = 0;
/* Read stdin one character at a time to avoid i/o contention
/* Read stdin one character at a time to avoid i/o contention
with shell escapes invoked by nonterminal input, e.g.,
ed - <<EOF
!cat
+8 -2
View File
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)bdes.c 5.5 (Berkeley) 6/27/91
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -115,7 +115,7 @@ init_des_cipher()
des_ct = des_n = 0;
/* initialize the initialization vctor */
/* initialize the initialization vector */
MEMZERO(ivec, 8);
/* intialize the padding vector */
@@ -137,6 +137,8 @@ get_des_char(fp)
des_ct = cbc_decode(des_buf, fp);
}
return (des_ct > 0) ? des_buf[des_n++] : EOF;
#else
return (getc(fp));
#endif
}
@@ -153,6 +155,8 @@ put_des_char(c, fp)
des_n = 0;
}
return (des_ct >= 0) ? (des_buf[des_n++] = c) : EOF;
#else
return (fputc(c, fp));
#endif
}
@@ -168,6 +172,8 @@ flush_des_file(fp)
des_n = 0;
}
return (des_ct >= 0 && cbc_encode(des_buf, des_n, fp) >= 0) ? 0 : EOF;
#else
return (fflush(fp));
#endif
}
+1 -1
View File
@@ -1,4 +1,4 @@
.\" $Id$
.\" $FreeBSD$
.TH ED 1 "21 May 1993"
.SH NAME
.\" ed, red \- text editor
+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.7 1994/09/24 02:55:25 davidg Exp $
* $FreeBSD$
*/
#include <sys/types.h>
+5 -5
View File
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -132,8 +132,8 @@ exec_global(interact, gflag)
for (; *ibufp;)
if ((status = extract_addr_range()) < 0 ||
(status = exec_command()) < 0 ||
status > 0 && (status = display_lines(
current_addr, current_addr, status)) < 0)
(status > 0 && (status = display_lines(
current_addr, current_addr, status)) < 0))
return status;
}
return 0;
@@ -158,7 +158,7 @@ set_active_node(lp)
#if defined(sun) || defined(NO_REALLOC_NULL)
if (active_list != NULL) {
#endif
if ((ts = (line_t **) realloc(active_list,
if ((ts = (line_t **) realloc(active_list,
(ti += MINBUFSZ) * sizeof(line_t **))) == NULL) {
fprintf(stderr, "%s\n", strerror(errno));
sprintf(errmsg, "out of memory");
@@ -167,7 +167,7 @@ set_active_node(lp)
}
#if defined(sun) || defined(NO_REALLOC_NULL)
} else {
if ((ts = (line_t **) malloc((ti += MINBUFSZ) *
if ((ts = (line_t **) malloc((ti += MINBUFSZ) *
sizeof(line_t **))) == NULL) {
fprintf(stderr, "%s\n", strerror(errno));
sprintf(errmsg, "out of memory");
+4 -4
View File
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -106,7 +106,7 @@ read_stream(fp, n)
return ERR;
if (appended && size && o_isbinary && o_newline_added)
fputs("newline inserted\n", stderr);
else if (newline_added && (!appended || !isbinary && !o_isbinary))
else if (newline_added && (!appended || (!isbinary && !o_isbinary)))
fputs("newline appended\n", stderr);
if (isbinary && newline_added && !appended)
size += 1;
@@ -128,8 +128,8 @@ get_stream_line(fp)
register int c;
register int i = 0;
while (((c = des ? get_des_char(fp) : getc(fp)) != EOF || !feof(fp) &&
!ferror(fp)) && c != '\n') {
while (((c = des ? get_des_char(fp) : getc(fp)) != EOF || (!feof(fp) &&
!ferror(fp))) && c != '\n') {
REALLOC(sbuf, sbufsz, i + 1, ERR);
if (!(sbuf[i++] = c))
isbinary = 1;
+22 -22
View File
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -42,7 +42,7 @@ static char *rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp";
* CREDITS
*
* This program is based on the editor algorithm described in
* Brian W. Kernighan and P. J. Plauger's book "Software Tools
* Brian W. Kernighan and P. J. Plauger's book "Software Tools
* in Pascal," Addison-Wesley, 1981.
*
* The buffering algorithm is attributed to Rodney Ruddock of
@@ -154,9 +154,9 @@ top:
signal(SIGQUIT, SIG_IGN);
signal(SIGINT, signal_int);
#ifdef _POSIX_SOURCE
if (status = sigsetjmp(env, 1))
if ((status = sigsetjmp(env, 1)))
#else
if (status = setjmp(env))
if ((status = setjmp(env)))
#endif
{
fputs("\n?\n", stderr);
@@ -192,7 +192,7 @@ top:
fputs("?\n", stderr);
sprintf(errmsg, "warning: file modified");
if (!isatty(0)) {
fprintf(stderr, garrulous ?
fprintf(stderr, garrulous ?
"script, line %d: %s\n" :
"", lineno, errmsg);
quit(2);
@@ -213,7 +213,7 @@ top:
isglobal = 0;
if ((status = extract_addr_range()) >= 0 &&
(status = exec_command()) >= 0)
if (!status || status &&
if (!status ||
(status = display_lines(current_addr, current_addr,
status)) >= 0)
continue;
@@ -225,16 +225,16 @@ top:
fputs("?\n", stderr); /* give warning */
sprintf(errmsg, "warning: file modified");
if (!isatty(0)) {
fprintf(stderr, garrulous ?
"script, line %d: %s\n" :
fprintf(stderr, garrulous ?
"script, line %d: %s\n" :
"", lineno, errmsg);
quit(2);
}
break;
case FATAL:
if (!isatty(0))
fprintf(stderr, garrulous ?
"script, line %d: %s\n" : "",
fprintf(stderr, garrulous ?
"script, line %d: %s\n" : "",
lineno, errmsg);
else
fprintf(stderr, garrulous ? "%s\n" : "",
@@ -243,7 +243,7 @@ top:
default:
fputs("?\n", stderr);
if (!isatty(0)) {
fprintf(stderr, garrulous ?
fprintf(stderr, garrulous ?
"script, line %d: %s\n" : "",
lineno, errmsg);
quit(2);
@@ -256,7 +256,7 @@ top:
long first_addr, second_addr, addr_cnt;
/* extract_addr_range: get line addresses from the command buffer until an
/* extract_addr_range: get line addresses from the command buffer until an
illegal address is seen; return status */
int
extract_addr_range()
@@ -544,11 +544,11 @@ exec_command()
return ERR;
else if (build_active_list(c == 'g' || c == 'G') < 0)
return ERR;
else if (n = (c == 'G' || c == 'V'))
else if ((n = (c == 'G' || c == 'V')))
GET_COMMAND_SUFFIX();
isglobal++;
if (exec_global(n, gflag) < 0)
return ERR;
return ERR;
break;
case 'h':
if (addr_cnt > 0) {
@@ -691,7 +691,7 @@ exec_command()
sflags |= SGR;
ibufp++;
break;
case '0': case '1': case '2': case '3': case '4':
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
STRTOL(sgnum, ibufp);
sflags |= SGF;
@@ -802,7 +802,7 @@ exec_command()
return ERR;
}
#endif
if ((addr = write_file(*fnp ? fnp : old_filename,
if ((addr = write_file(*fnp ? fnp : old_filename,
(c == 'W') ? "a" : "w", first_addr, second_addr)) < 0)
return ERR;
else if (addr == addr_last)
@@ -840,7 +840,7 @@ exec_command()
break;
case '=':
GET_COMMAND_SUFFIX();
printf("%d\n", addr_cnt ? second_addr : addr_last);
printf("%ld\n", addr_cnt ? second_addr : addr_last);
break;
case '!':
if (addr_cnt > 0) {
@@ -888,7 +888,7 @@ check_addr_range(n, m)
}
/* get_matching_node_addr: return the address of the next line matching a
/* get_matching_node_addr: return the address of the next line matching a
pattern in a given direction. wrap around begin/end of editor buffer if
necessary */
long
@@ -902,7 +902,7 @@ get_matching_node_addr(pat, dir)
if (!pat) return ERR;
do {
if (n = dir ? INC_MOD(n, addr_last) : DEC_MOD(n, addr_last)) {
if ((n = dir ? INC_MOD(n, addr_last) : DEC_MOD(n, addr_last))) {
lp = get_addressed_line_node(n);
if ((s = get_sbuf_line(lp)) == NULL)
return ERR;
@@ -910,7 +910,7 @@ get_matching_node_addr(pat, dir)
NUL_TO_NEWLINE(s, lp->len);
if (!regexec(pat, s, 0, NULL, 0))
return n;
}
}
} while (n != current_addr);
sprintf(errmsg, "no match");
return ERR;
@@ -1148,7 +1148,7 @@ move_lines(addr)
REQUE(b2, b1->q_forw);
REQUE(a1->q_back, a2);
REQUE(b1, a1);
current_addr = addr + ((addr < first_addr) ?
current_addr = addr + ((addr < first_addr) ?
second_addr - first_addr + 1 : 0);
}
if (isglobal)
@@ -1339,7 +1339,7 @@ strip_escapes(s)
REALLOC(file, filesz, MAXPATHLEN + 1, NULL);
/* assert: no trailing escape */
while (file[i++] = (*s == '\\') ? *++s : *s)
while ((file[i++] = (*s == '\\') ? *++s : *s))
s++;
return file;
}
+3 -3
View File
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -39,7 +39,7 @@ extern int patlock;
char errmsg[MAXPATHLEN + 40] = "";
/* get_compiled_pattern: return pointer to compiled pattern from command
/* get_compiled_pattern: return pointer to compiled pattern from command
buffer */
pattern_t *
get_compiled_pattern()
@@ -67,7 +67,7 @@ get_compiled_pattern()
return NULL;
}
patlock = 0;
if (n = regcomp(exp, exps, 0)) {
if ((n = regcomp(exp, exps, 0))) {
regerror(n, exp, errmsg, sizeof errmsg);
free(exp);
return exp = NULL;
+10 -6
View File
@@ -1,4 +1,4 @@
/* sub.c: This file contains the substitution routines for the ed
/* sub.c: This file contains the substitution routines for the ed
line editor */
/*-
* Copyright (c) 1993 Andrew Moore, Talke Studio.
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
@@ -97,7 +97,7 @@ extract_subst_template()
;
else if (!isglobal) {
while ((n = get_tty_line()) == 0 ||
n > 0 && ibuf[n - 1] != '\n')
(n > 0 && ibuf[n - 1] != '\n'))
clearerr(stdin);
if (n < 0)
return NULL;
@@ -124,6 +124,7 @@ search_and_replace(pat, gflag, kth)
char *txt;
char *eot;
long lc;
long xa = current_addr;
int nsubs = 0;
line_t *lp;
int len;
@@ -154,8 +155,10 @@ search_and_replace(pat, gflag, kth)
} while (txt != eot);
SPL0();
nsubs++;
xa = current_addr;
}
}
current_addr = xa;
if (nsubs == 0 && !(gflag & GLB)) {
sprintf(errmsg, "no match");
return ERR;
@@ -185,7 +188,7 @@ substitute_matching_text(pat, lp, gflag, kth)
if ((txt = get_sbuf_line(lp)) == NULL)
return ERR;
if (isbinary)
if (isbinary)
NUL_TO_NEWLINE(txt, lp->len);
eot = txt + lp->len;
if (!regexec(pat, txt, SE_MAX, rm, 0)) {
@@ -210,8 +213,9 @@ substitute_matching_text(pat, lp, gflag, kth)
off += i;
}
txt += rm[0].rm_eo;
} while (*txt && (!changed || (gflag & GSG) && rm[0].rm_eo) &&
!regexec(pat, txt, SE_MAX, rm, REG_NOTBOL));
} while (*txt &&
(!changed || ((gflag & GSG) && rm[0].rm_eo)) &&
!regexec(pat, txt, SE_MAX, rm, REG_NOTBOL));
i = eot - txt;
REALLOC(rbuf, rbufsz, off + i + 2, ERR);
if (i > 0 && !rm[0].rm_eo && (gflag & GSG)) {
+1 -1
View File
@@ -1,4 +1,4 @@
# $Id$
# $FreeBSD$
SHELL= /bin/sh
ED= ../obj/ed
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $FreeBSD$
*/
#ifndef lint
+2 -2
View File
@@ -1,8 +1,8 @@
# /b/source/CVS/src/bin/expr/Makefile,v 1.5 1993/06/14 19:56:06 jtc Exp
# $Id$
# $FreeBSD$
PROG= expr
SRCS= expr.c
SRCS= expr.c
CLEANFILES+= expr.c y.tab.h
expr.c:
Loaded 100 of 10438 files, more files were not shown because too many files have changed in this diff. Show more