Commit Graph

15717 Commits

Author SHA1 Message Date
Paul Traina
c52fcce8a5 Bannish ATAPI and ATAPI_STATIC #defines to opt_atapi.h. 1996-09-06 23:32:55 +00:00
Poul-Henning Kamp
9d616cb5db Remove these three devconf files entirely. 1996-09-06 23:11:42 +00:00
Poul-Henning Kamp
bfbb029d87 Remove devconf, it never grew up to be of any use. 1996-09-06 23:09:20 +00:00
Poul-Henning Kamp
cb3c44d787 remove devconf tools from make tree. 1996-09-06 23:07:35 +00:00
Poul-Henning Kamp
a4abdce378 Remove devmenu. Devconf never grew up. 1996-09-06 23:05:55 +00:00
Poul-Henning Kamp
716768e73c Remove lsdev. Devconf never grew up. 1996-09-06 23:05:22 +00:00
Peter Wemm
95de3496b4 Turn on SO_KEEPALIVE on network connections. Since we limit the number
of connections, we cannot afford to allow "disappeared" client to cause
us to leave one of the 14 connections open and hanging in a read() forever.

(SO_KEEPALIVE causes probe packets to be sent after a few hours of IDLE
time where no data has been transferred.  Sup should NEVER do this, so the
only time it will have an effect is if it looses the remote machine)
1996-09-06 16:08:32 +00:00
Peter Wemm
40c20cfcd6 Rewrite part of the compression support so that it does not leave
files in /var/tmp.  Sup needs to send the file size, so that
prevents running gzip in a pipeline (sigh).

It now opens a temporary file, and immediately unlinks it.  It sends
gzip's output to the temp file, and when gzip is done, it rewinds the
file and sends it. When the last fd is closed, the file storage is
reclaimed.  With luck, this will stop those 15MB
gzip < emacs-19.30.tgz > /var/tmp/tmp.xxxx files from being left behind
and blowing out /var on freefall.

While I have the platform, let me quote a fortune entry which sup reminds
me of:  "It is a crock of sh!t, and it stinks!"
1996-09-06 15:40:08 +00:00
Jordan K. Hubbard
e36f5f6c56 Make button highlighting more visible on B/W displays. 1996-09-06 09:36:45 +00:00
Rodney W. Grimes
851790dd27 Partial merge of RELENG_2_1_0 -> HEAD (addition of Intel 82439HX chip text). 1996-09-06 09:21:48 +00:00
Jordan K. Hubbard
8e1d470afc PR#2724 in NetBSD notes that newsyslog save log files even if the number
of copies to save is zero.  Incorporate suggested fix with some stylistic
cleanup to make the resulting code more readable.
Submitted-By: Kenneth Stailey <kstailey@dol-esa.gov>
1996-09-06 06:36:07 +00:00
Jordan K. Hubbard
df3f7155e9 Do the right thing even if the source tree is a bunch of symlinks, say
lndir'd to a CDROM.
Submitted-By: Richard Wackerbarth <rkw@shrimp.dataplex.net>
1996-09-06 06:30:57 +00:00
Jordan K. Hubbard
7fc4a454e2 Make the noauto flag usable for swap devices too. Closes PR#1542
Submitted-By: David Leonard <d@scry.dstc.edu.au>
1996-09-06 06:01:05 +00:00
Jordan K. Hubbard
1b455eeb3f Close a security hole in anonymous ftp setup.
Submitted-By: Jason Garman <garman@phs.k12.ar.us>
1996-09-06 05:58:27 +00:00
Jordan K. Hubbard
479c200dea Don't smash attributes when turning color values off. This was submitted
as a PR to GNATs but it evidently went astray somehow since I can't find
it in the database now, nor does an assigned PR# appear on the mail I got.
Sorry about that, Danny!
Submitted-By: Danny R. Johnston <danny@simn.com>
1996-09-06 05:55:48 +00:00
Justin T. Gibbs
0b64164fca Add bowrite.
Bowrite guarantees that buffers queued after a call to bowrite will
be written after the specified buffer (on a particular device).
Bowrite does this either by taking advantage of hardware ordering support
(e.g. tagged queueing on SCSI devices) or resorting to a synchronous write.
1996-09-06 05:37:53 +00:00
Justin T. Gibbs
23da239df6 Use bowrite instead of VOP_BWRITE in a few cases. This can probably be taken
further.
1996-09-06 05:36:29 +00:00
Justin T. Gibbs
2eb24859bc Add B_ORDERED buffer flag and prototype for the bowrite function.
Bowrite guarantees that buffers queued after a call to bowrite will
be written after the specified buffer (to a particular device).
Bowrite does this either by taking advantage of hardware ordering support
(e.g. tagged queueing on SCSI devices) or by resorting to a synchronous write.
1996-09-06 05:35:00 +00:00
Jordan K. Hubbard
619c58eea0 Add a timeout flag so that failing operations can at least be caught
and flagged.  Closes PR#1513
Submitted-By: David Muir Sharnoff <muir@idiom.com>
1996-09-06 05:24:05 +00:00
Julian Elischer
d4b2a43950 make appletalk networks not show an un-needed host
part in displaying the routes.
1996-09-05 23:34:09 +00:00
Stefan Eßer
c6060a60ef Fix Orion specific code by moving config_orion() to a place where it does
not depend on bootverbose being true.

Include only register specifications for those chip sets that apply to
a cpu that might boot this a particular kernel (ie. make the Saturn code
depend on I486_CPU being defined, the Pentium chip sets on I586_CPU ...)
1996-09-05 21:34:12 +00:00
Stefan Eßer
77b3da75e6 Fix code that deals with multiple host to PCI bridges by making the next
one use the highest seen bus number plus 1 as its starting point.
1996-09-05 21:28:51 +00:00
Bruce Evans
36d4ab45ac Use a more robust check for ss_err.h existing. This header isn't
built early enough to always be installed by the `includes' target
in /usr/src/Makefile.  This is supposed to be handled by not
installing it if it doesn't exist.  However, a stale, uninstallable
copy sometimes exists in the source directory, and the existence
test sometimes found the wrong copy.
1996-09-05 21:22:51 +00:00
Julian Elischer
7fae9bcd24 Back out the previous changes
I just couldn't get the code to be as small as it should have gotten..

atill a LITTLE bigger than before as I need to allow the
default string to have options as well
1996-09-05 21:12:06 +00:00
Guido van Rooij
693b16fcbf Document the existance of a configuration file for updatedb.
Fix a typo in the default rc file and add a comment about
default values.
1996-09-05 20:18:15 +00:00
John Fieber
e80bb77a39 /usr/share/sgml/ISO for ISO entity definitions. 1996-09-05 20:01:09 +00:00
John Fieber
699349cbad ISO sgml entity definitions. Used by many DTDs including upcoming
an upcoming linuxdoc revision and Docbook.
1996-09-05 19:58:11 +00:00
Peter Wemm
072e545d23 Regenerate 1996-09-05 19:22:15 +00:00
Peter Wemm
ba60eee902 Oops, two tiny typos. Serves me right for making a "Just a tiny change!"
without testing right before committing...
Also, get rid of some extra slashes in beforeinstall.
1996-09-05 19:19:18 +00:00
Peter Wemm
d184a3fef5 Sigh. That darn tcl source tree is damn strange. I missed the fact that
the *.3 man pages are not installed with their distributed names, so all
the links were messed up. :-(
1996-09-05 19:05:57 +00:00
Bruce Evans
311fae7c8a Recovered from -Wall cleanup in ss_internal.h. This depended on
ss_internal.h bogusly declaring things in <stdlib.h>.
1996-09-05 18:20:47 +00:00
Bruce Evans
1f36dc1f9e Finished adjustments for cleaning up declaration of zopen(). Moving the
declaration from <stdio.h> to "zopen.h" left it undeclared here.
1996-09-05 18:15:43 +00:00
Bruce Evans
9b66eea42e Moved definitions of library names from bsd.prog.mk to a new central
file bsd.libnames.mk and include this file where necessary.  This fixes
null library names in ${DPADD}'s in library makefiles.
1996-09-05 18:05:08 +00:00
Bruce Evans
833e666181 Fixed make objlink' (and make obj' in the (non-default) OBJLINK case).
Running them twice usually destroyed the target binary.  E.g., the
second `make objlink' in `make objlink; make; make objlink' replaced
the `cat' binary by a symlink cat@ -> /usr/obj/usr/src/bin/cat.

`ln -fs' is unusable when the target might be a symlink that resolves
to a directory.  Then -f applies to a file in the directory and not
to the symlink.  This seems to be the standard (and sometimes useful)
behaviour.
1996-09-05 17:53:13 +00:00
Bruce Evans
5b963fa12e Fixed DPADD. 1996-09-05 17:16:10 +00:00
Bill Paul
de6669b2e2 Reset password change time to zero. (This has no effect with standard
RPC calls to rpc.yppasswdd, but when using the special superuser-only
AF_UNIX socket access method, the server will properly handle all the
additional fields, including pw_change.)

I would also like to take this opportunity to say that Sprint sucks.
1996-09-05 15:57:41 +00:00
John Polstra
2b45e3794c Make "file foo.core" print the program name properly again. 1996-09-05 15:55:57 +00:00
Bill Paul
ff92a7a182 When updating a password via the standard RPC handler, reset the password
change time (pw_change) to zero.
1996-09-05 15:53:42 +00:00
Bill Paul
78cf917e3d Apply patch to fix +group YP overrides and prevent SEGV on badly
formatted groups (foo:*).
1996-09-05 12:27:24 +00:00
Adam David
e389e42669 don't ask for confirmation 1996-09-05 11:22:09 +00:00
Adam David
587a9ccb56 typo 1996-09-05 11:18:27 +00:00
Peter Wemm
f9079aa26a forgot to reconnect easy-import to the Makefile 1996-09-05 08:43:50 +00:00
David Greenman
0bade8bdd8 Cast the partial result of an expression to an off_t to fix an overflow
in the calculation of free disk space. Fixes PR#1569.

Submitted by:	Tor Egge <Tor.Egge@idt.ntnu.no>
1996-09-05 08:08:41 +00:00
David Greenman
0247363f69 Release an unneeded reference to a vnode that was gained in a VFS_VGET().
Fixes a readdirplus panic.

Submitted by:	Doug Rabson <dfr@render.com>
1996-09-05 07:58:04 +00:00
Peter Wemm
e547f8e83a Be more careful with mmap. If it fails, fall back to a plain compare or
copy.

Dont leave stray INS@xxxx temp files around, especially when installing
something less than 8MB and the destination runs out of space, etc.

It still doesn't clean up the temp files on SEGV or other signals etc.
1996-09-05 07:54:08 +00:00
Peter Wemm
8a4854e0f7 accidently removed the "dont compare > 8MB files hack".
didn't rewind the files after the read()s in the non-mmap compare.
1996-09-05 07:33:24 +00:00
Peter Wemm
7b7fc30379 Only attempt to mmap() files from a ufs or cd9660 fs for comparing or
installing.  mmap'ing stuff over a nfs mount took out my machine during
a 'make world' last night while I was asleep.  I started out with a list
of fs's to avoid, when I realised that I really didn't know which ones
were safe with mmap, so I went for the ones I knew and implemented a
fallback compare.
1996-09-05 07:27:43 +00:00
Bruce Evans
cb77de2327 Removed bogus unused `-I..' and unnecessary override of BINDIR. Didn't
clean up.
1996-09-04 22:43:20 +00:00
Bruce Evans
3335a25f21 Removed another unused `-I.' and cleaned up. 1996-09-04 22:31:32 +00:00
Bruce Evans
680b396b51 Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory.  It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00