generic-poky/meta/recipes-devtools/qemu
Richard Purdie 3331992a27 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.

(From OE-Core rev: 9ac5017b3328a18561c2912edfda2d7d97c675f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-10 23:13:54 +00:00
..
qemu qemu: Limit paths searched during user mode emulation 2016-03-10 23:13:54 +00:00
qemu-helper Major layout change to the packages directory 2010-08-27 15:29:45 +01:00
nativesdk-qemu-helper_1.0.bb qemu: remove unused FILESPATH 2014-05-13 19:32:05 +01:00
qemu-helper-native_1.0.bb Replace one-line DESCRIPTION with SUMMARY 2014-01-02 12:50:18 +00:00
qemu-targets.inc qemu: enable user mode for mips64 and mips64el 2015-11-16 11:39:30 +00:00
qemu.inc qemu: add PACKAGECONFIG for Nettle crypto support 2015-12-28 09:25:20 +00:00
qemu_2.5.0.bb qemu: Limit paths searched during user mode emulation 2016-03-10 23:13:54 +00:00
qemuwrapper-cross_1.0.bb qemuwrapper-cross: set S correctly 2015-07-16 15:09:22 +01:00