verify-elf (verify_unresolved): treat PIEs as executables

This commit is contained in:
Дмитрий Левин 2016-12-06 17:15:17 +00:00
parent 8c1f9d589b
commit a4fb4d42e7

View File

@ -196,7 +196,8 @@ verify_unresolved()
;;
*)
if [ -z "${t##*ELF* executable*dynamically linked*}" ] ||
lookup_path "${fname%/*}" "$RPM_VERIFY_ELF_LDD_RPATH"; then
lookup_path "${fname%/*}" "$RPM_VERIFY_ELF_LDD_RPATH" ||
@RPMCONFIGDIR@/is_elf_so_executable "$f"; then
ldd_rc=1
else
ldd_rc=0