aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-09 22:49:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-10 23:06:16 +0000
commit9ac5017b3328a18561c2912edfda2d7d97c675f2 (patch)
tree3e48f4defa8e7b7f91f521ede225b962c353ade1 /meta/recipes-core/glib-2.0
parent30da34ef032d5b4b2f694743715f2c8d64dd9849 (diff)
downloadopenembedded-core-contrib-9ac5017b3328a18561c2912edfda2d7d97c675f2.tar.gz
qemu: Limit paths searched during user mode emulation
By default qemu builds a complete list of directories within the user emulation sysroot (-L option). The OE sysroot directory is large and this is confusing, for example it indexes all pkgdata. In particular this confuses strace of qemu binaries with tons of irrelevant paths. This patch stops the code indexing up front and instead only indexes things if/as/when it needs to. This drastically reduces the files it reads and reduces memory usage and cleans up strace. It would also avoid the infinite directory traversal bug in [YOCTO #6996] although the code could still be vulnerable if it parsed those specific paths. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0')
0 files changed, 0 insertions, 0 deletions