-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
rhel-9.4
-
None
-
None
-
rhel-sst-pt-python-ruby-nodejs
-
ssg_core_services
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
All
-
None
What were you trying to do that didn't work?
Running annocheck on /usr/lib64/libpython3.so reports
Hardened: /usr/lib64/libpython3.so: skip: pic test because no code present - therefore test not needed
Hardened: /usr/lib64/libpython3.so: skip: stack-prot test because no code present - therefore no stack protection needed
Please provide the package NVR for which bug is seen:
python3-libs-3.9.18-1.el9_3
How reproducible:
deterministic
Steps to reproduce
- dnf install -y annobin-annocheck
- dnf debuginfo-install --exclude '*-debugsource' python3
- annocheck -v --skip-all --test-pic --test-pie --test-stack-prot --test-bind-now --test-gnu-relro /usr/lib64/libpython3.so
Expected results
No "skip: pic/stack-prot test because no code present".
Actual results
Hardened: /usr/lib64/libpython3.so: PASS: pie test Hardened: /usr/lib64/libpython3.so: PASS: bind-now test Hardened: /usr/lib64/libpython3.so: PASS: gnu-relro test Hardened: /usr/lib64/libpython3.so: skip: pic test because no code present - therefore test not needed Hardened: /usr/lib64/libpython3.so: skip: stack-prot test because no code present - therefore no stack protection needed Hardened: /usr/lib64/libpython3.so: Overall: PASS. annocheck: Version 12.28.