openbsd
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

27 years agoadd missing #ifdef COMPAT_10
graichen [Fri, 20 Dec 1996 07:24:49 +0000 (07:24 +0000)]
add missing #ifdef COMPAT_10

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

27 years agoNevermind, curses problem was caused by a busted lib on threadway.
downsj [Fri, 20 Dec 1996 00:22:18 +0000 (00:22 +0000)]
Nevermind, curses problem was caused by a busted lib on threadway.

27 years agosupport four letter device names
downsj [Fri, 20 Dec 1996 00:17:29 +0000 (00:17 +0000)]
support four letter device names

27 years agoCreate include/ss.
etheisen [Thu, 19 Dec 1996 23:43:02 +0000 (23:43 +0000)]
Create include/ss.

27 years agogid games
deraadt [Thu, 19 Dec 1996 23:08:50 +0000 (23:08 +0000)]
gid games

27 years agosetgid games, not setuid games. closes a neat set of holes
deraadt [Thu, 19 Dec 1996 22:19:48 +0000 (22:19 +0000)]
setgid games, not setuid games. closes a neat set of holes

27 years agotoast shell escape code
deraadt [Thu, 19 Dec 1996 21:02:35 +0000 (21:02 +0000)]
toast shell escape code

27 years agoavoid oflows, thanks also to todd
deraadt [Thu, 19 Dec 1996 18:38:40 +0000 (18:38 +0000)]
avoid oflows, thanks also to todd

27 years agonetbsd fix to problem found by m4@nts.umn.edu
deraadt [Thu, 19 Dec 1996 18:26:58 +0000 (18:26 +0000)]
netbsd fix to problem found by m4@nts.umn.edu

27 years agorepair; david@mono.org
deraadt [Thu, 19 Dec 1996 18:21:02 +0000 (18:21 +0000)]
repair; david@mono.org

27 years agosync to 2.3b3
mickey [Thu, 19 Dec 1996 13:45:16 +0000 (13:45 +0000)]
sync to 2.3b3

27 years agodo SIOCGIFADDR
mickey [Thu, 19 Dec 1996 12:58:14 +0000 (12:58 +0000)]
do SIOCGIFADDR

27 years agodo SIOCGIFADDR in ether_ioctl
mickey [Thu, 19 Dec 1996 12:49:53 +0000 (12:49 +0000)]
do SIOCGIFADDR in ether_ioctl

27 years agotreat only ether II type packets for ipx.
mickey [Thu, 19 Dec 1996 10:59:21 +0000 (10:59 +0000)]
treat only ether II type packets for ipx.

27 years agoReally set column to 0 when outputting a carriage return...
tholo [Thu, 19 Dec 1996 07:54:06 +0000 (07:54 +0000)]
Really set column to 0 when outputting a carriage return...

27 years agomake mode/group on /usr/src/ consistent with mtree/special
millert [Thu, 19 Dec 1996 02:38:08 +0000 (02:38 +0000)]
make mode/group on /usr/src/ consistent with mtree/special

27 years agosync with mtree/special
millert [Thu, 19 Dec 1996 02:31:17 +0000 (02:31 +0000)]
sync with mtree/special

27 years agoConditionalize GCC and ANSI/ISO C dependencies
niklas [Wed, 18 Dec 1996 18:30:58 +0000 (18:30 +0000)]
Conditionalize GCC and ANSI/ISO C dependencies

27 years agoUp limit of available user file descriptors (e.g. for redirections) to 32
niklas [Wed, 18 Dec 1996 18:28:37 +0000 (18:28 +0000)]
Up limit of available user file descriptors (e.g. for redirections) to 32

27 years agoMake pccom compile. This stull really needs to be merged into the
millert [Wed, 18 Dec 1996 16:51:44 +0000 (16:51 +0000)]
Make pccom compile.  This stull really needs to be merged into the
normal com driver.

27 years agoBack out strcpy() -> strncpy() change. Not needed as the array is malloc'd
millert [Wed, 18 Dec 1996 16:50:07 +0000 (16:50 +0000)]
Back out strcpy() -> strncpy() change.  Not needed as the array is malloc'd
with enough space.  Guess that's why I didn't commit this before ;-)

27 years agoUse strncpy() instead of strcpy() where useful, check strdup()
millert [Wed, 18 Dec 1996 04:55:53 +0000 (04:55 +0000)]
Use strncpy() instead of strcpy() where useful, check strdup()
ret val, and pass -Wall.

27 years agomake commented-out stuff secure just in case anyone uncomments it.
millert [Wed, 18 Dec 1996 04:32:57 +0000 (04:32 +0000)]
make commented-out stuff secure just in case anyone uncomments it.

27 years agornd -> random
millert [Wed, 18 Dec 1996 04:29:49 +0000 (04:29 +0000)]
rnd -> random

27 years agotodd is under post-exam stress relief
deraadt [Wed, 18 Dec 1996 04:07:35 +0000 (04:07 +0000)]
todd is under post-exam stress relief

27 years agosupport getting multiple files at once, e.g
michaels [Wed, 18 Dec 1996 01:59:15 +0000 (01:59 +0000)]
support getting multiple files at once, e.g
"ftp host:pub/tst/test /pub/tst/test2 /pub/tst" will get files
"test", then "test2" and then the cd to "pub/tst" on the same host and
become interactive without closing/reopening connection each time.
(needs leading '/' on every path but the first, as the rest are
relative to the first. (a feauture, really))

27 years agomissing unsigned caused bad sign-extension
niklas [Tue, 17 Dec 1996 23:50:51 +0000 (23:50 +0000)]
missing unsigned caused bad sign-extension

27 years agornd -> random doncha know
millert [Tue, 17 Dec 1996 22:56:02 +0000 (22:56 +0000)]
rnd -> random doncha know

27 years agoAdd traditional handling of all upper-case input
tholo [Tue, 17 Dec 1996 19:33:53 +0000 (19:33 +0000)]
Add traditional handling of all upper-case input

27 years agoFix oversight in column handling with OCRNL enabled
tholo [Tue, 17 Dec 1996 19:19:33 +0000 (19:19 +0000)]
Fix oversight in column handling with OCRNL enabled

27 years agoReset output column when outputting \r with ONLCR
tholo [Tue, 17 Dec 1996 19:15:24 +0000 (19:15 +0000)]
Reset output column when outputting \r with ONLCR