openbsd
27 years ago-Wall printf format correction
mickey [Thu, 6 Feb 1997 19:35:52 +0000 (19:35 +0000)]
-Wall printf format correction

27 years agocd into gcc/f before building g77.info to avoid picking up on the wrong
kstailey [Thu, 6 Feb 1997 17:56:09 +0000 (17:56 +0000)]
cd into gcc/f before building g77.info to avoid picking up on the wrong
version of install.texi (both gcc/install.texi and gcc/f/install.texi exist
and are different.)

27 years agoneed a frame.h; empty for now; PR#74, gwen@rtmx.com
deraadt [Thu, 6 Feb 1997 16:18:45 +0000 (16:18 +0000)]
need a frame.h; empty for now; PR#74, gwen@rtmx.com

27 years agoImport of WGRISC port. (Willowglen R3081 board)
pefo [Thu, 6 Feb 1997 16:02:41 +0000 (16:02 +0000)]
Import of WGRISC port. (Willowglen R3081 board)

27 years agoprint 0x for %p
mickey [Thu, 6 Feb 1997 15:51:13 +0000 (15:51 +0000)]
print 0x for %p

27 years agocorrected to look even more like date(1)
kstailey [Thu, 6 Feb 1997 15:00:27 +0000 (15:00 +0000)]
corrected to look even more like date(1)

27 years agobetter heuristic for %p:
mickey [Thu, 6 Feb 1997 14:26:08 +0000 (14:26 +0000)]
better heuristic for %p:
assume l for x only if sizeof(void *)==sizeof(u_long), else it's u_int (;

27 years agoremove net/zlib.c (use -lz now)
mickey [Thu, 6 Feb 1997 14:22:32 +0000 (14:22 +0000)]
remove net/zlib.c (use -lz now)
export NO_NET and SA_ZLIB to the Makefile (from Makefile.inc)
add -p printf flag (tiny code) just for gcc -Wall
import latest alloc.c from netbsd
text    data    bss     dec     hex
400     8       0       408     198

27 years agomake are of a whole number of missing system call names; interesting fix
deraadt [Thu, 6 Feb 1997 13:46:36 +0000 (13:46 +0000)]
make are of a whole number of missing system call names; interesting fix
from ghelmer@freebsd.org

27 years agoexpand hostname to MAXHOSTNAMELEN
deraadt [Thu, 6 Feb 1997 13:34:45 +0000 (13:34 +0000)]
expand hostname to MAXHOSTNAMELEN

27 years agomake "/bin/kill -CONT ''" abort correctly; arnej@imf.unit.no
deraadt [Thu, 6 Feb 1997 13:29:08 +0000 (13:29 +0000)]
make "/bin/kill -CONT ''" abort correctly; arnej@imf.unit.no

27 years agoterminate copyinstr, copyoutstr full name; Don.Lewis@tsc.tdk.com
deraadt [Thu, 6 Feb 1997 13:09:13 +0000 (13:09 +0000)]
terminate copyinstr, copyoutstr full name; Don.Lewis@tsc.tdk.com

27 years agodo not accidentally pass garbage module name to the kernel; found by Don.Lewis@tsc...
deraadt [Thu, 6 Feb 1997 13:02:43 +0000 (13:02 +0000)]
do not accidentally pass garbage module name to the kernel; found by Don.Lewis@tsc.tdk.com

27 years agobuf oflow
deraadt [Thu, 6 Feb 1997 12:49:56 +0000 (12:49 +0000)]
buf oflow

27 years agoFrom theo: use VM_PROT_* types and pass address nicely
niklas [Thu, 6 Feb 1997 12:37:56 +0000 (12:37 +0000)]
From theo: use VM_PROT_* types and pass address nicely

27 years agoFixed some missing declarations and such. Still sth to fix for Theo :-)
niklas [Thu, 6 Feb 1997 12:13:37 +0000 (12:13 +0000)]
Fixed some missing declarations and such.  Still sth to fix for Theo :-)

27 years agoAdd a LORDER make symbol and use it
niklas [Thu, 6 Feb 1997 10:49:16 +0000 (10:49 +0000)]
Add a LORDER make symbol and use it

27 years agocdev for rd
deraadt [Thu, 6 Feb 1997 10:02:54 +0000 (10:02 +0000)]
cdev for rd

27 years agomake rd device. only make a & c partitions raw & block
deraadt [Thu, 6 Feb 1997 10:02:13 +0000 (10:02 +0000)]
make rd device. only make a & c partitions raw & block

27 years agoCosmetic change: "device not configured" -> "Device not configured"
dima [Thu, 6 Feb 1997 09:50:56 +0000 (09:50 +0000)]
Cosmetic change: "device not configured" -> "Device not configured"
so it would match it's prorotype entry in errlist.
The same for "device already in use"

27 years agoadd /kern to miniroot image for kernfs support
rahnds [Thu, 6 Feb 1997 07:25:15 +0000 (07:25 +0000)]
add /kern to miniroot image for kernfs support

27 years agoClean up silly things, mount rd0a not rd0, and
rahnds [Thu, 6 Feb 1997 07:07:11 +0000 (07:07 +0000)]
Clean up silly things, mount rd0a not rd0, and
prog is not a valid program for crunch to find.

27 years agoneed -I for zlib.c
mickey [Thu, 6 Feb 1997 07:05:48 +0000 (07:05 +0000)]
need -I for zlib.c

27 years agoadd strncmp
mickey [Thu, 6 Feb 1997 06:46:57 +0000 (06:46 +0000)]
add strncmp
use net/zlib.c
do not compile some files w/ NO_NET

27 years agomissed test compile );
mickey [Thu, 6 Feb 1997 06:28:52 +0000 (06:28 +0000)]
missed test compile );

27 years agoNow with the miniroot using the rd driver, the inst and kc may become
rahnds [Thu, 6 Feb 1997 06:20:14 +0000 (06:20 +0000)]
Now with the miniroot using the rd driver, the inst and kc may become
obsolete, but currently the miniroot uses this directory.

27 years agomake it work w/ old allocator
mickey [Thu, 6 Feb 1997 06:19:58 +0000 (06:19 +0000)]
make it work w/ old allocator
no need for zmemcpy
better use /sys/net/zlib.c, it's smaller and it's form kernel.

27 years agoPowerPC pieces for ramdisk (rd) changes this is adds majors,
rahnds [Thu, 6 Feb 1997 04:36:38 +0000 (04:36 +0000)]
PowerPC pieces for ramdisk (rd) changes this is adds majors,
rd_root pieces, config file to generate MINIROOT with rdroot and
MAKEDEV changes as well as adding the rd device to known device types.

27 years agoChanges to ramdisk driver to support disklabels. Work done by Theo.
rahnds [Thu, 6 Feb 1997 04:30:35 +0000 (04:30 +0000)]
Changes to ramdisk driver to support disklabels. Work done by Theo.
This will require changes for each machine type.
changes to MAKEDEV, suggest treating rd like sd
---
sd*|vnd*|ccd*|rd*)
...
rd*)  name=rd;  blk=17; chr=17;;
---
Make certain that majors and minors are correct
conf.c
add a entry in cdevsw for rd (previously was only in bdev)
---
cdev_decl(rd);
...
struct cdevsw cdevsw[] = {
...
cdev_disk_init(NRD,rd),         /* 17 ram disk driver*/
---

other changes to how rdconfig is called may be appropriate,
it must now be configured using the "raw" parition typically 'c'.

27 years agoAdd libz and make libsa aware of it. From NetBSD.
downsj [Thu, 6 Feb 1997 02:56:44 +0000 (02:56 +0000)]
Add libz and make libsa aware of it.  From NetBSD.

27 years agoEnable support for gzip'd kernels.
downsj [Thu, 6 Feb 1997 02:53:49 +0000 (02:53 +0000)]
Enable support for gzip'd kernels.

27 years agoBe more explicit about what we are.
downsj [Thu, 6 Feb 1997 01:06:18 +0000 (01:06 +0000)]
Be more explicit about what we are.

27 years agoUse the font ROM size, instead of hard coding one.
downsj [Thu, 6 Feb 1997 00:14:41 +0000 (00:14 +0000)]
Use the font ROM size, instead of hard coding one.

27 years agobring siginfo stuff for the pmax in sync with the arc and add
graichen [Wed, 5 Feb 1997 23:48:46 +0000 (23:48 +0000)]
bring siginfo stuff for the pmax in sync with the arc and add
BUFCACHEPERCENT for the pmax

27 years agoadd CD9660 and MSDOSFS to PLUTO and SUMMER
graichen [Wed, 5 Feb 1997 23:47:37 +0000 (23:47 +0000)]
add CD9660 and MSDOSFS to PLUTO and SUMMER

27 years agoclarify more why this is needed
deraadt [Wed, 5 Feb 1997 22:56:43 +0000 (22:56 +0000)]
clarify more why this is needed

27 years agodo not warn about valid options; invalid options correctly quit
deraadt [Wed, 5 Feb 1997 21:09:29 +0000 (21:09 +0000)]
do not warn about valid options; invalid options correctly quit

27 years agorepair incorrect IP_OPTIONS parsing
deraadt [Wed, 5 Feb 1997 20:57:39 +0000 (20:57 +0000)]
repair incorrect IP_OPTIONS parsing

27 years agoi like my sentences to end with periods
deraadt [Wed, 5 Feb 1997 20:37:23 +0000 (20:37 +0000)]
i like my sentences to end with periods

27 years agothat cannot be right
deraadt [Wed, 5 Feb 1997 19:19:49 +0000 (19:19 +0000)]
that cannot be right

27 years agoadd tags to changed files
kstailey [Wed, 5 Feb 1997 18:28:35 +0000 (18:28 +0000)]
add tags to changed files

27 years agofix highscore without breaking security
kstailey [Wed, 5 Feb 1997 18:26:07 +0000 (18:26 +0000)]
fix highscore without breaking security

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