[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 19:19:12 PST 2021


jcai19 updated this revision to Diff 321632.
jcai19 marked an inline comment as done.
jcai19 added a comment.

Limit the patch to root user.


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.321632.patch
Type: text/x-patch
Size: 5887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/274912fe/attachment.bin>


More information about the llvm-commits mailing list