diff options
| author | Peter Maydell | 2016-05-12 19:47:26 +0200 |
|---|---|---|
| committer | Riku Voipio | 2016-05-27 13:49:48 +0200 |
| commit | a3ca7bb2592010eedca31abd11d3ab451cf3b738 (patch) | |
| tree | 3e32ee824be05e7feaf59d8b249e27bd32b05bf5 /linux-user/uaccess.c | |
| parent | linux-user: Check array bounds in errno conversion (diff) | |
| download | qemu-a3ca7bb2592010eedca31abd11d3ab451cf3b738.tar.gz qemu-a3ca7bb2592010eedca31abd11d3ab451cf3b738.tar.xz qemu-a3ca7bb2592010eedca31abd11d3ab451cf3b738.zip | |
linux-user: Consistently return host errnos from do_openat()
The function do_openat() is not consistent about whether it is
returning a host errno or a guest errno in case of failure.
Standardise on returning -1 with errno set (ie caller has
to call get_errno()).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reported-by: Timothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/uaccess.c')
0 files changed, 0 insertions, 0 deletions
