ELF ET_DYN files can be shared libraries, executable files or both.
Requiring shared libraries that cannot actually be executed (or segfault
when you do so) is dumb, but rpm has traditionally required executable
bit to be set for requires to be generated.

Change the definition of "executable" to mean files that actually 
*can*
be executed, ie those with PT_INTERP, and only require executable bit
to be set for requires-dependencies generation on those. In other words,
pure shared libraries will have requires generated regardless of their
permission, but executable files can disable that by disabling the on-disk
executable bit.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1394

-- Commit Summary --

  * Generate requires for "pure" ELF DSO's regardless of 
executable bit

-- File Changes --

    M tools/elfdeps.c (9)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1394.patch
https://github.com/rpm-software-management/rpm/pull/1394.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1394
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to