aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2014-08-06 10:36:37 +0300
committerRiku Voipio <riku.voipio@linaro.org>2014-08-22 15:06:33 +0300
commit0b2effd744471adea1cc82966df8a54fd6afa200 (patch)
tree4bea16365430b272e0b250447a0e1fb5f7ac9bcd /target-i386
parentd67f4aaae8379b44b3b51ff07df75f693012983c (diff)
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 'target-i386')
0 files changed, 0 insertions, 0 deletions