rpm/lib
Panu Matilainen 5c74ebd725 Refactor verifyHeader() to use rpmfiVerify()
Replace manually maintained yet-another-return-code with an
"all failures" variable and base the actual return code on that.
It's tempting to use just one verify result variable but that'd be
wrong because of the shared file mtime filtering.
No functional changes intended.
2016-10-27 16:31:00 +03:00
..
backend ndb: fix regression from 20f2c51053 2016-02-22 14:56:39 +01:00
.gitignore build: Update .gitignore rules 2011-10-11 12:55:15 +03:00
Makefile.am Move headerConvert() and its helpers to headerutil.c 2016-10-24 12:38:28 +03:00
cpio.c Fix overflow in cpio filename by limiting the allowed length to 4kB 2016-09-05 10:12:29 +02:00
cpio.h Fix doxygen warnings 2015-02-17 15:31:22 +01:00
depends.c Remove RPMSENSE_RICH and replace its use with rpmdsIsRich() 2015-08-31 16:45:30 +02:00
formats.c Avoid rpmtdFormat() recursion in xmlFormat() 2016-10-26 11:49:58 +03:00
fprint.c Fix doxygen warnings 2015-02-17 15:31:22 +01:00
fprint.h Allow passing a shared pool for finger print cache 2012-09-14 14:21:10 +03:00
fsm.c Revised fix for CVE-2013-6435 2016-10-11 09:58:15 +03:00
fsm.h Fix doxygen warnings 2015-02-17 15:31:22 +01:00
gentagtbl.sh Use actual enum values in tag table sentinel to avoid int/enum mismatch 2010-09-21 15:26:25 +03:00
header.c Use proper datatypes for headerVerifyInfo() args 2016-10-27 11:39:01 +03:00
header.h Eliminate the umphteen deprecated N(E)VR(A) etc getter APIs 2016-10-24 12:37:18 +03:00
header_internal.h Use proper datatypes for headerVerifyInfo() args 2016-10-27 11:39:01 +03:00
headerfmt.c Make variable error messages available to all of headerfmt.c 2016-10-26 11:44:43 +03:00
headerutil.c Move headerConvert() and its helpers to headerutil.c 2016-10-24 12:38:28 +03:00
manifest.c Don't accept '-' in manifests 2015-11-18 15:53:52 +01:00
manifest.h Drop bogus const from rpmReadPackageManifest argvptr 2007-12-18 12:53:57 +02:00
misc.h Force header data formatting through a central function 2016-10-25 13:51:47 +03:00
order.c Remove RPMSENSE_RICH and replace its use with rpmdsIsRich() 2015-08-31 16:45:30 +02:00
package.c Drop unused negate argument from headerVerifyInfo() 2016-10-27 11:30:19 +03:00
poptALL.c Rename addMacro() and delMacro() to rpmPushMacro() and rpmPopMacro() 2016-10-24 13:09:38 +03:00
poptI.c Reimplement setprogname() and getprogname() to be generic and portable 2016-02-11 14:05:25 +01:00
poptQV.c Fix --noghost option (rhbz:1306438) 2016-02-19 13:17:48 +01:00
psm.c Fix preun scriptlet failure not aborting rpm erase 2016-07-29 17:36:41 +02:00
query.c Revert "Add macro _vsflags_query_rpmdb" 2016-10-20 10:31:37 +03:00
relocation.c Rename addMacro() and delMacro() to rpmPushMacro() and rpmPopMacro() 2016-10-24 13:09:38 +03:00
rpmal.c Do self-conflicts/obsoletes filtering in rpmalAllFileSatisfiesDepend 2014-08-21 11:43:54 +02:00
rpmal.h Fix doxygen warnings 2015-02-17 15:31:22 +01:00
rpmarchive.h Better error handling of rename() failure (rhbz:1177479) 2016-03-31 16:59:14 +02:00
rpmcallback.h Add RPMCALLBACK_ELEM_PROGRESS callback type 2016-01-28 17:03:54 +01:00
rpmchecksig.c Drop unused lead return argument from rpmLeadRead() 2016-10-27 10:56:34 +03:00
rpmchroot.c Add an error message + comments on open(".") behavior (RhBug:672576) 2011-01-28 13:19:53 +02:00
rpmchroot.h Add "c++ protection" to (hopefully) all of our internal headers 2010-09-21 15:21:12 +03:00
rpmcli.h Add option the select option --builtrpms to rpmspec(rhbz:961833) 2016-03-09 14:51:27 +01:00
rpmdb.c rpmdb.c: (rpmdbCheckTerminate) return non-zero on subsequent runs 2016-09-21 10:26:39 +02:00
rpmdb.h Add INDEXSYNC db control op 2015-07-16 17:42:10 +02:00
rpmdb_internal.h Fix doxygen warnings 2015-02-17 15:31:22 +01:00
rpmds.c Add sanity checks into extracting rpmds from rpm header 2015-11-27 16:41:39 +01:00
rpmds.h Remove RPMSENSE_RICH and replace its use with rpmdsIsRich() 2015-08-31 16:45:30 +02:00
rpmds_internal.h Add rpmdsFilterTi() to filter rpmds according to trigger index. 2015-02-05 08:08:12 +01:00
rpmfi.c Export file verification as a rpmfiles/rpmfi method 2016-10-27 15:38:09 +03:00
rpmfi.h Export file verification as a rpmfiles/rpmfi method 2016-10-27 15:38:09 +03:00
rpmfi_internal.h Add rpmfilesFindPrefix() to find files with given prefix. 2015-02-05 08:08:12 +01:00
rpmfiles.h Export file verification as a rpmfiles/rpmfi method 2016-10-27 15:38:09 +03:00
rpmfs.c Reset file actions between rpmtsRun() calls (RhBug:1076552) 2014-03-21 12:44:03 +02:00
rpmfs.h Reset file actions between rpmtsRun() calls (RhBug:1076552) 2014-03-21 12:44:03 +02:00
rpmgi.c Remove some unnecessary assignments flagged by cppcheck 2016-07-29 17:41:36 +02:00
rpmgi.h Stop abusing enum typedefs for bitfield types 2010-09-21 11:10:14 +03:00
rpmhash.C Fix memory leak in rpmhash implementation 2014-09-16 11:12:10 +02:00
rpmhash.H Add alternative hash key add/get/check methods with prehashed key 2012-09-05 10:38:36 +03:00
rpminstall.c Fix code formatting 2016-03-30 10:28:14 +02:00
rpmlead.c ...and finally bury the rpmlead datatype entirely inside rpmlead.c 2016-10-27 11:08:25 +03:00
rpmlead.h ...and finally bury the rpmlead datatype entirely inside rpmlead.c 2016-10-27 11:08:25 +03:00
rpmlib.h Rip rpm 4.4.x API compatibility 2016-10-24 12:38:21 +03:00
rpmliblua.c Add lua 5.2 support. 2012-10-09 08:28:52 +03:00
rpmliblua.h Add "c++ protection" to (hopefully) all of our internal headers 2010-09-21 15:21:12 +03:00
rpmlock.c Dont wait for transaction lock within scriptlets (RhBug:1135596) 2014-10-01 09:59:21 +03:00
rpmlock.h Export rpmlock release method internally as well 2013-03-11 11:12:35 +02:00
rpmplugin.h Drop the experimental collection support 2014-06-17 16:27:24 +03:00
rpmplugins.c Fix misleading-indentation in rpmplugins.c 2016-09-21 10:10:09 +02:00
rpmplugins.h Fix doxygen warnings 2015-02-17 15:31:22 +01:00
rpmpol.h Stop abusing enum typedefs for bitfield types 2010-09-21 11:10:14 +03:00
rpmprob.c Revert the previous change, it caused regressions (rhbz:1303265) 2016-02-01 09:43:58 +01:00
rpmprob.h Spelling fixes. 2013-02-19 21:35:40 +02:00
rpmps.c Fix couple of incorrect sizeof() uses 2011-03-17 14:08:54 +02:00
rpmps.h Eliminate all fooUnlink() functions out of the API 2010-09-13 13:08:33 +03:00
rpmrc.c Rename addMacro() and delMacro() to rpmPushMacro() and rpmPopMacro() 2016-10-24 13:09:38 +03:00
rpmscript.c Ignore SIGPIPE signals during execucton of scriptlets (rhbz:1264198) 2015-10-30 14:42:32 +01:00
rpmscript.h Now rpmScriptFromTriggertag() can load file trigger scripts. 2015-02-05 08:08:12 +01:00
rpmsignfiles.c rpmsign: Use default hash algo if RPMTAG_FILEDIGESTALGO missing 2016-08-24 18:22:49 +02:00
rpmsignfiles.h Add support for passing the file signing key password 2015-08-12 14:23:31 +02:00
rpmtag.h add short summaries to headers that miss one 2016-01-28 14:42:47 +01:00
rpmtd.c Force header data formatting through a central function 2016-10-25 13:51:47 +03:00
rpmtd.h add short summaries to headers that miss one 2016-01-28 14:42:47 +01:00
rpmte.c Drop the experimental collection support 2014-06-17 16:27:24 +03:00
rpmte.h Drop the experimental collection support 2014-06-17 16:27:24 +03:00
rpmte_internal.h Add support for executing file triggers. 2015-02-05 08:08:12 +01:00
rpmtriggers.c Spelling fixes 2016-06-04 23:00:58 +03:00
rpmtriggers.h runImmedFileTriggers() is supposed to be internal 2016-10-24 13:45:16 +03:00
rpmts.c File triggers moved to own file 2015-07-23 11:03:02 +02:00
rpmts.h Add disabler flag + --noplugins cli switch for plugins 2014-06-24 15:14:35 +03:00
rpmts_internal.h File triggers moved to own file 2015-07-23 11:03:02 +02:00
rpmtypes.h Chainsaw rpmfi iteration apart from the actual file set 2013-11-07 14:27:26 +02:00
rpmug.c Initialize all the name services we need 2014-01-28 09:45:55 +02:00
rpmug.h Initialize all the name services we need 2014-01-28 09:45:55 +02:00
rpmvercmp.c Spelling fixes. 2013-02-19 21:35:40 +02:00
rpmvf.h Export file verification as a rpmfiles/rpmfi method 2016-10-27 15:38:09 +03:00
signature.c Drop unused negate argument from headerVerifyInfo() 2016-10-27 11:30:19 +03:00
signature.h Eliminate now unused rpmNewSignature() and rpmFreeSignature() 2016-10-24 11:36:14 +03:00
tagexts.c Make sure getNEVRA always sets td.data 2016-04-26 10:05:35 +02:00
tagname.c Make arrays static so valgrind does not complain about lost memory 2016-03-31 11:53:31 +02:00
transaction.c Fix an embarrasing refactoring error 2016-10-18 15:29:58 +03:00
verify.c Refactor verifyHeader() to use rpmfiVerify() 2016-10-27 16:31:00 +03:00