git.annexia.org
/
virt-dmesg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f930087
)
Linux 3.0: widen limits in is_kallsyms_valid_address.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 21 Jun 2011 09:19:38 +0000
(10:19 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 21 Jun 2011 09:19:38 +0000
(10:19 +0100)
These limits are still slightly magical. Widening the limits
makes this work for a very recent Linux 3.0 kernel.
src/kallsyms.ml
patch
|
blob
|
history
diff --git
a/src/kallsyms.ml
b/src/kallsyms.ml
index
8663842
..
0f04b1f
100644
(file)
--- a/
src/kallsyms.ml
+++ b/
src/kallsyms.ml
@@
-68,8
+68,8
@@
let search_kallsyms k map =
| Kernel.Word64 ->
fun addr ->
Kernel.is_mapped k addr
- || Kernel.addr_compare addr 0xffffffff_
ff
000000_L >= 0
- || Kernel.addr_compare addr 0x00000000_00
02
0000_L <= 0
+ || Kernel.addr_compare addr 0xffffffff_
80
000000_L >= 0
+ || Kernel.addr_compare addr 0x00000000_00
20
0000_L <= 0
in
let rec loop prev_addrp addr =