xtraeme
21d82d60a0
scan_ffs(8): now it's -F file not -f file. Suggested by mrg.
2006-09-07 02:26:14 +00:00
xtraeme
96734c01d1
Change -f to -F, per mrg's suggestion.
2006-09-07 02:24:51 +00:00
ad
7813695db7
Add lock_owner_onproc().
2006-09-07 02:06:47 +00:00
ad
ae594e0945
- Declare lock_owner_onproc(). Traverses the CPU list and checks if
...
ci->ci_curlwp == arg.
- Define SPINLOCK_SPIN_HOOK to /* nothing */ if it's not defined
already.
- Define SPINLOCK_BACKOFF() macro.
2006-09-07 01:59:23 +00:00
uwe
2abb3f0523
Use MI rs5c313 driver attached as: rs5c313rtc0 at shb0
...
Mark landisk port as __HAVE_GENERIC_TODR.
2006-09-07 01:55:02 +00:00
uwe
d9aa7ac028
Make timeval argument to todr_settime volatile to keep non-timecounter
...
ports happy.
2006-09-07 01:50:49 +00:00
uwe
076748ce26
Mark sizeof(tvp->tv_sec) check CONSTCOND.
...
No space between the sizeof and the paren.
2006-09-07 01:43:52 +00:00
ad
5422bd30ba
Note lockstat(8)
2006-09-07 01:40:32 +00:00
uebayasi
3ea2983121
Correct English; help with xtraeme.
2006-09-07 01:24:02 +00:00
ad
96d4a987b2
Fix an #include.
2006-09-07 01:23:59 +00:00
ad
44f6463cc4
Add /dev/lockstat.
2006-09-07 01:18:01 +00:00
uwe
c7a7101b20
MI part of the Ricoh RS5C313 real time clock todr(9) driver.
...
Based on the code from landisk port. With help from gdamore@
2006-09-07 01:12:00 +00:00
ad
d7c9e86f43
Track lockmgr() sleep events for lockstat.
2006-09-07 01:08:45 +00:00
ad
5c5838e690
- Add a couple of XXX comments.
...
- lb->lb_cpu doesn't need to be filled in lockstat_event().
2006-09-07 01:03:02 +00:00
ad
297f461929
Add the lockstat command: displays a summary of kernel locking events
...
recorded over the lifetime of a called program.
2006-09-07 00:50:45 +00:00
xtraeme
cd9bde5343
Note scan_ffs(8) -f file support.
2006-09-07 00:49:49 +00:00
xtraeme
7aa92d971b
Add -f file support. Useful to search for partitions on disk images.
2006-09-07 00:48:21 +00:00
ad
beafae096b
Add the 'lockstat' driver, which collects basic information about lock events.
2006-09-07 00:20:28 +00:00
gdamore
229365fda3
Use common todr_settime_ymdhms/gettime_ymdhms.
...
While here, fix an incorrect test for timeset (that's in kern_todr already),
and an incorrect to time_second (instead of using the date passed in).
2006-09-07 00:18:50 +00:00
gdamore
942bfe3e30
Add support for new todr entry points for drivers- todr_gettime_ymdhms and
...
todr_settime_ymdhms. This allows drivers to avoid repeated conversions, and
allows us to centralize check for Y2038 overflow. As discussed on
tech-kern.
2006-09-07 00:10:49 +00:00
rumble
cfba0d26d0
Avoid a panic on adapter check interrupts: the 'tl_restart' callout expects
...
a pointer to struct ifnet, not tl_softc.
2006-09-07 00:00:02 +00:00
ad
6c8685b2d2
Use p_find(addr, PFIND_LOCKED) in case the proclist_lock is held.
2006-09-06 23:58:20 +00:00
adrianp
8d13789c5a
Apply the third version of the patch from OpenSSL to address this issue.
...
- Rollback the updates for rsa.h, rsa_eay.c and rsa_err.c as they were
not necessary to address this vulnerability.
- Small update to the patch for rsa_sign.c for backward compatability so
the same patch can be applied to 0.9.[6-9]
2006-09-06 22:47:11 +00:00
garbled
3053244401
Add preliminary support for the 7025-F40. The MPIC must not be wired up
...
by the initial PCI_NETBSD_CONFIGURE, nor should it be manually wired by
the indirect stuff. This is all taken care of by the prep_init() function.
7025-F40 support supports the primary pci bus only. The second PCI bus
on the machine is still unsupported, but the machine runs and can access
everything except for the two slots the other bus covers.
2006-09-06 22:32:56 +00:00
thorpej
f68bacf5a3
Use static at the function decl if the prototype also uses static.
2006-09-06 20:01:57 +00:00
dsl
0eca4248ac
Fix requests for msg input with a NULL target buffer (or zero length one)
...
to core dumps from sysinsts mbr code (and others) that use message boxes
for 'press enter to continue' actions.
Fixes PR/34206
2006-09-06 19:24:15 +00:00
dsl
895acb9f43
Rename 'max_chars' to 'val_buf_len' to make it clearer that it has to include
...
the trailing NUL.
2006-09-06 19:13:51 +00:00
wiz
9934420870
Only mark up one word, not the whole sentence.
2006-09-06 18:59:21 +00:00
liamjfoy
ecc29b2222
document net.inet.ip.maxflows. dump date.
2006-09-06 18:56:21 +00:00
wiz
18bbdd85f7
Update set lists for todr*9 and time*9 changes.
2006-09-06 18:18:49 +00:00
wiz
3629da0138
Fix todr(9) MLINKS line.
2006-09-06 18:15:35 +00:00
wiz
e88c786bd4
Fix typo.
2006-09-06 18:06:00 +00:00
gdamore
43de604779
time.9 renamed to time_second.9. various updates to reflect API changes.
2006-09-06 18:04:30 +00:00
rpaulo
083973a8e4
Fix example.
2006-09-06 16:47:00 +00:00
rumble
3691c21c61
Minor english nits.
2006-09-06 14:59:15 +00:00
blymn
c09e9ac5fb
* Remove "hinted" interface
...
* Modify fileassoc internals to use fhandle_t instead of fileid
2006-09-06 13:37:49 +00:00
cherry
b441b8ce45
fix unaligned vendor string array. showed up during a gcc4 compile.
2006-09-06 12:54:31 +00:00
manu
f0cbe4f3bf
Implement Linux's fdatasync, patch from Nicolas Joly
2006-09-06 12:01:23 +00:00
ad
b126141ea3
Remove 'makedev mouse'.
2006-09-06 11:09:58 +00:00
manu
84b03d19fe
Fix linux32_sys_setres{uid|gid}: -1 does not means the same thing on i386
...
and amd64...
2006-09-06 08:32:00 +00:00
simonb
e099b5edda
Add \n to end of autoconf message.
2006-09-06 06:26:54 +00:00
gdamore
493d9bc7e2
pdp10 should use generic todr and timecounters. By using MI is one less
...
thing that needs to be implemented, and the stubs that just panic() are
removed.
2006-09-06 04:51:34 +00:00
gdamore
8da6e23a9e
Cesfic converted to timecounters (clockinterrupt only ) and generic-todr
...
(which is meaningless, since it lacks any kind of RTC.)
2006-09-06 04:29:01 +00:00
matt
92ae0af8bc
Don't include <sys/device.c> unless this is a _KERNEL
2006-09-06 00:31:50 +00:00
matt
3d1a5167c6
Define LIBCRTBEGIN/LIBCRTEND so we don't need to build userland before
...
building the bootloaders.
2006-09-06 00:31:22 +00:00
uwe
6cfe10b75a
__db_print_symbol: don't try to be too smart with db_print_loc_and_inst.
...
We can have in a register an address that points to/into some variable
in the data segment, but db_print_loc_and_inst only looks for
functions, so it will misprint it as something unrelated from libkern
+ huge offset. E.g. instead of netbsd:cpu_info_store it would print
netbsd:prop_string_create_cstring+0xdeadbeef
Worse, if the address happens to be odd (char field in a struct, an
element of char array), attempt at printing the "instruction" at that
address will cause a fault and will abort "mach frame".
Disassemly is not really that useful in "mach frame" listing anyway
and more often just clutters things by overflowing 80 columns.
2006-09-06 00:11:49 +00:00
uwe
f6bf0450b3
Cosmetics - space auxiliary defines so that they are not visually
...
hidden in surrounding code.
2006-09-05 22:48:40 +00:00
reinoud
0f0ed58759
Fix copying too much space from a small buffer. The chances of it actually
...
happening are small but corrupt media could trigger it.
2006-09-05 22:30:52 +00:00
christos
e32e513967
Find the alias file name from the postfix configuration. From our anonymous
...
user.
2006-09-05 22:10:51 +00:00
scw
24f4ed9338
The list of registers which sdivsi3 can clobber has changed in gcc4.
...
Make the necessary changes.
2006-09-05 22:07:08 +00:00