[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4] linux-user: fix emulation of getdents
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v4] linux-user: fix emulation of getdents |
Date: |
Tue, 21 Aug 2012 13:03:18 +0100 |
On 20 August 2012 23:13, Dmitry V. Levin <address@hidden> wrote:
> 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).
>
> Signed-off-by: Dmitry V. Levin <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
(though not tested, since the 32 bit target I care about (ARM) uses
getdents64 rather than getdents.)
-- PMM
- [Qemu-devel] [PATCH] linux-user: fix emulation of getdents, Dmitry V. Levin, 2012/08/16
- Re: [Qemu-devel] [PATCH] linux-user: fix emulation of getdents, Wei-Ren Chen, 2012/08/17
- Re: [Qemu-devel] [PATCH] linux-user: fix emulation of getdents, Blue Swirl, 2012/08/18
- [Qemu-devel] [PATCH v2] linux-user: fix emulation of getdents, Dmitry V. Levin, 2012/08/18
- Re: [Qemu-devel] [PATCH v2] linux-user: fix emulation of getdents, Blue Swirl, 2012/08/19
- Re: [Qemu-devel] [PATCH v2] linux-user: fix emulation of getdents, Peter Maydell, 2012/08/20
- [Qemu-devel] [PATCH v3] linux-user: fix emulation of getdents, Dmitry V. Levin, 2012/08/20
- Re: [Qemu-devel] [PATCH v3] linux-user: fix emulation of getdents, Peter Maydell, 2012/08/20
- Re: [Qemu-devel] [PATCH v4] linux-user: fix emulation of getdents, Dmitry V. Levin, 2012/08/20
- Re: [Qemu-devel] [PATCH v4] linux-user: fix emulation of getdents,
Peter Maydell <=