[PATCH] D93881: [llvm-objcopy] preserve file ownership when overwritten

Robert Underwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 07:07:34 PST 2021


robertu94 added a comment.

I could be wrong (@mgorny would know better), but it was my understanding that portage (if `sandbox` and `userpriv` FEATURES in are set in make.conf on not overwritten from /usr/share/portage/config/make.globals) drops user privileges to the `portage` user and group using the `setuid`/`setgid` functions during the unpack, prepare, configure, compile, and test phases.  During the install process `fakeroot` can be used (but not the default), but I don't believe that privileges can be dropped separately from `fakeroot`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93881/new/

https://reviews.llvm.org/D93881



More information about the llvm-commits mailing list