qemu-e2k/linux-user
Riku Voipio 0b2effd744 linux-user: redirect openat calls
While Mikhail fixed /proc/self/maps, it was noticed openat calls are
not redirected currently. Some archs don't have open at all, so
openat needs to be redirected.

Fix this by consolidating open/openat code to do_openat - open
is implemented using openat(AT_FDCWD, ... ), which according
to open(2) man page is identical.

Since all targets now have openat, remove the ifdef around sys_openat
and openat: case in do_syscall.

Cc: Mikhail Ilin <m.ilin@samsung.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2014-08-22 15:06:33 +03:00
..
aarch64
alpha
arm Add support for the arm breakpoint syscall 2014-06-24 20:01:24 +04:00
cris
i386
m68k
microblaze
mips target-mips: implement UserLocal Register 2014-06-18 18:10:47 +02:00
mips64
openrisc
ppc target-ppc: Support little-endian PPC64 in user mode. 2014-06-16 13:24:40 +02:00
s390x
sh4
sparc
sparc64
unicore32
x86_64
elfload.c linux-user: Support HWCAP2 in PowerPC 2014-06-27 13:48:22 +02:00
errno_defs.h
flat.h
flatload.c
ioctls.h SIOCGIFINDEX: fix typo 2014-07-15 16:26:31 +03:00
linux_loop.h
linuxload.c
m68k-sim.c
main.c target-ppc: Change default cpu for ppc64le-linux-user 2014-07-08 12:10:36 +02:00
Makefile.objs linux-user: rename cpu-uname -> uname 2014-05-02 21:59:36 +03:00
mmap.c
qemu.h linux-user: fix gcc-4.9 compiler error on __{get,put]}_user 2014-06-17 08:52:08 +03:00
signal.c linux-user: use TARGET_SA_ONSTACK in get_sigframe 2014-07-15 17:08:41 +03:00
socket.h linux-user: support SO_PASSSEC setsockopt option 2014-06-29 14:19:59 +03:00
strace.c
strace.list linux-user: support strace of epoll_create1 2014-06-29 14:19:59 +03:00
syscall_defs.h linux-user: handle AF_PACKET sockaddrs in target_to_host_sockaddr 2014-07-15 16:28:25 +03:00
syscall_types.h
syscall.c linux-user: redirect openat calls 2014-08-22 15:06:33 +03:00
target_flat.h
uaccess.c
uname.c linux-user/uname: Return correct uname string for x86_64 2014-06-17 09:21:40 +03:00
uname.h linux-user: move uname functions to uname.c 2014-05-02 21:59:36 +03:00
vm86.c