On Friday 2016-09-23 00:07, Cristian Rodríguez wrote:
BUILT WITH PIE: $ file /usr/bin/su /usr/bin/su: setuid ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.0.0, red libs), for GNU/Linux 3.0.0, BuildID[sha1]=e1848fb6201a18d0c17900dcf7936819c1a81ff9, stripped
"file" now needs to differentiate between a PIE and a shared library..
Yeah, I can see how this blows up in some faces. rpm's scripts use `file | grep "shared object"` (scary!). find-requires: "Executables" (by file(1)'s definition) need to have the +x bit to be dependency-scanned with ldd by f-r. Shared objects do not need the +x bit to be scanned. This means now that executables which erroneously or willingly had no +x bit now get scanned when built as PIE. find-provides: No change, since executables do not have a DT_SONAME field. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org