Mark Murray
d66a958d09
Help Tinderbox and remove mount_autofs
2004-11-10 22:15:04 +00:00
Olivier Houchard
ef7d17237a
Don't forget to include opt_vm.h.
2004-11-10 22:11:08 +00:00
Olivier Houchard
9aeab9eabe
Convert the IQ31244 code to use ARM32_NEW_VM_LAYOUT.
2004-11-10 22:09:39 +00:00
Olivier Houchard
c6cc6da44f
Add a new option, ARM32_NEW_VM_LAYOUT. When set, we try to put up to 4
...
L2 tables in one page, instead of the old 1 L2 table <=> 1 page behavior.
While I'm there, add ARM9_CACHE_WRITE_THROUGH, which I forgot last time.
2004-11-10 22:08:27 +00:00
Olivier Houchard
b599237edb
Invalidate the data cache in pmap_qremove() instead of in pmap_kenter(),
...
and in pmap_enter_quick() instead of pmap_enter().
2004-11-10 21:46:04 +00:00
Mark Murray
c9472fb2c6
Remove at request of author, perhaps to be re-added later.
2004-11-10 19:54:18 +00:00
Warner Losh
dfcc91e219
sranddev() is not magic pixie dust. While it gives a good random
...
seed, the random number generator rand(3) still sucks and is unlikely
sufficient for crypto use. Correct what appears to be a cut and paste
error from the srandomdev() man page.
Submitted by: Ben Mesander
2004-11-10 17:25:49 +00:00
Tom Rhodes
4fc173317b
Remove files repocopied to sys/sparc64/sbus.
2004-11-10 14:11:10 +00:00
Tom Rhodes
acad338196
Fix paths after repocopies done by scottl
...
Reviewed by: marius
OK'ed by: scottl
2004-11-10 14:09:52 +00:00
Yoshihiro Takahashi
fea82a173b
Fix build error with ED_DEBUG.
...
PR: kern/72753
2004-11-10 13:16:12 +00:00
Yoshihiro Takahashi
79961ebfcb
cosmetic changes.
2004-11-10 12:28:06 +00:00
Yoshihiro Takahashi
2fc297fbd7
MFi386: revision 1.1170
2004-11-10 12:24:30 +00:00
Gleb Smirnoff
81755e6eb6
Add myself to copyright.
...
Approved by: marks
2004-11-10 11:18:05 +00:00
Poul-Henning Kamp
b6eb669970
remove unused variable
2004-11-10 09:56:28 +00:00
Poul-Henning Kamp
54c7ea9dbf
Add 0xbf (191) as new Solaris partition identifier.
...
Submitted by: Lawrence.Lee@sun.com
2004-11-10 07:50:16 +00:00
Poul-Henning Kamp
59a514685c
Add 0xbf as new partition id for Solaris.
...
Submitted by: Lawrence.Lee@sun.com
2004-11-10 07:48:29 +00:00
Poul-Henning Kamp
42ba1c5766
Add note about changed root mount semantics for (preloaded) memory disks
2004-11-10 07:39:27 +00:00
Poul-Henning Kamp
c2597f2ddb
Remove hack which mounts the root filesystem R/W if the device is
...
named 'md<something>'. While convenient, it does not belong here,
if anywhere at all.
2004-11-10 07:36:09 +00:00
Poul-Henning Kamp
c5b846fe8e
Slim vnodes by another four bytes by eliminating the (now) unused field
...
v_cachedid.
2004-11-10 07:31:06 +00:00
Poul-Henning Kamp
7689860fd5
Pick up the inode number using VOP_GETATTR() rather than caching it
...
in all vnodes on the off chance that linprocfs needs it. If we can afford
to call vn_fullpath() we can afford the much cheaper VOP_GETATTR().
2004-11-10 07:25:37 +00:00
Poul-Henning Kamp
c13a4e8820
Remove vn_todev()
2004-11-10 07:17:28 +00:00
Poul-Henning Kamp
38bb5ccdfd
Don't use vn_todev().
2004-11-10 07:16:59 +00:00
Poul-Henning Kamp
40ce27cb57
fix some comments
2004-11-10 06:53:31 +00:00
Hidetoshi Shimokawa
0fd466727c
Fix malloc type in free().
2004-11-10 06:21:47 +00:00
Xin LI
37ee573ec6
Correct a potential DoS vulnerability, as described at
...
http://www.securityfocus.com/archive/1/379450
This patch is based on dillon's patch on DragonFlyBSD, which is in
turn derived from OpenBSD's src/usr.sbin/pppd/cbcp.c,v 1.6.
Obtained from: OpenBSD via DragonFlyBSD
Encouraged by: nectar
2004-11-10 05:49:52 +00:00
Julian Elischer
15b0a9c8f7
Add record capability.
...
Submitted by: Taku Yamamoto (original author)
2004-11-10 04:29:09 +00:00
Scott Long
48ad03b872
MFi386 rev 1.63-1.64:
...
Use tag-specific pools of bounce pages instead of a single global pool.
2004-11-10 03:49:24 +00:00
Tom Rhodes
adcb844412
Remove __P here too.
...
Ok'ed by: cognet
2004-11-10 01:33:42 +00:00
Warner Losh
d79af75b74
Learn that 'b' comes before 'e' in ISO-LATIN-1
2004-11-10 00:54:18 +00:00
Ian Dowse
a5158af81f
Keep a handle on the startup rescan timer and cancel the timer if
...
the device goes away.
2004-11-10 00:48:22 +00:00
Warner Losh
4ae6f4a64e
Make pci_do_powerstate default to 1 now that we've done the release to
...
get more testing. This should help things a little.
2004-11-10 00:41:39 +00:00
Warner Losh
053a2b550f
Tweaks to the resource allocation to allow a few of my obscure
...
cdrom/ata controller PC Card devices work better.
2004-11-10 00:33:05 +00:00
Warner Losh
889e265c72
Sort function names.
2004-11-10 00:07:09 +00:00
Poul-Henning Kamp
2e6649198a
Use mount flags instead of NULL path to detect root filesystem mount.
2004-11-09 23:38:10 +00:00
Pawel Jakub Dawidek
085f43afae
Before trying to update metadata (so open consumer for writing), be sure
...
that the events queue is empty. In other case we're able to hit the race
where for example da0s1 is tasted by some other class, which means that
da0 is open with exclusive bit set, which means that we can't open da0
for writing if it is our component.
Reported by: Attila Nagy <bra@fsn.hu> (and somebody else sometime ago,
but I cannot find who it was)
2004-11-09 23:27:21 +00:00
Pawel Jakub Dawidek
b8005b9b24
Introduce g_waitidlelock() function which is simlar to g_waitidle(),
...
but should be called with the topology lock held and returns with the
topology lock held and empty event queue.
Approved by: phk (sometime ago)
2004-11-09 23:20:50 +00:00
Tom Rhodes
18192f69c7
Remove stale comment after previous commit.
...
Noticed by: pjd
2004-11-09 23:19:21 +00:00
Pawel Jakub Dawidek
b36b4bfb55
Don't rely on DIRTY flag to be sure that consumer if open, because
...
DIRTY flag can be removed in idle process. Use consumer's acw field
instead to avoid opening consumer twice.
2004-11-09 23:15:40 +00:00
Poul-Henning Kamp
5e2ccaff7a
Stop pretending to have a vm_object backing the underlying disk vnode:
...
it isn't used for anything anywhere and the vnode_pager would explode
if we attempted to.
2004-11-09 23:12:45 +00:00
Pawel Jakub Dawidek
9c6a3f03c6
For BIO_READ check if provider is open for reading and for BIO_WRITE,
...
check if provider is open for writing.
This fixes panic when device is open only for writing and we send write
request.
2004-11-09 23:04:45 +00:00
Poul-Henning Kamp
e207b52afa
Make getdiskbyname() static to vfs_mount.c.
...
Eliminate use of vn_todev() while here.
2004-11-09 23:03:34 +00:00
Poul-Henning Kamp
b797084e48
Remove vnode->v_cachedfs.
...
It was only used for the highly dangerous "export all vnodes with a sysctl"
function.
2004-11-09 22:51:03 +00:00
Wilko Bulte
da865ef535
Remove sections on Multia and Turbolaser.
2004-11-09 22:34:02 +00:00
Wilko Bulte
4272a4898f
Get in sync with reality: TurboLaser was never really well supported to
...
start with, so let it die in peace. While there, remove Multia-class
as 486-like performance will not buy us much when 6.x arrives.
2004-11-09 22:24:47 +00:00
Poul-Henning Kamp
282d0382ac
Detect root mount attempts on the flag, not on the NULL path.
2004-11-09 22:21:52 +00:00
Poul-Henning Kamp
64042a76b6
Refuse attempts to mount root filesystem
2004-11-09 22:21:10 +00:00
Poul-Henning Kamp
b0aed5267e
Refuse attemps to mount root filesystem
2004-11-09 22:14:57 +00:00
Giorgos Keramidas
16c2bf8bfb
Revert the noexec,nosuid,nodev options for md /tmp file systems, since
...
the change in the default behavior may break existing, working setups.
Requested by: brooks
2004-11-09 21:33:19 +00:00
Max Laier
0b39ef4db1
Remove the #if 0 wrapping around !ALTQ stuff that can't be used due to ABI
...
stability anyway.
2004-11-09 21:29:28 +00:00
Ian Dowse
0ce606de7c
Attempt to fix a number of race conditions in the handling of
...
transfer timeouts that typically cause a transfer to be completed
twice, resulting in panics and page faults:
o A transfer completion interrupt could arrive while an abort_task
event was set up, so the transfer would be aborted after it had
completed. This is very easy to reproduce. Fix this by setting
the transfer status to USBD_TIMEOUT before scheduling the
abort_task so that the transfer completion code will ignore it.
o The transfer completion code could execute concurrently with the
timeout callout, leaving the callout blocked (e.g. waiting for
Giant) while the transfer completion code runs. In this case,
callout_stop() does not prevent the callout from running, so
again the timeout code would run after the transfer was complete.
Handle this case by checking the return value from callout_stop(),
and ignoring the transfer if the callout could not be removed.
o Finally, protect against a timeout callout occurring while a
transfer is being aborted by another process. Here we arrange
for the timeout processing to ignore the transfer, and use
callout_drain() to ensure that the callout has really gone before
completing the transfer.
This was tested by repeatedly performing USB transfers with a timeout
set to approximately the same as the normal transfer completion
time. In the PR below, apparently this occurred by accident with a
particular printer and the default timeout.
PR: kern/71491
2004-11-09 20:51:32 +00:00