rpm 5.3.12
|
#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"
Go to the source code of this file.
Data Structures | |
struct | our_mntent |
Defines | |
#define | st_birthtime st_ctime |
#define | MAXPHYS (128 * 1024) |
#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) |
#define | bindtextdomain(Domain, Directory) |
#define | textdomain(Domain) |
#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' | |
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 |
Definition in file system.h.
#define _ | ( | Text | ) | Text |
Definition at line 476 of file system.h.
Referenced by _rpmtsRun(), _specQuery(), addChangelog(), addFile(), addFileToTagAux(), addMacro(), addSource(), argerror(), armorFormat(), base64Format(), bncdataFormat(), buildHost(), buildSpec(), cdataFormat(), checkForDuplicates(), checkForRequired(), checkForValidArchitectures(), checkOwners(), 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(), 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(), rpmdsNotify(), rpmdsSysinfoFile(), rpmDumpMacroTable(), rpmErase(), rpmfcApply(), rpmfcExpandRegexps(), rpmfcGenerateDependsHelper(), rpmfcMatchRegexps(), rpmGetFilesystemUsage(), rpmgiInitFilter(), 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 420 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(), rpmioInit(), rpmrepoError(), rpmrepoProgress(), rpmrepoReadHeader(), and set().
#define bindtextdomain | ( | Domain, | |
Directory | |||
) |
Definition at line 473 of file system.h.
Referenced by rpmcliInit(), and rpmioInit().
#define D_ | ( | Text | ) | Text |
Definition at line 477 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(), 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_byteswapped(), sql_close(), sql_open(), sql_stat(), 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_in_dir(), and grep_or_recurse().
#define EXIT_FAILURE 1 |
Definition at line 201 of file system.h.
Referenced by argerror(), db3open(), getOutputFrom(), main(), makeGPGSignature(), mtree_error(), mtreeArgCallback(), mtreeReadExcludes(), rpmcliConfigured(), rpmcliInit(), rpmdbCheckSignals(), rpmdsGetconf(), rpmioAllArgCallback(), rpmioConfigured(), rpmioInit(), rpmrepoError(), rpmts_Die(), vmefail(), and vrpmlog().
#define F_OK 0 |
Definition at line 216 of file system.h.
Referenced by checkSpec(), db3open(), doIcon(), and rpmioAccess().
#define FILE_RCSID | ( | id | ) |
#define lchown chown |
Definition at line 643 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 | ( | 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 719 of file system.h.
Referenced by cpioHeaderRead(), and tarHeaderRead().
#define makedev | ( | maj, | |
min | |||
) | (((maj) << 8) | (min)) |
#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 694 of file system.h.
Referenced by getFilesystemList().
#define N_ | ( | Text | ) | Text |
Definition at line 482 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 598 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 602 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 606 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 | |||
) |
Definition at line 464 of file system.h.
Referenced by mireSetLocale(), rpmcliInit(), rpmGlob(), and rpmioInit().
#define setprogname | ( | pn | ) |
{ if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ }
Definition at line 421 of file system.h.
Referenced by main(), rpmcliInit(), and rpmioInit().
#define textdomain | ( | Domain | ) |
Definition at line 475 of file system.h.
Referenced by rpmcliInit(), and rpmioInit().
#define TIMESPEC_TO_TIMEVAL | ( | tv, | |
ts | |||
) |
{ \ (tv)->tv_sec = (ts)->tv_sec; \ (tv)->tv_usec = (ts)->tv_nsec / 1000; \ }
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().
char* alloca | ( | ) |
Referenced by __crc32_combine(), __crc64_combine(), addChangelogEntry(), addFileToArrayTag(), addFileToTag(), addOrAppendListEntry(), addReqProv(), addTE(), buildForTarget(), cacheStashLatest(), checkForDuplicates(), checkPackageSet(), compressFilelist(), dateToTimet(), db3Acallback(), db3open(), debevrTag(), debmd5sumsTag(), depflagsFormat(), deptypeFormat(), doDefine(), doFoo(), doIcon(), doLookup(), doOutput(), 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(), headerAddI18NString(), headerCheck(), headerCopy(), headerCopyTags(), headerLoad(), headerMacrosLoad(), headerMacrosUnload(), headerMatchLocale(), headerMergeLegacySigs(), headerNEVRA(), headerRegenSigHeader(), headerSprintf(), hGetColor(), 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(), rpmAddSignature(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmalDel(), rpmcliImportPubkey(), rpmcliInstall(), rpmdbAdd(), rpmdbExportInfo(), rpmdbRemove(), rpmDefineMacro(), rpmdsNew(), rpmdsNSAdd(), rpmdsSysinfo(), rpmdsThis(), rpmfcGenerateDepends(), rpmfcGenerateScriptletDeps(), rpmfi_Digest(), rpmfiBuildFNames(), rpmfiFNBF(), rpmfiNew(), rpmGenPath(), rpmGetFilesystemUsage(), rpmGetPath(), rpmHeadersIdentical(), rpmInstallSourcePackage(), rpmioMkpath(), rpmkuFindPubkey(), rpmkuStorePubkey(), rpmlibMarkers(), rpmlibNeedsFeature(), rpmLoadMacroFile(), rpmmiInit(), rpmnsProbeSignature(), rpmps_ass_sub(), rpmpsmStage(), rpmQueryVerify(), 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(), glob64(), grepArgCallback(), headerFindI18NString(), i18nTag(), mireSetLocale(), rpmioAccess(), rpmjsNew(), and rpmsqlNew().
struct our_mntent* getmntent | ( | FILE * | filep | ) | [read] |
Referenced by getFilesystemList().
char* memchr | ( | ) |
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(), initGlobs(), iosmFsPath(), iosmMkdirs(), iosmRmdirs(), iosmStage(), localeTag(), main(), makeGPGSignature(), missingokTag(), needswhatTag(), pgpArmorWrap(), pgpsigFormat(), PRCOsqlTag(), PRCOxmlTag(), PRCOyamlTag(), printNewSpecfile(), providePackageNVR(), relocateFileList(), rpmbcSetRSA(), rpmcliAllArgCallback(), rpmcliImportPubkey(), rpmdcPrintCoreutils(), rpmdcPrintZeroInstall(), rpmdsDupArgv(), rpmdsNewDNEVR(), rpmdsNSAdd(), 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(), sql_open(), 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 24 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 290 of file rpmmalloc.c.
References vmefail().
Referenced by _tagName(), addTriggerIndex(), argiAdd(), base64Format(), bncdataFormat(), cdataFormat(), checkResponse(), db3Acallback(), dbiMireKeys(), dbiTagsInit(), dnlInitIterator(), findTag(), fsmMkdirs(), fssizesTag(), ftpNLST(), ftpOpendir(), genCpioListAndHeader(), getFilesystemList(), grabArgs(), handleOverlappedFiles(), headerLoad(), headerNew(), htCreate(), htGetKeys(), IDTXnew(), initGlobs(), iosmMkdirs(), main(), mapInitIterator(), mireRegcomp(), mireSkip(), missingokTag(), mtreeSpec(), newFSM(), newIOSM(), newItem(), parseCVOG(), parseFormat(), parseSpec(), pgpGrabPkts(), processMetadataFile(), processSourceFiles(), rdLead(), rpmalCreate(), rpmbcInit(), rpmdbNew(), rpmDigestInit(), rpmdsNew(), rpmdsNewPRCO(), rpmdsSetColor(), rpmdsSetRefs(), rpmdsSetResult(), rpmdsSingle(), rpmecNew(), rpmEVRnew(), rpmfcGenerateDepends(), rpmfcNew(), rpmfiBuildFNames(), rpmfiFpLookup(), rpmfiNew(), rpmfiOpendir(), rpmGetFilesystemUsage(), rpmGetMacroEntries(), rpmgiNew(), rpmHmacInit(), rpmhookArgsNew(), rpmhookTableAddItem(), rpmhookTableNew(), rpmiobNew(), rpmioGetPool(), rpmioNewPool(), rpmioParse(), rpmmiGrow(), rpmmiGrowBasename(), rpmmiInit(), rpmpsAppend(), rpmpsInitIterator(), rpmpsmNew(), rpmReadPackageManifest(), rpmteNewTSI(), rpmtsCreate(), rpmtsInitDSI(), rpmvfNew(), saveHardLink(), scpNew(), showQueryPackage(), spewescapeFormat(), sql_cget(), sql_open(), sql_stat(), str2uuid(), tagLoadATags(), tagLoadIndex(), tv2uuidv1(), vfs_parse_ls_lga(), XfdNew(), and XurlNew().
void* xmalloc | ( | size_t | size | ) |
Definition at line 280 of file rpmmalloc.c.
References vmefail().
Referenced by _str2PCREpat(), _tagCanonicalize(), addFile(), addSource(), addTE(), argvJoin(), argvSplit(), arSetup(), bin2hex(), copyEntry(), cpioHeaderRead(), db3Acallback(), dbiMireKeys(), dbinstanceTag(), debevrfmtTag(), debmd5sumsTag(), doAddSubtract(), doLookup(), doputenv(), dosetenv(), dupMacroEntry(), expandMacro(), expandMacroTable(), FDGsqlTag(), FDGxmlTag(), FDGyamlTag(), formatValue(), fpCacheCreate(), fpLookupSubdir(), fsmFsPath(), fsmStage(), genCpioListAndHeader(), glob64(), glob_in_dir(), grabData(), handleOneTrigger(), headerAddI18NString(), headerAppendEntry(), headerCheck(), headerendoffTag(), headerInit(), headerMap(), headerstartoffTag(), headerUnload(), hGetNVRA(), htAddEntry(), iosmFsPath(), iosmStage(), 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(), rpmDigestDup(), rpmDigestFinal(), rpmdsDup(), rpmdsDupArgv(), rpmdsGetconf(), rpmdsMerge(), rpmdsNewDNEVR(), rpmdsSingle(), rpmdsThis(), rpmExpand(), rpmfd_Fopen(), rpmfiBuildFClasses(), rpmfiBuildFDeps(), rpmfiBuildFNames(), rpmfiDupeRelocations(), rpmfiFN(), rpmfiNew(), rpmgiEscapeSpaces(), rpmGlob(), rpmheRealloc(), rpmInitMacros(), rpmiobSlurp(), rpmMCExpand(), rpmmiInit(), rpmProblemString(), rpmpsmStage(), rpmReadHeader(), rpmRebuildTargetVars(), rpmteChain(), rpmtsFindPubkey(), rpmtsPrepare(), runInstScript(), runScript(), runTriggersLoop(), set(), shescapeFormat(), showQueryPackage(), sql_cget(), sql_step(), strsubFormat(), tag2uuidv5(), tarHeaderRead(), tarHeaderReadName(), triggercondsTag(), triggertypeTag(), urlFind(), urlStrdup(), uuidFormat(), valueMakeInteger(), valueMakeString(), vrpmlog(), whatneedsTag(), writeLinkedFile(), XpoptDupArgv(), XpoptParseArgvString(), xstrtolocale(), and yamlFormat().
void* xrealloc | ( | void * | ptr, |
size_t | size | ||
) |
Definition at line 301 of file rpmmalloc.c.
References vmefail().
Referenced by _poptSaveString(), addFile(), argiAdd(), argvAdd(), argvAppend(), cacheStashLatest(), currentDirectory(), dbiAppendSet(), dbiTagsInit(), enterChroot(), expandMacroTable(), fdInitDigest(), fsmMkdirs(), ftpNLST(), getFilesystemList(), gidToGname(), glob64(), glob_in_dir(), gnameToGid(), handleInstInstalledFile(), headerAddEntry(), headerAddI18NString(), headerAppendEntry(), headerSprintf(), hsaReserve(), htAddEntry(), IDTXgrow(), installArgCallback(), iosmMkdirs(), isPart(), machAddEquiv(), mireAppend(), parseForLang(), pgpsigFormat(), pgpStashKeyid(), pkgUnpackagedSubdirs(), queryArgCallback(), readLineFromOFI(), relocateFileList(), removePackage(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmalDel(), rpmalMakeIndex(), rpmcliAllArgCallback(), rpmExpand(), rpmfcExpandAppend(), rpmfiAddRelocation(), rpmfiNew(), rpmGetMacroEntries(), rpmGlob(), rpmiobAppend(), rpmiobSlurp(), rpmMCExpand(), rpmmiAddPattern(), rpmpsAppend(), rpmtsAddInstallElement(), rpmtsAvailable(), rpmtsSolve(), showQueryPackage(), sql_step(), stashSt(), triggercondsTag(), uidToUname(), unameToUid(), urlFind(), vrpmlog(), and xstrtolocale().
char* xstrdup | ( | const char * | str | ) |
Definition at line 311 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(), glob64(), grepArgCallback(), headerCheck(), headerNEVRA(), headerReload(), headerSetBaseURL(), headerSetDigest(), headerSetOrigin(), headerSetParent(), headerSprintf(), i18nTag(), iconvFormat(), installArgCallback(), instprefixTag(), intFormat(), iosmMakeLinks(), iosmStage(), iosmStrerror(), isPart(), jsonFormat(), localeTag(), lookupPackage(), machAddEquiv(), main(), mireDup(), mireRegcomp(), mireSetLocale(), mtreeReadExcludes(), parseChangelog(), parseCVOG(), parseExpressionBoolean(), parseExpressionString(), parseForSimple(), parseRCPOT(), parseScript(), parseSimplePart(), parseSpec(), permsFormat(), pgpsigFormat(), pkgbaseurlTag(), pkgdigestTag(), pkgoriginTag(), pkgUnpackagedSubdirs(), populateInstallHeader(), printNewSpecfile(), processPackageFiles(), processSourceFiles(), pushMacro(), rdLead(), rdSignature(), rdToken(), readLineFromOFI(), realDateFormat(), Realpath(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmcliAllArgCallback(), rpmcliConfigured(), rpmcliImportPubkey(), rpmcliInit(), rpmcliInstall(), rpmcliQuery(), rpmcliWalkFirst(), rpmdbExportInfo(), rpmdbURIPath(), rpmdcParseCoreutils(), rpmdcParseZeroInstall(), rpmds_compare(), rpmds_iternext(), rpmds_Single(), rpmdsCpuinfo(), rpmdsGetconf(), rpmdsNew(), rpmdsSysinfo(), rpmdsThis(), rpmEVRmire(), rpmEVRorder(), rpmEVRparse(), rpmExpand(), rpmfcGenerateDepends(), rpmfd_Fopen(), rpmfi_BN(), rpmfi_Digest(), rpmfi_DN(), rpmfi_FClass(), 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_locale_convert(), strsubFormat(), triggercondsTag(), triggertypeFormat(), triggertypeTag(), unsatisfiedDepend(), urlFind(), urlSplit(), uuidFormat(), vrpmlog(), wnlookupTag(), writeFile(), writeLinkedFile(), writeRPM(), xmlFormat(), and yamlFormat().
int errno |
Referenced by Access(), Chdir(), checkfd(), checkOwners(), Chflags(), Chmod(), Chown(), Chroot(), compare(), currentDirectory(), db3open(), enterChroot(), 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(), glob64(), 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(), rpmdbExportInfo(), 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_locale_convert(), Symlink(), tcpConnect(), ufdRead(), ufdWrite(), Unlink(), unsatisfiedDepend(), urlStrerror(), Utime(), Utimes(), and xstrtolocale().
const char* program_name |