Searched hist:"333858 b77c2b4f7636257808a77822c58bdd80fe" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/linux-user/ |
H A D | syscall_defs.h | diff 333858b77c2b4f7636257808a77822c58bdd80fe Mon Aug 20 17:13:12 CDT 2012 Dmitry V. Levin <ldv@altlinux.org> linux-user: fix emulation of getdents
In case when TARGET_ABI_BITS == 32 && HOST_LONG_BITS == 64, the last byte of the target dirent structure (aka d_type byte) was never copied from the host dirent structure, thus breaking everything that relies on valid d_type value, e.g. glob(3).
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
H A D | syscall.c | diff 333858b77c2b4f7636257808a77822c58bdd80fe Mon Aug 20 17:13:12 CDT 2012 Dmitry V. Levin <ldv@altlinux.org> linux-user: fix emulation of getdents
In case when TARGET_ABI_BITS == 32 && HOST_LONG_BITS == 64, the last byte of the target dirent structure (aka d_type byte) was never copied from the host dirent structure, thus breaking everything that relies on valid d_type value, e.g. glob(3).
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|