Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Rings:1-MinimalX
rpmlint
suse-rpmlint-all-pie.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-rpmlint-all-pie.patch of Package rpmlint
Index: rpmlint-rpmlint-1.10/BinariesCheck.py =================================================================== --- rpmlint-rpmlint-1.10.orig/BinariesCheck.py +++ rpmlint-rpmlint-1.10/BinariesCheck.py @@ -549,10 +549,14 @@ class BinariesCheck(AbstractCheck.Abstra if ocaml_mixed_regex.search(bin_info.tail): printWarning(pkg, 'ocaml-mixed-executable', fname) - if ((not is_shobj and not is_pie_exec) and - pie_exec_re and pie_exec_re.search(fname)): - printError(pkg, 'non-position-independent-executable', - fname) + if (not is_shobj and not is_pie_exec): + if pie_exec_re and pie_exec_re.search(fname): + printError( + pkg, 'non-position-independent-executable', fname) + else: + printWarning( + pkg, 'position-independent-executable-suggested', + fname) if bin_info.readelf_error: continue @@ -804,6 +808,10 @@ stripping process.''', '''This executable must be position independent. Check that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags.''', +'position-independent-executable-suggested', +'''This executable should be position independent (all binaries should). Check +that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags.''', + 'missing-call-to-setgroups-before-setuid', '''This executable is calling setuid and setgid without setgroups or initgroups. There is a high probability this means it didn't relinquish all
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor