openbsd
27 years agoRemove lots of timer_state structs as they just ate memory and only a few was
niklas [Sun, 5 Jan 1997 11:08:58 +0000 (11:08 +0000)]
Remove lots of timer_state structs as they just ate memory and only a few was
ever used.  Now a single state is kept for net, tty and disk events resp.
Also, call the randomness from disk_unbusy instead of biodone, as biodone
gets a lot of virtual events (from virtual filesystems etc), and as a bonus:
feed xfer time and size into the entropy pool too.

27 years agothese pieces are done
deraadt [Sun, 5 Jan 1997 08:33:42 +0000 (08:33 +0000)]
these pieces are done

27 years agoHOSTCC; from rahnds
deraadt [Sun, 5 Jan 1997 08:17:31 +0000 (08:17 +0000)]
HOSTCC; from rahnds

27 years agoabsent pcmcia cards do not interrupt
deraadt [Sun, 5 Jan 1997 04:03:26 +0000 (04:03 +0000)]
absent pcmcia cards do not interrupt

27 years agoAdd cross back, as it at least compiles now
niklas [Sun, 5 Jan 1997 02:08:05 +0000 (02:08 +0000)]
Add cross back, as it at least compiles now

27 years agoFirst stab at making a VM-controlled bankswitching driver
niklas [Sun, 5 Jan 1997 02:04:33 +0000 (02:04 +0000)]
First stab at making a VM-controlled bankswitching driver
for the CrossLink driver

27 years agoadded D to getopt() string
kstailey [Sat, 4 Jan 1997 20:31:05 +0000 (20:31 +0000)]
added D to getopt() string

27 years agospec_advlock() via lf_advlock()
kstailey [Sat, 4 Jan 1997 17:10:03 +0000 (17:10 +0000)]
spec_advlock() via lf_advlock()

27 years agoVM_PAGE_INIT takes an offset as the 3rd arg, not a pointer
niklas [Sat, 4 Jan 1997 14:17:30 +0000 (14:17 +0000)]
VM_PAGE_INIT takes an offset as the 3rd arg, not a pointer

27 years agoAdd XXX comment about the delay port
niklas [Sat, 4 Jan 1997 14:14:55 +0000 (14:14 +0000)]
Add XXX comment about the delay port

27 years agoRemove extra blank line
niklas [Sat, 4 Jan 1997 14:05:50 +0000 (14:05 +0000)]
Remove extra blank line

27 years agoGo to Buslogic and SCSI
niklas [Sat, 4 Jan 1997 14:02:50 +0000 (14:02 +0000)]
Go to Buslogic and SCSI

27 years agoPrint warning when not recognizing the boot device.
niklas [Sat, 4 Jan 1997 12:59:49 +0000 (12:59 +0000)]
Print warning when not recognizing the boot device.
Also get the partition number from the BIOS when building bootdev.

27 years agobus.h not bus.old.h
niklas [Sat, 4 Jan 1997 12:49:24 +0000 (12:49 +0000)]
bus.h not bus.old.h

27 years agoTemporarily comment out cross as it is not compiling yet
niklas [Sat, 4 Jan 1997 12:47:11 +0000 (12:47 +0000)]
Temporarily comment out cross as it is not compiling yet

27 years agoI use IP-filtering at home now too
niklas [Sat, 4 Jan 1997 12:45:45 +0000 (12:45 +0000)]
I use IP-filtering at home now too

27 years agoUse fancy macros
niklas [Sat, 4 Jan 1997 12:40:31 +0000 (12:40 +0000)]
Use fancy macros

27 years agoAdd a TOC to a temporary lib so our make(1) will not always rebuild libgcc
niklas [Sat, 4 Jan 1997 12:28:18 +0000 (12:28 +0000)]
Add a TOC to a temporary lib so our make(1) will not always rebuild libgcc

27 years agoreaddisklabel() with correct dev_t
deraadt [Sat, 4 Jan 1997 08:50:20 +0000 (08:50 +0000)]
readdisklabel() with correct dev_t

27 years agoUse new options to locate.updatedb so we don't have to make the
millert [Sat, 4 Jan 1997 01:36:52 +0000 (01:36 +0000)]
Use new options to locate.updatedb so we don't have to make the
database owned by non-root at any time.

27 years agoCommand line args to updatedb. Also, a filename of "-" for the db
millert [Sat, 4 Jan 1997 01:36:01 +0000 (01:36 +0000)]
Command line args to updatedb.  Also, a filename of "-" for the db
means output to stdout.

27 years agoFix typo, too much perl on the brain.
millert [Sat, 4 Jan 1997 01:08:04 +0000 (01:08 +0000)]
Fix typo, too much perl on the brain.

27 years agolocate shell scripts now use mktemp(1) and weekly runs updatedb
millert [Fri, 3 Jan 1997 23:33:48 +0000 (23:33 +0000)]
locate shell scripts now use mktemp(1) and weekly runs updatedb
as bin not nobody to avoid NFS problems.

27 years agoNo point in ls'ing the template, it will never exist.
millert [Fri, 3 Jan 1997 22:51:26 +0000 (22:51 +0000)]
No point in ls'ing the template, it will never exist.

27 years agoBetter error on failure.
millert [Fri, 3 Jan 1997 22:49:22 +0000 (22:49 +0000)]
Better error on failure.

27 years agomake bounce buffer aware
deraadt [Fri, 3 Jan 1997 22:39:33 +0000 (22:39 +0000)]
make bounce buffer aware

27 years agoFrom NetBSD:
millert [Fri, 3 Jan 1997 22:36:07 +0000 (22:36 +0000)]
From NetBSD:
    - Correct sorting behaviour.
    - Do multicolumn output in a way that's a more likely to line up evenly.
      From D'Arcy J.M. Cain <darcy@druid.com>, NetBSD PR #2965.

27 years agoFrom NetBSD:
millert [Fri, 3 Jan 1997 21:40:48 +0000 (21:40 +0000)]
From NetBSD:
    Add a `-t' (touch) option to update time stamps.
    Only record size for regular files.

27 years agoremoved unnecessary test
kstailey [Fri, 3 Jan 1997 21:05:28 +0000 (21:05 +0000)]
removed unnecessary test

27 years agoRemove private copy of md* and fix md4 usage to match libc md4.
millert [Fri, 3 Jan 1997 20:42:04 +0000 (20:42 +0000)]
Remove private copy of md* and fix md4 usage to match libc md4.

27 years agoUse correct md5 API for libc md5 routines. Pointed out by niklas.
millert [Fri, 3 Jan 1997 20:32:11 +0000 (20:32 +0000)]
Use correct md5 API for libc md5 routines.  Pointed out by niklas.

27 years agoNote that sb16 is treated as an sbpro.
millert [Fri, 3 Jan 1997 17:07:35 +0000 (17:07 +0000)]
Note that sb16 is treated as an sbpro.

27 years agochange all refs from mkdosfs to newfs_msdos
kstailey [Fri, 3 Jan 1997 16:45:38 +0000 (16:45 +0000)]
change all refs from mkdosfs to newfs_msdos

27 years agomake it work again, 'twas broken for a long time 'coze of ../fsck/preen.c
mickey [Fri, 3 Jan 1997 16:22:09 +0000 (16:22 +0000)]
make it work again, 'twas broken for a long time 'coze of ../fsck/preen.c
changes, that is yantc situation.
as a side effect it's parallelized too.

27 years agominimize
deraadt [Fri, 3 Jan 1997 07:49:05 +0000 (07:49 +0000)]
minimize

27 years agominimize comment
deraadt [Fri, 3 Jan 1997 07:48:50 +0000 (07:48 +0000)]
minimize comment

27 years agoInstall etc/amd/master.sample NOT master.
etheisen [Fri, 3 Jan 1997 04:04:52 +0000 (04:04 +0000)]
Install etc/amd/master.sample NOT master.

27 years agoNo virtual consoles by default.
etheisen [Fri, 3 Jan 1997 03:27:54 +0000 (03:27 +0000)]
No virtual consoles by default.

27 years agoMore /var/log 'placeholder' log files.
etheisen [Fri, 3 Jan 1997 03:19:17 +0000 (03:19 +0000)]
More /var/log 'placeholder' log files.

27 years agoroot NOT games.
etheisen [Fri, 3 Jan 1997 03:03:59 +0000 (03:03 +0000)]
root NOT games.

27 years agoYYRECOVERING(), not YYRECOVERING. Approved by Robert Corbett
tholo [Fri, 3 Jan 1997 00:53:25 +0000 (00:53 +0000)]
YYRECOVERING(), not YYRECOVERING.  Approved by Robert Corbett

27 years agoend of pesky log message, thanks to Go Watanabe <go@cclub.tutcc.tut.ac.jp>
kstailey [Fri, 3 Jan 1997 00:09:59 +0000 (00:09 +0000)]
end of pesky log message, thanks to Go Watanabe <go@cclub.tutcc.tut.ac.jp>

27 years agomore samples
deraadt [Thu, 2 Jan 1997 23:14:54 +0000 (23:14 +0000)]
more samples

27 years agobetter perms for ppp stuff
deraadt [Thu, 2 Jan 1997 23:14:13 +0000 (23:14 +0000)]
better perms for ppp stuff

27 years agoCOMPAT_{SUNOS,SVR4}
deraadt [Thu, 2 Jan 1997 22:37:53 +0000 (22:37 +0000)]
COMPAT_{SUNOS,SVR4}

27 years agonew utility for playing sound files
kstailey [Thu, 2 Jan 1997 22:12:26 +0000 (22:12 +0000)]
new utility for playing sound files

27 years agoavoid SIGURG race; dg@root.com
deraadt [Thu, 2 Jan 1997 21:33:33 +0000 (21:33 +0000)]
avoid SIGURG race; dg@root.com

27 years agoFix the file dendancy problem the same way as on alpha/mips
rahnds [Thu, 2 Jan 1997 20:48:29 +0000 (20:48 +0000)]
Fix the file dendancy problem the same way as on alpha/mips
this removed another patched file for powerpc port.

27 years agoaccept llc/snap packets; still cannot send them...
deraadt [Thu, 2 Jan 1997 20:45:49 +0000 (20:45 +0000)]
accept llc/snap packets; still cannot send them...

27 years agocorrect title; frueauf@ira.uka.de
deraadt [Thu, 2 Jan 1997 20:24:07 +0000 (20:24 +0000)]
correct title; frueauf@ira.uka.de

27 years agoFix for the shift-reduce conflict, contributed by dholland@hcs.harvard.edu,
bitblt [Thu, 2 Jan 1997 19:49:50 +0000 (19:49 +0000)]
Fix for the shift-reduce conflict, contributed by dholland@hcs.harvard.edu,
who is porting the OpenBSD ftpd to (of all things) Linux.

27 years agoPerl should build on the powerpc port now, I will build statically
rahnds [Thu, 2 Jan 1997 19:45:34 +0000 (19:45 +0000)]
Perl should build on the powerpc port now, I will build statically
instead of trying to build dynamically and fail.

27 years agoRevert HISTFILE. If anyone wants a differently named history file, they
downsj [Thu, 2 Jan 1997 18:16:52 +0000 (18:16 +0000)]
Revert HISTFILE.  If anyone wants a differently named history file, they
can set it in their environment.

27 years agoDon't mention $_.
downsj [Thu, 2 Jan 1997 17:41:47 +0000 (17:41 +0000)]
Don't mention $_.

27 years agoAfter discussing $_ with the maintainer, revert ksh behaviour and completely
downsj [Thu, 2 Jan 1997 17:37:25 +0000 (17:37 +0000)]
After discussing $_ with the maintainer, revert ksh behaviour and completely
eliminate it from sh.

27 years agoDESTDIR already set.
etheisen [Thu, 2 Jan 1997 16:37:53 +0000 (16:37 +0000)]
DESTDIR already set.

27 years agornd is random.
etheisen [Thu, 2 Jan 1997 16:36:00 +0000 (16:36 +0000)]
rnd is random.

27 years agolibcrypt is no more.
etheisen [Thu, 2 Jan 1997 16:34:51 +0000 (16:34 +0000)]
libcrypt is no more.

27 years agohandle the powerpc like the arc - no dynamic stuff
rahnds [Thu, 2 Jan 1997 16:06:50 +0000 (16:06 +0000)]
handle the powerpc like the arc - no dynamic stuff
Thanks to Thomas Graichen for the fix.

27 years agohandle the pmax like the arc - no dynamic stuff
graichen [Thu, 2 Jan 1997 14:05:25 +0000 (14:05 +0000)]
handle the pmax like the arc - no dynamic stuff

27 years agoDOH! we are not ELF yet. Fix static constructors.
niklas [Thu, 2 Jan 1997 13:07:41 +0000 (13:07 +0000)]
DOH! we are not ELF yet.  Fix static constructors.

27 years agoprevent system from suspend/standby twice.
mickey [Thu, 2 Jan 1997 12:24:35 +0000 (12:24 +0000)]
prevent system from suspend/standby twice.
(netbsd pr#3005, yasufu-i@is.aist-nara.ac.jp)

27 years agopulled out the duplicated, conditional code from both kern/vfs_syscalls.c
mickey [Thu, 2 Jan 1997 12:20:40 +0000 (12:20 +0000)]
pulled out the duplicated, conditional code from both kern/vfs_syscalls.c
and compat/common/vfs_syscalls_43.c and placed a single copy of that code
into miscfs/union/union_subr.c (seemed like a good place to put it, since
it's union-fs related).
as a side effect you can build unionfs in lkm.
(netbsd pr#2950, Paul Goyette <paul@pgoyette.bdt.com>)

27 years agoPPP_BSDCOMP not PPP_BSD_COMP
mickey [Thu, 2 Jan 1997 11:10:18 +0000 (11:10 +0000)]
PPP_BSDCOMP not PPP_BSD_COMP

27 years agoinet_addr --> inet_aton
mickey [Thu, 2 Jan 1997 10:50:18 +0000 (10:50 +0000)]
inet_addr --> inet_aton

27 years agoAdd FSH (set -o sh), initialize it if we're /bin/sh, and add the first use:
downsj [Thu, 2 Jan 1997 09:33:56 +0000 (09:33 +0000)]
Add FSH (set -o sh), initialize it if we're /bin/sh, and add the first use:
don't set $_ if we're non-interactive.

27 years agouse arc4random for xid generation
deraadt [Thu, 2 Jan 1997 09:21:01 +0000 (09:21 +0000)]
use arc4random for xid generation

27 years agodo not confuse readdisklabel callers
deraadt [Thu, 2 Jan 1997 06:28:43 +0000 (06:28 +0000)]
do not confuse readdisklabel callers

27 years agoCurrent differences between development tree and checked in tree.
rahnds [Thu, 2 Jan 1997 03:29:40 +0000 (03:29 +0000)]
Current differences between development tree and checked in tree.
Reason these are not checked in:
Wide affecting change that would be "incorrect" for other ports.
Build issues that do not have final solutions
Misc other changes. (Some cross compilations issues)

27 years agoCurrent information about port status.
rahnds [Thu, 2 Jan 1997 03:17:58 +0000 (03:17 +0000)]
Current information about port status.

27 years agoChange order of includes to pick up sys/types.h so that typedefs
rahnds [Thu, 2 Jan 1997 03:12:07 +0000 (03:12 +0000)]
Change order of includes to pick up sys/types.h so that typedefs
of htonl and friends are not parse errors.

27 years agoPowerPC is like alpha and mips.
rahnds [Thu, 2 Jan 1997 03:09:48 +0000 (03:09 +0000)]
PowerPC is like alpha and mips.

27 years agoAdd fp.c file, reformat to be more readable.
rahnds [Thu, 2 Jan 1997 03:06:54 +0000 (03:06 +0000)]
Add fp.c file, reformat to be more readable.

27 years agoadding files previously missing.
rahnds [Thu, 2 Jan 1997 02:55:47 +0000 (02:55 +0000)]
adding files previously missing.
The reg.h file may not be complete, currently the port does not support
ptrace.

27 years agoPowerpc port also uses new libkvm.
rahnds [Thu, 2 Jan 1997 02:31:08 +0000 (02:31 +0000)]
Powerpc port also uses new libkvm.

27 years agoStub routines for set|get fpsticky, fpround, ...
rahnds [Thu, 2 Jan 1997 02:28:58 +0000 (02:28 +0000)]
Stub routines for set|get fpsticky, fpround, ...
Fixing this is listed in the Todo section.

27 years agogetc returns int not char.
rahnds [Thu, 2 Jan 1997 02:25:56 +0000 (02:25 +0000)]
getc returns int not char.
This matters on some ports, such as powerpc. (signed vs unsigned issue).

27 years agoadd a comment on how to start xdm via init (only i386 for now - which other
graichen [Wed, 1 Jan 1997 20:15:34 +0000 (20:15 +0000)]
add a comment on how to start xdm via init (only i386 for now - which other
ports do also have X and on which device in ttys the xdm has to be started
there ?)

27 years agoadd a comment about the comment in ttys about how to start xdm via init
graichen [Wed, 1 Jan 1997 20:14:03 +0000 (20:14 +0000)]
add a comment about the comment in ttys about how to start xdm via init

27 years agothe master with comments in it is not that much of a good idea - if
graichen [Wed, 1 Jan 1997 20:12:21 +0000 (20:12 +0000)]
the master with comments in it is not that much of a good idea - if
you enable amd in /etc/netstart by accident it will get very confused
about all those comments - i removed it and put a sample master files
there

27 years agoadd a comment about how to configure pci pcmcia chips (from stefan grefen
graichen [Wed, 1 Jan 1997 20:10:34 +0000 (20:10 +0000)]
add a comment about how to configure pci pcmcia chips (from stefan grefen
- the original author of the NetBSD pcmcia stuff)

p.s.: this way i got my notebook working with pcmcia

27 years agoremove unneded space in printf (only cosmetic)
graichen [Wed, 1 Jan 1997 20:08:10 +0000 (20:08 +0000)]
remove unneded space in printf (only cosmetic)

27 years agoadded info about rfork(2)
kstailey [Wed, 1 Jan 1997 18:57:12 +0000 (18:57 +0000)]
added info about rfork(2)

27 years agodon't count on MFS in add_blkdev_randomness
mickey [Wed, 1 Jan 1997 16:16:13 +0000 (16:16 +0000)]
don't count on MFS in add_blkdev_randomness

27 years agoGet blktochr() from sun3/sun3/conf.c
briggs [Wed, 1 Jan 1997 15:54:21 +0000 (15:54 +0000)]
Get blktochr() from sun3/sun3/conf.c

27 years agoPrototypes for mountroot, etc. are now in sys/systm.h--use ufs/ffs/ffs_extern.h
briggs [Wed, 1 Jan 1997 14:59:46 +0000 (14:59 +0000)]
Prototypes for mountroot, etc. are now in sys/systm.h--use ufs/ffs/ffs_extern.h
for ffs_mountroot proto.

27 years agoSupply full path on 'include' lines for config.
briggs [Wed, 1 Jan 1997 04:04:48 +0000 (04:04 +0000)]
Supply full path on 'include' lines for config.

27 years agosync with 17-Dec-1996
kstailey [Tue, 31 Dec 1996 06:12:28 +0000 (06:12 +0000)]
sync with 17-Dec-1996

27 years agoremoved unused CTL_MACHDEP stuff
kstailey [Tue, 31 Dec 1996 01:58:02 +0000 (01:58 +0000)]
removed unused CTL_MACHDEP stuff

27 years agoput entries back into alpha sorted order
kstailey [Mon, 30 Dec 1996 23:34:33 +0000 (23:34 +0000)]
put entries back into alpha sorted order

27 years agoadded info about /emul
kstailey [Mon, 30 Dec 1996 23:25:53 +0000 (23:25 +0000)]
added info about /emul

27 years agoFix typo
tholo [Sun, 29 Dec 1996 23:58:43 +0000 (23:58 +0000)]
Fix typo

27 years agodon't strip boot.com on install
graichen [Sun, 29 Dec 1996 19:44:49 +0000 (19:44 +0000)]
don't strip boot.com on install

27 years agobe more consistent when printing the memory values at bootup - now also
graichen [Sun, 29 Dec 1996 12:27:26 +0000 (12:27 +0000)]
be more consistent when printing the memory values at bootup - now also
the BIOS mem stuff is printed in bytes - like the other values too

27 years agoadd some comments to some things we removed to get also more broken
graichen [Sun, 29 Dec 1996 12:25:59 +0000 (12:25 +0000)]
add some comments to some things we removed to get also more broken
keyboards working

27 years agochange the name of the history file from .pdksh_hist to .ksh_history
graichen [Sun, 29 Dec 1996 12:24:05 +0000 (12:24 +0000)]
change the name of the history file from .pdksh_hist to .ksh_history
this way it is clearer where it comes from (pdksh is ksh in OpenBSD)
and it's more consistent with other shells (bash - .bash_history and i
think FreeBSD's sh also used something like .sh_history)

27 years agoremove one / from the printf of the filenames (_PATH_UNIX begings with a
graichen [Sun, 29 Dec 1996 12:21:26 +0000 (12:21 +0000)]
remove one / from the printf of the filenames (_PATH_UNIX begings with a
slash - /bsd so we don't need an extra slash there)

27 years agoour tar (paxtar) is now in /bin/tar not /usr/bin/tar
graichen [Sun, 29 Dec 1996 12:19:08 +0000 (12:19 +0000)]
our tar (paxtar) is now in /bin/tar not /usr/bin/tar

27 years agowork around the missing (gtar) -T (--files-from) option of our paxtar
graichen [Sun, 29 Dec 1996 12:18:27 +0000 (12:18 +0000)]
work around the missing (gtar) -T (--files-from) option of our paxtar
in pkg_create so that it should work now with paxtar (the -X option is
still missing due to missing -X - in the gtar meaning --exclude-from-file
option)

i did it by changing the FreeBSD way of doing it (open a pipe to tar with
-T - (read filenames from stdin) and give all the filenames to the pipe)
to constructing a big :-) argumentlist for tar and executing it without
the pipe (not the best solution but it works :-)

27 years agochanged __NetBSD__ to __OpenBSD__
kstailey [Sat, 28 Dec 1996 23:10:34 +0000 (23:10 +0000)]
changed __NetBSD__ to __OpenBSD__