diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2014-08-06 10:36:37 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-08-22 15:06:33 +0300 |
commit | 0b2effd744471adea1cc82966df8a54fd6afa200 (patch) | |
tree | 4bea16365430b272e0b250447a0e1fb5f7ac9bcd /linux-user/main.c | |
parent | d67f4aaae8379b44b3b51ff07df75f693012983c (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 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions