openbsd
27 years agoneed not clear options since bad ones cause exit; provos@ws1.physnet.uni-hamburg.de
deraadt [Wed, 5 Feb 1997 14:26:49 +0000 (14:26 +0000)]
need not clear options since bad ones cause exit; provos@ws1.physnet.uni-hamburg.de

27 years agoIf tty structure has not been initialized, don't dereference it.
downsj [Wed, 5 Feb 1997 14:22:18 +0000 (14:22 +0000)]
If tty structure has not been initialized, don't dereference it.

27 years agofor -a, survive existance of non-ethernet non-pointtopoint interfaces, Jean-Luc.Richi...
deraadt [Wed, 5 Feb 1997 13:41:04 +0000 (13:41 +0000)]
for -a, survive existance of non-ethernet non-pointtopoint interfaces, Jean-Luc.Richier@imag.fr

27 years agoAn 8k kernel may not be loaded at a 4k address, as the ROM supplies.
downsj [Wed, 5 Feb 1997 11:16:37 +0000 (11:16 +0000)]
An 8k kernel may not be loaded at a 4k address, as the ROM supplies.
We align it to the the next 8k address, as per our 8k kernels.
(This ain't NetBSD, baby.)

Fixed with debugging help from niklas.

27 years agoThe hp300 bug is now fixed correctly...
downsj [Wed, 5 Feb 1997 11:14:24 +0000 (11:14 +0000)]
The hp300 bug is now fixed correctly...

27 years agoFixups of the siginfo code changes.
rahnds [Wed, 5 Feb 1997 06:10:05 +0000 (06:10 +0000)]
Fixups of the siginfo code changes.
All of the siginfo changes were from theo, I just cleaned up the header
files and tested it.

27 years agoInclude signal.h where reasonable and make signal handlers match
millert [Wed, 5 Feb 1997 04:55:12 +0000 (04:55 +0000)]
Include signal.h where reasonable and make signal handlers match
what signal(3)'s prototype says (and cast when not).
Also change MAXFOO+1 -> MAXFOO since MAXFOO includes the NULL.
Support $TMPDIR and use utime(3) not utimes(2) for portability's sake.
Don't spew "Passive mode enabled/disabled" unless verbose (this means
togglevar() needs to watch for a NULL 'message').

27 years agoIPOPT_LSRR/IPOPT_SSRR must exit() due to tcp sequencing; pointed out by
deraadt [Wed, 5 Feb 1997 04:18:27 +0000 (04:18 +0000)]
IPOPT_LSRR/IPOPT_SSRR must exit() due to tcp sequencing; pointed out by
provos@wserver.physnet.uni-hamburg.de. also another 1-char buffer overflow.

27 years agoDon't push _cpl before calling _npxintr, it is never used (or popped off
tholo [Wed, 5 Feb 1997 04:12:44 +0000 (04:12 +0000)]
Don't push _cpl before calling _npxintr, it is never used (or popped off
the stack!)

27 years agoadd icb to unoffical services
kstailey [Wed, 5 Feb 1997 03:25:33 +0000 (03:25 +0000)]
add icb to unoffical services

27 years agofix ipl major number
kstailey [Wed, 5 Feb 1997 02:37:45 +0000 (02:37 +0000)]
fix ipl major number

27 years agoSiginfo changes.
rahnds [Wed, 5 Feb 1997 01:33:51 +0000 (01:33 +0000)]
Siginfo changes.

27 years ago#define ICMP_UNREACH_FILTER -> ICMP_UNREACH_FILTER_PROHIB to match tcpdump/print_icmp...
kstailey [Wed, 5 Feb 1997 00:53:11 +0000 (00:53 +0000)]
#define ICMP_UNREACH_FILTER -> ICMP_UNREACH_FILTER_PROHIB to match tcpdump/print_icmp.c which had it first

27 years agoprovide fpe fault addr; thanks for help from torek@bsdi.com
deraadt [Tue, 4 Feb 1997 23:42:46 +0000 (23:42 +0000)]
provide fpe fault addr; thanks for help from torek@bsdi.com

27 years agoipfiltering
kstailey [Tue, 4 Feb 1997 23:25:03 +0000 (23:25 +0000)]
ipfiltering

27 years agosend VM_PROT_* code for si_trapno
deraadt [Tue, 4 Feb 1997 17:26:14 +0000 (17:26 +0000)]
send VM_PROT_* code for si_trapno

27 years agodo not accidentally pass VM_PROT_WRITE|VM_PROT_READ
deraadt [Tue, 4 Feb 1997 17:23:20 +0000 (17:23 +0000)]
do not accidentally pass VM_PROT_WRITE|VM_PROT_READ

27 years agoan important comment
deraadt [Tue, 4 Feb 1997 17:22:52 +0000 (17:22 +0000)]
an important comment

27 years agoVM_PROT_* for si_trapno in SIGBUS/SIGSEGV
deraadt [Tue, 4 Feb 1997 17:04:37 +0000 (17:04 +0000)]
VM_PROT_* for si_trapno in SIGBUS/SIGSEGV

27 years agochanged comment to reflect RFC-1812
kstailey [Tue, 4 Feb 1997 16:58:48 +0000 (16:58 +0000)]
changed comment to reflect RFC-1812

27 years agoChanged ICMP "unreachable" code #defines to match the ones in
kstailey [Tue, 4 Feb 1997 16:44:13 +0000 (16:44 +0000)]
Changed ICMP "unreachable" code #defines to match the ones in
tcpdump/print-icmp.c since they were in BSD first.

27 years agoRFC-1812 addtion
kstailey [Tue, 4 Feb 1997 14:52:56 +0000 (14:52 +0000)]
RFC-1812 addtion

27 years agopass VM_PROT_READ/VM_PROT_WRITE as si_trapno for SIGSEGV
deraadt [Tue, 4 Feb 1997 12:29:20 +0000 (12:29 +0000)]
pass VM_PROT_READ/VM_PROT_WRITE as si_trapno for SIGSEGV

27 years agopass VM_PROT_READ/VM_PROT_WRITE as si_trapno for SIGSEGV
deraadt [Tue, 4 Feb 1997 12:23:16 +0000 (12:23 +0000)]
pass VM_PROT_READ/VM_PROT_WRITE as si_trapno for SIGSEGV

27 years agomaxbsize hack i did was not portable
deraadt [Tue, 4 Feb 1997 10:06:18 +0000 (10:06 +0000)]
maxbsize hack i did was not portable

27 years agoMore changes of carrel@netbsd.org's that I missed.
downsj [Tue, 4 Feb 1997 07:15:22 +0000 (07:15 +0000)]
More changes of carrel@netbsd.org's that I missed.

27 years agocheckpoint: pull in spl() changes from NetBSD, and more siginfo.
downsj [Tue, 4 Feb 1997 06:21:24 +0000 (06:21 +0000)]
checkpoint:  pull in spl() changes from NetBSD, and more siginfo.

27 years agodeleted warnx() about "no drives attached" since dkinit() is used in curses apps...
kstailey [Tue, 4 Feb 1997 04:51:20 +0000 (04:51 +0000)]
deleted warnx() about "no drives attached" since dkinit() is used in curses apps like systat

27 years agoFix formatting, add OpenBSD to HISTORY and add AUTHOR section.
millert [Tue, 4 Feb 1997 04:44:16 +0000 (04:44 +0000)]
Fix formatting, add OpenBSD to HISTORY and add AUTHOR section.

27 years agodisplay CPU stats on iostat screen even if diskless
kstailey [Tue, 4 Feb 1997 04:42:42 +0000 (04:42 +0000)]
display CPU stats on iostat screen even if diskless

27 years agomake it compile if KERBEROS{,5} not defined
flipk [Tue, 4 Feb 1997 03:39:11 +0000 (03:39 +0000)]
make it compile if KERBEROS{,5} not defined

27 years agoMake sure arc4random gets initialized eventually.
dm [Tue, 4 Feb 1997 03:03:18 +0000 (03:03 +0000)]
Make sure arc4random gets initialized eventually.

27 years agofix a few more SIGxxx/xxx_* and fault addr issues
deraadt [Tue, 4 Feb 1997 02:49:24 +0000 (02:49 +0000)]
fix a few more SIGxxx/xxx_* and fault addr issues

27 years agomatch SIGILL to ILL_COPROC
deraadt [Tue, 4 Feb 1997 02:38:55 +0000 (02:38 +0000)]
match SIGILL to ILL_COPROC

27 years agoT_DIVIDE -> FPE_INTDIV
deraadt [Tue, 4 Feb 1997 02:16:51 +0000 (02:16 +0000)]
T_DIVIDE -> FPE_INTDIV

27 years agoNetBSD -> OpenBSD
kstailey [Tue, 4 Feb 1997 01:31:33 +0000 (01:31 +0000)]
NetBSD -> OpenBSD

27 years agoadjust warning flags
kstailey [Tue, 4 Feb 1997 01:25:52 +0000 (01:25 +0000)]
adjust warning flags

27 years agoremove DDB hack
kstailey [Mon, 3 Feb 1997 23:32:22 +0000 (23:32 +0000)]
remove DDB hack

27 years agoadd siginfo member to struct sigframe
kstailey [Mon, 3 Feb 1997 23:22:38 +0000 (23:22 +0000)]
add siginfo member to struct sigframe

27 years agocloser to NetBSD 1.65
kstailey [Mon, 3 Feb 1997 21:46:17 +0000 (21:46 +0000)]
closer to NetBSD 1.65

27 years agoFirst try at SA_SIGINFO support.
kstailey [Mon, 3 Feb 1997 21:30:13 +0000 (21:30 +0000)]
First try at SA_SIGINFO support.

Some mods in trap.c to bring it closer to NetBSD 1.65.

27 years agoback out prev. change since it breaks obj@ symlinks
kstailey [Mon, 3 Feb 1997 18:09:18 +0000 (18:09 +0000)]
back out prev. change since it breaks obj@ symlinks

27 years agofix a fpe trapsignal to provide proper type
deraadt [Mon, 3 Feb 1997 18:04:48 +0000 (18:04 +0000)]
fix a fpe trapsignal to provide proper type

27 years agofor SIGxxx always use xxx_* types as error code
deraadt [Mon, 3 Feb 1997 17:35:09 +0000 (17:35 +0000)]
for SIGxxx always use xxx_* types as error code

27 years agowimpy docs for SA_SIGINFO
deraadt [Mon, 3 Feb 1997 15:57:05 +0000 (15:57 +0000)]
wimpy docs for SA_SIGINFO

27 years ago1003.1b mandoc hacks
deraadt [Mon, 3 Feb 1997 15:56:45 +0000 (15:56 +0000)]
1003.1b mandoc hacks

27 years agomv siginfo_t * to the proper place
deraadt [Mon, 3 Feb 1997 15:54:43 +0000 (15:54 +0000)]
mv siginfo_t * to the proper place

27 years agoMore siginfo implementations (alpha and mips might even work)
deraadt [Mon, 3 Feb 1997 15:04:50 +0000 (15:04 +0000)]
More siginfo implementations (alpha and mips might even work)
move "siginfo_t *" to 2nd arg of signal handler as 1003.1b requires.
I really wish I had 1003.1b documentation.

27 years agoAdded some code lost in last rev. Now BOOT_CONFIG might work again. -moj
maja [Mon, 3 Feb 1997 13:59:43 +0000 (13:59 +0000)]
Added some code lost in last rev. Now BOOT_CONFIG might work again. -moj

27 years agoinitial cut at siginfo
deraadt [Mon, 3 Feb 1997 13:09:14 +0000 (13:09 +0000)]
initial cut at siginfo

27 years agorepair confusion over kv/uv addr for siginfo_t storage
deraadt [Mon, 3 Feb 1997 12:48:35 +0000 (12:48 +0000)]
repair confusion over kv/uv addr for siginfo_t storage

27 years agokill non-/tmp mktemp race and misc cleanup
deraadt [Mon, 3 Feb 1997 12:15:59 +0000 (12:15 +0000)]
kill non-/tmp mktemp race and misc cleanup

27 years agodo ifaliases after /usr/bin exists in nfs diskless env; pr#77, matthieu@laas.fr
deraadt [Mon, 3 Feb 1997 12:04:44 +0000 (12:04 +0000)]
do ifaliases after /usr/bin exists in nfs diskless env; pr#77, matthieu@laas.fr

27 years agonew -a option autosizes, meaning it runs till it hits EOM (no need for
deraadt [Mon, 3 Feb 1997 11:53:23 +0000 (11:53 +0000)]
new -a option autosizes, meaning it runs till it hits EOM (no need for
pesky sizing options) -- from FreeBSD.
also make -b option aware of MAXPHYS issues (via a little hack)

27 years agoSA_SIGINFO
deraadt [Mon, 3 Feb 1997 11:45:17 +0000 (11:45 +0000)]
SA_SIGINFO

27 years agoSA_SIGINFO implementation
deraadt [Mon, 3 Feb 1997 11:38:05 +0000 (11:38 +0000)]
SA_SIGINFO implementation

27 years agouse dk_mountroot
deraadt [Mon, 3 Feb 1997 11:37:37 +0000 (11:37 +0000)]
use dk_mountroot

27 years agosync the config files with my local ones (rz5 & rz6 etc.)
graichen [Mon, 3 Feb 1997 10:32:13 +0000 (10:32 +0000)]
sync the config files with my local ones (rz5 & rz6 etc.)

27 years agoadd entries for rz5 and rz6 (scsi disks on scsi id 5 & 6 - required for
graichen [Mon, 3 Feb 1997 10:30:53 +0000 (10:30 +0000)]
add entries for rz5 and rz6 (scsi disks on scsi id 5 & 6 - required for
zip drives)

27 years agoalso create rz5 and rz6 devices on the pmax
graichen [Mon, 3 Feb 1997 10:29:13 +0000 (10:29 +0000)]
also create rz5 and rz6 devices on the pmax

27 years agoalso build uucp on the alpha
graichen [Mon, 3 Feb 1997 10:28:44 +0000 (10:28 +0000)]
also build uucp on the alpha

27 years agord -> hd
downsj [Mon, 3 Feb 1997 08:11:52 +0000 (08:11 +0000)]
rd -> hd

27 years agord -> hd
downsj [Mon, 3 Feb 1997 07:19:01 +0000 (07:19 +0000)]
rd -> hd

27 years agord -> hd, OpenBSD ids.
downsj [Mon, 3 Feb 1997 07:02:08 +0000 (07:02 +0000)]
rd -> hd, OpenBSD ids.

27 years agosubsumed by fetch.c
millert [Mon, 3 Feb 1997 06:08:07 +0000 (06:08 +0000)]
subsumed by fetch.c

27 years agosync to netbsd 970101
downsj [Mon, 3 Feb 1997 05:10:55 +0000 (05:10 +0000)]
sync to netbsd 970101

27 years agoMerge new config(8) support from NetBSD, by Jason Thorpe.
downsj [Mon, 3 Feb 1997 04:47:05 +0000 (04:47 +0000)]
Merge new config(8) support from NetBSD, by Jason Thorpe.
Also add siginfo glue, BOOT_CONFIG, and various other changes.

27 years agodamn, do need sys/time.h and all that other gunk
deraadt [Mon, 3 Feb 1997 04:34:33 +0000 (04:34 +0000)]
damn, do need sys/time.h and all that other gunk

27 years agoObsolete.
downsj [Mon, 3 Feb 1997 04:26:39 +0000 (04:26 +0000)]
Obsolete.

27 years agoIt's gone. No more. Bye!
downsj [Mon, 3 Feb 1997 04:22:03 +0000 (04:22 +0000)]
It's gone.  No more.  Bye!

27 years agoObsolete.
downsj [Mon, 3 Feb 1997 04:17:03 +0000 (04:17 +0000)]
Obsolete.

27 years agotape out unneccessary bits
deraadt [Mon, 3 Feb 1997 03:49:57 +0000 (03:49 +0000)]
tape out unneccessary bits

27 years agohp300 needs device_register(), too.
downsj [Mon, 3 Feb 1997 03:04:22 +0000 (03:04 +0000)]
hp300 needs device_register(), too.

27 years agoTurn off progress bar by default as it interacts poorly with
millert [Mon, 3 Feb 1997 01:22:08 +0000 (01:22 +0000)]
Turn off progress bar by default as it interacts poorly with
"get FILE /dev/tty" and "get FILE |pager" among others.

27 years agoAdd back ``-r'' option and fix strncpy() usage and other nits because
millert [Mon, 3 Feb 1997 01:05:31 +0000 (01:05 +0000)]
Add back ``-r'' option and fix strncpy() usage and other nits because
I'm anal.  Closer to KNF now.

27 years agoSync with NetBSD
millert [Mon, 3 Feb 1997 01:02:31 +0000 (01:02 +0000)]
Sync with NetBSD

27 years agouse a long line counter, netbsd pr#3083, rhialto@polder.ubc.kun.nl
deraadt [Mon, 3 Feb 1997 00:25:18 +0000 (00:25 +0000)]
use a long line counter, netbsd pr#3083, rhialto@polder.ubc.kun.nl

27 years agoback out stringlist changes
millert [Mon, 3 Feb 1997 00:13:04 +0000 (00:13 +0000)]
back out stringlist changes

27 years agomake "arp -na" and "arp -an" do the same thing; paul@wit387304.student.utwente.nl
deraadt [Mon, 3 Feb 1997 00:12:57 +0000 (00:12 +0000)]
make "arp -na" and "arp -an" do the same thing; paul@wit387304.student.utwente.nl

27 years agoReally remove stringlist.h this time...
millert [Mon, 3 Feb 1997 00:09:35 +0000 (00:09 +0000)]
Really remove stringlist.h this time...

27 years agoBack out stringlist
millert [Mon, 3 Feb 1997 00:08:24 +0000 (00:08 +0000)]
Back out stringlist

27 years agoUse public stringlist (in libc)
millert [Sun, 2 Feb 1997 23:32:15 +0000 (23:32 +0000)]
Use public stringlist (in libc)

27 years ago++minor_version
millert [Sun, 2 Feb 1997 23:28:40 +0000 (23:28 +0000)]
++minor_version

27 years agostringlist routines are now public (ftp uses them)
millert [Sun, 2 Feb 1997 23:27:52 +0000 (23:27 +0000)]
stringlist routines are now public (ftp uses them)

27 years agoFrom NetBSD (lukem and christos):
millert [Sun, 2 Feb 1997 23:18:43 +0000 (23:18 +0000)]
From NetBSD (lukem and christos):
    A stringlist implementation (previously ``private'' to libc netgroup code,
    but christos ok-ed making public as it's useful)

27 years agodiscourage use of -n
deraadt [Sun, 2 Feb 1997 18:17:38 +0000 (18:17 +0000)]
discourage use of -n

27 years agodo not include wrong version of install.texi
kstailey [Sun, 2 Feb 1997 17:21:57 +0000 (17:21 +0000)]
do not include wrong version of install.texi

27 years agoRemember errno if fchown() fails so we get correct warnings
tholo [Sun, 2 Feb 1997 10:16:58 +0000 (10:16 +0000)]
Remember errno if fchown() fails so we get correct warnings
Only warn about not being able to restore user/group owner if not -f

27 years agocorrect arch check, do not drop of non-void function; yasufu-i@is.aist-nara.ac.jp
deraadt [Sun, 2 Feb 1997 03:28:41 +0000 (03:28 +0000)]
correct arch check, do not drop of non-void function; yasufu-i@is.aist-nara.ac.jp

27 years agosiginfo stuff
deraadt [Sun, 2 Feb 1997 01:38:11 +0000 (01:38 +0000)]
siginfo stuff

27 years agoadd gdb for alpha & mips and simplify it a bit
graichen [Sun, 2 Feb 1997 01:14:00 +0000 (01:14 +0000)]
add gdb for alpha & mips and simplify it a bit

27 years agoattempt at siginfo.. Per must look this over
deraadt [Sun, 2 Feb 1997 00:47:42 +0000 (00:47 +0000)]
attempt at siginfo.. Per must look this over

27 years agotrapsignal/sendsig type/sigval changes
deraadt [Sun, 2 Feb 1997 00:43:20 +0000 (00:43 +0000)]
trapsignal/sendsig type/sigval changes

27 years agoadd OpenBSD/alpha support to gdb (taken from cgd's cygnus binutils
graichen [Sun, 2 Feb 1997 00:39:40 +0000 (00:39 +0000)]
add OpenBSD/alpha support to gdb (taken from cgd's cygnus binutils
snapshots for NetBSD/alpha and adapted to compile with our binutils)

i've just tested it roughly - but it should work and is at least a start

27 years agoPrevent seeking to negative offsets when seeking from the end of a file;
tholo [Sun, 2 Feb 1997 00:32:02 +0000 (00:32 +0000)]
Prevent seeking to negative offsets when seeking from the end of a file;
noticed by Tim Newsham <newsham@aloha.net>

27 years agoCorrect type of brk(), use <unistd.h>, reference mmap(2); from NetBSD
tholo [Sun, 2 Feb 1997 00:16:32 +0000 (00:16 +0000)]
Correct type of brk(), use <unistd.h>, reference mmap(2); from NetBSD

27 years agoput an harmless waring behind an DIAGNOSTIC
graichen [Sat, 1 Feb 1997 23:46:02 +0000 (23:46 +0000)]
put an harmless waring behind an DIAGNOSTIC

27 years agonicer output at bootup (before it was somewhat garbled)
graichen [Sat, 1 Feb 1997 23:31:39 +0000 (23:31 +0000)]
nicer output at bootup (before it was somewhat garbled)

27 years agotrapsignal/sendsig type/sigval changes
deraadt [Sat, 1 Feb 1997 23:05:05 +0000 (23:05 +0000)]
trapsignal/sendsig type/sigval changes

27 years agoadd type & union sigval args to sendsig/trapsignal
deraadt [Sat, 1 Feb 1997 21:49:30 +0000 (21:49 +0000)]
add type & union sigval args to sendsig/trapsignal