Commit Graph

33431 Commits

Author SHA1 Message Date
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
gwr
12ed8135a0 Add rcsid and a comment 1997-10-18 19:12:11 +00:00
gwr
5e6d32d6b0 Add dir commands to find sources. 1997-10-18 19:09:38 +00:00
gwr
5fe3a1e907 This was temporary - now in ../gdb 1997-10-18 18:57:59 +00:00
gwr
473fa8d5f6 ... and in with the new! (other files added via repository copy) 1997-10-18 18:37:37 +00:00
gwr
41d88aa514 Out with the old... 1997-10-18 18:25:50 +00:00
gwr
36222f7838 Out with the old... 1997-10-18 18:15:48 +00:00
gwr
03272e0c4b Add: bfd readline 1997-10-18 18:13:35 +00:00
mrg
d71f6e87ae clean up, WARNS. 1997-10-18 17:31:35 +00:00
mrg
8f798dca81 merge lite-2. 1997-10-18 16:48:29 +00:00
carrel
052d2ca080 variable is sb not st 1997-10-18 16:39:46 +00:00
christos
0f4b4471a8 Regen. 1997-10-18 16:36:49 +00:00
christos
3130feba6d Fixed missed const char * in lstat (thanks enami) and changed caddr_t -> void *
in the mman family.
1997-10-18 16:35:25 +00:00
christos
3c07a14a75 Separate assigments of tv_sec and tv_nsec since tv_sec is a time_t (int on
the alpha) and tv_nsec is a long.
1997-10-18 16:34:17 +00:00
christos
e196a361ce Regen. 1997-10-18 16:31:59 +00:00