openbsd
28 years agoproperly catch cases where buffers are on the kstack, from hannken@eis.cs.tu-bs.de
deraadt [Thu, 30 Nov 1995 23:03:46 +0000 (23:03 +0000)]
properly catch cases where buffers are on the kstack, from hannken@eis.cs.tu-bs.de

28 years agocorrect way to call tsleep is almost always "while (condition) tsleep(...)"
deraadt [Thu, 30 Nov 1995 22:59:06 +0000 (22:59 +0000)]
correct way to call tsleep is almost always "while (condition) tsleep(...)"

28 years agodo not truncate swdevt[] ever
deraadt [Thu, 30 Nov 1995 22:53:55 +0000 (22:53 +0000)]
do not truncate swdevt[] ever

28 years agoin actual fact MAXPARTITIONS is 16 and scsi disk is major 4
deraadt [Thu, 30 Nov 1995 22:53:00 +0000 (22:53 +0000)]
in actual fact MAXPARTITIONS is 16 and scsi disk is major 4

28 years agoprevent access to page 0 of virtual space
deraadt [Thu, 30 Nov 1995 22:52:05 +0000 (22:52 +0000)]
prevent access to page 0 of virtual space

28 years agointegrate 040 MDP_UNCACHE_WX cache changes by niklas & deraadt
deraadt [Thu, 30 Nov 1995 18:40:21 +0000 (18:40 +0000)]
integrate 040 MDP_UNCACHE_WX cache changes by niklas & deraadt

28 years agodo not drop into debugger on simple recoverable errors
deraadt [Thu, 30 Nov 1995 09:51:26 +0000 (09:51 +0000)]
do not drop into debugger on simple recoverable errors

28 years agoniklas pointed out the new MDP_UNCACHE_WX might break fork/exec.
deraadt [Wed, 29 Nov 1995 17:02:41 +0000 (17:02 +0000)]
niklas pointed out the new MDP_UNCACHE_WX might break fork/exec.
always set/clear in setregs() now

28 years agoadd inet_ntoa() to the kernel. use it to log nicer messages. idea from freebsd
deraadt [Tue, 28 Nov 1995 22:42:55 +0000 (22:42 +0000)]
add inet_ntoa() to the kernel. use it to log nicer messages. idea from freebsd

28 years agoFix SunOS emulation on 040
niklas [Tue, 28 Nov 1995 20:43:08 +0000 (20:43 +0000)]
Fix SunOS emulation on 040

28 years agoon the '040, do not cache write+exec pages for sunos processes. SunOS ld.so
deraadt [Tue, 28 Nov 1995 20:43:07 +0000 (20:43 +0000)]
on the '040, do not cache write+exec pages for sunos processes. SunOS ld.so
is unaware of split I/D caches, and hence messes up. patch by niklas

28 years agolet loadbsd define sync scsi operation
deraadt [Tue, 28 Nov 1995 19:35:58 +0000 (19:35 +0000)]
let loadbsd define sync scsi operation

28 years agoupdate from netbsd
deraadt [Tue, 28 Nov 1995 17:31:44 +0000 (17:31 +0000)]
update from netbsd

28 years agoi386 isa bounce buffers by hannken@eis.cs.tu-bs.de
deraadt [Tue, 28 Nov 1995 16:43:47 +0000 (16:43 +0000)]
i386 isa bounce buffers by hannken@eis.cs.tu-bs.de

28 years agoi386 isa bounce buffers by hannken@eis.cs.tu-bs.de
deraadt [Tue, 28 Nov 1995 16:15:42 +0000 (16:15 +0000)]
i386 isa bounce buffers by hannken@eis.cs.tu-bs.de
ultra14f does not bounce properly yet.

28 years agodelete last chunks of MAPPEDCOPY
deraadt [Tue, 28 Nov 1995 01:24:40 +0000 (01:24 +0000)]
delete last chunks of MAPPEDCOPY

28 years agodelete duplicate sysarch function body
deraadt [Tue, 28 Nov 1995 01:24:16 +0000 (01:24 +0000)]
delete duplicate sysarch function body

28 years agolog source route attempts when source routing is disabled
deraadt [Tue, 28 Nov 1995 01:22:56 +0000 (01:22 +0000)]
log source route attempts when source routing is disabled

28 years agoadd sysctl net.inet.ip.sourceroute option; default to 0. copied from freebsd
deraadt [Sun, 26 Nov 1995 23:40:17 +0000 (23:40 +0000)]
add sysctl net.inet.ip.sourceroute option; default to 0. copied from freebsd

28 years agopartial cleanup
deraadt [Sun, 26 Nov 1995 18:19:15 +0000 (18:19 +0000)]
partial cleanup

28 years agoenable tftp as it has security builtin;
deraadt [Sun, 26 Nov 1995 16:31:09 +0000 (16:31 +0000)]
enable tftp as it has security builtin;
disable walld/1 by default for security (as pointed out by Chris Cappuccio)

28 years agonew motd
deraadt [Sun, 26 Nov 1995 00:32:09 +0000 (00:32 +0000)]
new motd

28 years agomake quotas work on ffs; from andrew@wipux2.wifo.uni-mannheim.de; netbsd pr #1790
deraadt [Sat, 25 Nov 1995 16:46:23 +0000 (16:46 +0000)]
make quotas work on ffs; from andrew@wipux2.wifo.uni-mannheim.de; netbsd pr #1790

28 years agodocumentation repair; from andrew@wipux2.wifo.uni-mannheim.; netbsd pr #1786
deraadt [Sat, 25 Nov 1995 16:07:17 +0000 (16:07 +0000)]
documentation repair; from andrew@wipux2.wifo.uni-mannheim.; netbsd pr #1786

28 years agodocument "ms" field; from tng@nuclth15.phys.sci.osaka-u.ac.jp, netbsd pr#1789
deraadt [Sat, 25 Nov 1995 15:55:56 +0000 (15:55 +0000)]
document "ms" field; from tng@nuclth15.phys.sci.osaka-u.ac.jp, netbsd pr#1789

28 years agoinclude sys/types.h as mandated by X/Open XPG 4.2; from agc@sde.uts.amdahl.com; netbs...
deraadt [Thu, 23 Nov 1995 17:12:11 +0000 (17:12 +0000)]
include sys/types.h as mandated by X/Open XPG 4.2; from agc@sde.uts.amdahl.com; netbsd pr#1785

28 years agofrom netbsd
deraadt [Thu, 23 Nov 1995 16:28:59 +0000 (16:28 +0000)]
from netbsd

28 years agoupdate from netbsd
deraadt [Thu, 23 Nov 1995 15:56:20 +0000 (15:56 +0000)]
update from netbsd

28 years agouserret() parameter botch; prototype userret(); make ddb easier to enter
deraadt [Thu, 23 Nov 1995 13:14:31 +0000 (13:14 +0000)]
userret() parameter botch; prototype userret(); make ddb easier to enter

28 years agoMAPPEDCOPY is garbage; it is not cache-aware
deraadt [Thu, 23 Nov 1995 13:13:26 +0000 (13:13 +0000)]
MAPPEDCOPY is garbage; it is not cache-aware

28 years agoas has no -g flag
deraadt [Thu, 23 Nov 1995 13:13:05 +0000 (13:13 +0000)]
as has no -g flag

28 years agofake all target
deraadt [Wed, 22 Nov 1995 22:22:51 +0000 (22:22 +0000)]
fake all target

28 years agogo away
deraadt [Wed, 22 Nov 1995 15:39:52 +0000 (15:39 +0000)]
go away

28 years agodo not need to load off 4.3 filesystems
deraadt [Wed, 22 Nov 1995 11:17:17 +0000 (11:17 +0000)]
do not need to load off 4.3 filesystems

28 years agorelease text vnode before releasing credentials. vnode releasing can
deraadt [Wed, 22 Nov 1995 11:05:19 +0000 (11:05 +0000)]
release text vnode before releasing credentials. vnode releasing can
block, but credentials should be alive until the process is really
dead. from tegge@idt.unit.no; netbsd pr#1767

28 years agochange ZLRB_RING_SIZE to 4096
deraadt [Wed, 22 Nov 1995 11:03:05 +0000 (11:03 +0000)]
change ZLRB_RING_SIZE to 4096

28 years agocopy the bootblocks to the right place
deraadt [Wed, 22 Nov 1995 10:51:49 +0000 (10:51 +0000)]
copy the bootblocks to the right place

28 years agofix long/u_int32_t botch; do gethostbyname() only if netgroups are going to
deraadt [Wed, 22 Nov 1995 10:36:45 +0000 (10:36 +0000)]
fix long/u_int32_t botch; do gethostbyname() only if netgroups are going to
be used and do not abort; check for A->PTR->A loop otherwise only match on
#.#.#.# addresses; do not assume !0 is 1 as in ANSI C. netbsd pr#1683 led to
finding these problems.

28 years agohandle "cd -" causing crash if used as first sh command; from scottr@Plexus.COM;...
deraadt [Wed, 22 Nov 1995 10:32:52 +0000 (10:32 +0000)]
handle "cd -" causing crash if used as first sh command; from scottr@Plexus.COM; netbsd pr#1760

28 years agofrom netbsd:
deraadt [Wed, 22 Nov 1995 10:31:32 +0000 (10:31 +0000)]
from netbsd:
Prevent the ITE_ACTIVE bit from being cleared in iteoff() if the ITE_ISCONS
bit is set.  Works around the fact that the last process to have the
console open exits, the bit is cleared, and "syncing disks...", etc. is
not seen if the system is rebooted with reboot(8).  Fixes PR #1455.

28 years agonew fancy snapshot install from david@city.ac.uk
deraadt [Wed, 22 Nov 1995 10:21:25 +0000 (10:21 +0000)]
new fancy snapshot install from david@city.ac.uk

28 years agofrom netbsd; {} mania
deraadt [Wed, 22 Nov 1995 10:15:05 +0000 (10:15 +0000)]
from netbsd; {} mania

28 years agokernel is called /bsd
deraadt [Wed, 22 Nov 1995 09:58:39 +0000 (09:58 +0000)]
kernel is called /bsd

28 years agofake depend:
deraadt [Tue, 21 Nov 1995 17:42:13 +0000 (17:42 +0000)]
fake depend:

28 years agoadd cleandir target
deraadt [Tue, 21 Nov 1995 13:30:29 +0000 (13:30 +0000)]
add cleandir target

28 years agofix copyrights
deraadt [Tue, 21 Nov 1995 13:02:11 +0000 (13:02 +0000)]
fix copyrights

28 years agosilly theo forgot to assert copyright on his optimized version
deraadt [Tue, 21 Nov 1995 13:00:25 +0000 (13:00 +0000)]
silly theo forgot to assert copyright on his optimized version

28 years agomake this work
deraadt [Tue, 21 Nov 1995 03:53:32 +0000 (03:53 +0000)]
make this work

28 years agoadd erase support and another wangtek tape drive; from rhialto@polder.ubc.kun.nl...
deraadt [Mon, 20 Nov 1995 14:03:28 +0000 (14:03 +0000)]
add erase support and another wangtek tape drive; from rhialto@polder.ubc.kun.nl; netbsd pr#1705

28 years agolseek botch repair; from tegge@idt.unit.no; netbsd pr#1768
deraadt [Mon, 20 Nov 1995 13:36:18 +0000 (13:36 +0000)]
lseek botch repair; from tegge@idt.unit.no; netbsd pr#1768

28 years agoindentation botch
deraadt [Mon, 20 Nov 1995 09:38:09 +0000 (09:38 +0000)]
indentation botch

28 years agoprovide floor for sampling rate; from khym@bga.com; netbsd pr#1770
deraadt [Mon, 20 Nov 1995 09:36:56 +0000 (09:36 +0000)]
provide floor for sampling rate; from khym@bga.com; netbsd pr#1770

28 years agogethostbyname("#.#.#.#") should fail; not return an incompletely and
deraadt [Mon, 20 Nov 1995 09:34:33 +0000 (09:34 +0000)]
gethostbyname("#.#.#.#") should fail; not return an incompletely and
incorrectly initialized hostent. in particular, h_name is supposed to
be `an official name', and gethostbyname() wasn't even trying to meet
that requirement.

28 years agomake gdb handle all NUM_REGS registers; from jpo.drs@sni.de; netbsd pr#1651,1703
deraadt [Mon, 20 Nov 1995 09:21:12 +0000 (09:21 +0000)]
make gdb handle all NUM_REGS registers; from jpo.drs@sni.de; netbsd pr#1651,1703

28 years agomake dlopen() use hints database, not just paths; from etheisen@TECLink.Net; netbsd...
deraadt [Mon, 20 Nov 1995 07:19:40 +0000 (07:19 +0000)]
make dlopen() use hints database, not just paths; from etheisen@TECLink.Net; netbsd pr#1763

28 years agoadd # declaration for vme cgnine card
deraadt [Mon, 20 Nov 1995 07:01:12 +0000 (07:01 +0000)]
add # declaration for vme cgnine card

28 years agotypo glitch repair
deraadt [Sun, 19 Nov 1995 16:03:51 +0000 (16:03 +0000)]
typo glitch repair

28 years agofrom netbsd; just cleanup
deraadt [Sun, 19 Nov 1995 13:53:08 +0000 (13:53 +0000)]
from netbsd; just cleanup

28 years agofrom netbsd; cosmetic
deraadt [Sun, 19 Nov 1995 13:52:35 +0000 (13:52 +0000)]
from netbsd; cosmetic

28 years agofrom netbsd; Give translated label a valid magic number
deraadt [Sun, 19 Nov 1995 13:52:18 +0000 (13:52 +0000)]
from netbsd; Give translated label a valid magic number

28 years agofrom netbsd; Switch to ncr_si (will just do PIO for now) and cleanup
deraadt [Sun, 19 Nov 1995 13:52:02 +0000 (13:52 +0000)]
from netbsd; Switch to ncr_si (will just do PIO for now) and cleanup

28 years agofrom netbsd:
deraadt [Sun, 19 Nov 1995 13:51:25 +0000 (13:51 +0000)]
from netbsd:
Latest, greatest version of the new NCR driver.
DMA works!  Interrupts work!  Disconnect/reselect works!
To be paranoid, leave that all disabled for now...

28 years agofrom netbsd; Add copyright
deraadt [Sun, 19 Nov 1995 13:50:58 +0000 (13:50 +0000)]
from netbsd; Add copyright

28 years agofrom netbsd; get size of softc right
deraadt [Sun, 19 Nov 1995 13:49:18 +0000 (13:49 +0000)]
from netbsd; get size of softc right

28 years agofrom netbsd; Fix transposed copyin() args, from Niklas Hallqvist <niklas@appli.se>.
deraadt [Sun, 19 Nov 1995 13:48:28 +0000 (13:48 +0000)]
from netbsd; Fix transposed copyin() args, from Niklas Hallqvist <niklas@appli.se>.

28 years agofrom netbsd; Oops, this also belongs to the ser02 selection
deraadt [Sun, 19 Nov 1995 13:47:56 +0000 (13:47 +0000)]
from netbsd; Oops, this also belongs to the ser02 selection

28 years agofrom netbsd; ufs -> ffs & two more filesystem types (from Mike Long; PR#1766)
deraadt [Sun, 19 Nov 1995 13:47:25 +0000 (13:47 +0000)]
from netbsd; ufs -> ffs & two more filesystem types (from Mike Long; PR#1766)

28 years agofrom netbsd; will be customized to openbsd later of course...
deraadt [Sun, 19 Nov 1995 13:34:59 +0000 (13:34 +0000)]
from netbsd; will be customized to openbsd later of course...

28 years agofrom netbsd:
deraadt [Sun, 19 Nov 1995 13:32:21 +0000 (13:32 +0000)]
from netbsd:
This is a table describing the geometry for several types of HP-IB disks.
The information is gleaned from .../hp300/dev/rdreg.h and
.../hp300/dev/rd_compat.c, but is much easier to read in this form.
This is basically meant to be supplemental documentation to the INSTALL
notes, and will be really useful when labeling a disk with SYS_INST.

28 years agoif you read with a smaller buffer than the block on the tape, b_resid and b_count...
deraadt [Sun, 19 Nov 1995 13:27:52 +0000 (13:27 +0000)]
if you read with a smaller buffer than the block on the tape, b_resid and b_count would be incorrect; from jtk@kolvir.arlington.ma.us; netbsd pr#1597

28 years agolatest from ftp://rs.internic.net/domain/named.ca
deraadt [Sun, 19 Nov 1995 13:15:19 +0000 (13:15 +0000)]
latest from ftp://rs.internic.net/domain/named.ca

28 years agoin clcninit: we need to use IIOV to convert the physical address of
chuck [Sun, 19 Nov 1995 03:04:16 +0000 (03:04 +0000)]
in clcninit: we need to use IIOV to convert the physical address of
the console to a virtual address.   otherwise we can not print anything
because our register pointer is wrong (this is on the 167).

28 years agorcons does NOT work on p4 bwtwo/cgtwo, probably because of alignment problems?
deraadt [Sun, 19 Nov 1995 00:11:38 +0000 (00:11 +0000)]
rcons does NOT work on p4 bwtwo/cgtwo, probably because of alignment problems?

28 years agosnapshot kernels have changed..
deraadt [Sat, 18 Nov 1995 15:44:24 +0000 (15:44 +0000)]
snapshot kernels have changed..

28 years agoremove a bunch of stupid 4/100 and bustype checks
deraadt [Sat, 18 Nov 1995 01:06:12 +0000 (01:06 +0000)]
remove a bunch of stupid 4/100 and bustype checks

28 years ago4/100: let the scsi controller number be N. if N=0, we are on swN, else
deraadt [Sat, 18 Nov 1995 01:05:45 +0000 (01:05 +0000)]
4/100: let the scsi controller number be N. if N=0, we are on swN, else
we are on siN-1

28 years agokernel is called bsd
deraadt [Fri, 17 Nov 1995 23:25:29 +0000 (23:25 +0000)]
kernel is called bsd

28 years agodeal with new rarp_getipaddress() semantics
deraadt [Fri, 17 Nov 1995 22:13:11 +0000 (22:13 +0000)]
deal with new rarp_getipaddress() semantics

28 years agoincorrect comment character in header
deraadt [Fri, 17 Nov 1995 22:05:43 +0000 (22:05 +0000)]
incorrect comment character in header

28 years agoincorrect comment character in header
deraadt [Fri, 17 Nov 1995 21:49:51 +0000 (21:49 +0000)]
incorrect comment character in header

28 years agoadd a neat hack for write, but it still does not work
deraadt [Fri, 17 Nov 1995 12:45:52 +0000 (12:45 +0000)]
add a neat hack for write, but it still does not work

28 years agohandle meta characters; good security idea from freebsd
deraadt [Fri, 17 Nov 1995 12:39:20 +0000 (12:39 +0000)]
handle meta characters; good security idea from freebsd

28 years agoadd si1
deraadt [Fri, 17 Nov 1995 12:35:26 +0000 (12:35 +0000)]
add si1

29 years agoAdd COMPAT_10; from netbsd
deraadt [Thu, 16 Nov 1995 14:26:22 +0000 (14:26 +0000)]
Add COMPAT_10; from netbsd

29 years agoMake sure ser02 will be connected to the 8530 when being opened; from netbsd
deraadt [Thu, 16 Nov 1995 14:25:49 +0000 (14:25 +0000)]
Make sure ser02 will be connected to the 8530 when being opened; from netbsd

29 years agocrank ring buffer size to 4k
deraadt [Thu, 16 Nov 1995 14:25:34 +0000 (14:25 +0000)]
crank ring buffer size to 4k

29 years agorepair byte order botches; from scottr@plexus.com via netbsd
deraadt [Thu, 16 Nov 1995 14:23:28 +0000 (14:23 +0000)]
repair byte order botches; from scottr@plexus.com via netbsd

29 years agoAdd `1.1' to Nx macro; from netbsd
deraadt [Thu, 16 Nov 1995 14:22:43 +0000 (14:22 +0000)]
Add `1.1' to Nx macro; from netbsd

29 years agoupdate from netbsd
deraadt [Thu, 16 Nov 1995 14:19:14 +0000 (14:19 +0000)]
update from netbsd

29 years agouse awk instead of newish sh features
deraadt [Thu, 16 Nov 1995 02:54:44 +0000 (02:54 +0000)]
use awk instead of newish sh features

29 years agozap some rcsmerge stuff
deraadt [Wed, 15 Nov 1995 13:52:30 +0000 (13:52 +0000)]
zap some rcsmerge stuff

29 years agoit is very annoying to print a version without -v being specified
deraadt [Wed, 15 Nov 1995 13:13:42 +0000 (13:13 +0000)]
it is very annoying to print a version without -v being specified

29 years agorarpd can once again set arp entries on the local host; from freebsd
deraadt [Wed, 15 Nov 1995 07:04:07 +0000 (07:04 +0000)]
rarpd can once again set arp entries on the local host; from freebsd

29 years agodo not credit UCB if we are not prepared to credit everyone
deraadt [Wed, 15 Nov 1995 06:27:30 +0000 (06:27 +0000)]
do not credit UCB if we are not prepared to credit everyone

29 years agotrash
deraadt [Tue, 14 Nov 1995 13:35:24 +0000 (13:35 +0000)]
trash

29 years agomorons tend to commit before compiling
deraadt [Tue, 14 Nov 1995 13:28:13 +0000 (13:28 +0000)]
morons tend to commit before compiling

29 years agoshow "fdeject" as a valid root filesystem choice
deraadt [Tue, 14 Nov 1995 13:26:25 +0000 (13:26 +0000)]
show "fdeject" as a valid root filesystem choice

29 years agoclear pv_synchook if we halt; thus prom "sync" command will not do the wrong thing
deraadt [Tue, 14 Nov 1995 13:24:58 +0000 (13:24 +0000)]
clear pv_synchook if we halt; thus prom "sync" command will not do the wrong thing

29 years agouse promvec->pv_enaddr on v2 proms also
deraadt [Tue, 14 Nov 1995 11:00:00 +0000 (11:00 +0000)]
use promvec->pv_enaddr on v2 proms also

29 years agorepair indentation
deraadt [Mon, 13 Nov 1995 11:27:23 +0000 (11:27 +0000)]
repair indentation