openbsd
27 years agoUse <stdlib.h>, not <malloc.h>
tholo [Wed, 25 Dec 1996 01:19:17 +0000 (01:19 +0000)]
Use <stdlib.h>, not <malloc.h>

27 years agosync with NetBSD
kstailey [Tue, 24 Dec 1996 21:34:49 +0000 (21:34 +0000)]
sync with NetBSD

27 years agonew NetBSD file
kstailey [Tue, 24 Dec 1996 21:31:44 +0000 (21:31 +0000)]
new NetBSD file

27 years agodo not need umask fiddling
deraadt [Tue, 24 Dec 1996 21:22:10 +0000 (21:22 +0000)]
do not need umask fiddling

27 years agotest kernel for wglen driver
deraadt [Tue, 24 Dec 1996 20:31:47 +0000 (20:31 +0000)]
test kernel for wglen driver

27 years agonearly working driver for wglen serial card
deraadt [Tue, 24 Dec 1996 20:31:23 +0000 (20:31 +0000)]
nearly working driver for wglen serial card

27 years agofor the moment, yammer a bit more
deraadt [Tue, 24 Dec 1996 20:30:40 +0000 (20:30 +0000)]
for the moment, yammer a bit more

27 years agocall all irq routines
deraadt [Tue, 24 Dec 1996 20:29:02 +0000 (20:29 +0000)]
call all irq routines

27 years agoreclaim NFSMNT_RESVPORT bit, and add more traditional attribute cache timeout flags
dm [Tue, 24 Dec 1996 20:14:29 +0000 (20:14 +0000)]
reclaim NFSMNT_RESVPORT bit, and add more traditional attribute cache timeout flags

27 years agoMake termination of objects wait for possible collapses before altering
niklas [Tue, 24 Dec 1996 20:14:28 +0000 (20:14 +0000)]
Make termination of objects wait for possible collapses before altering
the object's shadow linkage.  Also note that the object is going to die
so that a possible collapse can finish early.

27 years agoindicate this mktemp is vulnerable to a DOS attack, however the impact is very low
deraadt [Tue, 24 Dec 1996 20:04:14 +0000 (20:04 +0000)]
indicate this mktemp is vulnerable to a DOS attack, however the impact is very low

27 years agouse mkstemp instead
deraadt [Tue, 24 Dec 1996 20:00:04 +0000 (20:00 +0000)]
use mkstemp instead

27 years agocomment on why this mktemp use is safe
deraadt [Tue, 24 Dec 1996 19:42:03 +0000 (19:42 +0000)]
comment on why this mktemp use is safe

27 years agouse mkstemp
deraadt [Tue, 24 Dec 1996 19:28:03 +0000 (19:28 +0000)]
use mkstemp

27 years agoref sigaction
deraadt [Tue, 24 Dec 1996 19:17:10 +0000 (19:17 +0000)]
ref sigaction

27 years agouse mkstemp()
deraadt [Tue, 24 Dec 1996 08:37:50 +0000 (08:37 +0000)]
use mkstemp()

27 years agoUse mkstemp(3) for temporary files
tholo [Tue, 24 Dec 1996 03:44:13 +0000 (03:44 +0000)]
Use mkstemp(3) for temporary files

27 years agono mkfs
deraadt [Tue, 24 Dec 1996 02:40:53 +0000 (02:40 +0000)]
no mkfs

27 years agodeal with the 2340 lie in the right place, i think
deraadt [Tue, 24 Dec 1996 01:33:33 +0000 (01:33 +0000)]
deal with the 2340 lie in the right place, i think

27 years agobye bye
deraadt [Tue, 24 Dec 1996 00:12:03 +0000 (00:12 +0000)]
bye bye

27 years agoPowerPC port uses binutils not 'standard' compilation tools.
rahnds [Mon, 23 Dec 1996 22:56:50 +0000 (22:56 +0000)]
PowerPC port uses binutils not 'standard' compilation tools.

27 years agoPowerpc port uses binutils not old compiler tools.
rahnds [Mon, 23 Dec 1996 22:42:46 +0000 (22:42 +0000)]
Powerpc port uses binutils not old compiler tools.

27 years agowarn whoever wants krb5 that they have a /tmp race to fix first
deraadt [Mon, 23 Dec 1996 19:21:07 +0000 (19:21 +0000)]
warn whoever wants krb5 that they have a /tmp race to fix first

27 years agoFix assignment/truth-value compiler warning.
robin [Mon, 23 Dec 1996 14:29:46 +0000 (14:29 +0000)]
Fix assignment/truth-value compiler warning.

27 years agoAdd missing # include <term.h>
robin [Mon, 23 Dec 1996 13:42:24 +0000 (13:42 +0000)]
Add missing # include <term.h>

27 years agoEliminate assignment/truth-value compiler warning.
robin [Mon, 23 Dec 1996 13:31:40 +0000 (13:31 +0000)]
Eliminate assignment/truth-value compiler warning.

27 years agopppd 2.3b3 import. some minor buf oflow fixes and so.
mickey [Mon, 23 Dec 1996 13:22:36 +0000 (13:22 +0000)]
pppd 2.3b3 import. some minor buf oflow fixes and so.
try it out ppl, but i've got it running talking to cisco w/ all the AFs
enabled in kernel.

27 years agoAdd parentheses to assignment used as truth value to eliminate a compiler
robin [Mon, 23 Dec 1996 13:12:54 +0000 (13:12 +0000)]
Add parentheses to assignment used as truth value to eliminate a compiler
warning.

27 years agoRemove redundant/incorrect switch case label: `def_case'
robin [Mon, 23 Dec 1996 13:10:10 +0000 (13:10 +0000)]
Remove redundant/incorrect switch case label: `def_case'

27 years agono panic on ppp down/retry
mickey [Mon, 23 Dec 1996 08:47:03 +0000 (08:47 +0000)]
no panic on ppp down/retry

27 years ago1 -> 0
downsj [Mon, 23 Dec 1996 08:38:49 +0000 (08:38 +0000)]
1 -> 0

27 years agoadd readlabelfs.3
downsj [Mon, 23 Dec 1996 08:25:30 +0000 (08:25 +0000)]
add readlabelfs.3

27 years agoreadlabelfs()
downsj [Mon, 23 Dec 1996 07:44:59 +0000 (07:44 +0000)]
readlabelfs()

27 years agoreadlabelfs() takes two arguments now, update prototype, inc major number.
downsj [Mon, 23 Dec 1996 07:43:42 +0000 (07:43 +0000)]
readlabelfs() takes two arguments now, update prototype, inc major number.

27 years agoBack out last change, it is not sufficient.
millert [Mon, 23 Dec 1996 06:08:59 +0000 (06:08 +0000)]
Back out last change, it is not sufficient.

27 years agoAvoid spoofing when cd'ing to subdirs. First cut.
millert [Mon, 23 Dec 1996 04:58:34 +0000 (04:58 +0000)]
Avoid spoofing when cd'ing to subdirs.  First cut.

27 years agoAdd -execdir support.
millert [Mon, 23 Dec 1996 04:58:08 +0000 (04:58 +0000)]
Add -execdir support.

27 years agouse _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types
deraadt [Mon, 23 Dec 1996 02:56:47 +0000 (02:56 +0000)]
use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types

27 years agoi think this fixes COMPAT_ULTRIX
deraadt [Mon, 23 Dec 1996 02:56:26 +0000 (02:56 +0000)]
i think this fixes COMPAT_ULTRIX

27 years agouse _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types
deraadt [Mon, 23 Dec 1996 02:42:22 +0000 (02:42 +0000)]
use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types

27 years agoImport of Openfirmware device drivers for PowerPC port.
rahnds [Mon, 23 Dec 1996 00:32:56 +0000 (00:32 +0000)]
Import of Openfirmware device drivers for PowerPC port.
From NetBSD, with modification to get current time in kernel.

27 years agoCorrect handling of weak symbols in shared libraries; from pk@netbsd.org
tholo [Sun, 22 Dec 1996 20:54:16 +0000 (20:54 +0000)]
Correct handling of weak symbols in shared libraries; from pk@netbsd.org

27 years agoAdd powerpc support to gprof. (primative support).
rahnds [Sun, 22 Dec 1996 20:24:24 +0000 (20:24 +0000)]
Add powerpc support to gprof. (primative support).

27 years agoPowerPC port is ELF based, treat same as svr4, mips, and alpha.
rahnds [Sun, 22 Dec 1996 20:15:35 +0000 (20:15 +0000)]
PowerPC port is ELF based, treat same as svr4, mips, and alpha.

27 years agocrank ulimit -d for fsck run (someone with a 19GB ccd ran into a problem)
deraadt [Sun, 22 Dec 1996 20:14:09 +0000 (20:14 +0000)]
crank ulimit -d for fsck run (someone with a 19GB ccd ran into a problem)

27 years agoproper gid revoke
deraadt [Sun, 22 Dec 1996 20:00:41 +0000 (20:00 +0000)]
proper gid revoke

27 years agoremoved netbsd refs from "clean" target
kstailey [Sun, 22 Dec 1996 19:59:51 +0000 (19:59 +0000)]
removed netbsd refs from "clean" target

27 years agotypo
deraadt [Sun, 22 Dec 1996 19:41:23 +0000 (19:41 +0000)]
typo

27 years agoadditional files needed for gcc support for powerpc.
rahnds [Sun, 22 Dec 1996 18:52:24 +0000 (18:52 +0000)]
additional files needed for gcc support for powerpc.

27 years agogcc support for powerpc-openbsd
rahnds [Sun, 22 Dec 1996 18:32:41 +0000 (18:32 +0000)]
gcc support for powerpc-openbsd

27 years agochanges to binutils to support powerpc-openbsd
rahnds [Sun, 22 Dec 1996 18:11:15 +0000 (18:11 +0000)]
changes to binutils to support powerpc-openbsd

27 years agobring in bsd.own.mk
niklas [Sun, 22 Dec 1996 17:46:02 +0000 (17:46 +0000)]
bring in bsd.own.mk

27 years agomake spec_advlock() perform indirect call to lf_advlock()
kstailey [Sun, 22 Dec 1996 16:05:24 +0000 (16:05 +0000)]
make spec_advlock() perform indirect call to lf_advlock()

27 years agobring back all the local OpenBSD changes to the pmax tree since 961107
graichen [Sun, 22 Dec 1996 15:22:07 +0000 (15:22 +0000)]
bring back all the local OpenBSD changes to the pmax tree since 961107

i hope that i did'nt break anything of the files required for the alpha
(in the dev dir) niklas :-)

27 years agoupdate the pmax stuff to NetBSD 961107 - this version i got somehow
graichen [Sun, 22 Dec 1996 15:17:04 +0000 (15:17 +0000)]
update the pmax stuff to NetBSD 961107 - this version i got somehow
compiled on my decstation 2100 (PLUTO) - but it will not fully work
out of the box - but i want to bring it into the tree because i get
my own pmax on 961228 - so that i have a good startpoint then :-)

all the OpenBSD changes to the pmax tree will follow in the next commit

27 years agoimport of elf2aout - required for the pmax and taken from the NetBSD
graichen [Sun, 22 Dec 1996 15:03:32 +0000 (15:03 +0000)]
import of elf2aout - required for the pmax and taken from the NetBSD
elftools - adapted to OpenBSD by me

27 years agonope, ss is wrong
deraadt [Sun, 22 Dec 1996 06:29:00 +0000 (06:29 +0000)]
nope, ss is wrong

27 years agoDeal with _POSIX_SAVED_IDS when relinquishing privileges
tholo [Sun, 22 Dec 1996 03:49:44 +0000 (03:49 +0000)]
Deal with _POSIX_SAVED_IDS when relinquishing privileges

27 years agoDeal with _POSIX_SAVED_IDS when relinquishing privileges
tholo [Sun, 22 Dec 1996 03:39:24 +0000 (03:39 +0000)]
Deal with _POSIX_SAVED_IDS when relinquishing privileges

27 years agoDeal with _POSIX_SAVED_IDS when relinquishing privileges
deraadt [Sun, 22 Dec 1996 03:28:56 +0000 (03:28 +0000)]
Deal with _POSIX_SAVED_IDS when relinquishing privileges

27 years agoDeal with _POSIX_SAVED_IDS when relinquishing privileges
tholo [Sun, 22 Dec 1996 03:25:52 +0000 (03:25 +0000)]
Deal with _POSIX_SAVED_IDS when relinquishing privileges

27 years agoDeal with _POSIX_SAVED_IDS when relinquishing privileges
deraadt [Sun, 22 Dec 1996 03:00:47 +0000 (03:00 +0000)]
Deal with _POSIX_SAVED_IDS when relinquishing privileges

27 years agoMAXHOSTNAMELEN, not +1
deraadt [Sun, 22 Dec 1996 02:59:53 +0000 (02:59 +0000)]
MAXHOSTNAMELEN, not +1

27 years agoDeal with _POSIX_SAVED_IDS when relinquishing privileges
tholo [Sun, 22 Dec 1996 02:57:49 +0000 (02:57 +0000)]
Deal with _POSIX_SAVED_IDS when relinquishing privileges

27 years agodisklabel the vnd
deraadt [Sun, 22 Dec 1996 01:52:41 +0000 (01:52 +0000)]
disklabel the vnd

27 years agogive "a" partition a ufs type by default
deraadt [Sun, 22 Dec 1996 01:50:15 +0000 (01:50 +0000)]
give "a" partition a ufs type by default

27 years agodocument that "vnd0" works
deraadt [Sun, 22 Dec 1996 01:46:45 +0000 (01:46 +0000)]
document that "vnd0" works

27 years agodisklabels work now
deraadt [Sun, 22 Dec 1996 01:42:45 +0000 (01:42 +0000)]
disklabels work now

27 years ago-Wall madness.
millert [Sat, 21 Dec 1996 22:23:36 +0000 (22:23 +0000)]
-Wall madness.

27 years ago$Id -> $OpenBSD
millert [Sat, 21 Dec 1996 22:17:44 +0000 (22:17 +0000)]
$Id -> $OpenBSD

27 years agoDeal correctly with being SGID
tholo [Sat, 21 Dec 1996 22:06:21 +0000 (22:06 +0000)]
Deal correctly with being SGID

27 years agoFrom pk@NetBSD.ORG; Set EXTERNAL bit on `.weak' declarations.
tholo [Sat, 21 Dec 1996 21:50:55 +0000 (21:50 +0000)]
From pk@NetBSD.ORG; Set EXTERNAL bit on `.weak' declarations.

27 years agoRelinguish SGID games, restore it only when opening the score file
tholo [Sat, 21 Dec 1996 21:43:54 +0000 (21:43 +0000)]
Relinguish SGID games, restore it only when opening the score file

27 years ago/var/games should be writable by group games
tholo [Sat, 21 Dec 1996 21:41:40 +0000 (21:41 +0000)]
/var/games should be writable by group games

27 years agoClean up lint and -Wall output
tholo [Sat, 21 Dec 1996 21:17:49 +0000 (21:17 +0000)]
Clean up lint and -Wall output

27 years agoAdd powerpc support.
rahnds [Sat, 21 Dec 1996 21:16:43 +0000 (21:16 +0000)]
Add powerpc support.

27 years agoAdd powerpc support. To bad this needs to be modified for every
rahnds [Sat, 21 Dec 1996 21:14:44 +0000 (21:14 +0000)]
Add powerpc support. To bad this needs to be modified for every
new architecture.

27 years agoDon't reset group here, we won't be able to execute games that way
tholo [Sat, 21 Dec 1996 21:11:53 +0000 (21:11 +0000)]
Don't reset group here, we won't be able to execute games that way

27 years agoChange to support the powerpc port. To bad this define isn't put in
rahnds [Sat, 21 Dec 1996 21:08:17 +0000 (21:08 +0000)]
Change to support the powerpc port. To bad this define isn't put in
a machine header, such as machine/endian.h so that every new
architecture would not have to modify this file.

27 years agoCheck-in of powerpc library support.
rahnds [Sat, 21 Dec 1996 21:02:31 +0000 (21:02 +0000)]
Check-in of powerpc library support.
NOTE: This will not work until the other pieces are checked in.
This is primarily the NetBSD powerpc port, with modifications
to support ELF.

This is not currently enough changes, MACHINE_MID pieces are not yet
commited.

27 years agoCheck-in of powerpc csu support.
rahnds [Sat, 21 Dec 1996 20:53:48 +0000 (20:53 +0000)]
Check-in of powerpc csu support.
NOTE: This will not work until the other pieces are checked in.
This is primarily the NetBSD powerpc port, with modifications
to support ELF.

A change needs to be made to one of the bsd.*.mk files to support
DESTDIR compilation with the crtbegin and crtend files.

27 years agoCheck-in of powerpc distrib support.
rahnds [Sat, 21 Dec 1996 20:46:17 +0000 (20:46 +0000)]
Check-in of powerpc distrib support.
NOTE: This will not work until the other pieces are checked in.
This is primarily the NetBSD powerpc port, with modifications
to support ELF.

The distrib pieces will not work until the ELF crunchgen support is
checked in.

27 years agoCheck-in of powerpc library support.
rahnds [Sat, 21 Dec 1996 20:42:21 +0000 (20:42 +0000)]
Check-in of powerpc library support.
NOTE: This will not work until the other pieces are checked in.
    This is primarily the NetBSD powerpc port, with modifications
to support ELF.

27 years agoCheck-in of powerpc kernel support.
rahnds [Sat, 21 Dec 1996 20:39:26 +0000 (20:39 +0000)]
Check-in of powerpc kernel support.
NOTE: This will not work until the other pieces are checked in.
This is primarily the NetBSD powerpc port, with modifications
to support ELF.

27 years agoCheck-in of powerpc kernel support.
rahnds [Sat, 21 Dec 1996 20:35:52 +0000 (20:35 +0000)]
Check-in of powerpc kernel support.
NOTE: This will not work until the other pieces are checked in.
This is primarily the NetBSD powerpc port, with modifications
to support ELF.

27 years agomake Kerberos libraries conditional to KERBEROS define in Makefile
kstailey [Sat, 21 Dec 1996 19:21:47 +0000 (19:21 +0000)]
make Kerberos libraries conditional to KERBEROS define in Makefile

27 years agofailures bomb, not seize
deraadt [Sat, 21 Dec 1996 05:52:31 +0000 (05:52 +0000)]
failures bomb, not seize

27 years agofloppy labels have default to fd0a being 4.2BSD
deraadt [Sat, 21 Dec 1996 05:28:20 +0000 (05:28 +0000)]
floppy labels have default to fd0a being 4.2BSD

27 years agoadd disklabel support
deraadt [Sat, 21 Dec 1996 05:21:13 +0000 (05:21 +0000)]
add disklabel support

27 years agovnd driver has disklabel support now; use it
deraadt [Sat, 21 Dec 1996 05:20:21 +0000 (05:20 +0000)]
vnd driver has disklabel support now; use it

27 years agouse opendev()
deraadt [Sat, 21 Dec 1996 05:07:41 +0000 (05:07 +0000)]
use opendev()

27 years agoindent nice
deraadt [Sat, 21 Dec 1996 01:25:50 +0000 (01:25 +0000)]
indent nice

27 years agoAdd back "optional" keyword that got nuked in merge of FreeBSD mods.
millert [Fri, 20 Dec 1996 18:13:42 +0000 (18:13 +0000)]
Add back "optional" keyword that got nuked in merge of FreeBSD mods.

27 years agoAdd readdisklabel support for BSD disklabels. I got tired of the amiga RDB
niklas [Fri, 20 Dec 1996 16:48:09 +0000 (16:48 +0000)]
Add readdisklabel support for BSD disklabels.  I got tired of the amiga RDB
only requirement, now you can partition with disklabel(8) -r instead.
However I have not done in-kernel writedisklabel support yet.

27 years agoconstrain bufcache on sun4m too
deraadt [Fri, 20 Dec 1996 15:59:12 +0000 (15:59 +0000)]
constrain bufcache on sun4m too

27 years agoinitialize name; is this the right hack?
deraadt [Fri, 20 Dec 1996 15:58:40 +0000 (15:58 +0000)]
initialize name; is this the right hack?

27 years agoadd fs type arg to newfs
kstailey [Fri, 20 Dec 1996 15:35:55 +0000 (15:35 +0000)]
add fs type arg to newfs

27 years agoconfig-dependent heck no
deraadt [Fri, 20 Dec 1996 08:26:26 +0000 (08:26 +0000)]
config-dependent heck no

27 years agoactually explain what -u does
deraadt [Fri, 20 Dec 1996 08:18:36 +0000 (08:18 +0000)]
actually explain what -u does

27 years agocorrect defines/includes
mickey [Fri, 20 Dec 1996 07:43:46 +0000 (07:43 +0000)]
correct defines/includes