Commit Graph

110795 Commits

Author SHA1 Message Date
matt
5bf8112ed1 Add two missing L2CLK speeds. 2003-04-04 04:00:16 +00:00
atatat
a88940798c Add some more intricate groveler options:
-A address   Dumps the vm_amap structure found at address.

     -E address   Dumps the vm_map_entry structure found at address.

     -S address   Dumps the vmspace structure found at address.

     -V address   Dumps the vm_map structure found at address.

This required reorganizing the code a little, which led to some
cleanup (yay!).  These new methods are executed without any extra
privileges, so you need read access on /dev/mem or on the kernel core
into which you are digging.

This should be useful for, eg, examining amaps are corrupt when being
destroyed, which can cause a kernel panic (and, hence, are no longer
connected to a map entry, or the map entry is no longer connected to a
vm_map/vmspace).

The options in the man page have also been reorganized.
2003-04-04 03:49:20 +00:00
perry
eca50de83f set close on exec on a couple of FDs. from Charles Blundell PR security/16663 2003-04-04 01:24:09 +00:00
thorpej
015903956e Fix merge botch in last. 2003-04-04 01:16:28 +00:00
nathanw
4777259ff2 Don't call pthread__locked_switch() to switch to ourself. Bad stack
mangling results.

Fixes regression in test yield2, dating to 2003/1/2 when
pthread__locked_switch() was changed to not store the saved-context
pointer until after switching stacks.

Note to self: regression tests exist to be run.
2003-04-04 01:08:25 +00:00
thorpej
167192b8c4 Always build tools/compat, so that random host helper programs
can use libnbcompat, if necessary.
2003-04-04 01:06:00 +00:00
perry
3668dc75e5 fix from OpenBSD, contributed by Gabriel Gonzalez in PR kern/20999 2003-04-04 01:04:37 +00:00
thorpej
95a4fbc55c Only do the nbcompat dance is USETOOLS == yes.
Should fix PR bin/20997.
2003-04-04 00:25:07 +00:00
fvdl
c4069dd4b6 Note UFS2 commit. 2003-04-04 00:04:37 +00:00
taca
552c900f4c Reflect change of cron's log file. 2003-04-03 22:52:32 +00:00
he
caa9c02ab5 To get this kernel to link as well, enable ``usb* at ohci?'' line. 2003-04-03 22:50:30 +00:00
fvdl
2257bf89d4 Add a bounds_check_with_mediasize function, which is intended
for checking RAW_PART transfers (and later raw disk devices).
2003-04-03 22:20:24 +00:00
martin
67c767ede2 Provide PAGE_SIZE to assembler source. 2003-04-03 22:19:16 +00:00
fvdl
65f01ff495 Add prototype for bounds_check_with_mediasize 2003-04-03 22:18:46 +00:00
fvdl
8103646465 Check RAW_PART against the media size instead of the disklabel.
Add the media size in 512-byte sectors to the softc, to avoid
some 64 bit computations. Bump the capacity stored in softcs
for disks to 64 bits.
2003-04-03 22:18:23 +00:00
christos
14e617d80f try to make this work with ufs1 only. 2003-04-03 22:10:12 +00:00
martin
dc8fa84c54 #include <machine/vmparam.h> for PAGE_SIZE 2003-04-03 22:07:16 +00:00
jklos
47ba8c1170 Version bumped to 3.0 to reflect changes to support ELF kernels. Thanks to
Gunther Nikl <gni@gecko.de> for the patches.
2003-04-03 21:02:08 +00:00
christos
8fe39e55bc This Makefile should not need bsdmake! 2003-04-03 20:32:41 +00:00
fvdl
7847218fc1 FreeBSD revision 1.135:
When removing the last item from a non-empty worklist, the worklist
tail pointer must be updated.
2003-04-03 19:28:07 +00:00
christos
36b76d04a0 there is no need for the afterinstall stuff. 2003-04-03 19:13:31 +00:00
christos
ffb515e2dc Don't use suffix rules while building, because the installed sources get
added to ${.ALLSRCS} confusing things.
2003-04-03 19:13:17 +00:00
christos
4e47272b6b Don't require a file if CLEAR is set [did not work before because we
could have the descend flag too]
2003-04-03 18:54:16 +00:00
perry
df28067f6e Return non-zero exit status if the listed programs aren't found.
Submitted by Gabriel Gonzalez in PR bin/20984
I deviated from the patch by returning 2 if only some programs were
located and 3 if none were. The submitted patch returned 1 and 2,
respectively, and 1 is already used for general error.
2003-04-03 18:16:45 +00:00
christos
2f01db86ba add more defines for stuff we have. 2003-04-03 17:56:52 +00:00
he
f54ed457a6 Rename SBSIZE -> SBLOCKSIZE triggered by the UFS2 merge. 2003-04-03 17:49:22 +00:00
he
e7dc774449 Including <uvm/uvm_extern.h> exposed the fact that we had a benign
type mismatch for SetCPSR.  Remove local extern declaration, since
it's now superfluous.
2003-04-03 17:47:04 +00:00
erh
dcf3619707 Add a quirk to allow my NEO Jukebox to work again. 2003-04-03 17:41:51 +00:00
perry
69c34ee0f1 Changes to make wiconfig print vendor and firmware id/version
Provided by Love in PR kern/12779

XXX WI_RID_STA_IDENTITY_* should probably be defined somewhere other
XXX than inside wiconfig.c itself, perhaps in dev/ic/wi_ieee.h ?
2003-04-03 17:26:33 +00:00
christos
e2f800d682 put back <sys/ioctl.h> in case we are lunix. 2003-04-03 17:15:22 +00:00
christos
c8ee373ee5 Port to linux 2003-04-03 17:14:24 +00:00
hpeyerl
5eefd45be5 Read USBH_ENABLE twice in succession according to Errata 7 for au1500. 2003-04-03 16:41:23 +00:00
kent
8691cfff6c regen 2003-04-03 16:15:22 +00:00
kent
22f1378011 - Forte Media PCI joystick
- Intel 82540EP chips
- Intel ICH4M IDE controller
- Modify descriptions of some ICH4 devices which ICH4M also has:
	82801DB xxx -> 82801DB/DBM xxx
2003-04-03 16:13:53 +00:00
fvdl
7d31e8f0d9 Avoid truncation of values in some macros that shift 64 bit values.
From FreeBSD.
2003-04-03 16:07:09 +00:00
christos
510b8e4284 Avoid stupid printfs during mountroot attempt. 2003-04-03 15:37:55 +00:00
christos
7aec408c5a avoid stupid printfs during probe 2003-04-03 15:36:31 +00:00
christos
773ff89c7e avoid stupid printfs during probe when debugging is on. 2003-04-03 15:35:41 +00:00
yamt
d16c4c058f return rtmax bytes if we get READ requests larger than rtmax. 2003-04-03 15:19:12 +00:00
yamt
8cc1df8614 use m_copydata and m_split instead of similar inlined ones. 2003-04-03 15:14:51 +00:00
christos
628c00a0ec make this compile again. 2003-04-03 14:55:16 +00:00
fvdl
abf2ee00c3 Copy birthtime in vn_stat. 2003-04-03 14:53:38 +00:00
wiz
4abefdc12f Sort options; mention -O default; grammar improvements; use more macros. 2003-04-03 14:50:35 +00:00
fvdl
645eff4a6f The -r option is no more, so delete it from the synopsis line too. 2003-04-03 14:26:11 +00:00
tron
ef15ca7b9d Document extended "-O" option after UFS2 import. 2003-04-03 14:17:26 +00:00
is
f334171ccc Variable substitution happens at trap installation time, not at trap
execution time - so it used to print "Using default configuration of
/etc/passwd".
2003-04-03 11:25:10 +00:00
enami
7d8cb58793 Set va_birthtime field in vattr_null(). 2003-04-03 09:13:10 +00:00
itojun
fcb31fad16 sync w/ 3.6.1 (remove files that are removed on openssh repo) 2003-04-03 06:33:42 +00:00
itojun
cef822e086 upgrade openssh to 3.6.1 2003-04-03 06:23:03 +00:00
itojun
e7e7c84a6a sync w/ 3.6.1 2003-04-03 06:21:31 +00:00