projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c653a
)
- set minimal mmap addr to 0 in VM
author
Adrian Schröter
<adrian@suse.de>
Tue, 27 Sep 2011 14:22:17 +0000
(16:22 +0200)
committer
Adrian Schröter
<adrian@suse.de>
Tue, 27 Sep 2011 14:22:17 +0000
(16:22 +0200)
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index
fab0af2
..
5621b40
100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-613,6
+613,9
@@
else
echo "Warning: could not register binfmt handlers"
fi
fi
+ if [ -n "$PREPARE_VM" ]; then
+ echo 0 > /proc/sys/vm/mmap_min_addr
+ fi
read mmap_min_addr < /proc/sys/vm/mmap_min_addr
if [ "$mmap_min_addr" != 0 ]; then
echo "Warning: mmap_min_addr is != 0. If programs fail at mmap this could be the reason"