Commit Graph

29718 Commits

Author SHA1 Message Date
thorpej
2eaa922149 Do not print "esp0: !TC [intr ...]" messages if:
(a) The interrupt is a RESEL interrupt, and
	(b) our state is SELECTING.
This condition can occur in perfectly normal operation if we are using
DMA to select the target and we are interrupted by another target
reselecting us.  Per discussion with Paul Krannenburg.
1997-06-26 00:27:25 +00:00
thorpej
650e452081 Before disk checks are performed, do a "swapctl -A -t blk" so that
block-type devices are available during disk checks, which may consume
large amounts of memory if large file systems are present.  Once "critical"
file systems (e.g. /usr and /var) are mounted, perform a "swapctl -A -t noblk"
to enable swapping on any swap files that may be listed in /etc/fstab.
1997-06-25 23:30:28 +00:00
thorpej
2ea04e4383 Add a "-t blk|noblk" device type option to swapctl -A. This allows the
user to specify "only add block devices" or "only add non-block devices".
This is useful during early system startup where swapping may be needed
before swap files are available (e.g. if fsck'ing large file systems).
1997-06-25 23:18:10 +00:00
kleink
5d1b524ff3 Fix OBOB: when reassembling a file name from the header block's `prefix'
and `name' fields, don't overwrite the glueing '/' between them.
1997-06-25 22:44:00 +00:00
jonathan
e9661d76f6 MACH_CACHED_TO_PHYS() -> MIPS_KSEG0_TO_PHYS(). 1997-06-25 21:08:45 +00:00
hannken
5d4f988920 Adjust the number of ccbs allocated during initialization.
Every ccb locks 64k of memory for dma buffers.
Instead of AHA_CCB_MAX ccbs using 1MByte only sc_link.openings ccbs
per device are allocated. Thus we now use only 128KByte per device present.
1997-06-25 13:30:59 +00:00
briggs
9979fcd706 Fix from camk@telecom.ksu.edu (Kelly Campbell), via Ken Nakata, for a
problem causing SIGSEGVs under FP emulation on the 68LC040.  The size
for the type 4 exception frame was not properly defined.
1997-06-25 12:44:05 +00:00
leo
b61541d6c2 Be consistent with more pedantic bus.h. 1997-06-25 12:15:54 +00:00
leo
61d060feec Add the types for 'bus_dma_tag_t' and 'bus_dmamap_t'. While here, be a bit
more precise in using types of the bus_space* address arguments.
1997-06-25 12:06:10 +00:00
mycroft
2ee8bc2b79 Don't allow writes to init's memory or registers while in secure mode. 1997-06-25 11:32:15 +00:00
jonathan
11bfae37bb Update compiled-in default partition. Default root 32Mbytes, swap 64Mbytes.
(appropriate for ELF and growth in / since 4.4bsd/pmax).
Clip default-label partitions against the end of the disk to make installs
easier.
1997-06-25 11:00:32 +00:00
mikel
e5ef66b32c include <err.h> for err*() and warn*() prototypes
fix some printf() formats to take long args instead of int
1997-06-25 07:44:12 +00:00
mikel
1764309581 don't clobber SUBDIR set within conditional 1997-06-25 07:22:19 +00:00
mhitch
63f2f12797 Someday I'll learn how the MIPS cpu works; add some delay after the tlbp
when switching to a new process.  This was causing a ktlbmiss and stack
overflow panic on R3000 machines.
1997-06-25 05:06:01 +00:00
mellon
021ee70ed5 Adjust options statements so that if they are commented out or uncommented, it doesn't screw up indentation. 1997-06-25 04:41:15 +00:00
mrg
68a93585b8 update with recent change. also fix warning (and bug) from perl -w 1997-06-25 03:31:56 +00:00
thorpej
97ffd3ad25 Document COMPAT_NOMID. From David Brownlee <abs@mono.org> PR #3554. 1997-06-25 03:13:00 +00:00
thorpej
319920c23a Add "struct", "member", and "export" keywords, per PR #3555, from
Ty Sarna <tsarna@endicor.com>.
1997-06-25 03:09:06 +00:00
lukem
2ed204d14c Change {UID,GID}_MAX from 2^32-2 to 2^31-2 (which was the original
intention). This is because setreuid takes signed ints, which may
be -1 to indicate ``don't change [ug]id''.
1997-06-25 00:48:09 +00:00
lukem
5170144fac Apply [bin/3270] from Simon J. Gerraty <sjg@quick.com.au>, with fixes by me:
* if the user has an s/key, provide a reminder in the password prompt
* if '-s' is given once, force a user that has an s/key to use it
* if '-s' is given more than once, only permit s/key logins
1997-06-25 00:15:04 +00:00
fvdl
5276454896 Document new options. 1997-06-24 23:53:20 +00:00
fvdl
08700bff7f Enable exporting filesystems the WebNFS way. Add the -public, -webnfs
and -index option for that purpose.
1997-06-24 23:50:57 +00:00
fvdl
acfef4258b Add MNT_EXPUBLIC flag, add index file field to export structure and
nfs_public structure, for WebNFS support. Also add prototypes of
function added to vfs_subr.c
1997-06-24 23:47:44 +00:00
fvdl
b5e26aee04 Invalidate publicly exported FS info when unmounting it locally. 1997-06-24 23:44:57 +00:00
fvdl
4702f17abc Add functions to set/reset the info about the publicly exported
(WebNFS) filesystem. At first glance this should go into the
NFS code, but all the other export code is here as well.
1997-06-24 23:43:33 +00:00
fvdl
55cde5331c Let nfsm_srvmtofh deal with the public filehandle, convert to all zeroes
for both v2 and v3 internally.
1997-06-24 23:40:43 +00:00
fvdl
e21d2702b0 Add prototype for nfs_ispublicfh, change the ones for nfs_namei and
nfsrv_fhtovp.
1997-06-24 23:39:34 +00:00
fvdl
246567553a Invalidate nfs_pub info when reinitting the NFS server. 1997-06-24 23:38:10 +00:00
fvdl
28e824c9b7 Extend lookup handling for WebNFS. This means that nfs_namei deals
with full pathname lookups if a public filehandle is used, and that
it translates the '%' escapes (URL-style) in the same case. Also,
make nfsrv_fhtovp convert the public filehandle to the vp of the
publicly exported filesystem, as stored in the nfs_pub structure.
1997-06-24 23:36:02 +00:00
fvdl
6611bf92a5 Provide the extra arg to nfsrv_fhtovp, signalling if we're dealing with
a request on the public filehandle. Extend the lookup operation to
support WebNFS, including index file support (URL style). Yucky, it's
optional in the spec, but Solaris 2.6 will support it, so..
1997-06-24 23:32:45 +00:00
fvdl
66081af1c0 Provide extra arg to nfsrv_fhtovp (just FALSE in this case), it was
extended for WebNFS support.
1997-06-24 23:30:04 +00:00
fvdl
3416a7ca6d Add a few defines for WebNFS support. 1997-06-24 23:28:15 +00:00
thorpej
cd730bdd50 In sosetopt():
- Disallow < 1 values for SO_SNDBUF, SO_RCVBUF, SO_SNDLOWAT, and
  SO_RCVLOWAT; return EINVAL if the user attempts to set <= 0.
  Inspired by PR #3770, from Havard Eidnes <he@vader.runit.sintef.no>.
- For SO_SNDLOWAT and SO_RCVLOWAT, don't let the low-water mark get
  set above the high-water mark.  Behavior is now consistent with
  BSD/OS: If such an attempt is made, silently truncate to the high-water
  value.
1997-06-24 20:04:45 +00:00
jonathan
9b5e38ce15 Un-comment-out "CFLAGS+= -I/usr/src/libexec/ld.elf_so" for new crt0.c 1997-06-24 20:00:45 +00:00
veego
9e842f0899 Add ./usr/share/man/cat1/grfinfo.0, ./usr/share/man/cat8/fdisk.0
Remove ./usr/share/man/cat8/amiga/boot.0 and double
./usr/share/man/cat8/amiga/makedev.0
Move bad144.0 from cat8/i386 to cat8.
1997-06-24 19:56:31 +00:00
veego
61eb4191c8 Add ./usr/share/man/cat8/ntptime.0
Move ./usr/share/man/cat8/fdisk.0 to man/md_share
1997-06-24 19:55:19 +00:00
veego
c9852b2921 Add ./usr/include/dev/tc/{clockvar,mcclockvar}.h,
./usr/share/man/cat3/{kvm_dump,kvm_dump_inval,kvm_dump_mkheader,
 kvm_dump_wrtheader}.0
s/vndioctl.h/vndvar.h/
1997-06-24 19:54:25 +00:00
veego
cd1e7c2102 Move ./usr/share/man/cat3/{kvm_dump,kvm_dump_inval,kvm_dump_mkheader,
kvm_dump_wrtheader}.0 to comp/mi
1997-06-24 19:51:38 +00:00
veego
b413c79c1c Add ./usr/sbin/ntptime, ./usr/share/man/cat1/{atari,i386,x68k},
./usr/share/man/{cat3,cat5}/i386, ./usr/share/man/cat8/{mvme68k,sun3x},
 ./usr/share/man/man1/{atari,i386,x68k}, ./usr/share/man/{man3.man5}/i386,
 ./usr/share/man/man8/{mvme68k,sun3x}
1997-06-24 19:50:16 +00:00
thorpej
9bf15b8b78 Don't adjust ip->ip_len before calling icmp_error(); icmp_error() already
does this.  Per Stevens in TCP/IP Illustrated Vol. 2, p.774, submitted
by Koji Imada <koji@math.human.nagoya-u.ac.jp>.
1997-06-24 19:31:34 +00:00
thorpej
d935da544d Remove the dtom() macro - nothing uses it anymore, and nothing should,
ever, ever again.
1997-06-24 19:14:52 +00:00
thorpej
a149ed59e4 Eliminate use of dtom() in the handing of UNIX domain sockets. Add an
"unp_addrlen" member to the unpcb, and use it when copying the socket
name.  This eliminates that last uses of dtom() in the system.
1997-06-24 19:12:53 +00:00
mjacob
ff21c8f511 Turn of 'unclaimed interrupt' messages- we know about them already- we can't
really fix this as yet.
1997-06-24 18:08:59 +00:00
kleink
3474a69ffa * add `-x' option to usage().
* `=' vs. `==' in a comparison.
1997-06-24 17:47:03 +00:00
kleink
f271ef50c9 When `-posix' is specified, link against libposix. 1997-06-24 16:55:05 +00:00
chopps
5559da2d04 use += not =. Propogate change to gcc2netbsd 1997-06-24 12:25:57 +00:00
hannken
c9ccc894a4 Add missing braces. `check_modify' returns 0 without a reply. See PR #3779. 1997-06-24 08:49:27 +00:00
mikel
cb723ebbdd set NOOBJ if !amiga because nothing is built 1997-06-24 08:01:39 +00:00
mikel
a1d9dc4ca0 set NOOBJ if !hp300 because nothing is built; also RCSid police 1997-06-24 07:55:11 +00:00
mikel
308f4db973 bring bad144 into at least the 80s:
include <stdlib.h> and <unistd.h> for prototypes, remove old declarations
add prototypes for internal functions
make all implicit int return and argument types explicit, make some void
eliminate 'register'
cast lseek(2) offset arguments to off_t
1997-06-24 07:48:12 +00:00