qemu/linux-user
Peter Maydell c0d472b12e linux-user: Drop direct use of openat etc syscalls
The linux-user syscall emulation layer currently supports the
openat family of syscalls via two mechanisms: simply calling
the corresponding libc functions, and making direct syscalls.
Since glibc has supported these functions since at least glibc
2.5, there's no real need to retain the (essentially untested)
direct syscall fallback code, so simply delete it. This allows
us to remove some ifdeffery that was attempting to disable
provision of some of the syscalls if the host didn't seem to
support them, which in some cases was actually wrong (eg where
there are several flavours of the syscall and we only need
one of them, not necessarily the exact one the guest has,
as with the fstatat* calls).

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: 1370126121-22975-2-git-send-email-peter.maydell@linaro.org
2013-06-12 16:20:21 +01:00
..
alpha alpha-linux-user: Fix sigaltstack structure definition 2012-10-12 14:01:04 +03:00
arm fpu: move public header file to include/fpu 2012-12-19 08:32:46 +01:00
cris janitor: add guards to headers 2012-12-19 08:31:31 +01:00
i386 linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
m68k
microblaze janitor: add guards to headers 2012-12-19 08:31:31 +01:00
mips
mips64 mipsn32-linux-user: Configure the architecture properly 2013-03-05 15:04:20 +01:00
openrisc target-or32: Add linux syscall, signal and termbits 2012-07-27 21:13:05 +00:00
ppc
s390x target-s390: Reorg exception handling 2013-01-05 12:00:28 -08:00
sh4
sparc linux-user: Add more sparc syscall numbers 2013-03-11 13:05:14 +02:00
sparc64
unicore32 linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
x86_64
cpu-uname.c target-arm: Remove ARM_CPUID_* macros 2012-06-20 12:13:28 +00:00
cpu-uname.h
elfload.c target-i386: Replace cpuid_*features fields with a feature word array 2013-05-02 00:27:55 +02:00
errno_defs.h
flat.h
flatload.c flatload: fix bss clearing 2012-08-14 20:26:55 +01:00
ioctls.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
linux_loop.h
linuxload.c linux-user: If loading fails, print error as string, not number 2012-10-12 14:25:56 +03:00
m68k-sim.c
main.c target-i386: Replace cpuid_*features fields with a feature word array 2013-05-02 00:27:55 +02:00
Makefile.objs
mmap.c linux-user: Allocate the right amount of space for non-fixed file maps 2012-08-04 09:37:49 -07:00
qemu.h linux-user: Restore cast to target type in get_user() 2013-02-06 16:37:39 -06:00
signal.c linux-user: Save the correct resume address for MIPS signal handling 2013-05-20 18:16:17 +02:00
socket.h linux-user: Add Alpha socket constants 2013-03-11 13:04:44 +02:00
strace.c linux-user: Don't omit comma for strace of rt_sigaction() 2013-04-05 14:40:54 +02:00
strace.list linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
syscall_defs.h alpha-linux-user: Translate fcntl l_type 2013-01-16 08:13:17 -08:00
syscall_types.h linux-user: Fix SNDCTL_DSP_MAP{IN, OUT}BUF ioctl definitions 2012-08-13 12:45:46 +01:00
syscall.c linux-user: Drop direct use of openat etc syscalls 2013-06-12 16:20:21 +01:00
target_flat.h
uaccess.c
vm86.c