openbsd
27 years agoSync with NetBSD 960123
niklas [Fri, 24 Jan 1997 19:34:15 +0000 (19:34 +0000)]
Sync with NetBSD 960123

27 years agoSIOCGIFCONF nicely
deraadt [Fri, 24 Jan 1997 19:17:25 +0000 (19:17 +0000)]
SIOCGIFCONF nicely

27 years agodo not build fake disklabel partitions for MBR partitions that have out-of-range...
deraadt [Fri, 24 Jan 1997 11:17:09 +0000 (11:17 +0000)]
do not build fake disklabel partitions for MBR partitions that have out-of-range start/size fields

27 years agoarc/pmax -> mips
deraadt [Fri, 24 Jan 1997 04:42:33 +0000 (04:42 +0000)]
arc/pmax -> mips

27 years agoXref acd/wd
deraadt [Fri, 24 Jan 1997 03:41:43 +0000 (03:41 +0000)]
Xref acd/wd

27 years agomore info
deraadt [Fri, 24 Jan 1997 03:39:04 +0000 (03:39 +0000)]
more info

27 years agonot netbsd
deraadt [Fri, 24 Jan 1997 02:14:38 +0000 (02:14 +0000)]
not netbsd

27 years agonetbsd? nope..
deraadt [Fri, 24 Jan 1997 02:13:10 +0000 (02:13 +0000)]
netbsd? nope..

27 years agomissing */
deraadt [Fri, 24 Jan 1997 02:12:15 +0000 (02:12 +0000)]
missing */

27 years agoSync w/ NETBSD_CURRENT_971122.
briggs [Fri, 24 Jan 1997 01:35:24 +0000 (01:35 +0000)]
Sync w/ NETBSD_CURRENT_971122.

27 years agoAdd kernel config for Allen's Q700.
briggs [Fri, 24 Jan 1997 01:25:25 +0000 (01:25 +0000)]
Add kernel config for Allen's Q700.

27 years agoblah
deraadt [Fri, 24 Jan 1997 00:15:06 +0000 (00:15 +0000)]
blah

27 years agoupdate
deraadt [Thu, 23 Jan 1997 23:48:23 +0000 (23:48 +0000)]
update

27 years agodocumentation errors; from max@freebsd
deraadt [Thu, 23 Jan 1997 20:01:41 +0000 (20:01 +0000)]
documentation errors; from max@freebsd

27 years agocorrect fs_passno comment; drochner@zelux6.zel.kfa-juelich.de
deraadt [Thu, 23 Jan 1997 18:59:31 +0000 (18:59 +0000)]
correct fs_passno comment; drochner@zelux6.zel.kfa-juelich.de

27 years agosh-based TEST suite and man page clarifications from FreeBSD
millert [Thu, 23 Jan 1997 17:42:52 +0000 (17:42 +0000)]
sh-based TEST suite and man page clarifications from FreeBSD

27 years agoSync with NetBSD 970118, missed...
niklas [Thu, 23 Jan 1997 16:22:56 +0000 (16:22 +0000)]
Sync with NetBSD 970118, missed...

27 years agoSync with NetBSD 970118
niklas [Thu, 23 Jan 1997 16:12:15 +0000 (16:12 +0000)]
Sync with NetBSD 970118

27 years agonice exit code; mikel
deraadt [Thu, 23 Jan 1997 10:37:40 +0000 (10:37 +0000)]
nice exit code; mikel

27 years agoadd NO_DEFLATE condition to be used in /boot
mickey [Thu, 23 Jan 1997 08:48:45 +0000 (08:48 +0000)]
add NO_DEFLATE condition to be used in /boot

27 years agocrank version number
deraadt [Thu, 23 Jan 1997 06:49:11 +0000 (06:49 +0000)]
crank version number

27 years agoallow boot from any [0-9] unit (wd+scsi fits now both)
mickey [Thu, 23 Jan 1997 06:42:50 +0000 (06:42 +0000)]
allow boot from any [0-9] unit (wd+scsi fits now both)

27 years agoperl mktemp race; fix mailed to larry
deraadt [Thu, 23 Jan 1997 04:31:36 +0000 (04:31 +0000)]
perl mktemp race; fix mailed to larry

27 years agochanged aicprint() to scsiprint()
flipk [Thu, 23 Jan 1997 04:13:52 +0000 (04:13 +0000)]
changed aicprint() to scsiprint()

27 years agoDon't mess with /usr/src if it already exists.
millert [Thu, 23 Jan 1997 03:41:24 +0000 (03:41 +0000)]
Don't mess with /usr/src if it already exists.

27 years agoUse ${INSTALL}. Also make all $(foo) be ${foo}.
niklas [Thu, 23 Jan 1997 02:24:22 +0000 (02:24 +0000)]
Use ${INSTALL}.  Also make all $(foo) be ${foo}.

27 years agoAccept ${NM} as an override for nm(1), useful for cross-dev.
niklas [Thu, 23 Jan 1997 02:19:58 +0000 (02:19 +0000)]
Accept ${NM} as an override for nm(1), useful for cross-dev.

27 years agoPedantic removal of extra spaces
niklas [Thu, 23 Jan 1997 02:18:05 +0000 (02:18 +0000)]
Pedantic removal of extra spaces

27 years agotypo, frueauf@ira.uka.de
deraadt [Wed, 22 Jan 1997 23:11:46 +0000 (23:11 +0000)]
typo, frueauf@ira.uka.de

27 years agoback out bounce buffer fixes until i get them working 100%
deraadt [Wed, 22 Jan 1997 22:47:47 +0000 (22:47 +0000)]
back out bounce buffer fixes until i get them working 100%

27 years agopmap enter fixes for I/O mapping.
pefo [Wed, 22 Jan 1997 22:41:15 +0000 (22:41 +0000)]
pmap enter fixes for I/O mapping.

27 years agoFixed some pmap problems when porting XFree86 (mmap of i/o etc).
pefo [Wed, 22 Jan 1997 22:23:19 +0000 (22:23 +0000)]
Fixed some pmap problems when porting XFree86 (mmap of i/o etc).

27 years agoonly go into wide scsi mode if the card supports it
deraadt [Wed, 22 Jan 1997 21:46:51 +0000 (21:46 +0000)]
only go into wide scsi mode if the card supports it

27 years agoxref manual pages via SEE ALSO
kstailey [Wed, 22 Jan 1997 21:36:29 +0000 (21:36 +0000)]
xref manual pages via SEE ALSO

27 years agoCurrent status.
rahnds [Wed, 22 Jan 1997 20:39:32 +0000 (20:39 +0000)]
Current status.

27 years agoexample fdisk and disklabel information in the Installation instructions.
rahnds [Wed, 22 Jan 1997 20:36:58 +0000 (20:36 +0000)]
example fdisk and disklabel information in the Installation instructions.

27 years agoadd docs about EHOSTUNREACH; from hwr@pilhuhn.de
deraadt [Wed, 22 Jan 1997 20:27:58 +0000 (20:27 +0000)]
add docs about EHOSTUNREACH; from hwr@pilhuhn.de

27 years agohandle SIOCGIFCONF for as many interfaces as provided
deraadt [Wed, 22 Jan 1997 18:50:40 +0000 (18:50 +0000)]
handle SIOCGIFCONF for as many interfaces as provided

27 years agoget the ethernet/fddi issue half right. This needs to be fixed better
deraadt [Wed, 22 Jan 1997 18:20:49 +0000 (18:20 +0000)]
get the ethernet/fddi issue half right. This needs to be fixed better

27 years agoCorrect networks(5) references
niklas [Wed, 22 Jan 1997 13:20:58 +0000 (13:20 +0000)]
Correct networks(5) references

27 years agoAdd rudimentary config files for architectures that still use the old gdb
niklas [Wed, 22 Jan 1997 11:56:26 +0000 (11:56 +0000)]
Add rudimentary config files for architectures that still use the old gdb

27 years agoRedo the GZIP somewhat. Use NOGZIP= to get no compression at all.
niklas [Wed, 22 Jan 1997 11:13:53 +0000 (11:13 +0000)]
Redo the GZIP somewhat.  Use NOGZIP= to get no compression at all.
if NOGZIP is not set, these three vars are overidable: GZIP, GZIPFLAGS &
GZIPEXT.  Also do some s/install/\${INSTALL}/ edits

27 years agounify mips and m68k ports; idea from graichen
deraadt [Wed, 22 Jan 1997 09:24:00 +0000 (09:24 +0000)]
unify mips and m68k ports; idea from graichen

27 years agoSIOCGIFCONF nicely
deraadt [Wed, 22 Jan 1997 09:21:48 +0000 (09:21 +0000)]
SIOCGIFCONF nicely

27 years agoSIOCGIFCONF more carefully
deraadt [Wed, 22 Jan 1997 08:52:32 +0000 (08:52 +0000)]
SIOCGIFCONF more carefully

27 years agoFix some err(3) usage and usage string.
millert [Wed, 22 Jan 1997 06:53:13 +0000 (06:53 +0000)]
Fix some err(3) usage and usage string.

27 years agoFix off-by-one differently--add an extra byte to buffer (ick).
millert [Wed, 22 Jan 1997 06:43:51 +0000 (06:43 +0000)]
Fix off-by-one differently--add an extra byte to buffer (ick).
Don't dump core on empty file.

27 years agoOff by one error. Fixes a core dump.
millert [Wed, 22 Jan 1997 05:49:19 +0000 (05:49 +0000)]
Off by one error.  Fixes a core dump.

27 years agoDon't fault a page in twice (first prefault, then vm_fault); the first was
tholo [Wed, 22 Jan 1997 04:15:17 +0000 (04:15 +0000)]
Don't fault a page in twice (first prefault, then vm_fault); the first was
not neccecary (and actually caused some problems).

27 years agostuff that got missed
downsj [Wed, 22 Jan 1997 03:48:52 +0000 (03:48 +0000)]
stuff that got missed

27 years agoSendmail 8.8.5.
downsj [Wed, 22 Jan 1997 01:06:44 +0000 (01:06 +0000)]
Sendmail 8.8.5.

27 years agocall err() correctly
deraadt [Wed, 22 Jan 1997 00:37:15 +0000 (00:37 +0000)]
call err() correctly

27 years agoback out 1.4; I should know better than to do this after a big meal
kstailey [Tue, 21 Jan 1997 23:57:37 +0000 (23:57 +0000)]
back out 1.4; I should know better than to do this after a big meal

27 years agooptimization: kill two calls to strlen() in format()
kstailey [Tue, 21 Jan 1997 23:47:55 +0000 (23:47 +0000)]
optimization: kill two calls to strlen() in format()

27 years agoBuild bsd and binutils for powerpc ala alpha and pmax.
rahnds [Tue, 21 Jan 1997 23:18:06 +0000 (23:18 +0000)]
Build bsd and binutils for powerpc ala alpha and pmax.

27 years agoIf mounting a CD filesystem as a root image, at least call inittodr.
rahnds [Tue, 21 Jan 1997 21:34:18 +0000 (21:34 +0000)]
If mounting a CD filesystem as a root image, at least call inittodr.
Most filesystems have a last modified date that is supplied,
however since that is not available on iso9660 could image creation
time be used instead? Currently it supplies 0, the beginning of time
as the parameter to inittodr.
This is so that when installing from a CD image, the file or directory
timestamps will be sane, not beginning of time.

27 years agothe locate code assumes that char max is 127 (char == signed char)
rahnds [Tue, 21 Jan 1997 21:22:56 +0000 (21:22 +0000)]
the locate code assumes that char max is 127 (char == signed char)
however on the powerpc port that is not the case (char == unsigned char)
Thus this change, if anyone has a better idea, feel free.

27 years agofrom the FIXES file:
kstailey [Tue, 21 Jan 1997 21:14:03 +0000 (21:14 +0000)]
from the FIXES file:

Oct 20, 1988:
        Fixed %c:  if expr is numeric, use numeric value;
        otherwise print 1st char of string value.  still
        doesn't work if the value is 0 -- won't print \0.

This bugged me because it prevents awk from being a general-purpose
decimal to bytestream converter (also GNU awk gets this right.)

Look in /usr/share/man/cat4/sun3/leds.0 and you see:

           # echo 0 0 0 5 0 0 0 8 254 253 250 247 239 223 175 127 |
             awk '{ for (i=1;i<=NF;i++) printf("%c",$i+0); }' > /dev/leds

This used to fail since "0" did not produce a \0 on stdout.

It doesn't make any sense to me to fix awksprintf() the same way I did
awkprintf() since sticking a \0 in a string ends it.

27 years agotypo, msaitoh@spa.is.uec.ac.jp
deraadt [Tue, 21 Jan 1997 20:33:07 +0000 (20:33 +0000)]
typo, msaitoh@spa.is.uec.ac.jp

27 years agofixes from msaitoh@spa.is.uec.ac.jp
deraadt [Tue, 21 Jan 1997 19:33:15 +0000 (19:33 +0000)]
fixes from msaitoh@spa.is.uec.ac.jp

27 years agomake lint happier
kstailey [Tue, 21 Jan 1997 19:29:08 +0000 (19:29 +0000)]
make lint happier

27 years agospacing glitch
deraadt [Tue, 21 Jan 1997 18:10:39 +0000 (18:10 +0000)]
spacing glitch

27 years agomake output look like that of date(1)
kstailey [Tue, 21 Jan 1997 17:44:05 +0000 (17:44 +0000)]
make output look like that of date(1)

27 years agoFixed potential buffer overflow.
bitblt [Tue, 21 Jan 1997 17:14:42 +0000 (17:14 +0000)]
Fixed potential buffer overflow.

27 years agoFix problems pointed out by Andrew Cagney,
rahnds [Tue, 21 Jan 1997 17:00:09 +0000 (17:00 +0000)]
Fix problems pointed out by Andrew Cagney,
These didn't seem to have adverse effects, but were wrong.

27 years agochanging SNAP_GZIP_CMD to GZIP + GZIPEXT etc.
graichen [Tue, 21 Jan 1997 12:02:41 +0000 (12:02 +0000)]
changing SNAP_GZIP_CMD to GZIP + GZIPEXT etc.

27 years agoClone NetBSD config for us, add handling of temporary local labels
niklas [Tue, 21 Jan 1997 10:33:02 +0000 (10:33 +0000)]
Clone NetBSD config for us, add handling of temporary local labels

27 years agoMore sprintf -> snprintf.
millert [Tue, 21 Jan 1997 06:07:22 +0000 (06:07 +0000)]
More sprintf -> snprintf.

27 years agoRemove unnecesary local changes. The strncpy()'s are safe because
millert [Tue, 21 Jan 1997 04:52:44 +0000 (04:52 +0000)]
Remove unnecesary local changes.  The strncpy()'s are safe because
the string is static and so the last element is always init'd to
zero.

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