forked from pool/rpmlint
- only consider executable ELF files for
non-position-independent-executable check OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=50
This commit is contained in:
parent
1ce65a61b6
commit
88c3913148
@ -135,8 +135,9 @@ class SUIDCheck(AbstractCheck.AbstractCheck):
|
||||
else:
|
||||
f += '/'
|
||||
|
||||
if type == 010:
|
||||
if not 'shared object' in pkgfile.magic:
|
||||
if type == 010 and mode&0111:
|
||||
# pie binaries have 'shared object' here
|
||||
if 'ELF' in pkgfile.magic and not 'shared object' in pkgfile.magic:
|
||||
printError(pkg, 'non-position-independent-executable', f)
|
||||
|
||||
m = self.perms[f]['mode']
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 07:50:21 UTC 2011 - lnussel@suse.de
|
||||
|
||||
- only consider executable ELF files for
|
||||
non-position-independent-executable check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 1 07:22:41 UTC 2011 - lnussel@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user