On Thu, 2021-02-04 at 16:09 -0800, Manoj Gupta wrote:
> 
> What does everyone think of modifying usages of calls to strip and
> objcopy
> inside estrip so that file ownership is manually restored. e.g
> 
> owner=$(stat -U file)
> group=$(stat -G file)
> strip <file>
> chown owner:group file
> 

This is probably safe in portage because the temporary directory is no
longer user-accessible, but it seems perverse to seek feature parity by
adding the security vulnerability into the implementations that don't
have it, rather than by removing it from the ones that do. Hopefully
LLVM just accepts the patch.



Reply via email to