Commit Graph

33545 Commits

Author SHA1 Message Date
lukem 0dd4a8e6e5 WARNSify mkioctls output, fix .Nm usage, deprecate register 1997-10-19 03:38:27 +00:00
lukem ac4e9aa74a WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 03:32:11 +00:00
mycroft 11c9f28f0e Update comment. 1997-10-19 03:29:20 +00:00
mycroft e704745a3c Regen. 1997-10-19 03:26:22 +00:00
mycroft 606346112c umask(2) accepts and returns a mode_t. 1997-10-19 03:25:55 +00:00
lukem 180f5dc383 WARNSify, fix .Nm usage, getopt returns -1 not EOF 1997-10-19 03:23:46 +00:00
lukem e8ca1c7c50 getopt returns -1 not EOF 1997-10-19 03:18:54 +00:00
lukem 74502993fd fix .Nm usage 1997-10-19 03:18:18 +00:00
lukem b048688222 WARNSify, fix .Nm usage, deprecate register, use <err.h>, KNFify (with indent!;) 1997-10-19 03:17:12 +00:00
lukem e7e6d7b7b9 don't define WARNS=1 here 1997-10-19 03:16:58 +00:00
jonathan 80d7cee8ca Disable 64-bit BFD support on mips as noted in _mips.mk:
Cannot support 64-bit targets  with gdb 4.16.
 They assume that  BFD_ARCH_SIZE is 64, but that causes bfd_vma_addr
 to be a 64-bit int. GDB uses bfd_vma_addr for CORE_ADDR, but also
 casts CORE_ADDRS to ints, which loses on 32-bit mips hosts.
1997-10-19 02:52:24 +00:00
lukem f371ce2cb8 WARNSify, fix .Nm usage, deprecate register, use err() from <err.h> 1997-10-19 02:45:44 +00:00
lukem c6810a0286 WARNSify, fix .Nm usage, deprecate register 1997-10-19 02:34:02 +00:00
mikel fb7eb8074d fix some typos in comment about securelevel 1997-10-19 02:29:20 +00:00
lukem 78a738b31b use err.h for err() prototype, deprecate register, fix .Nm usage 1997-10-19 02:23:41 +00:00
mycroft cc8b6d9037 Fix something that Christos forgot; remove st_lspare from the new stat
structure.
NOTE: THIS REQUIRES INSTALLING A NEW KERNEL BEFORE BUILDING NEW LIBRARIES.
1997-10-19 02:21:58 +00:00
mikel 3b834bbe6e use lstat() instead of stat() when determining type of 'from' file;
from John F. Woods in PR bin/4288.
Also fixed a similar check of the 'to' file, so we don't try to
  rmdir() symlinks to directories; and fixed typo in a comment.
1997-10-19 02:17:37 +00:00
lukem 8c012c7268 WARNSify, fix .Nm usage 1997-10-19 02:13:39 +00:00
lukem fb9ee7e315 WARNSify 1997-10-19 02:12:40 +00:00
mycroft 04daee4f9c Add const where appropriate. 1997-10-19 02:00:19 +00:00
mycroft 62f4958011 Copy the whole timespec, not just half of it. Other minor changes. 1997-10-19 01:52:51 +00:00
mycroft 16519602c5 Minor change; remove unnecessary casts. 1997-10-19 01:50:33 +00:00
mycroft 116608a359 Clean up some garbage from struct stat12. 1997-10-19 01:49:00 +00:00
fvdl 1cf3a3db94 * Implement optional 32 <-> 64 bit directory cookie translation. This uses
the directory cache as translation table. See nfs_subs.c for comments.
  Makes the code a bit more complex to look at than I would have liked,
  but doesn't affect the speed of the default behavior.
* Optimize caching behavior a bit when buffers are invalidated.
* Save some RPCs in readdir operations by not bothering if there is
  a small amount left to do to fill the buffer. It'll be done in the
  next RPC with a larger chunk anyway. Wastes a bit of buffer space
  but is faster.
* Make n_vattr an allocated vattr struct. This avoids nfsnode bloat,
  and is friendlier to the malloc routines.
1997-10-19 01:46:15 +00:00
fvdl adecb9addf Add NFSMNT_XLATECOOKIE 1997-10-19 01:37:53 +00:00
cjs 1a546804ed First go at an INSTALL kernel (add ramdisk, remove unnecessary stuff). 1997-10-19 01:31:49 +00:00
fvdl c5f8e0d133 Implement -X option for 32 <-> 64 bit translation of directory cookies
for v3 mounts. Should rarely be needed (i.e. servers actually
returning information in the upper 32 bits, and programs not
being able to deal with that (emulated binaries; native NetBSD
binaries will never need this)).
1997-10-19 01:24:47 +00:00
jonathan d9af5eb2f7 Pull up ambi-endian diffs from kernel bzero(). 1997-10-19 01:19:58 +00:00
fvdl 33074aa25a Eliminate compile warning because of mmap caddr_t -> void * change. 1997-10-19 00:16:08 +00:00
jonathan 2e47a5547e Use void* not caddr_t for 'addr' argument to native mmap(). 1997-10-19 00:15:31 +00:00
perry b07dc2077e typo: that -> than 1997-10-19 00:00:18 +00:00
fair b58a4f15c4 additional sun3/sparc warning about the "-r" option. 1997-10-18 23:46:44 +00:00
ragge 038cd08cce Make UBA adapter selection work on 8600 again. 1997-10-18 23:39:18 +00:00
hubertf cfc838616e - don't clean out dependent packages (requested by thorpej)
- actually document the feature used above (NOCLEANDEPENDS)
 - put pkg/MESSAGE file into /var/db/pkg/XXX/+DISPLAY, if
   present (from FreeBSD)
1997-10-18 23:33:25 +00:00
is fa78c4ba06 Driver for the VMC HyperCom3/zbus and the VMC HyperCom4.
lpt on HyperCom3 isn't supported yet.
1997-10-18 23:31:32 +00:00
is 84a59e77b2 Stopgap measure to handle EXTER interupts for the DraCo. Maybe this should
be handled by the locore.s code like for Amigas, but DraCos dont have
necessarily a CIA B.
1997-10-18 23:18:40 +00:00
is 1083b2ab71 Use long long in bitrate tolerance computation, else we'll overflow for
higher than standard-pc chip clocks.
1997-10-18 23:11:45 +00:00
matt ff0c62458b Add some PCMCIA devices (done while noting DEC DEPCM-BA and DE305 support). 1997-10-18 23:03:51 +00:00
jonathan 0fa286f23d Note non-inclusion of up-to-date bootblock source for 1.3, as
suggested by release engineers.
1997-10-18 22:33:28 +00:00
jonathan 92ed4b0f7f Make the __mcount entrypoint non-static for kernels, to avoid any
chance of gprof mis-report profile ticks in __mcount to  the following
function in libkern (currently _qdivrem).
1997-10-18 22:31:33 +00:00
cjs bcced1d9be Check return values from lseek; use SEEK_SET instead of 0. 1997-10-18 22:27:46 +00:00
cjs 4b97411a80 Change sd.transparent to sd.compressed, so that we default to non-
compressed mode when we zero out the structure. Check_header() now
does not force us to uncompressed mode if we read no data (EOF);
it leaves the default, so that if we check at the end of a file,
we don't set the file to uncompressed mode and blow up later lseeks
on it.
1997-10-18 22:27:15 +00:00
ws f92f4e8ac3 Correct handling of empty files (fixes PR4285 by (and tested by) Dave Huang) 1997-10-18 22:12:27 +00:00
hubertf 59b0f424db Prevent error if machine-symlink isn't already there (rm -> rm -f) 1997-10-18 21:46:27 +00:00
thorpej c8d4b16d94 Add ./usr/include/bfd 1997-10-18 21:38:14 +00:00
kml c8e01708d1 remove extraneous icmp_do_mtudisc 1997-10-18 21:21:28 +00:00
kml 6b86b260cb change sysctl net.inet.icmp.mtudisc to net.inet.ip.mtudisc 1997-10-18 21:18:28 +00:00
christos a8fba37dbd Tons of changes; re-indent, use termios, fix warnings, add prototypes...
Games is almost clean; only hack is left...
1997-10-18 20:03:05 +00:00
thorpej 75e554c27d Implement two macros, scsipi_command() and scsipi_command_direct(), and
use them to hide the structure of the function pointers we jump through
to issue a command.
1997-10-18 19:50:51 +00:00
mhitch 20c5359658 If DDB and the boot loader has loaded the kernel symbol tables, save the
symbols and let ddb know about them.
1997-10-18 19:48:02 +00:00