Recognize ELF PIE executables
@andreyv
Submitted by Andrey Vihrov Assigned to Xfce Bug Triage
Description
Arch Linux recently changed their default toolchain flags to a more secure combination [1]. Most likely because of this, executables are now recognized as shared objects, e.g., output from "file":
a.out: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=941b4da3c6b4b43727371ae88aa0b54f6d493487, not stripped
Thunar thinks the same, and after double-clicking an executable it asks which program to use to open a shared object. Instead, Thunar should execute these types of files just like regular executables.
Note: some ELF shared libraries actually are also runnable as executables, for example, "/lib/libc.so.6" on a typical Linux system.
[1] https://lists.archlinux.org/pipermail/arch-dev-public/2017-June/028903.html
Version: 1.6.12