#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 "misc/glob.h"
#include "misc/fnmatch.h"
Go to the source code of this file.
Data Structures | |
struct | our_mntent |
Defines | |
#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 | freecon(_c) |
#define | getfilecon(_fn, _c) (-1) |
#define | lgetfilecon(_fn, _c) (-1) |
#define | fgetfilecon(_fd, _c) (-1) |
#define | setfilecon(_fn, _c) (-1) |
#define | lsetfilecon(_fn, _c) (-1) |
#define | fsetfilecon(_fd, _c) (-1) |
#define | security_check_context(_c) (0) |
#define | is_selinux_enabled() (-1) |
#define | rpm_execcon(_v, _fn, _av, _envp) (0) |
#define | matchpathcon_init(_fn) (-1) |
#define | matchpathcon(_fn, _fmode, _s) (-1) |
#define | matchpathcon_fini() |
#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' | |
#define | SUPPORT_INITDB 1 |
Mark --initdb and --verifydb for destruction. | |
#define | SUPPORT_VERIFYDB 1 |
Typedefs | |
typedef char * | security_context_t |
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 496 of file system.h.
Referenced by _specQuery(), addChangelog(), addFile(), addFileToTagAux(), addMacro(), addSource(), argerror(), armorFormat(), base64Format(), buildHost(), buildSpec(), checkFiles(), checkForDuplicates(), checkForRequired(), checkForValidArchitectures(), checkOwners(), copyFile(), copyNextLineFromOFI(), cpio_copy(), cpio_doio(), cpioStrerror(), cvtdberr(), dateFormat(), dayFormat(), db3open(), dbiFindMatches(), dbiOpen(), depflagsFormat(), doAddSubtract(), doDefine(), doIcon(), doLogical(), doMultiplyDivide(), doPatch(), doPatchMacro(), doPrimary(), doRelational(), doSetupMacro(), doUndefine(), doUntar(), expandMacro(), expandMacros(), fflagsFormat(), findPreambleTag(), freeArgs(), fsmMapAttrs(), fsmStage(), ftpStrerror(), genCpioListAndHeader(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getOutputFrom(), getUidS(), getUname(), getUnameS(), grabArgs(), handlePreambleTag(), headerCheck(), IDTXglob(), ignoreDep(), installArgCallback(), intFormat(), isCompressed(), main(), makeGPGSignature(), manageFile(), miFreeHeader(), packageBinaries(), parseBuildInstallClean(), parseDescription(), parseExpression(), parseExpressionBoolean(), parseExpressionString(), parseFiles(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseFormat(), parseForSimple(), parseForVerify(), parseNoSource(), parsePreamble(), parsePrep(), parseRCPOT(), parseScript(), parseSpec(), permsFormat(), pgpsigFormat(), prepFetch(), printExpansion(), printMacro(), printNewSpecfile(), printVersion(), processBinaryFile(), processBinaryFiles(), processMetadataFile(), processPackageFiles(), processScriptFiles(), processSourceFiles(), queryHeader(), rdLead(), rdSignature(), rdToken(), readFile(), readLine(), readLineFromOFI(), realDateFormat(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmCheckPassPhrase(), rpmcliImportPubkeys(), rpmcliInit(), rpmcliInstall(), rpmcliInstallCheck(), rpmcliInstallOrder(), rpmcliInstallRun(), rpmcliInstallSuggests(), rpmcliSign(), rpmdbAdd(), rpmdbCountPackages(), rpmdbFindByFile(), rpmdbGrowIterator(), rpmdbInitIterator(), rpmdbNew(), rpmdbNextIterator(), rpmdbRebuild(), rpmdbRemove(), rpmdsCompare(), rpmdsNotify(), rpmdsPipe(), rpmdsSysinfoFile(), rpmDumpMacroTable(), rpmErase(), rpmfcGenerateDependsHelper(), rpmGetFilesystemUsage(), rpmgiInitFilter(), rpmgiNext(), rpmgiOpen(), rpmInstallSource(), rpmInstallSourcePackage(), rpmlogMessage(), rpmmgBuffer(), rpmmgFile(), rpmmgNew(), rpmMkdirPath(), rpmProblemString(), rpmpsmStage(), rpmQueryVerify(), rpmReadHeader(), rpmReadPackageFile(), rpmReSign(), rpmRollback(), rpmShowProgress(), rpmShowRC(), rpmspecQuery(), rpmsxParse(), rpmTempFile(), rpmtsAddInstallElement(), rpmtsInitIterator(), rpmtsOpenDB(), rpmtsOpenSDB(), rpmtsOrder(), rpmtsRollback(), rpmtsRun(), rpmtsSolve(), rpmVerifySignature(), rpmVerifySignatures(), rpmWriteHeader(), runScript(), shescapeFormat(), showQueryPackage(), singleSprintf(), sql_busy_handler(), timeCheck(), triggertypeFormat(), unsatisfiedDepend(), urlFind(), urlFreeCache(), urlSplit(), urlStrerror(), verifyDependencies(), verifyDSASignature(), verifyHeader(), verifyMD5Signature(), verifyRSASignature(), verifySHA1Signature(), verifySizeSignature(), vmefail(), writeRPM(), xmlFormat(), XurlFree(), yamlFormat(), and zapRelation().
#define __progname program_name |
Definition at line 454 of file system.h.
Referenced by argerror(), main(), printVersion(), and rpmcliInit().
#define bindtextdomain | ( | Domain, | |||
Directory | ) |
#define D_ | ( | Text | ) | Text |
Definition at line 497 of file system.h.
Referenced by db3close(), db3open(), db_fini(), db_init(), dbiOpen(), dnlInitIterator(), findErases(), fsmMkdirs(), getOutputFrom(), makeGPGSignature(), printSize(), psmWait(), relocateFileList(), rpmcliInstall(), rpmdbAdd(), rpmdbCheckSignals(), rpmdbMoveDatabase(), rpmdbRebuild(), rpmdbRemove(), rpmdsProblem(), rpmErase(), rpmfiDecideFate(), rpmioMkpath(), rpmpsmStage(), rpmQueryVerify(), rpmReadPackageManifest(), rpmRollback(), rpmtsAddInstallElement(), rpmtsInitDSI(), rpmtsOrder(), rpmtsRun(), rpmtsSolve(), runScript(), skipFiles(), sql_byteswapped(), sql_close(), sql_open(), sql_stat(), urlConnect(), urlGetFile(), and wrSignature().
#define dgettext | ( | DomainName, | |||
Text | ) | Text |
#define dirent direct |
#define EXIT_FAILURE 1 |
Definition at line 170 of file system.h.
Referenced by argerror(), getOutputFrom(), luaD_throw(), main(), makeGPGSignature(), rpmcliConfigured(), rpmcliInit(), rpmdbCheckSignals(), rpmdsGetconf(), rpmReSign(), vmefail(), and vrpmlog().
#define F_OK 0 |
Definition at line 185 of file system.h.
Referenced by checkSpec(), db3open(), doIcon(), rpmdbRebuild(), and rpmioAccess().
#define FILE_RCSID | ( | id | ) |
#define freecon | ( | _c | ) |
Definition at line 305 of file system.h.
Referenced by genCpioListAndHeader(), rpmfiBuildFSContexts(), and rpmfiBuildREContexts().
#define is_selinux_enabled | ( | ) | (-1) |
#define lgetfilecon | ( | _fn, | |||
_c | ) | (-1) |
#define lsetfilecon | ( | _fn, | |||
_c | ) | (-1) |
#define major | ( | dev | ) | (((dev) >> 8) & 0xff) |
Definition at line 92 of file system.h.
Referenced by cpioHeaderRead(), cpioHeaderWrite(), tarHeaderRead(), and tarHeaderWrite().
#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 741 of file system.h.
Referenced by cpioHeaderRead(), and tarHeaderRead().
#define matchpathcon | ( | _fn, | |||
_fmode, | |||||
_s | ) | (-1) |
Definition at line 322 of file system.h.
Referenced by fsmMapFContext(), genCpioListAndHeader(), and rpmfiBuildREContexts().
#define matchpathcon_fini | ( | ) |
Definition at line 323 of file system.h.
Referenced by genCpioListAndHeader(), rpmcliInstall(), and rpmfiBuildREContexts().
#define matchpathcon_init | ( | _fn | ) | (-1) |
Definition at line 321 of file system.h.
Referenced by genCpioListAndHeader(), rpmcliInstall(), rpmfiBuildREContexts(), and rpmts_Run().
#define minor | ( | dev | ) | ((dev) & 0xff) |
Definition at line 93 of file system.h.
Referenced by cpioHeaderRead(), cpioHeaderWrite(), tarHeaderRead(), and tarHeaderWrite().
#define MOUNTED "/etc/mnttab" |
#define N_ | ( | Text | ) | Text |
#define our_mntent struct our_mntent |
#define R_OK 4 |
Definition at line 188 of file system.h.
Referenced by rpmioAccess(), rpmtsCreate(), and unsatisfiedDepend().
#define rpm_execcon | ( | _v, | |||
_fn, | |||||
_av, | |||||
_envp | ) | (0) |
#define S_IFSOCK (0xc000) |
Definition at line 617 of file system.h.
Referenced by rpmfcClassify(), rpmsxParse(), and vfs_parse_filetype().
#define S_ISLNK | ( | mode | ) | ((mode & 0xf000) == S_IFLNK) |
Definition at line 621 of file system.h.
Referenced by addFile(), cpioHeaderRead(), cpioHeaderWrite(), fsmStage(), fts_stat(), genCpioListAndHeader(), printFileInfo(), rpmfiWhatis(), rpmPermsString(), rpmTempFile(), rpmVerifyFile(), tarHeaderWrite(), vfs_parse_ls_lga(), and writeFile().
#define S_ISSOCK | ( | mode | ) | ((mode & 0xf000) == S_IFSOCK) |
Definition at line 625 of file system.h.
Referenced by fsmStage(), rpmfiWhatis(), rpmPermsString(), and tarHeaderWrite().
#define security_check_context | ( | _c | ) | (0) |
#define SEEK_CUR 1 |
#define setlocale | ( | Category, | |||
Locale | ) |
#define setprogname | ( | pn | ) |
Value:
{ if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ }
Definition at line 455 of file system.h.
Referenced by rpmcliInit().
#define SUPPORT_INITDB 1 |
#define textdomain | ( | Domain | ) |
#define W_OK 2 |
Definition at line 187 of file system.h.
Referenced by db3open(), rpmInstallSourcePackage(), and rpmioAccess().
#define X_OK 1 |
typedef char* security_context_t |
char* alloca | ( | ) |
Referenced by addChangelogEntry(), addFileToArrayTag(), addFileToTag(), addOrAppendListEntry(), addReqProv(), addTE(), checkForDuplicates(), checkPackageSet(), compressFilelist(), dateToTimet(), db3open(), dbiFindByLabel(), depflagsFormat(), doDefine(), doFoo(), doIcon(), doLookup(), doOutput(), doShellEscape(), doUndefine(), ensureOlder(), expandMacro(), expandMacros(), expandT(), expandU(), fillOutMainPackage(), findEntry(), findErases(), findTag(), formatValue(), fpsCompare(), fsmStage(), ftpCommand(), ftpLogin(), ftpReq(), genCpioListAndHeader(), getSignid(), grabArgs(), handleInstInstalledFiles(), handleOneTrigger(), handlePreambleTag(), handleRmvdInstalledFiles(), 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(), intFormat(), isMemberInEntry(), labelCompare(), lookupPackage(), makeGPGSignature(), makeHDRSignature(), markReplacedFiles(), mireSkip(), packageBinaries(), packageSources(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseForVerify(), parsePreamble(), parseScript(), parseSpec(), pgpGrabPkts(), pgpPrtPkt(), pgpPrtPkts(), pgpPubkeyFingerprint(), pgpReadPkts(), populateInstallHeader(), postPopulateInstallHeader(), printFileInfo(), printNewSpecfile(), processBinaryFiles(), processMetadataFile(), processPackageFiles(), processScriptFiles(), providePackageNVR(), rdSignature(), readFile(), relocateFileList(), rpmAddSignature(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmalDel(), rpmcliImportPubkey(), rpmcliInstall(), rpmdbAdd(), rpmdbCountPackages(), rpmdbExportInfo(), rpmdbFindByFile(), rpmdbFindFpList(), rpmdbRemove(), rpmDefineMacro(), rpmdsCompare(), rpmdsNew(), rpmdsNSAdd(), rpmdsNVRMatchesDep(), rpmdsSysinfo(), rpmdsThis(), rpmfcGenerateDepends(), rpmfcGenerateScriptletDeps(), rpmfi_iternext(), rpmfi_MD5(), rpmfiBuildFNames(), rpmfiBuildFSContexts(), rpmfiBuildREContexts(), rpmfiNew(), rpmGenPath(), rpmGetFilesystemUsage(), rpmGetPath(), rpmHeadersIdentical(), rpmInstallSourcePackage(), rpmioMkpath(), rpmlibMarkers(), rpmlibNeedsFeature(), rpmLoadMacroFile(), rpmnsProbeSignature(), rpmps_ass_sub(), rpmpsmStage(), rpmQueryVerify(), rpmReadPackageFile(), rpmReSign(), rpmspecQuery(), rpmsqExecve(), rpmteChain(), rpmteColorDS(), rpmteNew(), rpmts_Rollback(), rpmtsAddInstallElement(), rpmtsCallback(), rpmtsFindPubkey(), rpmtsImportPubkey(), rpmtsInitIterator(), rpmtsOrder(), rpmtsRollback(), rpmtsSetRootDir(), rpmtsSolve(), rpmVerifyFile(), rpmVerifySignatures(), rpmVersionCompare(), runImmedTriggers(), runInstScript(), runScript(), setPathDefault(), skipFiles(), stashSt(), strntoul(), timeCheck(), triggercondsTag(), triggertypeTag(), unsatisfiedDepend(), urlFind(), verifyDependencies(), writeFile(), writeRPM(), xmlFormat(), XpoptParseArgvString(), and yamlFormat().
char* getenv | ( | const char * | name | ) |
Referenced by doFoo(), dosetenv(), Glob(), grabArgs(), headerFindI18NString(), i18nTag(), and rpmioAccess().
struct our_mntent* getmntent | ( | FILE * | filep | ) | [read] |
Referenced by getFilesystemList().
char* memchr | ( | ) |
char* realpath | ( | const char * | path, | |
char | resolved_path[] | |||
) |
Referenced by doFoo(), doLookup(), rpmdbURIPath(), and rpmQueryVerify().
int setenv | ( | const char * | name, | |
const char * | value, | |||
int | replace | |||
) |
Referenced by grabArgs(), i18nTag(), makeGPGSignature(), and rpmCheckPassPhrase().
char* stpcpy | ( | char * | dest, | |
const char * | src | |||
) |
Referenced by argvJoin(), base64Format(), db3open(), dbiFindByLabel(), depflagsFormat(), doAddSubtract(), doFoo(), doPatch(), dosetenv(), doUntar(), dupMacroEntry(), ensureOlder(), findTag(), formatValue(), fpsCompare(), fsmFsPath(), fsmMkdirs(), fsmRmdirs(), fsmStage(), ftpCommand(), ftpOpendir(), ftpReq(), genCpioListAndHeader(), grabArgs(), headerSprintf(), hGetNVRA(), localeTag(), lookupPackage(), makeGPGSignature(), missingokTag(), pgpArmorWrap(), pgpsigFormat(), printNewSpecfile(), providePackageNVR(), relocateFileList(), rpmcliAllArgCallback(), rpmcliImportPubkey(), rpmdbRebuild(), rpmdsDupArgv(), rpmdsELF(), rpmdsNewDNEVR(), rpmdsNSAdd(), rpmdsNVRMatchesDep(), rpmdsThis(), rpmExpand(), rpmfcGenerateScriptletDeps(), rpmfiBuildFClasses(), rpmfiBuildFContexts(), rpmfiBuildFDeps(), rpmfiBuildFNames(), rpmfiFN(), rpmfiNew(), rpmfts_initialize(), rpmGetPath(), rpmInstallSourcePackage(), rpmioAccess(), rpmioMkpath(), rpmlibNeedsFeature(), rpmpsAppend(), rpmpsmStage(), rpmReSign(), rpmtsFindPubkey(), rpmtsImportPubkey(), rpmtsOrder(), rpmtsSetRootDir(), rpmVerifyFile(), rpmVerifySignatures(), runInstScript(), runScript(), showQueryPackage(), singleSprintf(), sql_open(), tarHeaderWriteBlock(), urlFind(), verifyDependencies(), verifyDSASignature(), verifyMD5Signature(), verifyRSASignature(), verifySHA1Signature(), verifySizeSignature(), writeFile(), writeLinkedFile(), xmlFormat(), xmlstrcpy(), and yamlFormat().
char* stpncpy | ( | char * | dest, | |
const char * | src, | |||
size_t | n | |||
) |
Referenced by doFoo(), doLookup(), ftpOpendir(), and rpmdbURIPath().
void unsetenv | ( | const char * | name | ) |
Referenced by getOutputFrom(), grabArgs(), i18nTag(), makeGPGSignature(), open_dso(), rpmCheckPassPhrase(), and runScript().
void* vmefail | ( | size_t | size | ) |
Definition at line 20 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 41 of file rpmmalloc.c.
References vmefail().
Referenced by _tagName(), addRelation(), addTriggerIndex(), argiAdd(), base64Format(), checkResponse(), dbiIndexNewItem(), dbiTagsInit(), dnlInitIterator(), fsmMkdirs(), fssizesTag(), ftpNLST(), ftpOpendir(), genCpioListAndHeader(), getFilesystemList(), handleInstInstalledFiles(), handleOverlappedFiles(), headerLoad(), headerNew(), htCreate(), IDTXnew(), ignoreDep(), lzdReadOpen(), lzdWriteOpen(), mapInitIterator(), mireSkip(), missingokTag(), newFSM(), newPackage(), newSpec(), newStringBuf(), parseCVOG(), parseFormat(), parseSpec(), pgpDigNew(), pgpGrabPkts(), processSourceFiles(), rdLead(), rpmalCreate(), rpmdbAdd(), rpmdbAppendIterator(), rpmdbFindByFile(), rpmdbFindFpList(), rpmdbInitIterator(), rpmdbNew(), rpmdbRemove(), rpmDigestDup(), rpmDigestInit(), rpmdsDup(), rpmdsNew(), rpmdsNewPRCO(), rpmdsSetColor(), rpmdsSetRefs(), rpmdsSetResult(), rpmdsSingle(), rpmdsThis(), rpmecNew(), rpmfcGenerateDepends(), rpmfcNew(), rpmfiNew(), rpmGetFilesystemUsage(), rpmGetMacroEntries(), rpmgiNew(), rpmmgNew(), rpmpsAppend(), rpmpsCreate(), rpmpsInitIterator(), rpmpsmNew(), rpmReadPackageManifest(), rpmsxNew(), rpmsxParse(), rpmteNew(), rpmteNewTSI(), rpmtsCreate(), rpmtsInitDSI(), rpmtsOrder(), rpmtsRun(), saveHardLink(), scpNew(), showQueryPackage(), sql_cget(), sql_open(), sql_stat(), tagLoadATags(), tagLoadIndex(), XfdNew(), and XrpmtsiInit().
void* xmalloc | ( | size_t | size | ) |
Definition at line 31 of file rpmmalloc.c.
References vmefail().
Referenced by _tagCanonicalize(), addFile(), addSource(), addTE(), argvJoin(), argvSplit(), bin2hex(), copyEntry(), cpioHeaderRead(), dbinstanceTag(), dbt2set(), doAddSubtract(), doLookup(), doputenv(), dosetenv(), dupMacroEntry(), expandMacro(), expandMacroTable(), formatValue(), fpCacheCreate(), fsmFsPath(), fsmStage(), genCpioListAndHeader(), grabData(), headerAddI18NString(), headerAppendEntry(), headerCheck(), headerCopyLoad(), headerInit(), headerUnload(), hGetNVRA(), htAddEntry(), htCreate(), localeTag(), lzdReadOpen(), machAddEquiv(), main(), makeGPGSignature(), mireDup(), newOpenFileInfo(), newSl(), newSt(), newStringBuf(), parseForLang(), parseRCPOT(), pgpArmorWrap(), pgpPrtSig(), pgpPrtUserID(), printNewSpecfile(), pushMacro(), queryArgCallback(), rdSignature(), readLine(), relocateFileList(), rpmcliImportPubkey(), rpmdbInitIterator(), rpmdbRebuild(), rpmDigestFinal(), rpmdsDup(), rpmdsDupArgv(), rpmdsGetconf(), rpmdsMerge(), rpmdsNewDNEVR(), rpmdsSingle(), rpmdsThis(), rpmExpand(), rpmfd_Fopen(), rpmfiBuildFClasses(), rpmfiBuildFContexts(), rpmfiBuildFDeps(), rpmfiBuildFNames(), rpmfiBuildFSContexts(), rpmfiBuildREContexts(), rpmfiFN(), rpmfiNew(), rpmgiEscapeSpaces(), rpmGlob(), rpmheRealloc(), rpmInitMacros(), rpmInstallSourcePackage(), rpmioSlurp(), rpmProblemString(), rpmpsmStage(), rpmReadHeader(), rpmRebuildTargetVars(), rpmsxAdd(), rpmsxParse(), rpmsxSort(), rpmteChain(), rpmtsImportPubkey(), rpmtsRun(), runInstScript(), runScript(), set2dbt(), shescapeFormat(), showQueryPackage(), splitString(), sql_cget(), sql_step(), tarHeaderRead(), tarHeaderReadName(), triggercondsTag(), triggertypeTag(), urlFind(), valueMakeInteger(), valueMakeString(), vfs_parse_ls_lga(), vrpmlog(), writeLinkedFile(), and XurlNew().
void* xrealloc | ( | void * | ptr, | |
size_t | size | |||
) |
Definition at line 52 of file rpmmalloc.c.
References vmefail().
Referenced by addFile(), appendStringBufAux(), argiAdd(), argvAdd(), argvAppend(), currentDirectory(), dbiAppendSet(), dbiTagsInit(), enterChroot(), expandMacroTable(), fsmMkdirs(), ftpNLST(), getFilesystemList(), gidToGname(), gnameToGid(), handleInstInstalledFiles(), headerAddEntry(), headerAddI18NString(), headerAppendEntry(), headerSprintf(), hsaReserve(), htAddEntry(), IDTXgrow(), installArgCallback(), isPart(), machAddEquiv(), main(), mireAppend(), parseForLang(), PBM_REALLOC(), pgpsigFormat(), pgpStashKeyid(), queryArgCallback(), readLineFromOFI(), relocateFileList(), removePackage(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmalDel(), rpmalMakeIndex(), rpmcliAllArgCallback(), rpmdbGrowIterator(), rpmdbSetIteratorRE(), rpmExpand(), rpmfcExpandAppend(), rpmfiBuildFSContexts(), rpmfiBuildREContexts(), rpmfiNew(), rpmGetMacroEntries(), rpmGlob(), rpmioSlurp(), rpmpsAppend(), rpmsxAdd(), rpmtsAddInstallElement(), rpmtsAvailable(), rpmtsSolve(), showQueryPackage(), sql_step(), stashSt(), triggercondsTag(), uidToUname(), unameToUid(), urlFind(), and vrpmlog().
char* xstrdup | ( | const char * | str | ) |
Definition at line 62 of file rpmmalloc.c.
References vmefail().
Referenced by addFile(), addSource(), addTE(), addTriggerIndex(), argvAdd(), argvAppend(), argvSplit(), armorFormat(), base64Format(), cpio_doio(), cpioHeaderRead(), dbiTagsInit(), depflagsFormat(), doLookup(), doPatch(), doSetupMacro(), doUntar(), dupAttrRec(), fdSetOpen(), fflagsFormat(), forceIncludeFile(), formatValue(), fsmMakeLinks(), fsmStage(), genSourceRpmName(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getUidS(), getUname(), getUnameS(), headerCheck(), headerNEVRA(), headerReload(), headerSetOrigin(), headerSprintf(), i18nTag(), ignoreDep(), installArgCallback(), instprefixTag(), intFormat(), isPart(), localeTag(), machAddEquiv(), main(), mireDup(), parseChangelog(), parseCVOG(), parseExpressionBoolean(), parseExpressionString(), parseForSimple(), parseScript(), parseSpec(), permsFormat(), pgpsigFormat(), printNewSpecfile(), processPackageFiles(), processSourceFiles(), pushMacro(), rdLead(), rdSignature(), rdToken(), readLineFromOFI(), realDateFormat(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmcliAllArgCallback(), rpmcliConfigured(), rpmcliInit(), rpmcliInstall(), rpmcliQuery(), rpmdbRebuild(), rpmds_compare(), rpmds_iternext(), rpmds_Single(), rpmdsCompare(), rpmdsCpuinfo(), rpmdsELF(), rpmdsGetconf(), rpmdsLdconfig(), rpmdsNew(), rpmdsPipe(), rpmdsSysinfo(), rpmEVRparse(), rpmExpand(), rpmfcGenerateDepends(), rpmfd_Fopen(), rpmfi_BN(), rpmfi_DN(), rpmfi_FClass(), rpmfi_FGroup(), rpmfi_FLink(), rpmfi_FN(), rpmfi_FUser(), rpmfi_MD5(), rpmfi_subscript(), rpmfiNew(), rpmGetPath(), rpmgiInitFilter(), rpmgiNext(), rpmGlob(), rpmInitMacros(), rpmmgBuffer(), rpmmgFile(), rpmmgNew(), rpmPermsString(), rpmps_ass_sub(), rpmpsAppend(), rpmpsmStage(), rpmQueryVerify(), rpmReadHeader(), rpmRebuildTargetVars(), rpmSetMachine(), rpmts_Check(), rpmtsCheck(), rpmtsFindPubkey(), rpmtsSetCurrDir(), rpmtsSetRootDir(), rpmWriteHeader(), shescapeFormat(), sql_open(), sql_step(), stashSt(), triggercondsTag(), triggertypeFormat(), triggertypeTag(), unsatisfiedDepend(), urlFind(), urlSplit(), vrpmlog(), writeFile(), writeLinkedFile(), writeRPM(), xmlFormat(), and yamlFormat().
int errno |
Referenced by Access(), Chdir(), checkfd(), checkOwners(), Chmod(), Chown(), Chroot(), cpioStrerror(), currentDirectory(), db3open(), dbiOpen(), enterChroot(), fdFgets(), fdReadable(), fdstat_exit(), fdWritable(), fsmStage(), Fstrerror(), ftpLogin(), ftpReq(), fts_build(), Fts_close(), Fts_read(), fts_safe_changedir(), fts_stat(), getFilesystemList(), getHostAddress(), getOutputFrom(), httpReq(), Lchown(), Lstat(), makeGPGSignature(), Mkfifo(), Mknod(), Open(), packageBinaries(), prepFetch(), processSourceFiles(), rdLead(), Readlink(), rpm_mergesort(), rpmCheckPassPhrase(), rpmdbRebuild(), rpmdsGetconf(), rpmGetFilesystemUsage(), rpmgiLoadReadHeader(), rpmgiOpen(), rpmioFileExists(), rpmioMkpath(), rpmmgNew(), rpmMkdirPath(), rpmpsmStage(), rpmQueryVerify(), rpmsqAction(), rpmsqExecve(), rpmsxParse(), rpmTempFile(), runScript(), Stat(), Symlink(), tcpConnect(), ufdRead(), ufdWrite(), unsatisfiedDepend(), urlStrerror(), Utime(), Utimes(), and verifyHeader().
const char* program_name |