Commit Graph

21560 Commits

Author SHA1 Message Date
explorer
1dafc7f44c ooops... forgot to back out after generating the dir 1996-08-16 17:26:30 +00:00
explorer
160408037c ooops... forgot to back out after generating the dir 1996-08-16 17:25:28 +00:00
explorer
9689b5cfe8 Changes for new groff -- new device directory 1996-08-16 17:22:53 +00:00
leo
6aab91675e Revert to polled-DMA on Falcon. 1996-08-16 08:25:46 +00:00
jtc
a05f11b6e1 Added prototypes for memcmp, memcpy, memmove, and memset functions.
Added #ifdef'd out macros which map b* function calls to their mem*
equivalents.
1996-08-16 01:23:46 +00:00
jtc
030f7ba872 Added to libkern in preparation for change from b* to mem*. 1996-08-15 22:59:11 +00:00
jtc
4063ad5adb #ifdef _KERNEL, #include <lib/libkern/libkern.h> instead of <string.h>. 1996-08-15 22:45:17 +00:00
jtc
1e6bbdf957 Add memcmp.c and memset.c to KSRCS (files copied to libkern). 1996-08-15 22:36:59 +00:00
chuck
3745979128 fix broken case statement for "-C", also check to make sure we've got
the proper number of args for -C and give up if not.   fixes yp slave servers.
1996-08-15 22:17:57 +00:00
cgd
e295ad51df clean up stray interrupt handling a bit. 1996-08-15 22:17:44 +00:00
chuck
6ad546e352 fix printf format (%s -> %d) in yplog debug statement 1996-08-15 21:47:53 +00:00
chuck
3dc0d5258f fix xdr_ypmap_parms (missing "&"'s in calls to xdr_ypdomain_wrap_string
and xdr_ypmap_wrap_string).   prevents segv in ypserv.
1996-08-15 21:43:03 +00:00
mycroft
312e49bad1 After processing an AST, check for another one. Pointed out by ws. 1996-08-15 15:34:03 +00:00
oki
b57279a974 update. 1996-08-15 09:15:06 +00:00
mrg
1ab419ba00 call seteuid() before append/create. from kstailey (PR#2699) 1996-08-15 03:53:48 +00:00
mrg
5f71cbd03d print more informative error message. from kstailey (PR#2699) 1996-08-15 03:53:24 +00:00
explorer
b59a6a8b5f return 0.0 cpu usage for zombies. closes pr bin/2693. Perhaps this should
be fixed in exit, so p->p_pctcpu is cleared when the process exits.
1996-08-15 01:41:23 +00:00
explorer
0072cebdef Add mailstats man page. From John M. Vinopal. Closes pr bin/2697.
I also mailed this to sendmail-bugs@sendmail.org, in hopes this won't
remain a local mod for long
1996-08-14 07:07:06 +00:00
explorer
a9ef8aef84 This fixes a nasty little bug where traceroute (and other raw-ip sending
programs which attach their own header) can crash the machine.  The problem
in this case was:
	a variable "space" was set to the total data to copy,
	len was used to remember how much to copy in this chunk (mbuf),
	in one case, len = min(MCLBYTES - max_hdr, resid) but
		size -= MCLBYTES;
	 instead of
		size -= len;

Note that userland programs can still crash the machine by providing
bogus data in the ip->ip_len field I suspect.  I haven't verified this,
but will soon be doing so and applying a fix of some sort.  Probably
clamping the ip->ip_len value to the true packet size will be ok.
1996-08-14 05:53:18 +00:00
cgd
b3703a8fcd oops; fix bogon in last. 1996-08-14 05:47:39 +00:00
cgd
1f675e847d say 'stray kn20aa irq' rather than 'stray PCI irq'; former is more correct. 1996-08-14 05:45:52 +00:00
cgd
a96b24415d fix inadvertent reordering of switch which cases by slot number but
is ordered by interrupt number.
1996-08-14 05:44:31 +00:00
explorer
1177a1fc69 formatting fix only 1996-08-14 05:43:35 +00:00
explorer
13659c5c84 spelling error only 1996-08-14 05:43:19 +00:00
thorpej
5404d54edb Another %lx -> %x for ntohl() 1996-08-14 03:47:42 +00:00
thorpej
3ca11aa1ad Fix some DIAGNOSTIC printf() formats; ntohl() provides a 32-bit quantity,
and should be printed with %x, not %lx.
1996-08-14 03:46:44 +00:00
thorpej
8781a4ebf9 Sun consoles have 34 lines, not 35. 1996-08-14 01:03:29 +00:00
thorpej
f124a6aaa9 Back out previous; this is a bigger problem than I expected. 1996-08-14 00:32:53 +00:00
thorpej
a05a1045f7 The htonl(), htons(), etc. functions return u_long and u_short. Add
casts to the big-endian versions of these calls so that the compiler
won't complain when they're passed as arguments to printf().
1996-08-14 00:07:35 +00:00
thorpej
d719cb7901 Inside some DIAGNOSTIC code, cast some pointer arithmetic results
to long to quiet the compiler.
1996-08-13 23:25:10 +00:00
thorpej
28df9248ce Fix a typo and an error in color plane offset calculation. Submitted by
Konrad Schroder <perseant@hitl.washington.edu>, PR #2695.
1996-08-13 20:52:43 +00:00
thorpej
082a70252b Add an RCS id. 1996-08-13 20:13:35 +00:00
thorpej
961775ef83 Build librmt. 1996-08-13 20:11:18 +00:00
thorpej
dc06f7ce36 Change an instance of "int" to "unsigned long" (the correct type for
ioctl commands under NetBSD) so that this compiles on the Alpha.
1996-08-13 20:09:50 +00:00
thorpej
caae5cd93d Use <machine/asm.h> 1996-08-13 17:00:28 +00:00
christos
091b5c0118 Add estrdup(), a checked version of strdup and use it. 1996-08-13 16:42:00 +00:00
christos
22770fe8ea Add strdup() since ultrix is missing it.
From Larry Schwimmer <rosebud@cyclone.Stanford.EDU>
1996-08-13 16:41:15 +00:00
christos
ba78477e9d Various cleanups from: Larry Schwimmer <rosebud@cyclone.Stanford.EDU> 1996-08-13 16:40:31 +00:00
christos
1bc899a1ff Protect __P from being multiply defined (for systems that already define it) 1996-08-13 16:39:30 +00:00
jonathan
c376af9abb Create (most of) pmax release docs:
contents hardware prep upgrade whatis xfer
1996-08-13 09:05:01 +00:00
explorer
c87188f1bd be quiet about read_subchannel. Some CD players use this to poll, and having
a screen filled with kernel messages isn't nice.  Closes pr kern/817
1996-08-13 08:55:38 +00:00
explorer
5c3b7a7213 Fix condition where disk_unbusy may not get called 1996-08-13 08:31:31 +00:00
jonathan
1cc7b834e4 * Add declarations for MIPS-III (r4000) locore entrypoints.
* Add initialization code to set MIPS-III exception vector and runtime
  jump-table for locore functions.
* Clean up for -Wall, pass 1.
1996-08-13 08:19:50 +00:00
explorer
5b3a9aad8d Cute little bug with operator precedence in our stdio code. It appears
that flushing wasn't done right when input buffers were refilled, due
to a check like
	if (foo == _A | _B) which, since _A and _B are both != 0, always
evaluates to true.

Found by proven@cygnus.com
1996-08-13 07:54:00 +00:00
explorer
7785d71935 Upgrade groff to 1.10 1996-08-13 07:03:54 +00:00
explorer
0ca96489a2 Upgrade groff to 1.10 1996-08-13 06:33:17 +00:00
explorer
d54b3d99f1 call regfree() -- closes pr bin/2691.
Bug noticed and fixed by Charles Amos <amos@umiacs.umd.edu>
Submitted by Mike Grupenhoff
1996-08-13 03:24:18 +00:00
explorer
e1534707dd Add man pages for cd, uk, and sd scsi devices. More on the way, and these
could still use a little bit of touchup.  I don't think there is any
misinformation in these, but you never know.  FreeBSD has a better MI
scsi than we do.  Partial fix for misc/2008.  The author of that pr
is willing to help a bit as well.
1996-08-13 03:13:30 +00:00
explorer
464f1bd5ff Fix mkdir -p to not ignore terminal directory mode specified.
Closes pr bin/2686.
1996-08-12 22:44:53 +00:00
explorer
a9347d2469 Fix description of ceil(3). Closes pr lib/2690 1996-08-12 22:39:34 +00:00