diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2016-05-12 18:47:26 +0100 |
|---|---|---|
| committer | Riku Voipio <riku.voipio@linaro.org> | 2016-05-27 14:49:48 +0300 |
| commit | a3ca7bb2592010eedca31abd11d3ab451cf3b738 (patch) | |
| tree | 3e32ee824be05e7feaf59d8b249e27bd32b05bf5 /linux-user/signal.c | |
| parent | 2466119c9551d606a0f92f9832e0c865bc04b488 (diff) | |
| download | focaccia-qemu-a3ca7bb2592010eedca31abd11d3ab451cf3b738.tar.gz focaccia-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/signal.c')
0 files changed, 0 insertions, 0 deletions