kees added a comment. Is it possible to plumb fd instead of pathname? Then fchown(), fsetxattr(), etc, can all be used? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96308/new/ https://reviews.llvm.org/D96308