]> git.proxmox.com Git - qemu.git/commit - linux-user/syscall.c
linux-user: Allow getdents to be provided by getdents64
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 12 Jun 2013 15:20:21 +0000 (16:20 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 12 Jun 2013 15:20:21 +0000 (16:20 +0100)
commit3307e2363a812e4f68d02ec3b0114a9b510702b7
tree0cdfc46ff472d72a9763cdbca533ffbc854b6bd5
parentbd5c51ee6c4f1c79cae5ad2516d711a27b4ea8ec
linux-user: Allow getdents to be provided by getdents64

Newer architectures may only implement the getdents64 syscall, not
getdents. Provide an implementation of getdents in terms of getdents64
so that we can run getdents-using targets on a getdents64-only host.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Tested-by: Claudio Fontana <claudio.fontana@huawei.com>
Message-id: 1370344377-27445-1-git-send-email-peter.maydell@linaro.org
Message-id: 1370193044-24535-1-git-send-email-peter.maydell@linaro.org
linux-user/syscall.c