Commit Graph

100679 Commits

Author SHA1 Message Date
itojun 17110be88b die if fd_set overrun. (they're not setuid binary so it is not that critical) 2002-08-09 02:17:26 +00:00
itojun 258ffca8eb one more indentation fix 2002-08-09 02:09:25 +00:00
itojun 93a39a493f more consistent indentation 2002-08-09 02:09:01 +00:00
itojun 31f93ffa75 revoke root priv earlier. check fd_set overrun (and die if overrun).
avoid using runtime-generated printf format string.  from xs@kittenz.org
2002-08-09 02:04:03 +00:00
thorpej 364a2bbe9c Add LIBPMC. 2002-08-09 00:21:22 +00:00
thorpej d5d52b821f Add libpmc. 2002-08-09 00:18:30 +00:00
thorpej 035cf21112 Build libpmc. 2002-08-09 00:16:38 +00:00
thorpej 55420f8c67 Add libpmc. 2002-08-09 00:15:57 +00:00
thorpej 982451d606 Add a user interface library to the PMC-related system calls. This
provides a mapping between an event name and the selector, and provides
a more convenient API For manipulating the PMCs.
2002-08-09 00:03:15 +00:00
itojun 182c0b6e08 sync with 0.9.6f. prevents DoS attack and regen of manpages. 2002-08-08 23:47:34 +00:00
itojun f5e63fe4c2 openssl 0.9.6f, with security fixes 2002-08-08 23:14:54 +00:00
matt 0fb9cba190 Add SPR_ASR from OEA-64. Change mfspr to use register_t. 2002-08-08 22:49:09 +00:00
thorpej 7cbc5d60c1 Add macros to encode the "unit number" in the event selector. 2002-08-08 20:40:49 +00:00
jdolecek 60be0b94a0 selscan(): make flag[] const 2002-08-08 20:40:25 +00:00
thorpej b12f663377 Define new-style PMC types for i586, i686, and K7 performance counters. 2002-08-08 18:37:39 +00:00
briggs 5da3a2950b When configuring a counter, do not assume that it's not been configured in
this process (mask off the register field before setting it).
2002-08-08 18:23:46 +00:00
abs 3dbe098822 introduce puthumanint() which calls humanize_number(), and use to
display disk transfer values (Suggested by Simon Burge). Also clip
%busy to 100 and display as an int which has the useful side effect
of stopping it overflowing into the next column (100.0).
2002-08-08 17:06:31 +00:00
wiz 91223bd061 Actually, the page was last modified today. 2002-08-08 17:04:32 +00:00
wiz 8afa8486fc Minor cleanup, correct HISTORY. 2002-08-08 17:03:46 +00:00
abs 35a808e4e8 Add humanize_number.3 from Tomas Svensson in PR lib/15508.
Bump version of libutil
2002-08-08 16:50:35 +00:00
thorpej aa74d42772 Expose <machine/pmc.h> to userland. 2002-08-08 16:23:19 +00:00
drochner 724142aab4 regen 2002-08-08 15:17:02 +00:00
drochner 2b013b41b9 add another quickcam 2002-08-08 15:16:22 +00:00
itojun 7bab20a582 bitmask operation audit (s/&&/&/). from openbsd 2002-08-08 15:12:09 +00:00
itojun e93a4e6b0f bitmask operation mistake audit (s/&&/&/). from openbsd 2002-08-08 15:10:51 +00:00
itojun 514ea24105 audit bitmask test mistake (s/&&/&/). from openbsd 2002-08-08 15:08:55 +00:00
itojun f3f3dd4992 cast register_t/size_t to u_long on printing.
From: Havard Eidnes <he@netbsd.org>
2002-08-08 14:43:40 +00:00
itojun f35b1daee4 remove debugging code leftover 2002-08-08 14:38:47 +00:00
briggs 2054da9569 Add powerpc/atomic.h 2002-08-08 13:42:22 +00:00
soren 236006d5dc Remove extraneous \n's in {err,warn}{,x} that used to be printfs. 2002-08-08 13:24:12 +00:00
soren 26bc587db9 Clean up printf->err conversions. 2002-08-08 13:19:18 +00:00
drochner 681c8f675a regen 2002-08-08 09:57:21 +00:00
drochner fa4f52ebfd addanother ppb 2002-08-08 09:56:38 +00:00
enami 809178f723 Don't leave temporary file on abnormal exit (like, interrupted by user).
Minor cosmetic chagnes while I'm here.
2002-08-08 04:49:26 +00:00
oster 2a80a0fbe1 make 'configureMutex' be a lockmgr lock instead of a simple lock.
The result is MUCH fewer complaints with kernels compiled with LOCKDEBUG.
2002-08-08 02:55:36 +00:00
oster 7c2df6a96d Initial kick at some functions to provide lockmgr lock support
instead of only simplelock support.
2002-08-08 02:54:29 +00:00
oster 813fbd6152 RF_LOCK_MUTEX()/RF_UNLOCK_MUTEX() often cover more code than they
needs to.  In particular, they often surround calls to malloc().
Re-work the locking on most macros to avoid this problem.

XXX: On MP systems, simultaneous calls to the GET macros when a
freelist is empty may cause that freelist to grow more quickly than
before.  Given that the "increment" value of these lists are fairly
small, this shouldn't be too much of an issue.
2002-08-08 02:53:01 +00:00
soren 01bfb60de4 Refer to rcmd(3) instead of the non-existing krcmd(3).
PR lib/12562 by Klaus Klein.
2002-08-08 01:41:17 +00:00
soren bdb11c55b6 Don't omit third argument to open(2).
PR lib/15752 from Stephen Ma.
2002-08-08 01:30:09 +00:00
chs 0a97a311e2 it's PPC_HAVE_FPU, not PPC_HAS_FPU.
also, include the headers that turn on FPU and AltiVec features
in case no one else does.
2002-08-08 01:27:35 +00:00
thorpej edcbecf70a Update supported hardware list. 2002-08-08 00:29:31 +00:00
itojun b77947eeb5 fix an exploitable fd_set overflow in mrinfo(8). drop root priv earlier.
do not use generated printf format string.  from xs@kittenz.org
2002-08-08 00:21:36 +00:00
yamt 13ebe87a2f add some comments. 2002-08-08 00:17:39 +00:00
itojun f731d2b75a wrong semicolon at EOL. notified by wiz 2002-08-08 00:15:32 +00:00
thorpej 2b615e62c4 Add support for the new i82540, i82545, and i82546 Gig-E chips. The
i82546 chip has 2 Gig-E interfaces in a single chip.

The main difference is these chips have a special handshaking protocol
for accessing the EEPROM (due to the shared nature on the i82546).
2002-08-08 00:12:08 +00:00
ad ac3f848ebe Replace FONT_LUCIDA with FONT_GALLANT. 2002-08-08 00:11:52 +00:00
fvdl 660edcbaff Match 881011 PHY. 2002-08-08 00:04:57 +00:00
fvdl 86710d1b0a Regen after addition of marvell 881011. 2002-08-08 00:04:28 +00:00
fvdl b068d9297a Add ID for Marvell 881011 phy found on newer i8254x-based gig-e cards. 2002-08-08 00:03:42 +00:00
soren dbfd055e10 Expose the IPC_[RWM] symbols to userspace.
Fixes PR misc/14515 by Hendrik Scholz.
2002-08-07 23:39:24 +00:00