openbsd
27 years agoMake std.hp300 useable for other config files, just don't use it in GENERIC
downsj [Wed, 5 Feb 1997 17:41:49 +0000 (17:41 +0000)]
Make std.hp300 useable for other config files, just don't use it in GENERIC
ones.

27 years agolatest siginfo changes from theo
downsj [Wed, 5 Feb 1997 17:33:00 +0000 (17:33 +0000)]
latest siginfo changes from theo

27 years agoPull in some of the changes from NetBSD's revision 1.63:
downsj [Wed, 5 Feb 1997 17:30:23 +0000 (17:30 +0000)]
Pull in some of the changes from NetBSD's revision 1.63:
thorpej
Sat Feb  1 23:55:54 PST 1997
...
- Eliminate some unnecessary cpu/mmu checks, based on what CPUs
  the kernel was compiled for.
- Add some comments about possible further optimization.
...

27 years agoAdded "gid" keyword to print effective group ID of process.
kstailey [Wed, 5 Feb 1997 17:10:53 +0000 (17:10 +0000)]
Added "gid" keyword to print effective group ID of process.
(also alpha-sorted some of the man page that was nearly sorted.)

BEFORE:

kstailey@hermes$ ps -o ruid,svuid,uid,command
 RUID SVUID   UID COMMAND
  333   333   333 -bash (bash)

worked, but group equivalent failed:

kstailey@hermes$ ps -o rgid,svgid,gid,command
ps: gid: keyword not found
 RGID SVGID COMMAND
   20    20 -bash (bash)

AFTER:

kstailey@hermes$ ps -o rgid,svgid,gid,command
 RGID SVGID   GID COMMAND
   20    20    20 -bash (bash)

27 years agomake crunchide work in the non-elf world, Opps.
rahnds [Wed, 5 Feb 1997 16:31:23 +0000 (16:31 +0000)]
make crunchide work in the non-elf world, Opps.

27 years agoNon-console ITE devices need to be initialized properly, too, ya know.
downsj [Wed, 5 Feb 1997 16:01:09 +0000 (16:01 +0000)]
Non-console ITE devices need to be initialized properly, too, ya know.

Add enough glue to the aux attach structure to do so, and teach all the
device drivers how to set it.

This fixes the last ITE panic I know of...

27 years agocorrect boottime messages
deraadt [Wed, 5 Feb 1997 15:50:55 +0000 (15:50 +0000)]
correct boottime messages

27 years agomap native sig/code to svr4 code in a different fashion; must be checked later
deraadt [Wed, 5 Feb 1997 15:50:18 +0000 (15:50 +0000)]
map native sig/code to svr4 code in a different fashion; must be checked later

27 years agoadd GENERIC
deraadt [Wed, 5 Feb 1997 15:49:18 +0000 (15:49 +0000)]
add GENERIC

27 years agouse arc4random()
deraadt [Wed, 5 Feb 1997 15:48:21 +0000 (15:48 +0000)]
use arc4random()

27 years agodocument that ip_off and ip_len are now in network byte order
deraadt [Wed, 5 Feb 1997 14:40:40 +0000 (14:40 +0000)]
document that ip_off and ip_len are now in network byte order

27 years agomv comment to proper place
deraadt [Wed, 5 Feb 1997 14:28:57 +0000 (14:28 +0000)]
mv comment to proper place

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