Commit Graph

30 Commits

Author SHA1 Message Date
Ivan A. Melnikov
c038a07d61 Disable stack verification and elflint on mips*
Most of the binaries on mipsel do not contain the stack section,
so this check is not relevant for that architecture. Morover,
it fails, since it can't find the stack section, which is
(rightfully) not present.

eu-elflint does not understand mipsel binaries currently,
so here we disable that check, too.
2018-07-26 17:44:30 +03:00
696f192aea scripts: ignore ELF shared objects with "no" machine type
When scanning files for deps, debuginfo, fixup, and verify_elf,
ignore files with type that matches "ELF * shared object, no machine, *"
pattern.

These are ELF files generated by GNU Guile, ignore them for now.
2017-04-18 16:42:41 +00:00
Ivan Zakharyaschev
c024ff3ce7 brp-verify_elf: set -o pipefail -- just in case 2016-03-31 21:23:29 +03:00
Ivan Zakharyaschev
e124ef0b4c brp-verify_elf: handle all rules for setting LD_PRELOAD in the form of pairs of RPM_LD_PRELOAD_@ and RPM_FILES_TO_LD_PRELOAD_@ env vars 2016-03-31 21:23:29 +03:00
d92c009d2d verify-elf: implement LFS check (ALT#28290) 2013-01-10 23:15:07 +00:00
Alexey Tourbin
e0572f5d41 verify-elf: do not descend into /usr/lib/debug 2011-01-30 03:11:30 +03:00
8b818f6df4 brp-verify_elf: disable lint check on ARM 2010-04-14 14:38:27 +00:00
d908f56dc4 brp-verify_elf: Set default lint mode to "relaxed", add "default" mode 2009-12-20 17:03:20 +00:00
82fcd333bb brp-verify_elf: Fix typo introduced by commit 7d83e49285 2009-12-20 15:10:49 +00:00
Alexey Tourbin
cb4fcda459 brp-verify_elf, verify-elf: updated copyright statement 2009-12-19 03:25:52 +03:00
Alexey Tourbin
7d83e49285 verify-elf: implemented new "lint" method using "eu-elflint --gnu-ld" 2009-12-19 03:25:23 +03:00
Alexey Tourbin
e6683d0de4 brp-verify_elf, verify-elf: simplify VERIFY_ELF_* parameter passing 2009-12-18 22:55:46 +03:00
Alexey Tourbin
f82116d5f9 brp-verify_elf: select ELF files with signle file(1) invocation
Also, move RPM_VERIFY_ELF_SKIPLIST logic from verify-elf to
brp-verify_elf, since RPM_VERIFY_ELF_TOPDIR is already there.
Normally, verify-elf should be a standalone program (available
for users).  It's just not quite ready yet.
2009-12-18 22:52:34 +03:00
Kirill A. Shutemov
06eb5ce9e7 Do not check STACK entry in ARM ELF files 2007-11-10 13:26:44 +00:00
5416277102 Removed cvsid tags. 2006-05-14 17:05:34 +04:00
f2cdd50995 Implemented VERIFY_ELF_STACK 2006-04-04 16:42:49 +00:00
435ebc43ba change VERIFY_ELF_UNRESOLVED from relaxed to normal 2006-03-07 16:14:23 +00:00
91fd14681d set VERIFY_ELF_ARCH 2006-02-24 00:19:28 +00:00
15712950dc Fixed RPM_VERIFY_ELF_LDD_RPATH initialization. 2006-01-14 23:33:29 +00:00
881c2a913a Set VERIFY_ELF_FHS and VERIFY_ELF_UNRESOLVED to relaxed for now. 2006-01-14 22:49:01 +00:00
824fa6f480 define $VERIFY_ELF_FHS, $VERIFY_ELF_UNRESOLVED and $RPM_VERIFY_ELF_LDD_RPATH 2006-01-14 20:42:43 +00:00
d0c573bce2 RPM_VERIFY_ELF_METHOD=relaxed now affects textrel as well as rpath 2003-11-23 21:08:49 +00:00
86895dac87 override RPM_VERIFY_ELF_METHOD with RPM_VERIFY_ELF_RPATH/RPM_VERIFY_ELF_TEXTREL 2003-11-09 20:56:40 +00:00
ebc53cf631 use functions 2003-11-09 16:47:45 +00:00
8b81f418b6 use functions 2003-11-09 16:30:18 +00:00
7703423747 added cvsid 2003-11-08 19:52:04 +00:00
3a742bc4a1 cleanup 2003-11-08 16:39:27 +00:00
f6c92dd6bb implemented TEXTREL checking 2003-11-07 17:32:25 +00:00
c68dcc3265 new _topdir/_skiplist macros 2002-09-27 13:41:26 +00:00
99ecba05df new brp method: verify_elf 2002-09-09 12:35:53 +00:00