etheisen [Fri, 2 Feb 1996 22:45:44 +0000 (22:45 +0000)]
Added code to handle BSDI's 4.3 net-2 funky uname call. Netscape was using
this to determine system name. Failure of this call caused netscape to
print "uname() failed" on app startup. Also affected netscape mail headers
and http sysname. Code taken from FreeBSD with minor mods. Good work
guys. Let the world, or at the very least, netscape, know that you use
OpenBSD. Include COMPAT_43 in kernel config to enable functionality.
niklas [Fri, 2 Feb 1996 20:30:48 +0000 (20:30 +0000)]
from netbsd: Use the `-q' option to tsort(1). From der Mouse
niklas [Fri, 2 Feb 1996 20:18:07 +0000 (20:18 +0000)]
We don't have the EXPORTABLE_SYSTEM variable
niklas [Fri, 2 Feb 1996 19:53:33 +0000 (19:53 +0000)]
from netbsd: clean up bits that state which man page section numbers
are allowed (section 9 now exists). Document that variables in
bsd.own.mk that were not previously documented.
dm [Fri, 2 Feb 1996 19:28:41 +0000 (19:28 +0000)]
hannken: Fix disk_unbusy panic when booting from floppies
dm [Fri, 2 Feb 1996 07:24:28 +0000 (07:24 +0000)]
/netbsd -> /bsd, more -> less, FLOPPY3 environment variable makes 1.44 Meg
image instead of 1.2 Meg (currently required because things are too big).
etheisen [Fri, 2 Feb 1996 07:23:19 +0000 (07:23 +0000)]
More files to smash while making clean.
etheisen [Fri, 2 Feb 1996 07:10:59 +0000 (07:10 +0000)]
Added /usr/include to include path. Quiets down redefinition warnings
caused by conflicts between gcc 2.7.2 headers and system headers.
etheisen [Fri, 2 Feb 1996 06:43:48 +0000 (06:43 +0000)]
Undo LDSTATIC change. Possibly needed.
etheisen [Fri, 2 Feb 1996 06:34:09 +0000 (06:34 +0000)]
Added default info path to match our directory structure.
Pass CFLAGS into 'configure' generated Makefile.
Setup infodir for both build and install.
Removed static linking. Not required for texinfo.
Added CLEANFILES section to smash files cleandir missed.
niklas [Fri, 2 Feb 1996 01:11:38 +0000 (01:11 +0000)]
"make -f Makefile.bsd-wrapper config" should *really* config, and
never use cached values. Initially we only want gas, even though
we're not even there yet.
niklas [Fri, 2 Feb 1996 00:49:14 +0000 (00:49 +0000)]
"make -f Makefile.bsd-wrapper config" should *really* config, and
never use cached values.
niklas [Fri, 2 Feb 1996 00:22:56 +0000 (00:22 +0000)]
"make -f Makefile.bsd-wrapper config" should *really* config, and
never use cached values.
niklas [Fri, 2 Feb 1996 00:11:23 +0000 (00:11 +0000)]
"make -f Makefile.bsd-wrapper config" should *really* config, and
never use cached values. The new cvs-version made me notice this.
niklas [Thu, 1 Feb 1996 23:57:12 +0000 (23:57 +0000)]
$(KRB4) -> \$KRB4 so our /bin/sh won't spit out an error message while
configuring.
briggs [Thu, 1 Feb 1996 05:11:39 +0000 (05:11 +0000)]
Get rid of some useless intermediate vars and add a register keyword
in delay(). There still seems to be a problem with this routine in that
when we actually touch the VIA1 T2 timer, it seems to hose the ADB
subsystem.
briggs [Thu, 1 Feb 1996 05:05:19 +0000 (05:05 +0000)]
Clean up and comment a bit.
niklas [Wed, 31 Jan 1996 22:58:57 +0000 (22:58 +0000)]
from netbsd: fix typo (Ignatios Souvatzis)
niklas [Wed, 31 Jan 1996 22:54:50 +0000 (22:54 +0000)]
from netbsd: fix loading of 0 to intended value of 256, plus style police
niklas [Wed, 31 Jan 1996 22:49:04 +0000 (22:49 +0000)]
Fix reference to obsolete file
niklas [Wed, 31 Jan 1996 22:42:36 +0000 (22:42 +0000)]
from netbsd: add UNION/UMAPFS <hubert.feyrer@rz.uni-regensburg.de>
niklas [Wed, 31 Jan 1996 22:34:06 +0000 (22:34 +0000)]
from netbsd: aftsc uses afsc.c (S.P.Zeidler & Ignatios Souvatzis)
niklas [Wed, 31 Jan 1996 22:29:22 +0000 (22:29 +0000)]
from netbsd: make sure master enable is set (Ezra Story)
niklas [Wed, 31 Jan 1996 22:27:16 +0000 (22:27 +0000)]
from netbsd: Unify mode support across gfx boards. (Ignatios Souvatzis)
niklas [Wed, 31 Jan 1996 22:10:21 +0000 (22:10 +0000)]
from netbsd: make sure master enable is set.
Call disk_busy() a bit earlier in case an exceptional condition causes
fddone() (and thus disk_unbusy()) to be called directly from fdstart().
Pointed out by Ezra Story <ezy@panix.com>.
niklas [Wed, 31 Jan 1996 22:03:48 +0000 (22:03 +0000)]
from netbsd: fix bounds check (Klaus Klein)
niklas [Wed, 31 Jan 1996 21:11:26 +0000 (21:11 +0000)]
from netbsd: remove MAXPARTITIONS
niklas [Wed, 31 Jan 1996 21:06:31 +0000 (21:06 +0000)]
from netbsd: add swedish keyboard support by Stefan Pedersen
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.
deraadt [Wed, 31 Jan 1996 08:35:32 +0000 (08:35 +0000)]
from netbsd; check for "A4000 bonus" too
deraadt [Wed, 31 Jan 1996 08:33:37 +0000 (08:33 +0000)]
from ragge; add uvtopte() macro, to get user pte address easily
deraadt [Wed, 31 Jan 1996 08:32:22 +0000 (08:32 +0000)]
from ragge; put sp in trapframe
deraadt [Wed, 31 Jan 1996 08:31:36 +0000 (08:31 +0000)]
from ragge; remove PSL_ALLCC
deraadt [Wed, 31 Jan 1996 08:05:02 +0000 (08:05 +0000)]
use YP, install nicely
deraadt [Wed, 31 Jan 1996 07:27:02 +0000 (07:27 +0000)]
put zs chip register layout here.
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)
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.
deraadt [Wed, 31 Jan 1996 06:38:10 +0000 (06:38 +0000)]
sync with netbsd
deraadt [Wed, 31 Jan 1996 06:36:14 +0000 (06:36 +0000)]
from netbsd; cleanup
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.
deraadt [Wed, 31 Jan 1996 05:22:18 +0000 (05:22 +0000)]
from ragge; print cpu model
deraadt [Wed, 31 Jan 1996 05:21:25 +0000 (05:21 +0000)]
from ragge; add bfd, tun, vnd
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.
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()
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
deraadt [Wed, 31 Jan 1996 05:12:46 +0000 (05:12 +0000)]
from ragge; handle debugger traps from kernel
deraadt [Wed, 31 Jan 1996 05:11:04 +0000 (05:11 +0000)]
from ragge; make ^] not be sent on return from ddb
deraadt [Wed, 31 Jan 1996 05:10:38 +0000 (05:10 +0000)]
from ragge; rip i386 code
deraadt [Wed, 31 Jan 1996 05:09:05 +0000 (05:09 +0000)]
from ragge; use struct pte * as needed
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.
deraadt [Wed, 31 Jan 1996 05:03:20 +0000 (05:03 +0000)]
sync with netbsd
deraadt [Wed, 31 Jan 1996 04:54:43 +0000 (04:54 +0000)]
do not worry about mapdev retval
tholo [Tue, 30 Jan 1996 07:27:58 +0000 (07:27 +0000)]
Add extern declarations of new globals used by kernel PLL clock
tholo [Tue, 30 Jan 1996 06:00:35 +0000 (06:00 +0000)]
#include <errno.h>; sys_nerr and sys_errlist moved.
tholo [Tue, 30 Jan 1996 03:22:47 +0000 (03:22 +0000)]
Use "distclean" for cleaning, not "realclean"
tholo [Tue, 30 Jan 1996 01:09:32 +0000 (01:09 +0000)]
Integrate local changes
tholo [Tue, 30 Jan 1996 00:41:10 +0000 (00:41 +0000)]
Missed files from 1.7.1 import
tholo [Tue, 30 Jan 1996 00:16:59 +0000 (00:16 +0000)]
Upgrade to 1.7.1 snapshot
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
deraadt [Mon, 29 Jan 1996 22:57:02 +0000 (22:57 +0000)]
if CVSREADONLYFS, access to the history file is irrelevant
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)
deraadt [Mon, 29 Jan 1996 21:40:30 +0000 (21:40 +0000)]
from netbsd; move register layout stuff
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).
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
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
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).
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.)
deraadt [Mon, 29 Jan 1996 06:49:46 +0000 (06:49 +0000)]
from netbsd
deraadt [Mon, 29 Jan 1996 06:31:33 +0000 (06:31 +0000)]
from netbsd; modified by jon buller
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>.
dm [Mon, 29 Jan 1996 03:06:06 +0000 (03:06 +0000)]
included paths.h
deraadt [Mon, 29 Jan 1996 02:10:53 +0000 (02:10 +0000)]
sync with netbsd
deraadt [Mon, 29 Jan 1996 02:08:12 +0000 (02:08 +0000)]
new common tz code
deraadt [Mon, 29 Jan 1996 02:05:40 +0000 (02:05 +0000)]
from netbsd; add S_IFWHT
deraadt [Mon, 29 Jan 1996 02:04:11 +0000 (02:04 +0000)]
need errno.h because err declerations have moved
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
deraadt [Mon, 29 Jan 1996 01:56:44 +0000 (01:56 +0000)]
typo; fix from norijuki soda; netbsd pr#1954
deraadt [Mon, 29 Jan 1996 01:54:22 +0000 (01:54 +0000)]
from netbsd; warnx called incorrectly
dm [Mon, 29 Jan 1996 01:40:03 +0000 (01:40 +0000)]
Sendmail 8.7.3 from NetBSD
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
deraadt [Mon, 29 Jan 1996 01:35:01 +0000 (01:35 +0000)]
from leo; add -G flag for mounting atari gemdos filesystems
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.
deraadt [Mon, 29 Jan 1996 01:05:35 +0000 (01:05 +0000)]
from netbsd; move sys_nerr/sys_errlist decls to errno.h
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
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
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>
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.
dm [Thu, 25 Jan 1996 05:41:23 +0000 (05:41 +0000)]
IP filter 3.0.1
briggs [Thu, 25 Jan 1996 05:28:23 +0000 (05:28 +0000)]
Bring some fixes over from NetBSD.
briggs [Thu, 25 Jan 1996 05:27:58 +0000 (05:27 +0000)]
include cpu.h.
etheisen [Thu, 25 Jan 1996 04:32:11 +0000 (04:32 +0000)]
Added /usr/local/info for consistency with /usr/share/info
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.
etheisen [Tue, 23 Jan 1996 15:14:40 +0000 (15:14 +0000)]
Use /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
hannken [Tue, 23 Jan 1996 10:10:31 +0000 (10:10 +0000)]
Removed extra brace.
etheisen [Mon, 22 Jan 1996 05:50:41 +0000 (05:50 +0000)]
Added Ns Ox macro for OpenBSD history version tag in groff docs
etheisen [Mon, 22 Jan 1996 05:24:12 +0000 (05:24 +0000)]
Manpages generated with groff now reflect OpenBSD header
hannken [Sun, 21 Jan 1996 09:25:34 +0000 (09:25 +0000)]
Corrected typo when removing CCB's from the hash list.
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.
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