projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17cb34
)
microcode: Fix start in mmap_heap_malloc_search for __linux__.
author
Matt Birkholz
<matt@birkholz.chandler.az.us>
Fri, 13 Jul 2012 00:30:21 +0000
(17:30 -0700)
committer
Matt Birkholz
<matt@birkholz.chandler.az.us>
Fri, 13 Jul 2012 00:30:21 +0000
(17:30 -0700)
The AppArmor hack moved and missed its chance to frob start.
src/microcode/ux.c
patch
|
blob
|
history
diff --git
a/src/microcode/ux.c
b/src/microcode/ux.c
index 2c818aa2e613395152e35158fa718ebff1e014b5..513c008db72006bab136b0e4afdf82592777f3a5 100644
(file)
--- a/
src/microcode/ux.c
+++ b/
src/microcode/ux.c
@@
-806,7
+806,7
@@
mmap_heap_malloc_search (unsigned long request,
{
char fn [64];
FILE * s;
- unsigned long start
= min_result
;
+ unsigned long start;
/* AppArmor can specify a minimum usable address. In that case we
need to detect it and compensate. */
@@
-825,6
+825,7
@@
mmap_heap_malloc_search (unsigned long request,
if (s == 0)
goto no_address;
+ start = min_result;
while ((start + request) <= max_result)
{
unsigned long end;