openbsd
27 years agoInstall BSD sort(1) not GNU one. Can always change back if necesary.
millert [Tue, 21 Jan 1997 04:34:32 +0000 (04:34 +0000)]
Install BSD sort(1) not GNU one.  Can always change back if necesary.

27 years agoAdd virtusertable and some extra domains into Cw. Remove extra local_procmail
niklas [Tue, 21 Jan 1997 00:54:13 +0000 (00:54 +0000)]
Add virtusertable and some extra domains into Cw. Remove extra local_procmail

27 years agoBuild my config files too
niklas [Tue, 21 Jan 1997 00:53:19 +0000 (00:53 +0000)]
Build my config files too

27 years agoifdef the RB_TIMEBAD change,
rahnds [Mon, 20 Jan 1997 20:43:48 +0000 (20:43 +0000)]
ifdef the RB_TIMEBAD change,
resettodr doesn't currently do anything anyway, put this problem
off till later.

27 years agoLatest research awk from June 29, 1996
millert [Mon, 20 Jan 1997 19:43:15 +0000 (19:43 +0000)]
Latest research awk from June 29, 1996

27 years agosort(1) test suite
millert [Mon, 20 Jan 1997 19:41:39 +0000 (19:41 +0000)]
sort(1) test suite

27 years agosort(1) from 4.4BSD-lite2 with minor tweaks and bug fixes by me.
millert [Mon, 20 Jan 1997 19:39:46 +0000 (19:39 +0000)]
sort(1) from 4.4BSD-lite2 with minor tweaks and bug fixes by me.

27 years agogetopt returns -1 not EOF!
millert [Mon, 20 Jan 1997 17:19:31 +0000 (17:19 +0000)]
getopt returns -1 not EOF!

27 years agoType pedantery.. a lot of it too, more could be done as well. Sync with
niklas [Mon, 20 Jan 1997 15:49:51 +0000 (15:49 +0000)]
Type pedantery.. a lot of it too, more could be done as well.  Sync with
NetBSD 970118 too.

27 years agoAccept partitions looking like, but not matching exactly,
niklas [Mon, 20 Jan 1997 15:43:28 +0000 (15:43 +0000)]
Accept partitions looking like, but not matching exactly,
 an ADOS FS partition, as ADOSFS.  some %lx -> %x.  Print diagnostic for more
unknown partition types.

27 years agobetter use (NETHER == 0) instead of NETHER == 0
graichen [Mon, 20 Jan 1997 09:42:18 +0000 (09:42 +0000)]
better use (NETHER == 0) instead of NETHER == 0

27 years agoadd union lkm, since it's supported by kernel.
mickey [Mon, 20 Jan 1997 09:15:31 +0000 (09:15 +0000)]
add union lkm, since it's supported by kernel.
from Paul Goyette <paul@pgoyette.bdt.com>

27 years agoreplace #ifndef NFSCLIENT with #if !defined(NFSCLIENT) || NETHER == 0
graichen [Mon, 20 Jan 1997 09:13:22 +0000 (09:13 +0000)]
replace #ifndef NFSCLIENT with #if !defined(NFSCLIENT) || NETHER == 0
because revarpwhoami is defined in if_ether.c and netbooting without
an ethernet card is very unusual :-)

p.s.: seems like nobody uses OpenBSD in machines without a network
card - because due to this it was'nt possible to build a kernel for
such a configuration ...

27 years agoback out my last change to avoid the __warn_references on the mips - it's
graichen [Mon, 20 Jan 1997 07:46:47 +0000 (07:46 +0000)]
back out my last change to avoid the __warn_references on the mips - it's
now done for the pmax like for the arc in machine/cdefs.h

27 years agoAdd a few things and make permissions consistent (all 0XXX not XXX)
millert [Mon, 20 Jan 1997 04:18:18 +0000 (04:18 +0000)]
Add a few things and make permissions consistent (all 0XXX not XXX)

27 years agodocuments algorithm used.
millert [Mon, 20 Jan 1997 01:05:08 +0000 (01:05 +0000)]
documents algorithm used.

27 years agosmall hack to get the PLUTO kernel compiled
graichen [Sun, 19 Jan 1997 22:49:53 +0000 (22:49 +0000)]
small hack to get the PLUTO kernel compiled

27 years agowork around linker problems on the mips (explicitely link with
graichen [Sun, 19 Jan 1997 22:46:48 +0000 (22:46 +0000)]
work around linker problems on the mips (explicitely link with
-ltermlib)

27 years agodefine NO_WARN_REFERENCES for mips - because the mips linker can't handle
graichen [Sun, 19 Jan 1997 22:41:37 +0000 (22:41 +0000)]
define NO_WARN_REFERENCES for mips - because the mips linker can't handle
them

27 years agoput all the __warn_references behind a #ifndef NO_WARN_REFERENCES which
graichen [Sun, 19 Jan 1997 22:32:14 +0000 (22:32 +0000)]
put all the __warn_references behind a #ifndef NO_WARN_REFERENCES which
is then set in the libc Makefile for the mips (the mips linker can't
handle them)

27 years agobring MAKEDEV and disktab up to date with NetBSD (plus local changes)
graichen [Sun, 19 Jan 1997 22:30:17 +0000 (22:30 +0000)]
bring MAKEDEV and disktab up to date with NetBSD (plus local changes)

27 years agoadd Makefile.inc for tar'ing also the binutils tree (/usr/*-openbsd-*)
graichen [Sun, 19 Jan 1997 22:29:15 +0000 (22:29 +0000)]
add Makefile.inc for tar'ing also the binutils tree (/usr/*-openbsd-*)
then making a snapshot - also add a target for creating and copying
the GENERIC kernel

27 years agoadd a variable SNAP_GZIP_CMD to the snap_tar target - here my comment
graichen [Sun, 19 Jan 1997 22:26:19 +0000 (22:26 +0000)]
add a variable SNAP_GZIP_CMD to the snap_tar target - here my comment
in the Makefile:

# check if SNAP_GZIP_CMD is set - else set it to "gzip -9"
# you may set it to "cat" alternatively for architectures
# where the gzip'ing would take too much time (pmax or slower :-)
# this way you get only tar'ed snap files and you can gzip
# them on a faster machine

27 years agoMake function decl match prototype in stdlib.h
millert [Sun, 19 Jan 1997 19:47:01 +0000 (19:47 +0000)]
Make function decl match prototype in stdlib.h

27 years agoMinor cleanups to make gcc -Wall happier.
millert [Sun, 19 Jan 1997 17:25:11 +0000 (17:25 +0000)]
Minor cleanups to make gcc -Wall happier.

27 years agozlib 1.0.4
millert [Sun, 19 Jan 1997 17:11:21 +0000 (17:11 +0000)]
zlib 1.0.4

27 years agoAdd OpenBSD tag
niklas [Sun, 19 Jan 1997 15:19:19 +0000 (15:19 +0000)]
Add OpenBSD tag

27 years agoFrom Ignatios Souvatzis (NetBSD):
niklas [Sun, 19 Jan 1997 13:58:18 +0000 (13:58 +0000)]
From Ignatios Souvatzis (NetBSD):
Fix PR 3090. While here, fix two other comments.

27 years agoFrom Gordon W Ross (NetBSD):
niklas [Sun, 19 Jan 1997 13:53:09 +0000 (13:53 +0000)]
From Gordon W Ross (NetBSD):
Use db_regs_t instead of struct mc68020_saved_state

27 years agoupdate to the 1.6 aperture driver from 3.2 XFree86.
mickey [Sun, 19 Jan 1997 12:29:23 +0000 (12:29 +0000)]
update to the 1.6 aperture driver from 3.2 XFree86.
add manual (composed from mem(4) and README)

27 years agoOoops. This should have been committed along with pccons.c
pefo [Sun, 19 Jan 1997 09:58:45 +0000 (09:58 +0000)]
Ooops. This should have been committed along with pccons.c

27 years agoasm -> __asm, inline -> __inline
briggs [Sun, 19 Jan 1997 03:58:05 +0000 (03:58 +0000)]
asm -> __asm, inline -> __inline

27 years agoasm -> __asm
briggs [Sun, 19 Jan 1997 03:56:46 +0000 (03:56 +0000)]
asm -> __asm

27 years agoinline -> __inline
briggs [Sun, 19 Jan 1997 03:23:24 +0000 (03:23 +0000)]
inline -> __inline

27 years agoinline -> __inline
briggs [Sun, 19 Jan 1997 03:14:12 +0000 (03:14 +0000)]
inline -> __inline

27 years agoDo the F_GETLK_SVR3 support not depending on ibcs2, as sparc does not look
niklas [Sun, 19 Jan 1997 00:43:40 +0000 (00:43 +0000)]
Do the F_GETLK_SVR3 support not depending on ibcs2, as sparc does not look
there

27 years agoUse scsiprint (and remove scsiprint from esp.c).
briggs [Sat, 18 Jan 1997 17:58:37 +0000 (17:58 +0000)]
Use scsiprint (and remove scsiprint from esp.c).

27 years agoilliminate memset gcc generated call, just like prev commit to
mickey [Sat, 18 Jan 1997 17:53:54 +0000 (17:53 +0000)]
illiminate memset gcc generated call, just like prev commit to
the XNS code.

27 years agoDo not partially initialize a structure at declaration in a function.
briggs [Sat, 18 Jan 1997 17:31:02 +0000 (17:31 +0000)]
Do not partially initialize a structure at declaration in a function.
This causes gcc to generate a memset() on the m68k.  Instead, bzero
and initialize the structure later in the function.

27 years agoscsi->moreluns is a bitfield based on target--should be u_int16_t, now.
briggs [Sat, 18 Jan 1997 16:18:32 +0000 (16:18 +0000)]
scsi->moreluns is a bitfield based on target--should be u_int16_t, now.

27 years agoOpenBSD uses HOSTCC not HOSTED_CC, per tradition
niklas [Sat, 18 Jan 1997 15:30:10 +0000 (15:30 +0000)]
OpenBSD uses HOSTCC not HOSTED_CC, per tradition

27 years agoDo not doubletrap when curproc->p_addr is zero, as it is during autoconfig.
niklas [Sat, 18 Jan 1997 15:17:38 +0000 (15:17 +0000)]
Do not doubletrap when curproc->p_addr is zero, as it is during autoconfig.

27 years agounlink /tmp file on failure too.
mickey [Sat, 18 Jan 1997 15:12:44 +0000 (15:12 +0000)]
unlink /tmp file on failure too.

27 years agoprotect from multiple includes (required by gpl_math_emulate)
mickey [Sat, 18 Jan 1997 13:39:28 +0000 (13:39 +0000)]
protect from multiple includes (required by gpl_math_emulate)

27 years agomove the RB_TIMEBAD handling to where "howto" is reachable
niklas [Sat, 18 Jan 1997 12:48:01 +0000 (12:48 +0000)]
move the RB_TIMEBAD handling to where "howto" is reachable

27 years agoAvoid a double trap
niklas [Sat, 18 Jan 1997 12:42:02 +0000 (12:42 +0000)]
Avoid a double trap

27 years agoUse scsiprint
niklas [Sat, 18 Jan 1997 12:26:21 +0000 (12:26 +0000)]
Use scsiprint

27 years agoBoundary error (s/<=/</)
niklas [Sat, 18 Jan 1997 12:24:25 +0000 (12:24 +0000)]
Boundary error (s/<=/</)

27 years agosyslog.h -> sys/syslog.h
downsj [Sat, 18 Jan 1997 08:29:19 +0000 (08:29 +0000)]
syslog.h -> sys/syslog.h

THIS IS THE KERNEL, DAMNIT.

27 years agomove random, add ipl.
downsj [Sat, 18 Jan 1997 08:17:46 +0000 (08:17 +0000)]
move random, add ipl.

27 years agoAdd stuff from /sys/conf/GENERIC, including IPFILTER.
downsj [Sat, 18 Jan 1997 08:16:56 +0000 (08:16 +0000)]
Add stuff from /sys/conf/GENERIC, including IPFILTER.

27 years agoadd ipfilter
downsj [Sat, 18 Jan 1997 08:13:56 +0000 (08:13 +0000)]
add ipfilter

27 years agorandom -> 32, ipl -> 33
downsj [Sat, 18 Jan 1997 08:05:19 +0000 (08:05 +0000)]
random -> 32, ipl -> 33

27 years agodk_mountroot(), hp300 style.
downsj [Sat, 18 Jan 1997 06:43:05 +0000 (06:43 +0000)]
dk_mountroot(), hp300 style.

27 years agoGross hack for hp300, and a fix for NO_LSEEK as pointed out by briggs.
downsj [Sat, 18 Jan 1997 03:28:50 +0000 (03:28 +0000)]
Gross hack for hp300, and a fix for NO_LSEEK as pointed out by briggs.

27 years agoEnsure libsa and libkern get compiled with -Dhp300
downsj [Sat, 18 Jan 1997 03:18:18 +0000 (03:18 +0000)]
Ensure libsa and libkern get compiled with -Dhp300

27 years agomissed this one
downsj [Sat, 18 Jan 1997 02:25:48 +0000 (02:25 +0000)]
missed this one

27 years agoSync. with current NetBSD--keeping local changes.
briggs [Sat, 18 Jan 1997 02:24:11 +0000 (02:24 +0000)]
Sync. with current NetBSD--keeping local changes.

27 years agommap for TYNE. mods in ps/2 mouse driver to be more generic...
pefo [Fri, 17 Jan 1997 23:13:57 +0000 (23:13 +0000)]
mmap for TYNE. mods in ps/2 mouse driver to be more generic...

27 years agofrexp version from m68k, both are IEEE so should be fine.
rahnds [Fri, 17 Jan 1997 21:39:20 +0000 (21:39 +0000)]
frexp version from m68k, both are IEEE so should be fine.

Ok what other routines are missing at this point I wonder,
Do we have a standards compilance test? If so, it really needs to
be run on this port.

27 years agoadd tag
kstailey [Fri, 17 Jan 1997 17:15:15 +0000 (17:15 +0000)]
add tag

27 years agoAdd OpenBSD tag
millert [Fri, 17 Jan 1997 16:12:36 +0000 (16:12 +0000)]
Add OpenBSD tag

27 years agoAdd OpenBSD tags (was in wrong dir for previous commit)
millert [Fri, 17 Jan 1997 16:12:33 +0000 (16:12 +0000)]
Add OpenBSD tags (was in wrong dir for previous commit)

27 years agoAdd OpenBSD tags
millert [Fri, 17 Jan 1997 16:11:35 +0000 (16:11 +0000)]
Add OpenBSD tags

27 years agoPossible buf oflow.
millert [Fri, 17 Jan 1997 16:10:52 +0000 (16:10 +0000)]
Possible buf oflow.

27 years agoOpenBSD tags
millert [Fri, 17 Jan 1997 16:07:27 +0000 (16:07 +0000)]
OpenBSD tags

27 years agoOpenBSD tags
millert [Fri, 17 Jan 1997 15:54:14 +0000 (15:54 +0000)]
OpenBSD tags

27 years agopossible oflow
millert [Fri, 17 Jan 1997 15:51:59 +0000 (15:51 +0000)]
possible oflow

27 years agorindex -> strrchr
millert [Fri, 17 Jan 1997 15:47:51 +0000 (15:47 +0000)]
rindex -> strrchr

27 years agoFix potential buf oflow wrt strerror and sprintf.
millert [Fri, 17 Jan 1997 15:46:55 +0000 (15:46 +0000)]
Fix potential buf oflow wrt strerror and sprintf.

27 years agonote about Vanya Grozniy
mickey [Fri, 17 Jan 1997 14:51:36 +0000 (14:51 +0000)]
note about Vanya Grozniy

27 years agoDo IPFILTER the OpenBSD way... -moj
maja [Fri, 17 Jan 1997 08:44:25 +0000 (08:44 +0000)]
Do IPFILTER the OpenBSD way... -moj

27 years agomore subdirs
downsj [Fri, 17 Jan 1997 08:40:58 +0000 (08:40 +0000)]
more subdirs

27 years agomore new files
downsj [Fri, 17 Jan 1997 08:36:51 +0000 (08:36 +0000)]
more new files

27 years agohp300 bootblocks, sync'd with NetBSD 011697, with changes and a new build
downsj [Fri, 17 Jan 1997 08:32:37 +0000 (08:32 +0000)]
hp300 bootblocks, sync'd with NetBSD 011697, with changes and a new build
method.

27 years agomore r?index -> strr?chr changes
millert [Fri, 17 Jan 1997 07:51:41 +0000 (07:51 +0000)]
more r?index -> strr?chr changes

27 years agono need to link with -lcompat
millert [Fri, 17 Jan 1997 07:51:06 +0000 (07:51 +0000)]
no need to link with -lcompat

27 years agonuke rindex decl
millert [Fri, 17 Jan 1997 07:49:22 +0000 (07:49 +0000)]
nuke rindex decl

27 years agosys/stat.h gets included here, and STAYS included here, thank you
downsj [Fri, 17 Jan 1997 07:28:15 +0000 (07:28 +0000)]
sys/stat.h gets included here, and STAYS included here, thank you
very much.

27 years agomore r?index -> strr?chr
millert [Fri, 17 Jan 1997 07:18:02 +0000 (07:18 +0000)]
more r?index -> strr?chr

27 years agor?index -> strr?chr
millert [Fri, 17 Jan 1997 07:10:42 +0000 (07:10 +0000)]
r?index -> strr?chr

27 years agolite2 daily + our changes. We can remove old tmp files now that fts(3)
millert [Fri, 17 Jan 1997 06:18:19 +0000 (06:18 +0000)]
lite2 daily + our changes.  We can remove old tmp files now that fts(3)
is safe and we have -execdir.

27 years agoFinal fix to make fts(3) spoof-proof.
millert [Fri, 17 Jan 1997 06:12:53 +0000 (06:12 +0000)]
Final fix to make fts(3) spoof-proof.

27 years agodon't update battery backed up clock if system time is wrong from begin
kstailey [Fri, 17 Jan 1997 05:53:37 +0000 (05:53 +0000)]
don't update battery backed up clock if system time is wrong from begin
in ddb.

27 years agoadded "see also" refs to cdio & chio
kstailey [Fri, 17 Jan 1997 05:45:35 +0000 (05:45 +0000)]
added "see also" refs to cdio & chio

27 years agoncr_print() -> scsiprint()
kstailey [Fri, 17 Jan 1997 05:32:08 +0000 (05:32 +0000)]
ncr_print() -> scsiprint()

27 years agoFixes:
downsj [Fri, 17 Jan 1997 04:49:01 +0000 (04:49 +0000)]
Fixes:

pull in ../../Makefile.inc
install mailq and newaliases in /usr/bin

27 years agoprevent scsiconf.c:110: warning: unused variable `l'
kstailey [Thu, 16 Jan 1997 20:47:32 +0000 (20:47 +0000)]
prevent scsiconf.c:110: warning: unused variable `l'
also, #ifdef 0 -> #ifndef __OpenBSD__

27 years agodo not call resettodr() if RB_TIMEBAD is set due to being in ddb with clock updates...
kstailey [Thu, 16 Jan 1997 20:43:29 +0000 (20:43 +0000)]
do not call resettodr() if RB_TIMEBAD is set due to being in ddb with clock updates suspended

27 years agodo not call resettodr() if RB_TIMEBAD is set due to being in ddb with clock updates...
kstailey [Thu, 16 Jan 1997 19:57:17 +0000 (19:57 +0000)]
do not call resettodr() if RB_TIMEBAD is set due to being in ddb with clock updates suspended

27 years agoahaprint() & btprint() -> scsiprint()
kstailey [Thu, 16 Jan 1997 19:47:47 +0000 (19:47 +0000)]
ahaprint() & btprint() -> scsiprint()

27 years agosiprint() -> scsiprint()
kstailey [Thu, 16 Jan 1997 19:42:49 +0000 (19:42 +0000)]
siprint() -> scsiprint()

27 years agoDon't define MAXBSIZE here. -moj
maja [Thu, 16 Jan 1997 14:26:25 +0000 (14:26 +0000)]
Don't define MAXBSIZE here. -moj

27 years agoAdded scsiprint from NetBSD, needed by new driver for VAX. -moj
maja [Thu, 16 Jan 1997 14:23:32 +0000 (14:23 +0000)]
Added scsiprint from NetBSD, needed by new driver for VAX. -moj

27 years agoSync to NetBSD 970110
niklas [Thu, 16 Jan 1997 09:23:08 +0000 (09:23 +0000)]
Sync to NetBSD 970110

27 years agoUse RB_TIMEBAD in boot() to know not to update the battery backed up clock
kstailey [Thu, 16 Jan 1997 08:08:39 +0000 (08:08 +0000)]
Use RB_TIMEBAD in boot() to know not to update the battery backed up clock
via resettodr().  Make Sun3-only command "machine reboot" only print
a warning that the command is obsolete and that you should use the "boot"
command instead.

27 years agouse RB_TIMEBAD to indicate that the time is wrong and should not be copied
kstailey [Thu, 16 Jan 1997 08:03:56 +0000 (08:03 +0000)]
use RB_TIMEBAD to indicate that the time is wrong and should not be copied
to the battery backed up clock via resettodr() in boot().

27 years agodisambiguate somewhat
kstailey [Thu, 16 Jan 1997 07:27:22 +0000 (07:27 +0000)]
disambiguate somewhat

27 years agoCorrect logic such that newfs w/o -t on a device w/o a label
millert [Thu, 16 Jan 1997 05:48:02 +0000 (05:48 +0000)]
Correct logic such that newfs w/o -t on a device w/o a label
defaults to ffs like people expect.

27 years agogetopt(3) fix that I missed in the previous sweep.
millert [Thu, 16 Jan 1997 05:27:46 +0000 (05:27 +0000)]
getopt(3) fix that I missed in the previous sweep.