openbsd
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.

27 years agoMan pages for libedit, from NetBSD.
millert [Thu, 16 Jan 1997 05:20:28 +0000 (05:20 +0000)]
Man pages for libedit, from NetBSD.

27 years agoMerge in NetBSD libedit changes and new man pages. Also fix some
millert [Thu, 16 Jan 1997 05:18:27 +0000 (05:18 +0000)]
Merge in NetBSD libedit changes and new man pages.  Also fix some
strncpy() usage in their code.  NetBSD change log was:
    * add a man page for the editline routines
    * add a man page describing editrc
    * fix bugs in el_parse():
      * didn't execute command when program name matched (test reversed)
      * was checking against empty string instead of program name
      * after checks, command to run also pointed to empty string
    * document ^char and \ escape sequences
    * when parsing ^char control chars, check the correct char when determining
      validity (previously, ^char was a NOP interpreted as the literal string
      because of this bug)
    * Implement CC_REDISPLAY, which (unlike CC_REFRESH) redraws the entire input
    * line (a la ^R). This is useful if the binding outputs information and
    * mucks up the input line. To be used in ``list-choices'' bindings (refer
    * to the ^D binding in csh when filec is set)

27 years agoSpeak in English and note that editline(3) now exists.
millert [Thu, 16 Jan 1997 04:57:04 +0000 (04:57 +0000)]
Speak in English and note that editline(3) now exists.

27 years agomachdep.c
kstailey [Thu, 16 Jan 1997 04:22:49 +0000 (04:22 +0000)]
machdep.c

27 years agoadded RB_TIMEBAD bootflag
kstailey [Thu, 16 Jan 1997 04:19:41 +0000 (04:19 +0000)]
added RB_TIMEBAD bootflag

27 years agoUpdate from NetBSD: adds chlen command and makes -Wall happy.
millert [Thu, 16 Jan 1997 04:04:18 +0000 (04:04 +0000)]
Update from NetBSD: adds chlen command and makes -Wall happy.

27 years agoall modified code can now compile with -Werror -Wall -Wstrict-prototypes
kstailey [Thu, 16 Jan 1997 04:03:40 +0000 (04:03 +0000)]
all modified code can now compile with -Werror -Wall -Wstrict-prototypes
CAVEAT: turning off -O2 produces warnings about "defined but not used"
        functions from libkern.h

removed internal copy of gets() replaced with call to getsn()

fixed #ifdef ... #endif mismatch in swapgeneric.c

fixed printf() in if_ie.c that was missing an argument

fixed si.c so that it compiles

added tags to all edited files

27 years agoFrom NetBSD: Warn about potentially unsafe uid/gid overrides.
millert [Thu, 16 Jan 1997 03:58:23 +0000 (03:58 +0000)]
From NetBSD: Warn about potentially unsafe uid/gid overrides.

27 years agoSupport VM_PSSTRINGS. Man, this has been sitting in my tree for a while...
millert [Thu, 16 Jan 1997 03:57:31 +0000 (03:57 +0000)]
Support VM_PSSTRINGS.  Man, this has been sitting in my tree for a while...

27 years agogetopt(3) returns an int, not char.
millert [Thu, 16 Jan 1997 00:35:52 +0000 (00:35 +0000)]
getopt(3) returns an int, not char.

27 years agogetopt(3) returns -1 when out of args, not EOF, whee!
millert [Wed, 15 Jan 1997 23:40:20 +0000 (23:40 +0000)]
getopt(3) returns -1 when out of args, not EOF, whee!

27 years agosync with NetBSD 970112 -moj
maja [Wed, 15 Jan 1997 23:24:12 +0000 (23:24 +0000)]
sync with NetBSD 970112 -moj

27 years agoadd prototype of reboot2() via machdep.h
kstailey [Wed, 15 Jan 1997 23:00:00 +0000 (23:00 +0000)]
add prototype of reboot2() via machdep.h

27 years agomoved init of ret in randomioctl() to better location
kstailey [Wed, 15 Jan 1997 22:33:53 +0000 (22:33 +0000)]
moved init of ret in randomioctl() to better location

27 years agoFrom NetBSD: make testdb() fail if database version string has length zero.
millert [Wed, 15 Jan 1997 22:08:15 +0000 (22:08 +0000)]
From NetBSD: make testdb() fail if database version string has length zero.
Also, KNF, b* -> mem*, getopt tests against -1, not EOF, and index -> strchr.
Added OpenBSD tags.

27 years agoWell, actually this seemed to be a bug in generic code, that
rahnds [Wed, 15 Jan 1997 15:22:13 +0000 (15:22 +0000)]
Well, actually this seemed to be a bug in generic code, that
was being exercised. running with a 8k fs blk size and 4 k page
size was a problem. Now running with fs blk size == page size works
much better. The fix checked in a week or to back probably would fix
this too.

27 years agoadded prototypes, made some functions static, removed unused variables
kstailey [Wed, 15 Jan 1997 07:09:29 +0000 (07:09 +0000)]
added prototypes, made some functions static, removed unused variables
now compiles with -Werror -Wall -Wstrict-prototypes

27 years agoadd IPXIP option commented out, explanation.
mickey [Wed, 15 Jan 1997 07:06:12 +0000 (07:06 +0000)]
add IPXIP option commented out, explanation.

27 years agoextra braces to prevent warning about missing braces
kstailey [Wed, 15 Jan 1997 07:00:19 +0000 (07:00 +0000)]
extra braces to prevent warning about missing braces

27 years agosc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets converted
deraadt [Wed, 15 Jan 1997 05:50:27 +0000 (05:50 +0000)]
sc_link.adapter_buswidth, set to 16 if wide scsi. if 0 it gets converted
to 8 internally so that drivers do not need to init it for regular scsi :-)

27 years agomore missing prototypes and other warnings fixed
kstailey [Wed, 15 Jan 1997 05:35:46 +0000 (05:35 +0000)]
more missing prototypes and other warnings fixed

27 years agoMinor formatting tweak from NetBSD (perry) + OpenBSD tags.
millert [Wed, 15 Jan 1997 05:27:55 +0000 (05:27 +0000)]
Minor formatting tweak from NetBSD (perry) + OpenBSD tags.

27 years agoDon't need this, /sys/compat/m68k4k works better.
downsj [Wed, 15 Jan 1997 04:54:45 +0000 (04:54 +0000)]
Don't need this, /sys/compat/m68k4k works better.

OpenBSD/hp300 is now 8k!

27 years agoprevent -Wall warning:
kstailey [Wed, 15 Jan 1997 03:52:27 +0000 (03:52 +0000)]
prevent -Wall warning:
nfs_vfsops.c:456: warning: `adjsock' might be used uninitialized in this function

27 years agoprevent warning:
kstailey [Wed, 15 Jan 1997 03:27:14 +0000 (03:27 +0000)]
prevent warning:
in_pcb.c:182: warning: `old' might be used uninitialized in this function

27 years agoprevent warning:
kstailey [Wed, 15 Jan 1997 03:19:24 +0000 (03:19 +0000)]
prevent warning:
ppp_tty.c:790: warning: `s' might be used uninitialized in this function

27 years agofixed warning:
kstailey [Wed, 15 Jan 1997 03:06:28 +0000 (03:06 +0000)]
fixed warning:
kernfs_vnops.c:305: warning: long unsigned int format, u_int arg (arg 3)

27 years ago8k
downsj [Wed, 15 Jan 1997 02:55:29 +0000 (02:55 +0000)]
8k

27 years agoprevent this warning:
kstailey [Wed, 15 Jan 1997 02:03:53 +0000 (02:03 +0000)]
prevent this warning:
rnd.c:823: warning: `ret' might be used uninitialized in this function
when compiling with -Wall

27 years agoadded prototypes
kstailey [Wed, 15 Jan 1997 00:41:55 +0000 (00:41 +0000)]
added prototypes

27 years agoAdd DESTDIR support for crt{begin,end}.o (powerpc only so far)
niklas [Wed, 15 Jan 1997 00:36:56 +0000 (00:36 +0000)]
Add DESTDIR support for crt{begin,end}.o (powerpc only so far)

27 years agoClarification. From NetBSD.
millert [Wed, 15 Jan 1997 00:01:22 +0000 (00:01 +0000)]
Clarification.  From NetBSD.

27 years agoRemove locc. -moj
maja [Tue, 14 Jan 1997 14:45:42 +0000 (14:45 +0000)]
Remove locc. -moj

27 years agohack: if we're M68K, also allow us to strip M68K4K. Works for me.
downsj [Tue, 14 Jan 1997 10:33:00 +0000 (10:33 +0000)]
hack: if we're M68K, also allow us to strip M68K4K.  Works for me.

27 years agoUse <fcntl.h>, not <sys/file.h>. Approved by Bob Corbett.
tholo [Tue, 14 Jan 1997 04:47:08 +0000 (04:47 +0000)]
Use <fcntl.h>, not <sys/file.h>.  Approved by Bob Corbett.

27 years agoUpdate to tzdata1996n
millert [Tue, 14 Jan 1997 04:36:47 +0000 (04:36 +0000)]
Update to tzdata1996n

27 years agoUpdate to tzcode1996o + our fixes. Fixes problem pointed out
millert [Tue, 14 Jan 1997 03:16:42 +0000 (03:16 +0000)]
Update to tzcode1996o + our fixes.  Fixes problem pointed out
by cross@va.pubnix.com.

27 years agoDebugger() is needed by KGDB not just DDB
kstailey [Tue, 14 Jan 1997 02:25:20 +0000 (02:25 +0000)]
Debugger() is needed by KGDB not just DDB

27 years agoBe extra careful when chdir'ing to subdirs.
millert [Tue, 14 Jan 1997 01:02:42 +0000 (01:02 +0000)]
Be extra careful when chdir'ing to subdirs.

27 years agoRAW_PART
deraadt [Tue, 14 Jan 1997 00:46:42 +0000 (00:46 +0000)]
RAW_PART

27 years agopreliminary support for the Apollo 060 accelerator
niklas [Mon, 13 Jan 1997 23:38:27 +0000 (23:38 +0000)]
preliminary support for the Apollo 060 accelerator
Thanks a lot, Michael van Elst <mlelstv@serpens.swb.de>

27 years agoAdd a commented out option NSIP with explanation
niklas [Mon, 13 Jan 1997 23:32:16 +0000 (23:32 +0000)]
Add a commented out option NSIP with explanation

27 years agoreformatted ala KNF
kstailey [Mon, 13 Jan 1997 21:28:24 +0000 (21:28 +0000)]
reformatted ala KNF

27 years agoegid for open; spotted by oliver@secnet.com
deraadt [Mon, 13 Jan 1997 21:23:35 +0000 (21:23 +0000)]
egid for open; spotted by oliver@secnet.com

27 years agotalk about inetd; kleink@layla.inka.de
deraadt [Mon, 13 Jan 1997 20:54:25 +0000 (20:54 +0000)]
talk about inetd; kleink@layla.inka.de

27 years agocorrect; kleink@layla.inka.de
deraadt [Mon, 13 Jan 1997 20:45:28 +0000 (20:45 +0000)]
correct; kleink@layla.inka.de

27 years agodoc "more" command; jdc@orthanc.ncl.ac.uk
deraadt [Mon, 13 Jan 1997 20:36:23 +0000 (20:36 +0000)]
doc "more" command; jdc@orthanc.ncl.ac.uk

27 years agofix DIO-II mappings, NetBSD PR#3097.
downsj [Mon, 13 Jan 1997 18:03:53 +0000 (18:03 +0000)]
fix DIO-II mappings, NetBSD PR#3097.

27 years agoImportant change to the installation notes.
rahnds [Mon, 13 Jan 1997 17:54:31 +0000 (17:54 +0000)]
Important change to the installation notes.
pax must be used with the "-pe" option to keep
file ownership, group and permissions (eg suid) on the extracted file.

27 years agoSync to 970110 NetBSD
niklas [Mon, 13 Jan 1997 11:51:02 +0000 (11:51 +0000)]
Sync to 970110 NetBSD

27 years agodon't build the stand dir for now
graichen [Mon, 13 Jan 1997 11:43:41 +0000 (11:43 +0000)]
don't build the stand dir for now

27 years agouse the cpu_exec from the arc
graichen [Mon, 13 Jan 1997 11:42:47 +0000 (11:42 +0000)]
use the cpu_exec from the arc

27 years agofirst try of an OpenBSD/pmax GENERIC kernel (config file)
graichen [Mon, 13 Jan 1997 11:36:28 +0000 (11:36 +0000)]
first try of an OpenBSD/pmax GENERIC kernel (config file)

27 years agonow also the pmax builds with the in-tree ld using an ld.script similar
graichen [Mon, 13 Jan 1997 11:35:30 +0000 (11:35 +0000)]
now also the pmax builds with the in-tree ld using an ld.script similar
to the arc

27 years agomy pmax (decstation 5000/200)
graichen [Mon, 13 Jan 1997 11:31:54 +0000 (11:31 +0000)]
my pmax (decstation 5000/200)

27 years agotype change to make it compile on the pmax of now
graichen [Mon, 13 Jan 1997 11:30:32 +0000 (11:30 +0000)]
type change to make it compile on the pmax of now

27 years agoImport compat_m68k4k from NetBSD
niklas [Mon, 13 Jan 1997 11:07:47 +0000 (11:07 +0000)]
Import compat_m68k4k from NetBSD

27 years agosmall changes to get it compiled on the pmax (does'nt affect anything else)
graichen [Mon, 13 Jan 1997 10:53:26 +0000 (10:53 +0000)]
small changes to get it compiled on the pmax (does'nt affect anything else)

27 years ago<pmax/xxx> -> <machine/xxx>
graichen [Mon, 13 Jan 1997 10:31:56 +0000 (10:31 +0000)]
<pmax/xxx> -> <machine/xxx>
<mips/xxx> -> <machine/xxx>
... plus missing files from arc

27 years agoMisc installation notes for installing the powerpc port.
rahnds [Mon, 13 Jan 1997 05:03:26 +0000 (05:03 +0000)]
Misc installation notes for installing the powerpc port.
Probably will change greatly or be moved eventually.

27 years agoleds-extern.h -> ledsvar.h
kstailey [Mon, 13 Jan 1997 02:53:50 +0000 (02:53 +0000)]
leds-extern.h -> ledsvar.h

27 years agoback-panel LED control device derived from code by der Mouse
kstailey [Mon, 13 Jan 1997 00:29:23 +0000 (00:29 +0000)]
back-panel LED control device derived from code by der Mouse