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~