aboutsummaryrefslogtreecommitdiff
path: root/qapi/common.json
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-05-12 18:47:26 +0100
committerRiku Voipio <riku.voipio@linaro.org>2016-05-27 14:49:48 +0300
commita3ca7bb2592010eedca31abd11d3ab451cf3b738 (patch)
tree3e32ee824be05e7feaf59d8b249e27bd32b05bf5 /qapi/common.json
parent2466119c9551d606a0f92f9832e0c865bc04b488 (diff)
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 'qapi/common.json')
0 files changed, 0 insertions, 0 deletions