rpm
5.4.10
|
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <time.h>
#include <strings.h>
#include <errno.h>
#include <sys/file.h>
#include <ctype.h>
#include "rpmio/glob.h"
#include "rpmio/fnmatch.h"
#include "../system.h"
#include <ruby.h>
Go to the source code of this file.
Data Structures | |
struct | our_mntent |
Macros | |
#define | st_birthtime st_ctime /* Use st_ctime if no st_birthtime. */ |
#define | MAXPHYS (128 * 1024) /* max raw I/O transfer size */ |
#define | TIMEVAL_TO_TIMESPEC(tv, ts) |
#define | TIMESPEC_TO_TIMEVAL(tv, ts) |
#define | major(dev) (((dev) >> 8) & 0xff) |
#define | minor(dev) ((dev) & 0xff) |
#define | makedev(maj, min) (((maj) << 8) | (min)) |
#define | EXIT_FAILURE 1 |
#define | SEEK_SET 0 |
#define | SEEK_CUR 1 |
#define | SEEK_END 2 |
#define | F_OK 0 |
#define | X_OK 1 |
#define | W_OK 2 |
#define | R_OK 4 |
#define | dirent direct |
#define | NLENGTH(direct) ((direct)->d_namlen) |
#define | __progname program_name |
#define | setprogname(pn) |
#define | setlocale(Category, Locale) /* empty */ |
#define | bindtextdomain(Domain, Directory) /* empty */ |
#define | textdomain(Domain) /* empty */ |
#define | _(Text) Text |
#define | D_(Text) Text |
#define | dgettext(DomainName, Text) Text |
#define | N_(Text) Text |
#define | S_IFSOCK (0xc000) |
#define | S_ISLNK(mode) ((mode & 0xf000) == S_IFLNK) |
#define | S_ISSOCK(mode) ((mode & 0xf000) == S_IFSOCK) |
#define | lchown chown |
#define | our_mntent struct our_mntent |
#define | GETMNTENT_ONE 1 |
#define | GETMNTENT_TWO 0 |
#define | MOUNTED "/etc/mnttab" |
#define | FILE_RCSID(id) |
#define | Makedev(x, y) makedev((x),(y)) |
makedev() on QNX takes three parameters the additional one (first place) specifies the node for QNET as this applic is not QNET aware, we can set it to 'local node' | |
#define | SUPPORT_IMPLICIT_TAG_DATA_TYPES 1 |
Use the tag data type compiled into rpm, not the type from the header. | |
#define | SUPPORT_I18NSTRING_TYPE 0 |
Eliminate RPM_I18NSTRING_TYPE. | |
#define | SUPPORT_NOSIGNATURES 1 |
Eliminate signature/digest disablers. | |
#define | HAVE_SETPROCTITLE 1 |
#define | _save _ |
#define | _xmalloc xmalloc |
#define | _xcalloc xcalloc |
#define | _xrealloc xrealloc |
#define | _xfree xfree |
#define | _ _save |
#define | xmalloc _xmalloc |
#define | xrealloc _xrealloc |
#define | xfree _xfree |
Functions | |
char * | memchr () |
char * | stpcpy (char *dest, const char *src) |
char * | stpncpy (char *dest, const char *src, size_t n) |
char * | getenv (const char *name) |
char * | realpath (const char *path, char resolved_path[]) |
char * | alloca () |
void * | xmalloc (size_t size) |
void * | xcalloc (size_t nmemb, size_t size) |
void * | xrealloc (void *ptr, size_t size) |
char * | xstrdup (const char *str) |
void * | vmefail (size_t size) |
int | setenv (const char *name, const char *value, int replace) |
void | unsetenv (const char *name) |
struct our_mntent * | getmntent (FILE *filep) |
Variables | |
int | errno |
const char * | program_name |
#define _ | ( | Text | ) | Text |
Definition at line 30 of file system.h.
Referenced by _rpmtsRun(), _specQuery(), addChangelog(), addFile(), addFileToTagAux(), addMacro(), addSource(), argerror(), armorFormat(), base64Format(), bncdataFormat(), build(), buildHost(), buildSpec(), cdataFormat(), checkForDuplicates(), checkForRequired(), checkForValidArchitectures(), checkOwners(), checkPackages(), checkUnpackagedFiles(), compare(), compile_single_pattern(), copyFile(), copyNextLineFromOFI(), cpio_copy(), cpio_doio(), createDir(), dateFormat(), dayFormat(), db3Acallback(), db3open(), dbiFindMatches(), dbiMireKeys(), dbiOpen(), depflagsFormat(), deptypeFormat(), digestFormat(), doAddSubtract(), doDefine(), doIcon(), doLogical(), doMultiplyDivide(), doPatch(), doPatchMacro(), doPrimary(), doRelational(), doSetupMacro(), doUndefine(), doUntar(), expandMacro(), expandMacros(), Fadvise(), Fallocate(), fflagsFormat(), fiIntersect(), findPreambleTag(), freeArgs(), fsmMapAttrs(), fsmStage(), ftpStrerror(), genCpioListAndHeader(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getOutputFrom(), getUidS(), getUname(), getUnameS(), grabArgs(), grep_or_recurse(), grepArgCallback(), handlePreambleTag(), headerCheck(), hintFormat(), iconvFormat(), IDTXglob(), installArgCallback(), intFormat(), iosmMapAttrs(), iosmStage(), iosmStrerror(), isCompressed(), jsonFormat(), main(), makeGPGSignature(), manageFile(), miFreeHeader(), mireLoadPatternFiles(), mireRegcomp(), mireRegexec(), mireSetLocale(), mireStudy(), mtree_error(), mtreeArgCallback(), mtreeMiss(), mtreeReadExcludes(), mtreeSpec(), mtreeVisitD(), mtreeVisitF(), mtreeVWalk(), packageBinaries(), parseBuildInstallClean(), parseDescription(), parseExpression(), parseExpressionBoolean(), parseExpressionString(), parseFiles(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseFormat(), parseForSimple(), parseForVerify(), parseNoSource(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), parseSpec(), pcregrep(), permsFormat(), pgpsigFormat(), pkgUnpackagedSubdirs(), prepFetch(), printExpansion(), printMacro(), printNewSpecfile(), printVersion(), processBinaryFile(), processBinaryFiles(), processMetadataFile(), processPackageFiles(), processScriptFiles(), processSourceFiles(), queryHeader(), rdLead(), rdSignature(), rdToken(), readFile(), readLine(), readLineFromOFI(), realDateFormat(), rfileHeaderSprintf(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmCheckPassPhrase(), rpmcliImportPubkeys(), rpmcliInit(), rpmcliInstall(), rpmcliInstallCheck(), rpmcliInstallOrder(), rpmcliInstallRun(), rpmcliInstallSuggests(), rpmcliSign(), rpmdbCount(), rpmdbNew(), rpmdbRemove(), rpmdcArgCallback(), rpmdcInitFile(), rpmdcParseCoreutils(), rpmdcParseZeroInstall(), rpmdsCompare(), rpmdsNotify(), rpmdsPipe(), rpmdsSysinfoFile(), rpmDumpMacroTable(), rpmErase(), rpmEVRcompare(), rpmfcApply(), rpmfcExpandRegexps(), rpmfcGenerateDependsHelper(), rpmfcMatchRegexps(), rpmGetFilesystemUsage(), rpmgiInitFilter(), rpmgiLoadReadHeader(), rpmgiOpen(), rpmInstallSource(), rpmInstallSourcePackage(), rpmioInit(), rpmLoadMacroFile(), rpmlogMessage(), rpmmgBuffer(), rpmmgFile(), rpmmgNew(), rpmmiNext(), rpmMkdirPath(), rpmProblemString(), rpmpsmStage(), rpmQueryVerify(), rpmReadHeader(), rpmReadPackageFile(), rpmReadPackageManifest(), rpmrepoCheckTimeStamps(), rpmrepoCloseMDFile(), rpmrepoDoFinalMove(), rpmrepoDoRepoMetadata(), rpmrepoGetFileList(), rpmrepoInitPopt(), rpmrepoMkdir(), rpmrepoOpenMDFile(), rpmrepoReadHeader(), rpmrepoTestSetupDirs(), rpmReSign(), rpmrfileXMLWrite(), rpmRollback(), rpmShowProgress(), rpmShowRC(), rpmspecQuery(), rpmsqlRun(), rpmTempFile(), rpmts_Die(), rpmtsAddInstallElement(), rpmtsFindPubkey(), rpmtsOpenDB(), rpmtsOpenSDB(), rpmtsPrepare(), rpmtsRollback(), rpmtsSolve(), rpmuuidMake(), rpmVerifySignature(), rpmVerifySignatures(), rpmvfVerify(), rpmWriteHeader(), rpnFormat(), runScript(), set(), shescapeFormat(), showQueryPackage(), singleSprintf(), spewescapeFormat(), sql_busy_handler(), statFormat(), strsubFormat(), tagValidate(), timeCheck(), triggertypeFormat(), unsatisfiedDepend(), urlFind(), urlFini(), urlFreeCache(), urlSplit(), urlStrerror(), uuidFormat(), verifyDependencies(), verifyDSA(), verifyMD5(), verifyRSA(), verifySHA1(), verifySize(), vmefail(), writeRPM(), xmlFormat(), and yamlFormat().
#define __progname program_name |
Definition at line 428 of file system.h.
Referenced by argerror(), compile_single_pattern(), grep_or_recurse(), grepArgCallback(), main(), mireLoadPatternFiles(), mireSetLocale(), mireStudy(), mtree_error(), mtreeArgCallback(), mtreeCWalk(), mtreeReadExcludes(), mtreeSpec(), mtreeVisitD(), mtreeVisitF(), mtreeVWalk(), pcregrep(), printVersion(), rpmcliInit(), rpmdcArgCallback(), rpmdcCWalk(), rpmdcParseCoreutils(), rpmdcParseZeroInstall(), rpmrepoError(), rpmrepoProgress(), rpmrepoReadHeader(), and set().
#define bindtextdomain | ( | Domain, | |
Directory | |||
) | /* empty */ |
Definition at line 481 of file system.h.
Referenced by rpmcliInit(), and rpmioInit().
#define D_ | ( | Text | ) | Text |
Definition at line 485 of file system.h.
Referenced by _rpmtsRun(), db3close(), db3open(), db_fini(), db_init(), dnlInitIterator(), findErases(), fsmMkdirs(), getOutputFrom(), iosmMkdirs(), main(), makeGPGSignature(), printSize(), psmWait(), relocateFileList(), rpmcliInstall(), rpmdbCheckSignals(), rpmdsCompare(), rpmdsProblem(), rpmErase(), rpmfcApply(), rpmfcClassify(), rpmfcMatchRegexps(), rpmfiDecideFate(), rpmioFreePool(), rpmioMkpath(), rpmioNewPool(), rpmpsmStage(), rpmQueryVerify(), rpmReadPackageManifest(), rpmRollback(), rpmtsAddObsoletes(), rpmtsAddUpgrades(), rpmtsCheckInstalledFiles(), rpmtsEraseDebuginfo(), rpmtsInitDSI(), rpmtsPrepare(), rpmtsProcess(), rpmtsRebuildDB(), rpmtsSanityCheck(), rpmtsSkipFiles(), rpmtsSolve(), runScript(), sql_close(), sql_open(), urlConnect(), urlGetFile(), and wrSignature().
#define dgettext | ( | DomainName, | |
Text | |||
) | Text |
#define dirent direct |
Definition at line 230 of file system.h.
Referenced by fts_build(), Glob(), glob_in_dir(), and grep_or_recurse().
#define EXIT_FAILURE 1 |
Referenced by argerror(), db3open(), getOutputFrom(), main(), makeGPGSignature(), mtree_error(), mtreeArgCallback(), mtreeReadExcludes(), rpmcliConfigured(), rpmcliInit(), rpmdbCheckSignals(), rpmdsGetconf(), rpmioAllArgCallback(), rpmioConfigured(), rpmioInit(), rpmrepoError(), rpmts_Die(), and vrpmlog().
#define F_OK 0 |
Definition at line 216 of file system.h.
Referenced by db3open(), doIcon(), getSourceDir(), and rpmioAccess().
#define FILE_RCSID | ( | id | ) |
#define lchown chown |
Definition at line 651 of file system.h.
Referenced by Lchown(), and mtreeMiss().
#define major | ( | dev | ) | (((dev) >> 8) & 0xff) |
Definition at line 123 of file system.h.
Referenced by cpioHeaderRead(), cpioHeaderWrite(), tarHeaderRead(), tarHeaderWrite(), and xarDev().
#define makedev | ( | maj, | |
min | |||
) | (((maj) << 8) | (min)) |
#define Makedev | ( | x, | |
y | |||
) | makedev((x),(y)) |
makedev() on QNX takes three parameters the additional one (first place) specifies the node for QNET as this applic is not QNET aware, we can set it to 'local node'
Definition at line 727 of file system.h.
Referenced by cpioHeaderRead(), and tarHeaderRead().
#define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ |
#define minor | ( | dev | ) | ((dev) & 0xff) |
Definition at line 124 of file system.h.
Referenced by cpioHeaderRead(), cpioHeaderWrite(), tarHeaderRead(), tarHeaderWrite(), and xarDev().
#define MOUNTED "/etc/mnttab" |
Definition at line 702 of file system.h.
Referenced by getFilesystemList().
#define N_ | ( | Text | ) | Text |
Definition at line 490 of file system.h.
Referenced by rpmProblemString().
#define our_mntent struct our_mntent |
#define R_OK 4 |
Definition at line 219 of file system.h.
Referenced by rpmioAccess(), rpmsqlNew(), rpmtsPRCO(), and unsatisfiedDepend().
#define S_IFSOCK (0xc000) |
Definition at line 606 of file system.h.
Referenced by ftpOpendir(), inotype(), rpmfcClassify(), vfs_parse_filetype(), and xarMode().
#define S_ISLNK | ( | mode | ) | ((mode & 0xf000) == S_IFLNK) |
Definition at line 610 of file system.h.
Referenced by compare(), cpioHeaderRead(), cpioHeaderWrite(), fsmStage(), fts_stat(), genCpioListAndHeader(), iosmStage(), mtreeVisitF(), printFileInfo(), rpmdcPrintZeroInstall(), rpmfiWhatis(), rpmPermsString(), rpmTempFile(), rpmvfVerify(), statFormat(), tarHeaderWrite(), vfs_parse_ls_lga(), and writeFile().
#define S_ISSOCK | ( | mode | ) | ((mode & 0xf000) == S_IFSOCK) |
Definition at line 614 of file system.h.
Referenced by compare(), fsmStage(), iosmStage(), rpmfiWhatis(), rpmPermsString(), and tarHeaderWrite().
#define SEEK_CUR 1 |
Definition at line 212 of file system.h.
Referenced by rpmSingleHeaderFromFD().
#define setlocale | ( | Category, | |
Locale | |||
) | /* empty */ |
Definition at line 472 of file system.h.
Referenced by mireSetLocale(), rpmcliInit(), rpmGlob(), and rpmioInit().
#define setprogname | ( | pn | ) |
Definition at line 429 of file system.h.
Referenced by main(), rpmcliInit(), and rpmioInit().
#define st_birthtime st_ctime /* Use st_ctime if no st_birthtime. */ |
#define SUPPORT_I18NSTRING_TYPE 0 |
Eliminate RPM_I18NSTRING_TYPE.
Definition at line 744 of file system.h.
Referenced by headerAppendEntry(), and headerMacrosLoad().
#define SUPPORT_IMPLICIT_TAG_DATA_TYPES 1 |
#define SUPPORT_NOSIGNATURES 1 |
#define textdomain | ( | Domain | ) | /* empty */ |
Definition at line 483 of file system.h.
Referenced by rpmcliInit(), and rpmioInit().
#define TIMESPEC_TO_TIMEVAL | ( | tv, | |
ts | |||
) |
Definition at line 103 of file system.h.
Referenced by compare(), and mtreeVisitF().
#define TIMEVAL_TO_TIMESPEC | ( | tv, | |
ts | |||
) |
#define W_OK 2 |
Definition at line 218 of file system.h.
Referenced by createDir(), db3open(), main(), rpmioAccess(), and rpmrepoTestSetupDirs().
#define X_OK 1 |
Definition at line 217 of file system.h.
Referenced by rpmioAccess(), and unsatisfiedDepend().
#define xmalloc _xmalloc |
Definition at line 33 of file system.h.
Referenced by _str2PCREpat(), _tagCanonicalize(), addFile(), addSource(), addTE(), argvJoin(), argvSplit(), arSetup(), bin2hex(), bncdataFormat(), cdataFormat(), cpioHeaderRead(), db3Acallback(), dbiMireKeys(), dbinstanceTag(), debevrfmtTag(), debmd5sumsTag(), doAddSubtract(), doLookup(), doputenv(), dosetenv(), dupMacroEntry(), expandMacro(), expandMacroTable(), FDGsqlTag(), FDGxmlTag(), FDGyamlTag(), formatValue(), fpCacheCreate(), fpLookupSubdir(), fsmFsPath(), fsmStage(), genCpioListAndHeader(), glob(), glob_in_dir(), grabData(), handleOneTrigger(), headerAppendEntry(), headerCheck(), headerendoffTag(), headerInit(), headerMap(), headerstartoffTag(), headerUnload(), hGetNVRA(), htAddEntry(), iosmFsPath(), iosmStage(), jsonFormat(), loadDBT(), localeTag(), machAddEquiv(), main(), makeGPGSignature(), mireDup(), mtreeReadExcludes(), mtreeVisitF(), needswhatTag(), newOpenFileInfo(), newSl(), newSpec(), newSt(), parseForLang(), parseRCPOT(), pgpArmorWrap(), pgpMpiHex(), pgpMpiSet(), pgpPrtUserID(), pkgmtimeTag(), pkgsizeTag(), PRCOsqlTag(), PRCOxmlTag(), PRCOyamlTag(), prefix_array(), printNewSpecfile(), pushMacro(), queryArgCallback(), rdSignature(), readLine(), relocateFileList(), rpmbcExportPubkey(), rpmbcExportSignature(), rpmbcSetRSA(), rpmcliImportPubkey(), rpmdcPrintCoreutils(), rpmdcPrintZeroInstall(), rpmdsDup(), rpmdsDupArgv(), rpmdsGetconf(), rpmdsMerge(), rpmdsNewDNEVR(), rpmdsSingle(), rpmdsThis(), rpmExpand(), rpmfd_Fopen(), rpmfiBuildFClasses(), rpmfiBuildFDeps(), rpmfiBuildFNames(), rpmfiDupeRelocations(), rpmfiFN(), rpmfiNew(), rpmgiEscapeSpaces(), rpmGlob(), rpmInitMacros(), rpmiobSlurp(), rpmjsRun(), rpmMCExpand(), rpmmiInit(), rpmProblemString(), rpmpsmStage(), rpmReadHeader(), rpmRebuildTargetVars(), rpmteChain(), rpmtsFindPubkey(), rpmtsPrepare(), runInstScript(), runScript(), runTriggersLoop(), set(), shescapeFormat(), showQueryPackage(), spewescapeFormat(), sql_cget(), sql_step(), strdup_iconv_check(), strsubFormat(), tag2uuidv5(), tarHeaderRead(), tarHeaderReadName(), triggercondsTag(), triggertypeTag(), urlFind(), urlStrdup(), uuidFormat(), valueMakeInteger(), valueMakeString(), vrpmlog(), whatneedsTag(), writeLinkedFile(), xmlFormat(), XpoptDupArgv(), XpoptParseArgvString(), xstrtolocale(), and yamlFormat().
#define xrealloc _xrealloc |
Definition at line 36 of file system.h.
Referenced by _poptSaveString(), addFile(), argiAdd(), argvAdd(), argvAppend(), cacheStashLatest(), currentDirectory(), dbiAppendSet(), dbiTagsInit(), expandMacroTable(), fdInitDigest(), fsmMkdirs(), ftpNLST(), getFilesystemList(), glob(), glob_in_dir(), handleInstInstalledFile(), headerAddEntry(), headerAppendEntry(), headerSprintf(), hsaReserve(), htAddEntry(), IDTXgrow(), installArgCallback(), iosmMkdirs(), isPart(), machAddEquiv(), mireAppend(), parseForLang(), pgpsigFormat(), pgpStashKeyid(), pkgUnpackagedSubdirs(), queryArgCallback(), readLineFromOFI(), relocateFileList(), removePackage(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmalMakeIndex(), rpmcliAllArgCallback(), rpmExpand(), rpmfcExpandAppend(), rpmfiAddRelocation(), rpmfiNew(), rpmGetMacroEntries(), rpmGlob(), rpmiobAppend(), rpmiobSlurp(), rpmMCExpand(), rpmmiAddPattern(), rpmmiInit(), rpmpsAppend(), rpmtsAddInstallElement(), rpmtsAvailable(), rpmtsSolve(), showQueryPackage(), sql_step(), stashSt(), strdup_iconv_check(), triggercondsTag(), urlFind(), vrpmlog(), and xstrtolocale().
char* alloca | ( | ) |
Referenced by __crc32_combine(), __crc64_combine(), addChangelogEntry(), addFileToArrayTag(), addFileToTag(), addOrAppendListEntry(), addReqProv(), addTE(), cacheStashLatest(), checkForDuplicates(), checkPackageSet(), compressFilelist(), dateToTimet(), db3Acallback(), db3open(), debevrTag(), debmd5sumsTag(), depflagsFormat(), deptypeFormat(), doDefine(), doFoo(), doIcon(), doLookup(), doOutput(), doScript(), doShellEscape(), doUndefine(), ensureOlder(), expandMacro(), expandMacros(), expandT(), expandU(), fiIntersect(), fillOutMainPackage(), findEntry(), findErases(), findTag(), fnmatch(), formatValue(), fsmStage(), ftpCommand(), ftpLogin(), ftpReq(), ftsCacheUpdate(), genCpioListAndHeader(), getDigestAlgo(), getSignid(), grabArgs(), handleInstInstalledFile(), handleOneTrigger(), handlePreambleTag(), hCopyTag(), hdr_subscript(), hdrKeyList(), headerCheck(), headerCopy(), headerCopyTags(), headerLoad(), headerMacrosLoad(), headerMacrosUnload(), headerMergeLegacySigs(), headerNEVRA(), headerRegenSigHeader(), headerSprintf(), hGetColor(), hintFormat(), hLoadTID(), hSaveBlinks(), hSaveFlinks(), httpReq(), i18nTag(), IDTXglob(), IDTXload(), initSourceHeader(), initSourceHeaderScriptlet(), intFormat(), iosmStage(), isMemberInEntry(), jsonFormat(), lookupPackage(), main(), makeGPGSignature(), makeHDRSignature(), mireRegexec(), mireSkip(), needswhatTag(), nwlookupTag(), packageBinaries(), packageSources(), parseDescription(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseForVerify(), parsePreamble(), parseRCPOT(), parseScript(), parseSpec(), pgpArmorUnwrap(), pgpGrabPkts(), pgpPrtPkt(), pgpPrtPkts(), pgpPubkeyFingerprint(), pkgUnpackagedSubdirs(), pointRpmEVR(), populateInstallHeader(), postPopulateInstallHeader(), printFileInfo(), printNewSpecfile(), processBinaryFiles(), processMetadataFile(), processPackageFiles(), processScriptFiles(), providePackageNVR(), rdSignature(), readFile(), regionSwab(), relocateFileList(), removeSillyDeps(), rpmAddSignature(), rpmalAllSatisfiesDepend(), rpmcliImportPubkey(), rpmcliInstall(), rpmdbAdd(), rpmdbExportHR_MIB(), rpmdbRemove(), rpmDefineMacro(), rpmdsCompare(), rpmdsNew(), rpmdsNSAdd(), rpmdsNVRMatchesDep(), rpmdsSysinfo(), rpmdsThis(), rpmfcGenerateDepends(), rpmfcGenerateScriptletDeps(), rpmfi_Digest(), rpmfi_FDigest_get(), rpmfiBuildFNames(), rpmfiFNBF(), rpmfiNew(), rpmGenPath(), rpmGetFilesystemUsage(), rpmGetPath(), rpmhdrLoadTag(), rpmHeadersIdentical(), rpmInstallSourcePackage(), rpmioMkpath(), rpmkuFindPubkey(), rpmkuStorePubkey(), rpmlibMarkers(), rpmlibNeedsFeature(), rpmLoadMacroFile(), rpmmiInit(), rpmnsProbeSignature(), rpmps_ass_sub(), rpmpsmStage(), rpmQueryVerify(), rpmrbLoadClasses(), rpmReadPackageFile(), rpmReSign(), rpmspecQuery(), rpmsqExecve(), rpmteChain(), rpmteColorDS(), rpmteNew(), rpmts_Rollback(), rpmtsAddFingerprints(), rpmtsAddInstallElement(), rpmtsAddUpgrades(), rpmtsCallback(), rpmtsCheckInstalledFiles(), rpmtsEraseDebuginfo(), rpmtsFindPubkey(), rpmtsRollback(), rpmtsSanityCheck(), rpmtsSetRootDir(), rpmtsSkipFiles(), rpmtsSolve(), rpmVerifySignatures(), rpmVersionCompare(), rpmvfVerify(), rpnFormat(), runImmedTriggers(), runInstScript(), runScript(), setPathDefault(), stashSt(), str2uuid(), strntoul(), timeCheck(), triggercondsTag(), triggertypeTag(), unsatisfiedDepend(), urlFind(), uuidFormat(), verifyDependencies(), whatneedsTag(), wnlookupTag(), writeFile(), writeRPM(), xmlFormat(), XpoptParseArgvString(), and yamlFormat().
char* getenv | ( | const char * | name | ) |
Referenced by doFoo(), dosetenv(), glob(), Glob(), grepArgCallback(), i18nTag(), mireSetLocale(), rpmioAccess(), rpmjsNew(), and rpmsqlNew().
|
read |
Referenced by getFilesystemList().
char* memchr | ( | ) |
Referenced by rpmdsELF().
char* realpath | ( | const char * | path, |
char | resolved_path[] | ||
) |
Referenced by doFoo(), and Realpath().
int setenv | ( | const char * | name, |
const char * | value, | ||
int | replace | ||
) |
Referenced by i18nTag(), makeGPGSignature(), and rpmCheckPassPhrase().
char* stpcpy | ( | char * | dest, |
const char * | src | ||
) |
Referenced by _str2PCREpat(), argvJoin(), arSetup(), base64Format(), db3open(), debevrfmtTag(), debmd5sumsTag(), depflagsFormat(), deptypeFormat(), doAddSubtract(), doFoo(), doPatch(), dosetenv(), doUntar(), dupMacroEntry(), ensureOlder(), FDGsqlTag(), FDGxmlTag(), FDGyamlTag(), Fdopen(), findTag(), fmtBits(), fmtDBafflags(), fmtDBaflags(), fmtDBCflags(), fmtDBeflags(), fmtDBoflags(), fmtKDR(), formatValue(), fsmFsPath(), fsmMkdirs(), fsmRmdirs(), fsmStage(), ftpCommand(), ftpReq(), genCpioListAndHeader(), grabArgs(), handleOneTrigger(), headerSprintf(), hGetNVRA(), hintFormat(), initGlobs(), iosmFsPath(), iosmMkdirs(), iosmRmdirs(), iosmStage(), localeTag(), main(), makeGPGSignature(), missingokTag(), needswhatTag(), pgpArmorWrap(), pgpsigFormat(), PRCOsqlTag(), PRCOxmlTag(), PRCOyamlTag(), printNewSpecfile(), providePackageNVR(), relocateFileList(), rpmbcSetRSA(), rpmcliAllArgCallback(), rpmcliImportPubkey(), rpmdcPrintCoreutils(), rpmdcPrintZeroInstall(), rpmdsDupArgv(), rpmdsELF(), rpmdsNewDNEVR(), rpmdsNSAdd(), rpmdsNVRMatchesDep(), rpmdsThis(), rpmExpand(), rpmfcGenerateScriptletDeps(), rpmfiBuildFClasses(), rpmfiBuildFDeps(), rpmfiBuildFNames(), rpmfiFN(), rpmfiFNBF(), rpmfiNew(), rpmfts_initialize(), rpmGetPath(), rpmioAccess(), rpmiobAppend(), rpmioMkpath(), rpmkuFindPubkey(), rpmkuStorePubkey(), rpmlibNeedsFeature(), rpmMCExpand(), rpmmiInit(), rpmpsAppend(), rpmpsmStage(), rpmReSign(), rpmtsSetRootDir(), rpmVerifySignatures(), runInstScript(), runScript(), runTriggersLoop(), showQueryPackage(), singleSprintf(), statFormat(), strsubFormat(), tarHeaderWriteBlock(), urlFind(), verifyDependencies(), verifyDSA(), verifyMD5(), verifyRSA(), verifySHA1(), verifySize(), whatneedsTag(), writeFile(), writeLinkedFile(), xmlFormat(), xmlstrcpy(), and yamlFormat().
char* stpncpy | ( | char * | dest, |
const char * | src, | ||
size_t | n | ||
) |
Referenced by doFoo(), doLookup(), rpmdbURIPath(), and strsubFormat().
void unsetenv | ( | const char * | name | ) |
Referenced by getOutputFrom(), i18nTag(), makeGPGSignature(), open_dso(), rpmCheckPassPhrase(), and runScript().
void* vmefail | ( | size_t | size | ) |
Definition at line 28 of file rpmmalloc.c.
References _, and EXIT_FAILURE.
Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup().
void* xcalloc | ( | size_t | nmemb, |
size_t | size | ||
) |
Definition at line 300 of file rpmmalloc.c.
References vmefail().
Referenced by _tagName(), addTriggerIndex(), argiAdd(), base64Format(), checkResponse(), db3Acallback(), dbiMireKeys(), dbiTagsInit(), dnlInitIterator(), findTag(), fsmMkdirs(), fssizesTag(), ftpNLST(), ftpOpendir(), genCpioListAndHeader(), getFilesystemList(), grabArgs(), handleOverlappedFiles(), headerNew(), htCreate(), htGetKeys(), IDTXnew(), initGlobs(), iosmMkdirs(), main(), mapInitIterator(), mireRegcomp(), mireSkip(), missingokTag(), mtreeSpec(), newFSM(), newIOSM(), newItem(), packageBinaries(), parseCVOG(), parseFormat(), parseSpec(), pgpGrabPkts(), processMetadataFile(), processSourceFiles(), rdLead(), rpmalNew(), rpmbcInit(), rpmdbNew(), rpmdsNew(), rpmdsNewPRCO(), rpmdsSetColor(), rpmdsSetRefs(), rpmdsSetResult(), rpmdsSingle(), rpmecNew(), rpmEVRnew(), rpmfcGenerateDepends(), rpmfcNew(), rpmfiBuildFNames(), rpmfiFpLookup(), rpmfiNew(), rpmfiOpendir(), rpmGetFilesystemUsage(), rpmGetMacroEntries(), rpmgiNew(), rpmhookArgsNew(), rpmhookTableAddItem(), rpmhookTableNew(), rpmiobNew(), rpmioGetPool(), rpmioNewPool(), rpmioParse(), rpmmc_alloc(), rpmmiGrow(), rpmmiGrowBasename(), rpmmiInit(), rpmpsAppend(), rpmpsInitIterator(), rpmpsmNew(), rpmReadPackageManifest(), rpmte_alloc(), rpmteNewTSI(), rpmtsCreate(), rpmtsInitDSI(), saveHardLink(), showQueryPackage(), sql_cget(), sql_stat(), str2uuid(), tagLoadATags(), tagLoadIndex(), tv2uuidv1(), vfs_parse_ls_lga(), XfdNew(), and XurlNew().
void* xmalloc | ( | size_t | size | ) |
Definition at line 290 of file rpmmalloc.c.
References vmefail().
void* xrealloc | ( | void * | ptr, |
size_t | size | ||
) |
Definition at line 311 of file rpmmalloc.c.
References vmefail().
char* xstrdup | ( | const char * | str | ) |
Definition at line 321 of file rpmmalloc.c.
References vmefail().
Referenced by _poptSaveString(), _rpmtsCheck(), addFile(), addSource(), addTE(), addTriggerIndex(), argvAdd(), argvAppend(), argvSplit(), arHeaderRead(), armorFormat(), base64Format(), bncdataFormat(), cacheStashLatest(), cdataFormat(), cpio_doio(), createDir(), db3associate(), db3associate_foreign(), dbiFindMatches(), dbiTagsInit(), depflagsFormat(), deptypeFormat(), digestFormat(), doLookup(), doPatch(), doSetupMacro(), doUntar(), dupAttrRec(), expandMacro(), fdSetOpen(), fflagsFormat(), forceIncludeFile(), formatValue(), fpLookupSubdir(), fsmMakeLinks(), fsmStage(), ftpRealpath(), genSourceRpmName(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getUidS(), getUname(), getUnameS(), glob(), grepArgCallback(), headerCheck(), headerNEVRA(), headerReload(), headerSetBaseURL(), headerSetDigest(), headerSetOrigin(), headerSetParent(), headerSprintf(), hintFormat(), i18nTag(), iconvFormat(), installArgCallback(), instprefixTag(), intFormat(), iosmMakeLinks(), iosmStage(), iosmStrerror(), isPart(), jsonFormat(), localeTag(), lookupPackage(), machAddEquiv(), main(), mireDup(), mireRegcomp(), mireSetLocale(), mtreeReadExcludes(), parseChangelog(), parseCVOG(), parseExpressionBoolean(), parseExpressionString(), parseForSimple(), parseScript(), parseSimplePart(), parseSpec(), permsFormat(), pgpsigFormat(), pkgbaseurlTag(), pkgdigestTag(), pkgoriginTag(), pkgUnpackagedSubdirs(), populateInstallHeader(), printNewSpecfile(), processPackageFiles(), processSourceFiles(), pushMacro(), rdLead(), rdSignature(), rdToken(), readLineFromOFI(), realDateFormat(), Realpath(), rpmcliAllArgCallback(), rpmcliConfigured(), rpmcliImportPubkey(), rpmcliInit(), rpmcliInstall(), rpmcliQuery(), rpmcliWalkFirst(), rpmdbExportHR_MIB(), rpmdbExportL10N_SQL(), rpmdbURIPath(), rpmdcParseCoreutils(), rpmdcParseZeroInstall(), rpmds_compare(), rpmds_iternext(), rpmds_Single(), rpmdsCompare(), rpmdsCpuinfo(), rpmdsELF(), rpmdsEVRorder(), rpmdsGetconf(), rpmdsLdconfig(), rpmdsNew(), rpmdsNVRMatchesDep(), rpmdsPipe(), rpmdsSysinfo(), rpmdsThis(), rpmEVRmire(), rpmEVRorder(), rpmEVRparse(), rpmExpand(), rpmfcGenerateDepends(), rpmfcHelper(), rpmfd_Fopen(), rpmfi_BN(), rpmfi_Digest(), rpmfi_DN(), rpmfi_FClass(), rpmfi_FClass_get(), rpmfi_FGroup(), rpmfi_FLink(), rpmfi_FN(), rpmfi_FUser(), rpmfi_subscript(), rpmfiAddRelocation(), rpmfiDupeRelocations(), rpmfiNew(), rpmGetPath(), rpmgiInitFilter(), rpmgiNext(), rpmGlob(), rpmInitMacros(), rpmInstallSourcePackage(), rpmioAllArgCallback(), rpmioInit(), rpmioParse(), rpmkuFindPubkey(), rpmkuPassPhrase(), rpmlibMarkers(), rpmMCExpand(), rpmmgBuffer(), rpmmgFile(), rpmmgNew(), rpmmiInit(), rpmPermsString(), rpmps_ass_sub(), rpmpsAppend(), rpmpsmStage(), rpmpythonSlurp(), rpmQueryVerify(), rpmReadHeader(), rpmRebuildTargetVars(), rpmrepoCloseMDFile(), rpmrepoDoPkgMetadata(), rpmrepoDoRepoMetadata(), rpmrepoRealpath(), rpmSetMachine(), rpmsqlNew(), rpmsqlRun(), rpmsxMatch(), rpmts_Check(), rpmtsFindPubkey(), rpmtsSetCurrDir(), rpmtsSetRootDir(), rpmWriteHeader(), rpnFormat(), runTriggersLoop(), shescapeFormat(), spewescapeFormat(), sql_open(), sql_step(), stashSt(), statFormat(), strdup_iconv_check(), strsubFormat(), triggercondsTag(), triggertypeFormat(), triggertypeTag(), unsatisfiedDepend(), urlFind(), urlSplit(), uuidFormat(), vrpmlog(), writeFile(), writeLinkedFile(), writeRPM(), xmlFormat(), and yamlFormat().
int errno |
Referenced by Access(), Chdir(), checkfd(), checkOwners(), Chflags(), Chmod(), Chown(), Chroot(), compare(), currentDirectory(), db3open(), Fchflags(), Fchmod(), Fchown(), fdFgets(), fdReadable(), fdstat_exit(), fdWritable(), Fgetpos(), Fsetpos(), fsmStage(), Fstat(), Fstrerror(), Ftell(), ftpLogin(), ftpOpendir(), ftpReq(), fts_build(), Fts_close(), Fts_read(), fts_safe_changedir(), fts_stat(), getFilesystemList(), getHostAddress(), getOutputFrom(), glob(), glob_in_dir(), grep_or_recurse(), headerMap(), headerScrub(), httpReq(), iosmStage(), iosmStrerror(), Lchflags(), Lchmod(), Lchown(), Lstat(), Lutimes(), main(), makeGPGSignature(), Mkfifo(), Mknod(), mtreeArgCallback(), mtreeCWalk(), mtreeMiss(), mtreeVisitD(), mtreeVWalk(), Open(), packageBinaries(), prepFetch(), processSourceFiles(), rdLead(), rdSignature(), Readlink(), rlink(), rpm_mergesort(), rpmCheckPassPhrase(), rpmdbExportHR_MIB(), rpmdbExportL10N_SQL(), rpmdcCWalk(), rpmdsGetconf(), rpmGetFilesystemUsage(), rpmgiLoadReadHeader(), rpmgiOpen(), rpmioMkpath(), rpmmgNew(), rpmmiGet(), rpmMkdirPath(), rpmpsmStage(), rpmQueryVerify(), rpmReadHeader(), rpmrepoDoFinalMove(), rpmrepoGetFileList(), rpmrepoInitPopt(), rpmrepoMkdir(), rpmsqAction(), rpmsqExecve(), rpmTempFile(), rpmvfVerify(), runScript(), set(), Stat(), statFormat(), strdup_iconv_check(), Symlink(), tcpConnect(), ufdRead(), ufdWrite(), Unlink(), unsatisfiedDepend(), urlStrerror(), Utime(), Utimes(), and xstrtolocale().
const char* program_name |