Commit Graph

7263 Commits

Author SHA1 Message Date
dg
06b3489a8f 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
wpaul
f7f0704be7 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
dg
8b708f3eac Removed some obsolete flags.
Submitted by:   John Dyson
1995-03-26 23:33:14 +00:00
dg
8b2672e499 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
ache
5c7b628b09 Use more AI to predict initial/final isdst,
latest isdst  preffered.
1995-03-26 22:51:51 +00:00
joerg
c399ccbb20 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
phk
93d15ad15d 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
ache
a6120b6483 Hash 8bit chars without sign extension 1995-03-26 19:32:24 +00:00
rgrimes
483dce10ff 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
ache
ff3d140d60 Update info about LC_COLLATE implementation 1995-03-26 18:57:19 +00:00
phk
d87e24fbd4 If possible, pick up the caesar program inside in the compilation tree. 1995-03-26 18:53:45 +00:00
wpaul
b8c800fa1a 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
jkh
e7ea3a87cd 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
jkh
b3e105312a 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
jkh
634645c7af add strhash.h for libc's new string hashing function. 1995-03-26 10:12:53 +00:00
paul
42c621f31d 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
wpaul
f912b9a47b 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
ache
4ec12d8b2f Comment out all perverted curses optimization 1995-03-26 03:01:04 +00:00
ache
8a9f1f9a43 Change wrong -ltermcap -ltermlib picked up to -lmytinfo 1995-03-26 02:41:45 +00:00
wpaul
514fddd044 Make sure we free() the result returned to us by yp_match(). 1995-03-26 02:37:00 +00:00
ache
d8bcddf188 Add eo:it#8 to vt100 entry 1995-03-26 01:30:33 +00:00
ache
a979b4fe5e vt100/102/220 entries affected:
major cleanup
add lot of missing capabilities
1995-03-26 01:02:54 +00:00
ache
e5b550729f Continue of previous fix: eliminate backslashes too. 1995-03-26 00:47:02 +00:00
ache
18dd733e53 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
wpaul
dff265cf5a Submitted by: Sebastian Strollo <seb@erix.ericsson.se>
Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.
1995-03-25 23:26:54 +00:00
bde
3710cd0084 Reviewed by:
Submitted by:
Obtained from:

Disable previous change.  I missed a lot of implicit declarations.
1995-03-25 23:21:36 +00:00
bde
2c30f67d79 Remove wrong redeclarations of printf() and bzero(). Include the correct
header to declare DELAY().
1995-03-25 22:40:49 +00:00
bde
902fc2c817 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
bde
585b3a6522 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
e7ebcda4b0 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
9af0749a7f 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
jkh
5b56009db5 Add gil.physik.rwth-aachen.de to mirrors 1995-03-25 18:15:12 +00:00
bde
6266c34fa3 Fix the path to scdreg.h.
Fix implicit declarations.
1995-03-25 18:14:37 +00:00
joerg
4f9a9b5461 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
bde
78c309d823 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
dg
1dff2a10da Fix logic bug I just introduced with the flags to msync(). 1995-03-25 17:44:03 +00:00
dg
6f200bdb04 Pass syncio flag to vm_object_clean(). It remains unimplemented, however. 1995-03-25 17:36:57 +00:00
dg
c40e3e96de Disallow both MS_ASYNC and MS_INVALIDATE flags being set at the same time
in msync().
1995-03-25 17:36:00 +00:00
dg
4b9af16ced Fixed msync() prototype. 1995-03-25 17:28:30 +00:00
dg
71eadf047a Updated manual page to indicate flags argument; added return value and
errors section.
1995-03-25 17:24:47 +00:00
jkh
afadf7ad3f Get PERL found in any of its obvious locations. 1995-03-25 17:14:11 +00:00
dg
6422e3d4bb 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
dg
3264849b34 Added a third "flags" argument to msync() ...as other systems have. 1995-03-25 16:52:24 +00:00
dg
90b933e585 Added flags definitions for msync(). 1995-03-25 16:43:42 +00:00
bde
6e4ddba893 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
193548394a Include ``toor'' in the list of forbidden ftp users, just in case someone
is providing this user with a password.

Pointed out by: charly@Fachschaften.TU-Muenchen.DE
1995-03-25 13:11:40 +00:00
joerg
8be5f5c0ae Update the kernel debugging FAQ to match the new (k)gdb and new DDB
symbol behaviour.
1995-03-25 12:35:00 +00:00
bde
b51e04e8c1 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
dg
907b17b595 Removed an old VMIO #ifdef and made the type of b_pages 'struct vm_page *'. 1995-03-25 08:55:02 +00:00
dg
eead7db291 Implemented cnt.v_reactivated and moved vm_page_activate() routine to
before vm_page_deactivate().
1995-03-25 08:47:35 +00:00