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
chuck
c0bae2d189
sync with sparc version:
...
repair XDC_HWAIT macro to handle the fact that waithead is now
unsigned. should fix xdc watchdog timeouts noted in port-sparc
by nathanw@mit.edu .
1996-08-12 20:28:54 +00:00
chuck
cfdb99f44c
repair XDC_HWAIT macro to handle the fact that waithead is now
...
unsigned. should fix xdc watchdog timeouts noted in port-sparc
by nathanw@mit.edu .
1996-08-12 20:19:27 +00:00
leo
2ee7b67a98
Some small fixes suggested by David Brownlee
1996-08-12 14:06:11 +00:00
explorer
71e9f6cb59
add new area code ; closes pr misc/2627
1996-08-12 06:24:04 +00:00
mycroft
1eba3fc001
Use to build `makemodes'.
1996-08-12 00:57:35 +00:00
mycroft
b9ae4a5e3f
Remove config-dependent' and
device-driver' flags.
1996-08-12 00:55:54 +00:00
mycroft
558d72128e
Put into . Remove hooks for `config-dependent' and
...
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft
88578318ca
Remove the only use of `config-dependent', as it isn't actually needed.
1996-08-12 00:16:25 +00:00
jonathan
99b43cc2bc
* Apply LOCORE -> _LOCORE change so locore.S doesn't #include struct
...
definitions.
* Include <mips/cpuregs.h> in <cpu.h> so kern_clock.c has user/kernel
status bits in scope. Still needs work; r2k/r4k previous-mode bits
are different.
* Include <mips/mips_param.h> in pica/include/param.h, for locore declarations,
and definitions of vm and other constants that should be shared across
NetBSD/mips systems to esnsure user-level binary compatibility.
1996-08-11 23:30:22 +00:00
jonathan
14bd2765a1
Fix old lint and changes not pulled back from pmax, pass1:
...
* include <mips/locore.h> where callbacks into locore are made, to get
prototypes in scope. Cast calls appropriately.
* include <mips/cpuregs.h>, not the old Sprite-derived <machine/machConst.h>.
machConst.h is deprecated.
* dk_establish() must return void, not int.
1996-08-11 22:35:46 +00:00
oki
8aaf3f915b
revision is up to 1.2.
1996-08-11 15:38:43 +00:00
oki
e575454bf6
fixed kernel couldn't boot from most machines. more generic for x68k.
1996-08-11 15:37:42 +00:00
oki
33f551acdb
fixed major number of vnd and cd. (PR#2635)
1996-08-11 15:34:56 +00:00
oki
c85101f816
drive 2 (or 3) couldn't access with drive 0 (or 1). fixed this.
1996-08-11 15:32:49 +00:00
oki
95d984309f
fixed use of uninitialized pointer.
1996-08-11 15:28:36 +00:00
veego
2ca67bae05
Bring in changes from the 1.2 branch which where only in the release
1996-08-11 12:27:50 +00:00