Thread (1 message) 1 message, 1 author, 2020-03-06

Re: Have RESOLVE_* flags superseded AT_* flags for new syscalls?

From: David Howells <dhowells@redhat.com>
Date: 2020-03-06 14:49:03
Also in: linux-fsdevel, lkml

Aleksa Sarai [off-list ref] wrote:
Right, but open_tree() doesn't need RESOLVE_ flags (nor can you add them
without an open_tree2()). Instead you can pass an O_PATH file descriptor
with AT_EMPTY_PATH which you could've safely resolved with openat2().
Note that openat2() is not a substitute for open_tree(). See the effect of
the OPEN_TREE_CLONE flag.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help