summaryrefslogtreecommitdiffstats
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorRiku Voipio2014-08-06 09:36:37 +0200
committerRiku Voipio2014-08-22 14:06:33 +0200
commit0b2effd744471adea1cc82966df8a54fd6afa200 (patch)
tree4bea16365430b272e0b250447a0e1fb5f7ac9bcd /linux-user/main.c
parentlinux-user: /proc/self/maps content (diff)
downloadqemu-0b2effd744471adea1cc82966df8a54fd6afa200.tar.gz
qemu-0b2effd744471adea1cc82966df8a54fd6afa200.tar.xz
qemu-0b2effd744471adea1cc82966df8a54fd6afa200.zip
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>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions