openbsd
27 years agoPull in stdlib.h for arc4random prototype.
millert [Mon, 10 Feb 1997 00:52:28 +0000 (00:52 +0000)]
Pull in stdlib.h for arc4random prototype.

27 years agoMake printf's match actual type (%lu -> %u).
millert [Mon, 10 Feb 1997 00:51:39 +0000 (00:51 +0000)]
Make printf's match actual type (%lu -> %u).

27 years agoUpdates file(1) to version 3.22 by way to NetBSD.
millert [Sun, 9 Feb 1997 23:58:12 +0000 (23:58 +0000)]
Updates file(1) to version 3.22 by way to NetBSD.

27 years agoMissed this one before.
millert [Sun, 9 Feb 1997 22:59:41 +0000 (22:59 +0000)]
Missed this one before.

27 years agoMake this 64-bit safe again
tholo [Sun, 9 Feb 1997 22:55:38 +0000 (22:55 +0000)]
Make this 64-bit safe again

27 years agoUpdated from NetBSD.
millert [Sun, 9 Feb 1997 22:49:03 +0000 (22:49 +0000)]
Updated from NetBSD.

27 years agoAdd macintosh magic.
millert [Sun, 9 Feb 1997 21:29:51 +0000 (21:29 +0000)]
Add macintosh magic.

27 years agobuf oflow, eivind@freebsd
deraadt [Sun, 9 Feb 1997 19:24:55 +0000 (19:24 +0000)]
buf oflow, eivind@freebsd

27 years agounexploitable buf oflow, eivind@freebsd
deraadt [Sun, 9 Feb 1997 18:55:16 +0000 (18:55 +0000)]
unexploitable buf oflow, eivind@freebsd

27 years agodo not make changes here that hide a problem which needs fixing
deraadt [Sun, 9 Feb 1997 18:51:50 +0000 (18:51 +0000)]
do not make changes here that hide a problem which needs fixing

27 years agodelete things until it fits.... sigh
deraadt [Sun, 9 Feb 1997 16:50:51 +0000 (16:50 +0000)]
delete things until it fits.... sigh

27 years agokerberos differentiation
deraadt [Sun, 9 Feb 1997 16:50:37 +0000 (16:50 +0000)]
kerberos differentiation

27 years agopc3? no, let us make this sun
deraadt [Sun, 9 Feb 1997 16:50:22 +0000 (16:50 +0000)]
pc3? no, let us make this sun

27 years agosupport kerberos differentiation
deraadt [Sun, 9 Feb 1997 16:49:57 +0000 (16:49 +0000)]
support kerberos differentiation

27 years agodo not need -lz
deraadt [Sun, 9 Feb 1997 16:48:12 +0000 (16:48 +0000)]
do not need -lz

27 years agolibcrypt went away a while back
deraadt [Sun, 9 Feb 1997 16:41:50 +0000 (16:41 +0000)]
libcrypt went away a while back

27 years agouse library err/warn
mickey [Sun, 9 Feb 1997 16:37:13 +0000 (16:37 +0000)]
use library err/warn

27 years agoadd ${LIBZ}
mickey [Sun, 9 Feb 1997 16:11:15 +0000 (16:11 +0000)]
add ${LIBZ}

27 years agoshadowed variable caused si_addr to be incorrect
deraadt [Sun, 9 Feb 1997 14:18:42 +0000 (14:18 +0000)]
shadowed variable caused si_addr to be incorrect

27 years agoCC=${HOSTCC} for these; tv@slack.iag.net, PR#86
deraadt [Sun, 9 Feb 1997 13:52:40 +0000 (13:52 +0000)]
CC=${HOSTCC} for these; tv@slack.iag.net, PR#86

27 years agoCC=${HOSTCC} for these; tv@slack.iag.net, PR#89
deraadt [Sun, 9 Feb 1997 13:51:24 +0000 (13:51 +0000)]
CC=${HOSTCC} for these; tv@slack.iag.net, PR#89

27 years agoAdd another routine in ypdb (ypdb_open_suf) that doesn't add the suffix to
maja [Sun, 9 Feb 1997 09:49:36 +0000 (09:49 +0000)]
Add another routine in ypdb (ypdb_open_suf) that doesn't add the suffix to
the database name. The suffix is added in the call to mkstemp. Now ypdb and
mkstemp can coexist and do what we excpect. All code from 1.12 has been
reintegrated now.

27 years agoneed ecoff kernel in snap too
deraadt [Sun, 9 Feb 1997 08:50:15 +0000 (08:50 +0000)]
need ecoff kernel in snap too

27 years agoFix casts to off_t, problem noted and fixed by Theo.
millert [Sun, 9 Feb 1997 06:41:08 +0000 (06:41 +0000)]
Fix casts to off_t, problem noted and fixed by Theo.

27 years agoUse the instruction pointer from the trapframe many places CR2 does not
tholo [Sun, 9 Feb 1997 03:53:58 +0000 (03:53 +0000)]
Use the instruction pointer from the trapframe many places CR2 does not
hold valid data.

27 years agodo not print extra \n
deraadt [Sun, 9 Feb 1997 03:35:23 +0000 (03:35 +0000)]
do not print extra \n

27 years agoGet block size from disklabel.
millert [Sun, 9 Feb 1997 01:10:16 +0000 (01:10 +0000)]
Get block size from disklabel.
Adds support for setting fs_id for when when we have that in struct fs.

27 years agosave 6% diskspace by moving to tabs
deraadt [Sun, 9 Feb 1997 00:03:32 +0000 (00:03 +0000)]
save 6% diskspace by moving to tabs

27 years agoexcess
deraadt [Sat, 8 Feb 1997 23:48:57 +0000 (23:48 +0000)]
excess

27 years agoProvide more information on FP exceptions
tholo [Sat, 8 Feb 1997 23:36:58 +0000 (23:36 +0000)]
Provide more information on FP exceptions

27 years agoGive correct signal information on integer overflow
tholo [Sat, 8 Feb 1997 23:23:57 +0000 (23:23 +0000)]
Give correct signal information on integer overflow

27 years agoBIOS does not report >64M memory
tholo [Sat, 8 Feb 1997 22:47:45 +0000 (22:47 +0000)]
BIOS does not report >64M memory

27 years agoAdd definitions for the exception bits in the status word
tholo [Sat, 8 Feb 1997 20:21:33 +0000 (20:21 +0000)]
Add definitions for the exception bits in the status word

27 years agoUse much of the backed out code from 1.12. But remove use of mkstemp. -moj
maja [Sat, 8 Feb 1997 19:58:51 +0000 (19:58 +0000)]
Use much of the backed out code from 1.12. But remove use of mkstemp. -moj

27 years agomore names.
mickey [Sat, 8 Feb 1997 15:01:56 +0000 (15:01 +0000)]
more names.

27 years agoadd _kernel_text
deraadt [Sat, 8 Feb 1997 10:50:36 +0000 (10:50 +0000)]
add _kernel_text

27 years agoinline to avoid warning
deraadt [Sat, 8 Feb 1997 10:23:39 +0000 (10:23 +0000)]
inline to avoid warning

27 years agoneed arc4random proto
deraadt [Sat, 8 Feb 1997 09:58:27 +0000 (09:58 +0000)]
need arc4random proto

27 years agocvs.openbsd.org now has 17GB of disk...
deraadt [Sat, 8 Feb 1997 09:23:57 +0000 (09:23 +0000)]
cvs.openbsd.org now has 17GB of disk...

27 years agoThese changes are not complete, This does not deal with cores correctly yet.
rahnds [Fri, 7 Feb 1997 20:47:24 +0000 (20:47 +0000)]
These changes are not complete, This does not deal with cores correctly yet.
This checkin is an attempt to make the powerpc port have a clean build.

27 years agofixed order of tests in printnat() so that it catches tcp/udp first
kstailey [Fri, 7 Feb 1997 20:06:44 +0000 (20:06 +0000)]
fixed order of tests in printnat() so that it catches tcp/udp first

27 years agoone more tcpudp->tcp/udp
kstailey [Fri, 7 Feb 1997 19:33:49 +0000 (19:33 +0000)]
one more tcpudp->tcp/udp

27 years agomake output look like input (and like docs)
kstailey [Fri, 7 Feb 1997 18:26:47 +0000 (18:26 +0000)]
make output look like input (and like docs)

27 years agofix tags
kstailey [Fri, 7 Feb 1997 18:10:07 +0000 (18:10 +0000)]
fix tags

27 years agomake protocol string be tcp/udp not tcpudp since this is how it is documented.
kstailey [Fri, 7 Feb 1997 17:02:50 +0000 (17:02 +0000)]
make protocol string be tcp/udp not tcpudp since this is how it is documented.

27 years agoKnow how to build gdb for powerpc, it doesn't work yet, but this causes
rahnds [Fri, 7 Feb 1997 16:58:09 +0000 (16:58 +0000)]
Know how to build gdb for powerpc, it doesn't work yet, but this causes
binutils to fail to configure the first time round.

27 years agoI wrote these public domain versions. They are faster due to two optimizations
deraadt [Fri, 7 Feb 1997 14:31:49 +0000 (14:31 +0000)]
I wrote these public domain versions. They are faster due to two optimizations

27 years agono, this does not work yet either
deraadt [Fri, 7 Feb 1997 13:44:28 +0000 (13:44 +0000)]
no, this does not work yet either

27 years agos/DEBUG/DEBUG_ZLIB/g
mickey [Fri, 7 Feb 1997 13:26:31 +0000 (13:26 +0000)]
s/DEBUG/DEBUG_ZLIB/g

27 years agoquote [AC]FLAGS and others...
mickey [Fri, 7 Feb 1997 13:14:59 +0000 (13:14 +0000)]
quote [AC]FLAGS and others...

27 years agopre-pad with random alphabetic letters instead of digit 0
deraadt [Fri, 7 Feb 1997 13:01:24 +0000 (13:01 +0000)]
pre-pad with random alphabetic letters instead of digit 0

27 years agoi hate tabs and spaces
mickey [Fri, 7 Feb 1997 11:26:27 +0000 (11:26 +0000)]
i hate tabs and spaces

27 years agoadd missed variables
mickey [Fri, 7 Feb 1997 11:16:49 +0000 (11:16 +0000)]
add missed variables

27 years agotypo, msaitoh@spa.is.uec.ac.jp
deraadt [Fri, 7 Feb 1997 10:17:38 +0000 (10:17 +0000)]
typo, msaitoh@spa.is.uec.ac.jp

27 years agoback out mktemp fix; for some reason i cannot understand it causes big problems
deraadt [Fri, 7 Feb 1997 09:24:03 +0000 (09:24 +0000)]
back out mktemp fix; for some reason i cannot understand it causes big problems

27 years agodefine kernel_text, just like other ports.
mickey [Fri, 7 Feb 1997 08:32:18 +0000 (08:32 +0000)]
define kernel_text, just like other ports.

27 years agoi hate militarists, pacifists either.
mickey [Fri, 7 Feb 1997 08:32:15 +0000 (08:32 +0000)]
i hate militarists, pacifists either.

27 years agoSet up intrframe correctly for FPU exceptions again
tholo [Fri, 7 Feb 1997 08:05:01 +0000 (08:05 +0000)]
Set up intrframe correctly for FPU exceptions again

27 years agoUntested changes SUCK
deraadt [Fri, 7 Feb 1997 08:04:10 +0000 (08:04 +0000)]
Untested changes SUCK

27 years agomachdep_start, not muchdep_exec
mickey [Fri, 7 Feb 1997 07:08:12 +0000 (07:08 +0000)]
machdep_start, not muchdep_exec

27 years agowrong private name
mickey [Fri, 7 Feb 1997 07:03:38 +0000 (07:03 +0000)]
wrong private name

27 years agodestroy everything with source routes
deraadt [Fri, 7 Feb 1997 06:27:19 +0000 (06:27 +0000)]
destroy everything with source routes

27 years agonecessary support for kernfs.
mickey [Fri, 7 Feb 1997 06:18:44 +0000 (06:18 +0000)]
necessary support for kernfs.

27 years agoChanged hdintr() to hdinterupt() so it won't interfere
dima [Fri, 7 Feb 1997 03:22:16 +0000 (03:22 +0000)]
Changed hdintr() to hdinterupt() so it won't interfere
with HDLC stuff we have.

27 years agoadd -Wno-uninitialized
kstailey [Fri, 7 Feb 1997 03:20:34 +0000 (03:20 +0000)]
add -Wno-uninitialized

27 years agoadd IPFILTER
kstailey [Fri, 7 Feb 1997 02:18:45 +0000 (02:18 +0000)]
add IPFILTER

27 years agomore SEE ALSO cross-refs
kstailey [Fri, 7 Feb 1997 02:01:29 +0000 (02:01 +0000)]
more SEE ALSO cross-refs

27 years agoOk this is to work around a compiler bug in the powerpc port, but
rahnds [Thu, 6 Feb 1997 23:49:10 +0000 (23:49 +0000)]
Ok this is to work around a compiler bug in the powerpc port, but
without this a clean build does not work.

27 years agoAdd zlib support for booting gzipped kernels.
rahnds [Thu, 6 Feb 1997 23:44:54 +0000 (23:44 +0000)]
Add zlib support for booting gzipped kernels.
Clean up to allow this to happen.

27 years ago* remove reference to non-existant fat.c.
downsj [Thu, 6 Feb 1997 22:57:03 +0000 (22:57 +0000)]
* remove reference to non-existant fat.c.
* make cread.c work with libz again.

27 years agoksh!
deraadt [Thu, 6 Feb 1997 22:43:17 +0000 (22:43 +0000)]
ksh!

27 years agoWe use pdksh now
niklas [Thu, 6 Feb 1997 22:18:09 +0000 (22:18 +0000)]
We use pdksh now

27 years agoadjustments to SA_SIGINFO
kstailey [Thu, 6 Feb 1997 20:03:59 +0000 (20:03 +0000)]
adjustments to SA_SIGINFO

27 years agosupport for BUFCACHEPERCENT
kstailey [Thu, 6 Feb 1997 20:00:43 +0000 (20:00 +0000)]
support for BUFCACHEPERCENT

27 years ago-Wall printf format correction
mickey [Thu, 6 Feb 1997 19:35:52 +0000 (19:35 +0000)]
-Wall printf format correction

27 years agocd into gcc/f before building g77.info to avoid picking up on the wrong
kstailey [Thu, 6 Feb 1997 17:56:09 +0000 (17:56 +0000)]
cd into gcc/f before building g77.info to avoid picking up on the wrong
version of install.texi (both gcc/install.texi and gcc/f/install.texi exist
and are different.)

27 years agoneed a frame.h; empty for now; PR#74, gwen@rtmx.com
deraadt [Thu, 6 Feb 1997 16:18:45 +0000 (16:18 +0000)]
need a frame.h; empty for now; PR#74, gwen@rtmx.com

27 years agoImport of WGRISC port. (Willowglen R3081 board)
pefo [Thu, 6 Feb 1997 16:02:41 +0000 (16:02 +0000)]
Import of WGRISC port. (Willowglen R3081 board)

27 years agoprint 0x for %p
mickey [Thu, 6 Feb 1997 15:51:13 +0000 (15:51 +0000)]
print 0x for %p

27 years agocorrected to look even more like date(1)
kstailey [Thu, 6 Feb 1997 15:00:27 +0000 (15:00 +0000)]
corrected to look even more like date(1)

27 years agobetter heuristic for %p:
mickey [Thu, 6 Feb 1997 14:26:08 +0000 (14:26 +0000)]
better heuristic for %p:
assume l for x only if sizeof(void *)==sizeof(u_long), else it's u_int (;

27 years agoremove net/zlib.c (use -lz now)
mickey [Thu, 6 Feb 1997 14:22:32 +0000 (14:22 +0000)]
remove net/zlib.c (use -lz now)
export NO_NET and SA_ZLIB to the Makefile (from Makefile.inc)
add -p printf flag (tiny code) just for gcc -Wall
import latest alloc.c from netbsd
text    data    bss     dec     hex
400     8       0       408     198

27 years agomake are of a whole number of missing system call names; interesting fix
deraadt [Thu, 6 Feb 1997 13:46:36 +0000 (13:46 +0000)]
make are of a whole number of missing system call names; interesting fix
from ghelmer@freebsd.org

27 years agoexpand hostname to MAXHOSTNAMELEN
deraadt [Thu, 6 Feb 1997 13:34:45 +0000 (13:34 +0000)]
expand hostname to MAXHOSTNAMELEN

27 years agomake "/bin/kill -CONT ''" abort correctly; arnej@imf.unit.no
deraadt [Thu, 6 Feb 1997 13:29:08 +0000 (13:29 +0000)]
make "/bin/kill -CONT ''" abort correctly; arnej@imf.unit.no

27 years agoterminate copyinstr, copyoutstr full name; Don.Lewis@tsc.tdk.com
deraadt [Thu, 6 Feb 1997 13:09:13 +0000 (13:09 +0000)]
terminate copyinstr, copyoutstr full name; Don.Lewis@tsc.tdk.com

27 years agodo not accidentally pass garbage module name to the kernel; found by Don.Lewis@tsc...
deraadt [Thu, 6 Feb 1997 13:02:43 +0000 (13:02 +0000)]
do not accidentally pass garbage module name to the kernel; found by Don.Lewis@tsc.tdk.com

27 years agobuf oflow
deraadt [Thu, 6 Feb 1997 12:49:56 +0000 (12:49 +0000)]
buf oflow

27 years agoFrom theo: use VM_PROT_* types and pass address nicely
niklas [Thu, 6 Feb 1997 12:37:56 +0000 (12:37 +0000)]
From theo: use VM_PROT_* types and pass address nicely

27 years agoFixed some missing declarations and such. Still sth to fix for Theo :-)
niklas [Thu, 6 Feb 1997 12:13:37 +0000 (12:13 +0000)]
Fixed some missing declarations and such.  Still sth to fix for Theo :-)

27 years agoAdd a LORDER make symbol and use it
niklas [Thu, 6 Feb 1997 10:49:16 +0000 (10:49 +0000)]
Add a LORDER make symbol and use it

27 years agocdev for rd
deraadt [Thu, 6 Feb 1997 10:02:54 +0000 (10:02 +0000)]
cdev for rd

27 years agomake rd device. only make a & c partitions raw & block
deraadt [Thu, 6 Feb 1997 10:02:13 +0000 (10:02 +0000)]
make rd device. only make a & c partitions raw & block

27 years agoCosmetic change: "device not configured" -> "Device not configured"
dima [Thu, 6 Feb 1997 09:50:56 +0000 (09:50 +0000)]
Cosmetic change: "device not configured" -> "Device not configured"
so it would match it's prorotype entry in errlist.
The same for "device already in use"

27 years agoadd /kern to miniroot image for kernfs support
rahnds [Thu, 6 Feb 1997 07:25:15 +0000 (07:25 +0000)]
add /kern to miniroot image for kernfs support

27 years agoClean up silly things, mount rd0a not rd0, and
rahnds [Thu, 6 Feb 1997 07:07:11 +0000 (07:07 +0000)]
Clean up silly things, mount rd0a not rd0, and
prog is not a valid program for crunch to find.

27 years agoneed -I for zlib.c
mickey [Thu, 6 Feb 1997 07:05:48 +0000 (07:05 +0000)]
need -I for zlib.c

27 years agoadd strncmp
mickey [Thu, 6 Feb 1997 06:46:57 +0000 (06:46 +0000)]
add strncmp
use net/zlib.c
do not compile some files w/ NO_NET

27 years agomissed test compile );
mickey [Thu, 6 Feb 1997 06:28:52 +0000 (06:28 +0000)]
missed test compile );

27 years agoNow with the miniroot using the rd driver, the inst and kc may become
rahnds [Thu, 6 Feb 1997 06:20:14 +0000 (06:20 +0000)]
Now with the miniroot using the rd driver, the inst and kc may become
obsolete, but currently the miniroot uses this directory.