diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-10-09 17:21:44 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-12 14:36:31 +0100 |
commit | 05594f86366d97975501ffd84886d37f0c72e238 (patch) | |
tree | c55b9a18cd7ac9613b03c6f702b332b5c1b8d71a /meta/recipes-extended/watchdog | |
parent | adbbab7db06efd7dc82c1d07e3fc63434e05e91e (diff) | |
download | poky-05594f86366d97975501ffd84886d37f0c72e238.tar.gz |
bash: Disable custom memory allocator
Bash is failing trying to allocate memory [1] using the custom
memory allocator if we disable it the issue is fixed.
The major distributions also disabled by default [2], so we
don't have a good reason to use it.
The underlying issue is due to bash’s malloc using brk() calls
to allocate memory, which fail when address randomization is
enabled in kernel. sbrk() based custom allocators are obsolete.
There may be some performance impact of this however correctness
is more important.
[YOCTO #8452]
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8452#c0
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8452#c5
(From OE-Core rev: e42d8eff9eed7d1454b4f331d96dcee6dea232df)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/watchdog')
0 files changed, 0 insertions, 0 deletions