qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 2/8] linux-user: Add "safe" parameter to do_guest_openat()


From: Richard Henderson
Subject: Re: [PATCH v3 2/8] linux-user: Add "safe" parameter to do_guest_openat()
Date: Tue, 6 Jun 2023 13:35:05 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 6/6/23 12:29, Ilya Leoshkevich wrote:
The only concrete objection I have is the change of API, which could
be fixed with return
get_errno(openat(...)).

I believe both openat() and safe_openat() return -1 on error and set
errno, or am I missing something?
Oops, no, bad memory on my part -- I thought safe_foo returned -errno.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]