openbsd
28 years agofrom netbsd: add swedish keyboard support by Stefan Pedersen
niklas [Wed, 31 Jan 1996 21:06:31 +0000 (21:06 +0000)]
from netbsd: add swedish keyboard support by Stefan Pedersen

28 years agoCOMMAND ABORTED sense key is 0xb, not 0xa. Also clean up diagnostic message.
briggs [Wed, 31 Jan 1996 15:04:03 +0000 (15:04 +0000)]
COMMAND ABORTED sense key is 0xb, not 0xa.  Also clean up diagnostic message.

28 years agofrom netbsd; check for "A4000 bonus" too
deraadt [Wed, 31 Jan 1996 08:35:32 +0000 (08:35 +0000)]
from netbsd; check for "A4000 bonus" too

28 years agofrom ragge; add uvtopte() macro, to get user pte address easily
deraadt [Wed, 31 Jan 1996 08:33:37 +0000 (08:33 +0000)]
from ragge; add uvtopte() macro, to get user pte address easily

28 years agofrom ragge; put sp in trapframe
deraadt [Wed, 31 Jan 1996 08:32:22 +0000 (08:32 +0000)]
from ragge; put sp in trapframe

28 years agofrom ragge; remove PSL_ALLCC
deraadt [Wed, 31 Jan 1996 08:31:36 +0000 (08:31 +0000)]
from ragge; remove PSL_ALLCC

28 years agouse YP, install nicely
deraadt [Wed, 31 Jan 1996 08:05:02 +0000 (08:05 +0000)]
use YP, install nicely

28 years agoput zs chip register layout here.
deraadt [Wed, 31 Jan 1996 07:27:02 +0000 (07:27 +0000)]
put zs chip register layout here.

28 years agoz8530 reorganization from gwr (which i think isn't nearly as machine
deraadt [Wed, 31 Jan 1996 07:01:06 +0000 (07:01 +0000)]
z8530 reorganization from gwr (which i think isn't nearly as machine
independent or correct as he thinks it is)

28 years agofrom netbsd;
deraadt [Wed, 31 Jan 1996 06:58:55 +0000 (06:58 +0000)]
from netbsd;
Use the function pointers sc_pio_in, sc_pio_out to call the PIO functions
for transfers in data phase so those functions may be MD implementations
that do "pseudo-DMA" if desired.  Also correct some comments.

28 years agosync with netbsd
deraadt [Wed, 31 Jan 1996 06:38:10 +0000 (06:38 +0000)]
sync with netbsd

28 years agofrom netbsd; cleanup
deraadt [Wed, 31 Jan 1996 06:36:14 +0000 (06:36 +0000)]
from netbsd; cleanup

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:26:46 +0000 (05:26 +0000)]
from ragge;
Make use of the new disk struct when attaching disks.
Don't rely on UBA's; we do not always want them.

28 years agofrom ragge; print cpu model
deraadt [Wed, 31 Jan 1996 05:22:18 +0000 (05:22 +0000)]
from ragge; print cpu model

28 years agofrom ragge; add bfd, tun, vnd
deraadt [Wed, 31 Jan 1996 05:21:25 +0000 (05:21 +0000)]
from ragge; add bfd, tun, vnd

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:21:03 +0000 (05:21 +0000)]
from ragge;
Handle DDB traps different when we get a panic.
It's more interesting to know the CPU state when panic was called
than in the Debugger() function.

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:16:57 +0000 (05:16 +0000)]
from ragge;
fix bug causing kernel symbol not to be loaded;
save all registers on panic()

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:15:02 +0000 (05:15 +0000)]
from ragge;
save usp when trapping from userspace
change register save structs according to this
handle old init register passing convention

28 years agofrom ragge; handle debugger traps from kernel
deraadt [Wed, 31 Jan 1996 05:12:46 +0000 (05:12 +0000)]
from ragge; handle debugger traps from kernel

28 years agofrom ragge; make ^] not be sent on return from ddb
deraadt [Wed, 31 Jan 1996 05:11:04 +0000 (05:11 +0000)]
from ragge; make ^] not be sent on return from ddb

28 years agofrom ragge; rip i386 code
deraadt [Wed, 31 Jan 1996 05:10:38 +0000 (05:10 +0000)]
from ragge; rip i386 code

28 years agofrom ragge; use struct pte * as needed
deraadt [Wed, 31 Jan 1996 05:09:05 +0000 (05:09 +0000)]
from ragge; use struct pte * as needed

28 years agofrom ragge;
deraadt [Wed, 31 Jan 1996 05:05:21 +0000 (05:05 +0000)]
from ragge;
DDB disassembly is fixed and now works good. Code written and
contributed to Ludd by Bertram Barth.

28 years agosync with netbsd
deraadt [Wed, 31 Jan 1996 05:03:20 +0000 (05:03 +0000)]
sync with netbsd

28 years agodo not worry about mapdev retval
deraadt [Wed, 31 Jan 1996 04:54:43 +0000 (04:54 +0000)]
do not worry about mapdev retval

28 years agoAdd extern declarations of new globals used by kernel PLL clock
tholo [Tue, 30 Jan 1996 07:27:58 +0000 (07:27 +0000)]
Add extern declarations of new globals used by kernel PLL clock

28 years ago#include <errno.h>; sys_nerr and sys_errlist moved.
tholo [Tue, 30 Jan 1996 06:00:35 +0000 (06:00 +0000)]
#include <errno.h>; sys_nerr and sys_errlist moved.

28 years agoUse "distclean" for cleaning, not "realclean"
tholo [Tue, 30 Jan 1996 03:22:47 +0000 (03:22 +0000)]
Use "distclean" for cleaning, not "realclean"

28 years agoIntegrate local changes
tholo [Tue, 30 Jan 1996 01:09:32 +0000 (01:09 +0000)]
Integrate local changes

28 years agoMissed files from 1.7.1 import
tholo [Tue, 30 Jan 1996 00:41:10 +0000 (00:41 +0000)]
Missed files from 1.7.1 import

28 years agoUpgrade to 1.7.1 snapshot
tholo [Tue, 30 Jan 1996 00:16:59 +0000 (00:16 +0000)]
Upgrade to 1.7.1 snapshot

28 years agoAdd kernel PLL for system clock
tholo [Mon, 29 Jan 1996 23:05:03 +0000 (23:05 +0000)]
Add kernel PLL for system clock
Add ntp_adjtime() and ntp_gettime() system calls
Mostly stolen from FreeBSD

28 years agoif CVSREADONLYFS, access to the history file is irrelevant
deraadt [Mon, 29 Jan 1996 22:57:02 +0000 (22:57 +0000)]
if CVSREADONLYFS, access to the history file is irrelevant

28 years agofrom leo
deraadt [Mon, 29 Jan 1996 21:45:43 +0000 (21:45 +0000)]
from leo
Special handling for 2 and 4 byte sized transfers. The makes accessing
device registers work in a sane way. (gwr)

28 years agofrom netbsd; move register layout stuff
deraadt [Mon, 29 Jan 1996 21:40:30 +0000 (21:40 +0000)]
from netbsd; move register layout stuff

28 years agofrom leo:
deraadt [Mon, 29 Jan 1996 21:35:50 +0000 (21:35 +0000)]
from leo:
- Remove FPU defines, the FPU-type is no longer determined by the loader.
- Add some forgotten CPU-types (Waldi Ravens).

28 years agoMake it work for multi-homed servers by default; remove need for krb.equiv
tholo [Mon, 29 Jan 1996 19:18:40 +0000 (19:18 +0000)]
Make it work for multi-homed servers by default; remove need for krb.equiv

28 years agofrom netbsd:
deraadt [Mon, 29 Jan 1996 07:09:05 +0000 (07:09 +0000)]
from netbsd:
Don't rely on the protection bits of segments anymore to decide whether
it's text or data; use the entry point instead (this solves some trouble
with ELF executables with strange permissions)
Incorporate some fixes from r_friedl@informatik.uni-kl.de sent to
netbsd-bugs a while ago

28 years agofrom netbsd;
deraadt [Mon, 29 Jan 1996 07:05:52 +0000 (07:05 +0000)]
from netbsd;
Instead of using '#ifdef atari' to handle the differences of Gemdosfs and
Msdosfs, use a flag that can be set by mount_msdos. This is definitely
more flexible.
Fix error in previous change: don't use the local FS mount data before
it's actually allocated. Pass mount arguments to msdosfs_mountfs instead,
and use them (as in iso_mountfs for example).

28 years agofrom netbsd:
deraadt [Mon, 29 Jan 1996 07:03:11 +0000 (07:03 +0000)]
from netbsd:
fix off-by-one error in tickfix code.  (should increment when count >=
interval, because count goes from 0->(interval-1) to count interval
ticks.)

28 years agofrom netbsd
deraadt [Mon, 29 Jan 1996 06:49:46 +0000 (06:49 +0000)]
from netbsd

28 years agofrom netbsd; modified by jon buller
deraadt [Mon, 29 Jan 1996 06:31:33 +0000 (06:31 +0000)]
from netbsd; modified by jon buller

28 years agoFix for delay(usec) for small usec. From Scott Reynolds <scottr@edsi.org>.
briggs [Mon, 29 Jan 1996 04:11:00 +0000 (04:11 +0000)]
Fix for delay(usec) for small usec.  From Scott Reynolds <scottr@edsi.org>.

28 years agoincluded paths.h
dm [Mon, 29 Jan 1996 03:06:06 +0000 (03:06 +0000)]
included paths.h

28 years agosync with netbsd
deraadt [Mon, 29 Jan 1996 02:10:53 +0000 (02:10 +0000)]
sync with netbsd

28 years agonew common tz code
deraadt [Mon, 29 Jan 1996 02:08:12 +0000 (02:08 +0000)]
new common tz code

28 years agofrom netbsd; add S_IFWHT
deraadt [Mon, 29 Jan 1996 02:05:40 +0000 (02:05 +0000)]
from netbsd; add S_IFWHT

28 years agoneed errno.h because err declerations have moved
deraadt [Mon, 29 Jan 1996 02:04:11 +0000 (02:04 +0000)]
need errno.h because err declerations have moved

28 years agorealloc(ptr, 0) does not free; from seebs@taniemarie.solon.com;
deraadt [Mon, 29 Jan 1996 02:00:21 +0000 (02:00 +0000)]
realloc(ptr, 0) does not free; from seebs@taniemarie.solon.com;
netbsd pr#1806

28 years agotypo; fix from norijuki soda; netbsd pr#1954
deraadt [Mon, 29 Jan 1996 01:56:44 +0000 (01:56 +0000)]
typo; fix from norijuki soda; netbsd pr#1954

28 years agofrom netbsd; warnx called incorrectly
deraadt [Mon, 29 Jan 1996 01:54:22 +0000 (01:54 +0000)]
from netbsd; warnx called incorrectly

28 years agoSendmail 8.7.3 from NetBSD
dm [Mon, 29 Jan 1996 01:40:03 +0000 (01:40 +0000)]
Sendmail 8.7.3 from NetBSD

28 years agouse fs_csaddr to find the cg summary area; from mouse@collatz.mccrim.mcgill.edu;...
deraadt [Mon, 29 Jan 1996 01:37:11 +0000 (01:37 +0000)]
use fs_csaddr to find the cg summary area; from mouse@collatz.mccrim.mcgill.edu; netbsd pr#1366

28 years agofrom leo; add -G flag for mounting atari gemdos filesystems
deraadt [Mon, 29 Jan 1996 01:35:01 +0000 (01:35 +0000)]
from leo; add -G flag for mounting atari gemdos filesystems

28 years agouse ed to repair all termcap database entries that locate the
deraadt [Mon, 29 Jan 1996 01:28:45 +0000 (01:28 +0000)]
use ed to repair all termcap database entries that locate the
tabset in the two wrong places.

28 years agofrom netbsd; move sys_nerr/sys_errlist decls to errno.h
deraadt [Mon, 29 Jan 1996 01:05:35 +0000 (01:05 +0000)]
from netbsd; move sys_nerr/sys_errlist decls to errno.h

28 years agoadd -q option for silence; from mouse@collatz.mcrcim.mcgill.edu;
deraadt [Mon, 29 Jan 1996 01:02:13 +0000 (01:02 +0000)]
add -q option for silence; from mouse@collatz.mcrcim.mcgill.edu;
netbsd pr#1204

28 years agoless becomes more, and more is no more. from mrg@eterna.com.au
deraadt [Mon, 29 Jan 1996 00:54:01 +0000 (00:54 +0000)]
less becomes more, and more is no more. from mrg@eterna.com.au

28 years agoDo not build KerberosIV if Kerberos has been disabled in <bsd.own.mk>
tholo [Sun, 28 Jan 1996 19:42:34 +0000 (19:42 +0000)]
Do not build KerberosIV if Kerberos has been disabled in <bsd.own.mk>

28 years agoBetter config symantics (elimitates 'options PCMCIA_*'; thanks Theo).
hvozda [Fri, 26 Jan 1996 21:27:30 +0000 (21:27 +0000)]
Better config symantics (elimitates 'options PCMCIA_*'; thanks Theo).
Also a example kernel demonstrating how to configure PCMCIA devices.

28 years agoIP filter 3.0.1
dm [Thu, 25 Jan 1996 05:41:23 +0000 (05:41 +0000)]
IP filter 3.0.1

28 years agoBring some fixes over from NetBSD.
briggs [Thu, 25 Jan 1996 05:28:23 +0000 (05:28 +0000)]
Bring some fixes over from NetBSD.

28 years agoinclude cpu.h.
briggs [Thu, 25 Jan 1996 05:27:58 +0000 (05:27 +0000)]
include cpu.h.

28 years agoAdded /usr/local/info for consistency with /usr/share/info
etheisen [Thu, 25 Jan 1996 04:32:11 +0000 (04:32 +0000)]
Added /usr/local/info for consistency with /usr/share/info

28 years agoChange &= to & in this case. gcc 2.7.2 vs. 2.4.5 difference? I hope not.
briggs [Wed, 24 Jan 1996 04:38:43 +0000 (04:38 +0000)]
Change &= to & in this case.  gcc 2.7.2 vs. 2.4.5 difference?  I hope not.

28 years agoUse /var/tmp not /usr/tmp for deadletters
etheisen [Tue, 23 Jan 1996 15:14:40 +0000 (15:14 +0000)]
Use /var/tmp not /usr/tmp for deadletters

28 years agoUse /var/tmp not /usr/tmp for deadletters
etheisen [Tue, 23 Jan 1996 13:54:28 +0000 (13:54 +0000)]
Use /var/tmp not /usr/tmp for deadletters

28 years agoRemoved extra brace.
hannken [Tue, 23 Jan 1996 10:10:31 +0000 (10:10 +0000)]
Removed extra brace.

28 years agoAdded Ns Ox macro for OpenBSD history version tag in groff docs
etheisen [Mon, 22 Jan 1996 05:50:41 +0000 (05:50 +0000)]
Added Ns Ox macro for OpenBSD history version tag in groff docs

28 years agoManpages generated with groff now reflect OpenBSD header
etheisen [Mon, 22 Jan 1996 05:24:12 +0000 (05:24 +0000)]
Manpages generated with groff now reflect OpenBSD header

28 years agoCorrected typo when removing CCB's from the hash list.
hannken [Sun, 21 Jan 1996 09:25:34 +0000 (09:25 +0000)]
Corrected typo when removing CCB's from the hash list.

28 years agoypserv_xdr, as generated by rpcgen from yp.x with one major exception.
chuck [Sat, 20 Jan 1996 02:53:22 +0000 (02:53 +0000)]
ypserv_xdr, as generated by rpcgen from yp.x with one major exception.
in xdr_ypresp_key_val() invert the order of loading the key and value
(rpcgen says [1] stat, [2] key, [3] value, but the data on the wire
 comes in as [1] stat, [2] val, [3] key...  you can't fix this in yp.x
 because if you invert the ordr in yp.x not only does it invert the order
 in ypserv_xdr.c, but it also inverts it in the structure in yp.h which
 cancels out the inversion in ypserv_xdr.c.   i guess this means it
 is not possible to have a yp.x that descrives the YP protocol properly?).

***NOTE*** this file is also needed because some of the YP functions in
libc are broken.   For example, compare src/lib/libc/yp/xdryp.c's version
of xdr_domainname() to the one in this file generated by rpcgen.  Note
that xdryp.c calls:
 if (!xdr_string(xdrs, &objp, YPMAXDOMAIN)) { /* xdryp.c */
while ypserv_xdr.c (generated by rpcgen) calls:
 if (!xdr_string(xdrs, objp, YPMAXDOMAIN)) { /* rpcgen */
(note the lack of "&" in the second line).   Clearly libc is wrong and
needs to be fixed (XXX).    (Of course changing libc could break other
YP stuff, which is why I haven't attemped it... :) )    When libc is
fixed, it should be possible to phase out this file, I think.

28 years agomajor revision and clean up by Chuck Cranor (i.e. me):
chuck [Sat, 20 Jan 1996 02:42:19 +0000 (02:42 +0000)]
major revision and clean up by Chuck Cranor (i.e. me):
 - convert to new yplog() function and clean up log message formats
 - remove transp args from all _svc functions since you can get it
from rqstp->rq_xprt, and rpcgen seems to favor this format
 - delete all the calls to svc_sendreply() and svc_freeargs() as
this can be done in one place in ypserv.c (except for the "all"
request which forks off a child process)
 - avoid possible sprintf() buffer overflows by using snprintf()
 - use MAXPATHLEN, rather than a hardcoded 255.
 - eliminate un-needed static variables
 - avoid possible off by one buffer overflow in tid/prog/port and use
snprintf() just to be sure.
 - random code cleanup and simplification

28 years agomajor cleanup by Chuck Cranor
chuck [Sat, 20 Jan 1996 00:47:01 +0000 (00:47 +0000)]
major cleanup by Chuck Cranor
 - use queue.h rather than do by hand
 - fix up logging to use new yplog
 - fix a few off by one errors
 - don't double malloc the DBM structure
 - avoid possible sprintf buffer overflows
 - random code cleanup

28 years agoMajor reworking of ypserv.c by me: this program actually works now!!
chuck [Sat, 20 Jan 1996 00:43:43 +0000 (00:43 +0000)]
Major reworking of ypserv.c by me: this program actually works now!!
highlights:
 - fixed yp first call (uses ypreq_nokey rather than ypreq_key, despite
what yp.x says)
 - cleanup of looging
 - removed SVCXPRT args to "local" since you can get them from svc_req
and this makes it look more like rpcgen's output
 - use new yplog()
 - add call to db init

28 years agonew yp.h, as generated by rpcgen.
chuck [Sat, 20 Jan 1996 00:40:53 +0000 (00:40 +0000)]
new yp.h, as generated by rpcgen.

28 years agominor clean up
chuck [Sat, 20 Jan 1996 00:40:15 +0000 (00:40 +0000)]
minor clean up

28 years agouse new yplog function
chuck [Sat, 20 Jan 1996 00:38:49 +0000 (00:38 +0000)]
use new yplog function

28 years agofixed string formatting, minor cleanup
chuck [Sat, 20 Jan 1996 00:37:58 +0000 (00:37 +0000)]
fixed string formatting, minor cleanup

28 years agomain makefile
chuck [Sat, 20 Jan 1996 00:36:24 +0000 (00:36 +0000)]
main makefile

28 years agofixes: install Makefile.yp, Makefile.main
chuck [Sat, 20 Jan 1996 00:35:27 +0000 (00:35 +0000)]
fixes: install Makefile.yp, Makefile.main

28 years agovarious changes (from me):
chuck [Sat, 20 Jan 1996 00:33:34 +0000 (00:33 +0000)]
various changes (from me):
 - don't store null in the database
 - use MAXPATHLEN
 - avoid sprintf() buffer overflows
 - minor cleanups

28 years agoTotal re-write of yplog by Chuck Cranor
chuck [Sat, 20 Jan 1996 00:30:35 +0000 (00:30 +0000)]
Total re-write of yplog by Chuck Cranor
(made it more printf like)

28 years agofix: adjust private keys to exclude the null in their size
chuck [Sat, 20 Jan 1996 00:29:39 +0000 (00:29 +0000)]
fix: adjust private keys to exclude the null in their size
        (we don't store nulls in the db [any more])

28 years agocleanup: use snprintf() to prevent buffer overflow
chuck [Sat, 20 Jan 1996 00:28:57 +0000 (00:28 +0000)]
cleanup: use snprintf() to prevent buffer overflow

28 years agoupdate from netbsd
deraadt [Thu, 18 Jan 1996 01:44:38 +0000 (01:44 +0000)]
update from netbsd

28 years agoLast of the glue and devices for for PCMCIA support from Stefan Grefen
hvozda [Tue, 16 Jan 1996 20:12:58 +0000 (20:12 +0000)]
Last of the glue and devices for for PCMCIA support from Stefan Grefen
<grefen@convex.com> with modifications by John Kohl <jtk@kolvir.blrc.ma.us>

28 years agoadd the freebsd joystick driver; converted by matthieu@abel.laas.fr;
deraadt [Tue, 16 Jan 1996 08:24:49 +0000 (08:24 +0000)]
add the freebsd joystick driver; converted by matthieu@abel.laas.fr;
netbsd pr#1916

28 years agothe yppasswd command is not needed. the user should always let the
deraadt [Tue, 16 Jan 1996 07:22:13 +0000 (07:22 +0000)]
the yppasswd command is not needed. the user should always let the
passwd command figure out where their password is located. if they
really need to change a specific one, they can use the flags - bet
noone ever needs to use that.

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 01:25:38 +0000 (01:25 +0000)]
from netbsd:
Relax checking of minor version number in `findhint()'. Also use the
directories from the hints (v.2) file for directory traversing.
This should take care of PR#1146.

28 years agoupdate from netbsd
deraadt [Tue, 16 Jan 1996 01:22:20 +0000 (01:22 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 01:20:31 +0000 (01:20 +0000)]
from netbsd:
Honor cache request and add the SCSI tape device configuration page.
Fixes PRs 807, 1201, and 1705. From John Kohl <jtk@kolvir.blrc.ma.us>.

28 years agofrom netbsd; add doshutdownhooks()
deraadt [Tue, 16 Jan 1996 01:01:06 +0000 (01:01 +0000)]
from netbsd; add doshutdownhooks()

28 years agoadd ahe support
deraadt [Tue, 16 Jan 1996 01:00:44 +0000 (01:00 +0000)]
add ahe support

28 years agosync with netbsd
deraadt [Tue, 16 Jan 1996 00:59:40 +0000 (00:59 +0000)]
sync with netbsd

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 00:59:04 +0000 (00:59 +0000)]
from netbsd:
Use ${BINOWN} and ${BINGRP} per Arne H. Juul <arnej@ikke.idt.unit.no>
in PR #705.  Also, clean up some stuff left over from HP-BSD.

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 00:58:18 +0000 (00:58 +0000)]
from netbsd:
The changes frpm Paul Goyette with respect to the driver trace require
DBG_PID to be defined to an interger value....make it so.

28 years agofrom netbsd:
deraadt [Tue, 16 Jan 1996 00:57:48 +0000 (00:57 +0000)]
from netbsd:
Correct the instructions regarding the password database in
~ftp/etc, from Rob Windsor <windsor@ksu.ksu.edu> in PR #544.

28 years agofrom netbsd; Use err() & warn()
deraadt [Tue, 16 Jan 1996 00:57:11 +0000 (00:57 +0000)]
from netbsd; Use err() & warn()

28 years agoDon't feed ${DEBUG} to the assembler, it doesn't take those args
niklas [Mon, 15 Jan 1996 22:15:13 +0000 (22:15 +0000)]
Don't feed ${DEBUG} to the assembler, it doesn't take those args
anyway.