[PATCH] D93881: [llvm-objcopy] preserve file ownership when overwritten
Jian Cai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 4 20:40:36 PST 2021
jcai19 updated this revision to Diff 321645.
jcai19 added a comment.
Check the user of the temporary file instead of the output file to decide the user that invokes the tool.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93881/new/
https://reviews.llvm.org/D93881
Files:
llvm/include/llvm/Support/FileOutputBuffer.h
llvm/include/llvm/Support/FileSystem.h
llvm/lib/Support/FileOutputBuffer.cpp
llvm/lib/Support/Unix/Path.inc
llvm/tools/llvm-objcopy/Buffer.cpp
llvm/tools/llvm-objcopy/Buffer.h
llvm/tools/llvm-objcopy/llvm-objcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93881.321645.patch
Type: text/x-patch
Size: 5847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/011c766b/attachment.bin>
More information about the llvm-commits
mailing list