Commit Graph

29609 Commits

Author SHA1 Message Date
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
perry c94b6b4f09 Add a whole lot of MBR partition types, derived from a couple of sources
including Linux.
Is there a master list of this somewhere?
1997-06-24 06:38:50 +00:00
thorpej 9fefca0657 Update for repaired Triton MX PCI ID. 1997-06-24 06:21:22 +00:00
thorpej ca84057878 Correct Intel Triton MX PCI IDs, from Tom Yu <tlyu@mit.edu>, PR #3478. 1997-06-24 06:20:24 +00:00
mikel f60c9adfd6 include <string.h> and <unistd.h> for prototypes 1997-06-24 06:18:58 +00:00
mikel 133ed3ff54 SUBDIR must be set *before* including bsd.*.mk 1997-06-24 06:00:06 +00:00
mikel 6b2081e1f5 include <err.h> for err*() and warn*() prototypes
cast long to int for use by printf("%d",..)
add parens for gcc -Wall
1997-06-24 05:22:38 +00:00
kml 0953486d37 Added definitions for Essential Communications RoadRunner HIPPI and
Gigabit Ethernet interfaces.
1997-06-24 05:04:10 +00:00
mrg 790379bb6e add man5/i386 (noted by erik fair) 1997-06-24 04:23:32 +00:00
lukem fb34424eb0 * when checking /etc/master.passwd, read in /etc/shells for a list of
valid shells and then check each active account against that
* remove unnecessary ()s in a few printf's.
1997-06-24 02:32:38 +00:00