On Wed, 21 Feb 2024 13:15:18 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> When we create our debuginfo files on linux, we use objcopy to create a copy 
> of the corresponding lib*.so or executable. In the latter case, objcopy will 
> keep the executable bit. While this is a reasonable assumption for objcopy, 
> we really treat the debuginfo files as data, not as executables in their own 
> right, so we should strip the executable bit.
> 
> This was found when working with 
> [JDK-8325342](https://bugs.openjdk.org/browse/JDK-8325342), and I there 
> attempted to properly locate all executables and only executables.

Marked as reviewed by erikj (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/17947#pullrequestreview-1893232904

Reply via email to