Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395551 - app-misc/pax-utils: scanelf, please support matching ELF files without the specified section
Summary: app-misc/pax-utils: scanelf, please support matching ELF files without the sp...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 15:56 UTC by Michał Górny
Modified: 2011-12-21 17:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-12-21 15:56:32 UTC
Right now, scanelf is used by portage to check for LDFLAGS ignorance through the existence of .hash section. I'd like to add checking for CFLAGS ignorance through the lack of .GNU.command.line section when -frecord-gcc-switches is used.

For that particular check, it'd be great if scanelf had some kind of 'reverse -k' switch reporting all ELF files which don't have the specified section.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-12-21 16:59:51 UTC
Ah, I found a simple enough way to do with a little help of grobian. Nevermind.
Comment 2 SpanKY gentoo-dev 2011-12-21 17:12:26 UTC
scanelf -k '!.GNU.command.line'