Thread (17 messages) flat view 17 messages, 8 authors, 2021-03-08

Re: [RFC PATCH] fs: introduce mkdirat2 syscall for atomic mkdir

From: Drew DeVault <hidden>
Date: 2021-02-28 02:32:20
Also in: linux-api

On Sat Feb 27, 2021 at 9:13 PM EST, Al Viro wrote:
No to the ABI part; "on error it returns -E..., on success - 0 or a
non-negative number representing a file descriptor (zero also
possible, but unlikely)" is bloody awful as calling conventions go,
especially since the case when 0 happens to be a descriptor is not
going to get a lot of testing on the userland side.
Hm, I was just trying to mimic the behavior of open(2). Do you have a
better suggestion?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help