Peter Wemm [Fri, 1 Nov 1996 09:45:51 +0000 (09:45 +0000)]
Update to use the recommended recovery procedure from nvi-1.76.
This is a lot more robust and handles errors a lot better. It also cleans
up stray, hopeless, or unmodified files rather than leaving them there
forever.
Peter Wemm [Fri, 1 Nov 1996 08:34:51 +0000 (08:34 +0000)]
Yikes, I forgot to remove the -DSYSV_CURSES setting that I was using on
one of the machines I was testing on. (This was to get it to use the
sysv extensions in ncurses)
Peter Wemm [Fri, 1 Nov 1996 06:45:43 +0000 (06:45 +0000)]
Import of nvi-1.79, minus a few bits that we dont need (eg: postscript
files, curses, db, regex etc that we already have). The other glue will
follow shortly.
Warner Losh [Fri, 1 Nov 1996 06:29:34 +0000 (06:29 +0000)]
Fix minor buffer problems:
Off by one in verify allowed one to march one byte off the end of
wd.wd_hostname if wd.wd_hostname had no NUL characters in it.
strncpy of myname into mywd used the source buffer's length, rather
than the dest.
Bill Fenner [Fri, 1 Nov 1996 05:39:10 +0000 (05:39 +0000)]
Make rdump error messages a little clearer and make them look like dump
messages, and make it explicit that stderr output came from the remote end.
(e.g. "rmt: command not found")
Peter Wemm [Thu, 31 Oct 1996 15:57:25 +0000 (15:57 +0000)]
Back out a little more of the previous changes. No longer change
TCL_SHLIB_SUFFIX, since some tools use it for generating the name of
shared objects for dlopen(), which do not have version numbers. This
setting is back to "as distributed".
Rename collate_range_cmp to __collate_range_cmp for internal usage
inside libc. Add collate_range_cmp as alias to __collate_range_cmp
for temp. backward compatibility.
collate_range_cmp will be replaced with direct code for each
external program for compatibility with the rest of world
1) print only errors if -v not given, it allows non-verbose
crontab runnig
2) use full path /usr/bin/mail for security reasons
3) Use time_t instead of long for time (in one place)
Peter Wemm [Wed, 30 Oct 1996 08:49:33 +0000 (08:49 +0000)]
Regenerate.
No changes other than "instructions" for what other tools that use this
.. "interesting" .. system should name their shared libraries. This was
broken for some tools (eg: expect-5.21) even for the native tcl build (ie,
it would end up using libexpect521.so, not libexpect521.so.1.0)
Peter Wemm [Wed, 30 Oct 1996 08:44:18 +0000 (08:44 +0000)]
Argh, I hate the tcl build/config environment. :-(
It seems that some tools (eg: expect-5.21) use TCL_LIB_SPEC to generate
their shared library suffix. This should be .so.1.0, not .so as ld can't
use it.
Revert part of the previous change here, it did too much. libtcl75.so.1.1
was bumped, but the rules to generate library names for _other_ packages
were not supposed to be. Sigh.
Peter Wemm [Wed, 30 Oct 1996 06:13:10 +0000 (06:13 +0000)]
Fix braino on my part. When we have three different port ranges (default,
"high" and "secure"), we can't use a single variable to track the most
recently used port in all three ranges.. :-] This caused the next
transient port to be allocated from the start of the range more often than
it should.
John Dyson [Wed, 30 Oct 1996 03:45:00 +0000 (03:45 +0000)]
Fix the /proc/???/map file so that it is possible to read an arbitrarily
large process map. Another commit will follow to fix a problem just found
during this one... Sorry!!! :-(.
John Dyson [Tue, 29 Oct 1996 22:07:11 +0000 (22:07 +0000)]
Change mmap to use OBJT_DEFAULT instead of OBJT_SWAP by default
for anonymous objects. The system will automatically change the
type to SWAP if needed (for size or pageout reasons.)
Gary Jennejohn [Tue, 29 Oct 1996 21:52:21 +0000 (21:52 +0000)]
changes to gdb to:
1) add Garrett Wollman's trap frame resolving mods
2) make the `proc' command (kernel debugging) really work
3) allow use of a pid with the `proc' command (previously you had to
provide the address of the proc structure)
Unfortunately, the `proc' command won't work while doing remote debugging.
Bruce Evans [Tue, 29 Oct 1996 13:15:30 +0000 (13:15 +0000)]
Search for labels on all slices whenever any minor for a drive is opened.
If DEVFS is configured, create devfs devices for previously invisible
partitions on the slices.
Fixed an old aliasing bug which caused E=17 errors from DEVFS for
DIOCSDINFO when there were no real slices.
Peter Wemm [Tue, 29 Oct 1996 05:35:24 +0000 (05:35 +0000)]
Convert the DONT_FSYNC compile time option to a runtime option (like
nobiff). The options to turn these on are specified in the
LOCAL_MAILER_ARGS define the the sendmail.mc that you build from.
Peter Wemm [Tue, 29 Oct 1996 05:22:52 +0000 (05:22 +0000)]
Merge in our changes from src/libexec/mail.local. This version doesn't
violate disk quotas, has more robust locking, is still being developed,
etc. The main changes merged in were the ability to not fsync() the
mailbox, not do biff/comsat broadcasts, man page fixes.
Peter Wemm [Tue, 29 Oct 1996 04:31:21 +0000 (04:31 +0000)]
Along the way, the minor version number has been bumped (newer version
of tcl with new functions in the library), but the ports-compatable
link name wasn't bumped as it should have been.
Minor cleanups while here (including preserving the $Id: line)
John Hay [Mon, 28 Oct 1996 19:40:01 +0000 (19:40 +0000)]
Remove some unnecessary code in the interrupt handler.
Check that a received packet isn't longer than MCLBYTES. This will
sometimes happen if a cable is plugged into or removed from a live
system.
Try to cater better for early receive interrupts.
Justin T. Gibbs [Mon, 28 Oct 1996 17:00:24 +0000 (17:00 +0000)]
In data_phase_reinit when I converted the code to use bcopy, I should have
used mvi instead of mov. Luckily this code is most likely never executed
since it is only there for sanity should a target goes into the data phase
twice during a single selection or reselection.
Joerg Wunsch [Mon, 28 Oct 1996 08:28:02 +0000 (08:28 +0000)]
Correct the startup sequence for syslogd:
. crate the symlink for /dev/log if required, then
. remove the old socket (savecore might have already created it
accidentally), then
. start syslogd.
(Btw., our test(1) misses an option to test for a socket.)
Justin T. Gibbs [Mon, 28 Oct 1996 06:10:33 +0000 (06:10 +0000)]
Add basic support for the 398X cards as multi-channel SCSI host adapters.
This involves expanding the support of the SEEPROM routines to deal with
the larger SEEPROMs on these cards and providing a mechanism to share
SCB arrays between multiple controllers.
Most of the 398X support came from Dan Eischer.
ahc_data -> ahc_softc
Clean up some more type bogons I missed from the last pass.
Justin T. Gibbs [Mon, 28 Oct 1996 06:10:02 +0000 (06:10 +0000)]
Add basic support for the 398X cards as multi-channel SCSI host adapters.
This involves expanding the support of the SEEPROM routines to deal with
the larger SEEPROMs on these cards and providing a mechanism to share
SCB arrays between multiple controllers.
Most of the 398X support came from Dan Eischer.
ahc_data -> ahc_softc
Clean up some more type bogons I missed from the last pass.
Be more clear when handing the NO_MATCH condition. NO_MATCH can also
happen when the sequencer encounters an SCB we've asked to be aborted.
Justin T. Gibbs [Mon, 28 Oct 1996 06:05:58 +0000 (06:05 +0000)]
Add two new aic7xxx driver options:
AHC_FORCE_PIO - This forces the driver to use PIO even on systems that
say they have memory mapped the controller's registers. This
seems to fix Ken Lam's problems. I've also placed this option
in the GENERIC kernel file so that we are guaranteed to install
even on these flakey machines.
AHC_SHARE_SCBS - This option attempts to share the external SCB SRAM on
the 398X controllers allowing a totoll of 255 non-paged SCBs.
This doesn't work quite yet, so this option is mostly here to
help 398X owners to experiment and give me feedback until this
works properly.
Justin T. Gibbs [Mon, 28 Oct 1996 06:01:08 +0000 (06:01 +0000)]
Fix problems dealing with non-tagged devices when SCB paging is enabled.
Mostly this involved changing the semantics of the findSCB routine so that
it could be used at times other than handling a reconnection.
The way we get a vnode for swapdev is not quite kosher. In particular
it breaks in the DEVFS_ROOT case. replicate a bit too much of bdevvp()
in here to circumvent the problem. The real problem is the magic that
lives in bdevsw[1].