#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>
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 | __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) |
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 490 of file system.h.
Referenced by _specQuery(), addCanon(), addChangelog(), addDefault(), addFile(), addFileToTagAux(), addMacro(), addSource(), argerror(), armorFormat(), base64Format(), bncdataFormat(), build(), buildHost(), cdataFormat(), checkFiles(), checkForDuplicates(), checkForRequired(), checkForValidArchitectures(), checkOwners(), checkPassPhrase(), copyFile(), copyNextLine(), cpio_copy(), cpio_doio(), cpioStrerror(), cvtdberr(), dateFormat(), dayFormat(), db3open(), dbiFindMatches(), dbiOpen(), dbiTagsInit(), depflagsFormat(), digestFormat(), doAddSubtract(), doDefine(), doIcon(), doLogical(), doMultiplyDivide(), doPatch(), doPatchMacro(), doPrimary(), doReadRC(), doRelational(), doSetupMacro(), doUndefine(), doUntar(), expandMacro(), expandMacros(), fflagsFormat(), findPreambleTag(), freeArgs(), fsmMapAttrs(), fsmStage(), ftpStrerror(), genCpioListAndHeader(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getOutputFrom(), getUidS(), getUname(), getUnameS(), grabArgs(), handlePreambleTag(), headerCheck(), headerDump(), headerFindI18NString(), iconvFormat(), IDTXglob(), ignoreDep(), installArgCallback(), intFormat(), isCompressed(), machCompatCacheAdd(), main(), makeGPGSignature(), makePGPSignature(), makeTempFile(), 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(), printBanner(), printExpansion(), printMacro(), printNewSpecfile(), printVersion(), processBinaryFile(), processBinaryFiles(), processMetadataFile(), processPackageFiles(), processScriptFiles(), processSourceFiles(), queryHeader(), rdToken(), readFile(), readLead(), readLine(), readRPM(), realDateFormat(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmcliImportPubkeys(), rpmcliInit(), rpmdbAdd(), rpmdbCount(), rpmdbFindByFile(), rpmdbGrowIterator(), rpmdbInitIterator(), rpmdbNew(), rpmdbNextIterator(), rpmdbRebuild(), rpmdbRemove(), rpmdsCompare(), rpmdsNotify(), rpmdsPipe(), rpmdsSysinfoFile(), rpmDumpMacroTable(), rpmErase(), rpmfcApply(), rpmfcClassify(), rpmfcExpandRegexps(), rpmfcFindRequiredPackages(), rpmfcGenerateDependsHelper(), rpmfcMatchRegexps(), rpmGetFilesystemUsage(), rpmGetPassPhrase(), rpmgiInitFilter(), rpmgiNext(), rpmgiOpen(), rpmInstall(), rpmInstallSource(), rpmInstallSourcePackage(), rpmlogMessage(), rpmMkdirPath(), rpmProblemString(), rpmpsmStage(), rpmQueryVerify(), rpmReadHeader(), rpmReadPackageFile(), rpmReadRC(), rpmReadSignature(), rpmReSign(), rpmRollback(), rpmShowProgress(), rpmShowRC(), rpmsxParse(), rpmtsAddInstallElement(), rpmtsInitIterator(), rpmtsOpenDB(), rpmtsOpenSDB(), rpmtsOrder(), rpmtsRollback(), rpmtsRun(), rpmtsSolve(), rpmVerifySignature(), rpmVerifySignatures(), rpnFormat(), runScript(), shescapeFormat(), showQueryPackage(), singleSprintf(), sqlescapeFormat(), statFormat(), timeCheck(), triggertypeFormat(), unsatisfiedDepend(), urlFind(), urlFreeCache(), urlSplit(), urlStrerror(), uuidFormat(), verifyDependencies(), verifyDSASignature(), verifyHeader(), verifyMD5Signature(), verifyRSASignature(), verifySHA1Signature(), verifySizeSignature(), vmefail(), vrpmlog(), writeRPM(), xmlFormat(), XurlFree(), yamlFormat(), and zapRelation().
#define __progname program_name |
#define bindtextdomain | ( | Domain, | |||
Directory | ) |
#define D_ | ( | Text | ) | Text |
Definition at line 491 of file system.h.
Referenced by db3close(), db3open(), db_fini(), db_init(), dbiOpen(), dnlInitIterator(), fsmMkdirs(), getOutputFrom(), makeGPGSignature(), makePGPSignature(), printSize(), psmWait(), relocateFileList(), rpmdbAdd(), rpmdbCheckSignals(), rpmdbRebuild(), rpmdbRemove(), rpmdsCompare(), rpmdsProblem(), rpmErase(), rpmfiDecideFate(), rpmInstall(), rpmioMkpath(), rpmpsmStage(), rpmQueryVerify(), rpmReadPackageManifest(), rpmspecQuery(), rpmtsAddObsoletes(), rpmtsAddUpgrades(), rpmtsInitDSI(), rpmtsOrder(), rpmtsRun(), rpmtsSolve(), rpmWriteSignature(), runScript(), skipFiles(), urlConnect(), and urlGetFile().
#define dgettext | ( | DomainName, | |||
Text | ) | Text |
#define dirent direct |
#define EXIT_FAILURE 1 |
Definition at line 168 of file system.h.
Referenced by argerror(), db3open(), getOutputFrom(), luaD_throw(), main(), rpmcliConfigured(), rpmcliInit(), rpmdbCheckSignals(), rpmdsGetconf(), rpmReSign(), vmefail(), and vrpmlog().
#define F_OK 0 |
Definition at line 183 of file system.h.
Referenced by db3open(), rpmdbRebuild(), and rpmioAccess().
#define FILE_RCSID | ( | id | ) |
#define freecon | ( | _c | ) |
Definition at line 307 of file system.h.
Referenced by genCpioListAndHeader(), rpmdbMoveDatabase(), 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 90 of file system.h.
Referenced by cpioHeaderRead(), cpioHeaderWrite(), tarHeaderRead(), and tarHeaderWrite().
#define makedev | ( | maj, | |||
min | ) | (((maj) << 8) | (min)) |
#define matchpathcon | ( | _fn, | |||
_fmode, | |||||
_s | ) | (-1) |
Definition at line 324 of file system.h.
Referenced by fsmMapFContext(), genCpioListAndHeader(), rpmdbMoveDatabase(), and rpmfiBuildREContexts().
#define matchpathcon_init | ( | _fn | ) | (-1) |
Definition at line 323 of file system.h.
Referenced by genCpioListAndHeader(), rpmdbMoveDatabase(), rpmfiBuildREContexts(), rpmInstall(), and rpmts_Run().
#define minor | ( | dev | ) | ((dev) & 0xff) |
Definition at line 91 of file system.h.
Referenced by cpioHeaderRead(), cpioHeaderWrite(), tarHeaderRead(), and tarHeaderWrite().
#define MOUNTED "/etc/mnttab" |
#define N_ | ( | Text | ) | Text |
Definition at line 496 of file system.h.
Referenced by rpmProblemString(), rpmrbCheck(), rpmrbOrder(), rpmrbRun(), and rpmRollback().
#define our_mntent struct our_mntent |
#define R_OK 4 |
Definition at line 186 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 623 of file system.h.
Referenced by rpmfcClassify(), rpmsxParse(), and vfs_parse_filetype().
#define S_ISLNK | ( | mode | ) | ((mode & 0xf000) == S_IFLNK) |
Definition at line 627 of file system.h.
Referenced by addFile(), cpioHeaderRead(), cpioHeaderWrite(), fsmStage(), fts_stat(), genCpioListAndHeader(), makeTempFile(), printFileInfo(), rpmPermsString(), rpmVerifyFile(), statFormat(), tarHeaderWrite(), vfs_parse_ls_lga(), whatis(), and writeFile().
#define S_ISSOCK | ( | mode | ) | ((mode & 0xf000) == S_IFSOCK) |
Definition at line 631 of file system.h.
Referenced by fsmStage(), rpmPermsString(), tarHeaderWrite(), and whatis().
#define security_check_context | ( | _c | ) | (0) |
#define SEEK_CUR 1 |
#define SEEK_SET 0 |
#define setfilecon | ( | _fn, | |||
_c | ) | (-1) |
#define setlocale | ( | Category, | |||
Locale | ) |
#define setprogname | ( | pn | ) |
Value:
{ if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ }
Definition at line 456 of file system.h.
Referenced by rpmcliInit().
#define textdomain | ( | Domain | ) |
#define W_OK 2 |
Definition at line 185 of file system.h.
Referenced by db3open(), rpmInstallSourcePackage(), and rpmioAccess().
#define X_OK 1 |
Definition at line 184 of file system.h.
Referenced by rpmioAccess(), rpmpsmStage(), and unsatisfiedDepend().
typedef char* security_context_t |
char* alloca | ( | ) |
Referenced by compressFilelist(), dateToTimet(), db3open(), dbiFindByLabel(), depflagsFormat(), doDefine(), doFoo(), doIcon(), doLookup(), doOutput(), doReadRC(), doShellEscape(), doUndefine(), ensureOlder(), expandMacro(), expandMacros(), expandT(), expandU(), findEntry(), findTag(), formatValue(), fpsCompare(), fsmStage(), fssizesTag(), ftpCommand(), ftpLogin(), ftpReq(), grabArgs(), hdr_subscript(), headerCheck(), headerMatchLocale(), i18nTag(), intFormat(), labelCompare(), lookupPackage(), makeGPGSignature(), makePGPSignature(), markReplacedFiles(), parseForAttr(), parseForConfig(), parseForDev(), parseForLang(), parseForVerify(), pgpGrabPkts(), pgpPrtPkt(), pgpPrtPkts(), pgpPubkeyFingerprint(), postPopulateInstallHeader(), printFileInfo(), providePackageNVR(), relocateFileList(), rpm3to4(), rpmAddSignature(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmalDel(), rpmdbAdd(), rpmdbCount(), rpmdbFindByFile(), rpmdbMoveDatabase(), rpmdbRemove(), rpmdbRemoveDatabase(), rpmDefineMacro(), rpmDetectPGPVersion(), rpmdsCompare(), rpmdsNSAdd(), rpmdsNVRMatchesDep(), rpmdsSysinfo(), rpmfi_iternext(), rpmfi_MD5(), rpmfiBuildFSContexts(), rpmfiBuildREContexts(), rpmGenPath(), rpmGetFilesystemUsage(), rpmGetPath(), rpmInstall(), rpmioMkpath(), rpmlibNeedsFeature(), rpmLoadMacroFile(), rpmps_ass_sub(), rpmQueryVerify(), rpmReadPackageFile(), rpmReadSignature(), rpmspecQuery(), rpmsqExecve(), rpmteColorDS(), rpmts_Rollback(), rpmtsAddUpgrades(), rpmtsInitIterator(), rpmtsOrder(), rpmtsRollback(), rpmtsSetRootDir(), rpmVerifyFile(), rpnFormat(), runImmedTriggers(), runInstScript(), runScript(), setPathDefault(), skipFiles(), strntoul(), triggercondsTag(), unsatisfiedDepend(), urlFind(), uuidFormat(), verifyDependencies(), writeFile(), writeRPM(), xmlFormat(), XpoptParseArgvString(), and yamlFormat().
char* getenv | ( | const char * | name | ) |
Referenced by dosetenv(), headerFindI18NString(), i18nTag(), rpmioAccess(), and rpmReadRC().
struct our_mntent* getmntent | ( | FILE * | filep | ) | [read] |
Referenced by getFilesystemList().
char* memchr | ( | ) |
char* realpath | ( | const char * | path, | |
char | resolved_path[] | |||
) |
Referenced by doLookup(), Realpath(), rpmdbURIPath(), and rpmQueryVerify().
int setenv | ( | const char * | name, | |
const char * | value, | |||
int | replace | |||
) |
Referenced by i18nTag().
char* stpcpy | ( | char * | dest, | |
const char * | src | |||
) |
Referenced by addTE(), argvJoin(), base64Format(), db3open(), dbiFindByLabel(), depflagsFormat(), doAddSubtract(), doFoo(), doPatch(), dosetenv(), doUntar(), ensureOlder(), FDGsqlTag(), FDGxmlTag(), findTag(), formatValue(), fpsCompare(), fsmFsPath(), fsmMkdirs(), fsmRmdirs(), fsmStage(), ftpCommand(), ftpOpendir(), ftpReq(), genCpioListAndHeader(), grabArgs(), hGetNEVR(), hGetNEVRA(), hGetNVRA(), localeTag(), makeGPGSignature(), makePGPSignature(), missingokTag(), pgpArmorWrap(), pgpsigFormat(), PRCOsqlTag(), PRCOxmlTag(), printNewSpecfile(), providePackageNVR(), relocateFileList(), rpm3to4(), rpmcliAllArgCallback(), rpmcliImportPubkey(), rpmdbRebuild(), rpmDetectPGPVersion(), rpmdsDupArgv(), rpmdsELF(), rpmdsNewDNEVR(), rpmdsNSAdd(), rpmdsNVRMatchesDep(), rpmdsThis(), rpmExpand(), rpmfcGenerateScriptletDeps(), rpmfiBuildFClasses(), rpmfiBuildFContexts(), rpmfiBuildFDeps(), rpmfiBuildFNames(), rpmfiFN(), rpmfts_initialize(), rpmGetPath(), rpmHeaderGetEntry(), rpmInstallSourcePackage(), rpmioAccess(), rpmioMkpath(), rpmlibNeedsFeature(), rpmpsAppend(), rpmpsmStage(), rpmtsOrder(), rpmtsSetRootDir(), rpmVerifyFile(), rpmVerifySignatures(), runScript(), showQueryPackage(), singleSprintf(), sonameDep(), statFormat(), 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(), rpmdbURIPath(), and rpmVerifySignatures().
void unsetenv | ( | const char * | name | ) |
Referenced by checkPassPhrase(), getOutputFrom(), i18nTag(), makeGPGSignature(), makePGPSignature(), open_dso(), and runScript().
void* vmefail | ( | size_t | size | ) |
Definition at line 13 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 34 of file rpmmalloc.c.
References vmefail().
Referenced by addRelation(), addTriggerIndex(), argiAdd(), base64Format(), bncdataFormat(), cdataFormat(), checkResponse(), dbiIndexNewItem(), dbiTagsInit(), defaultMachine(), dnlInitIterator(), findTag(), fsmMkdirs(), fssizesTag(), ftpNLST(), ftpOpendir(), genCpioListAndHeader(), getFilesystemList(), handleInstInstalledFiles(), handleOverlappedFiles(), headerGetLangs(), hGetNEVR(), hGetNEVRA(), htCreate(), IDTXnew(), ignoreDep(), mapInitIterator(), missingokTag(), newFSM(), newPackage(), newSpec(), newStringBuf(), parseCVOG(), parseFormat(), parseSpec(), pgpGrabPkts(), pgpNewDig(), processSourceFiles(), rpmalCreate(), rpmdbAdd(), rpmdbAppendIterator(), rpmdbFindByFile(), rpmdbFindFpList(), rpmdbInitIterator(), rpmdbNew(), rpmdbRemove(), rpmDigestDup(), rpmDigestInit(), rpmdsDup(), rpmdsNew(), rpmdsNewPRCO(), rpmdsSetColor(), rpmdsSetRefs(), rpmdsSetResult(), rpmdsSingle(), rpmdsThis(), rpmecNew(), rpmfcGenerateDepends(), rpmfcNew(), rpmfiNew(), rpmGetFilesystemUsage(), rpmgiNew(), rpmpsAppend(), rpmpsCreate(), rpmpsmNew(), rpmReadPackageManifest(), rpmsxNew(), rpmsxParse(), rpmteNew(), rpmteNewTSI(), rpmtsCreate(), rpmtsInitDSI(), rpmtsOrder(), rpmtsRun(), saveHardLink(), showQueryPackage(), sqlescapeFormat(), str2uuid(), tagLoadIndex(), tv2uuidv1(), XfdNew(), and XrpmtsiInit().
void* xmalloc | ( | size_t | size | ) |
Definition at line 24 of file rpmmalloc.c.
References vmefail().
Referenced by addFile(), addSource(), addTE(), argvJoin(), argvSplit(), copyEntry(), cpioHeaderRead(), dbinstanceTag(), dbt2set(), doAddSubtract(), doHeaderUnload(), doLookup(), doputenv(), doReadRC(), dosetenv(), expandMacro(), expandMacroTable(), FDGsqlTag(), FDGxmlTag(), formatValue(), fpCacheCreate(), fsmFsPath(), fsmStage(), genCpioListAndHeader(), grabData(), headerCheck(), headerendoffTag(), headerstartoffTag(), hGetNVRA(), htAddEntry(), htCreate(), localeTag(), machAddEquiv(), machCompatCacheAdd(), main(), makeGPGSignature(), makePGPSignature(), mireDup(), newOpenFileInfo(), newSl(), newSt(), newStringBuf(), parseForLang(), parseRCPOT(), pgpArmorWrap(), pgpHexSet(), pgpPrtSig(), pgpPrtUserID(), pkgmtimeTag(), pkgsizeTag(), PRCOsqlTag(), PRCOxmlTag(), printNewSpecfile(), pushMacro(), queryArgCallback(), readLine(), relocateFileList(), rpmcliImportPubkey(), rpmdbInitIterator(), rpmdbRebuild(), rpmDigestFinal(), rpmdsDup(), rpmdsDupArgv(), rpmdsGetconf(), rpmdsMerge(), rpmdsNew(), rpmdsNewDNEVR(), rpmdsSingle(), rpmdsThis(), rpmExpand(), rpmfd_Fopen(), rpmfiBuildFClasses(), rpmfiBuildFContexts(), rpmfiBuildFDeps(), rpmfiBuildFNames(), rpmfiBuildFSContexts(), rpmfiBuildREContexts(), rpmfiFN(), rpmfiNew(), rpmgiEscapeSpaces(), rpmGlob(), rpmInitMacros(), rpmInstallSourcePackage(), rpmioSlurp(), rpmProblemString(), rpmpsmStage(), rpmReadHeader(), rpmReadSignature(), rpmRebuildTargetVars(), rpmSetVarArch(), rpmsxAdd(), rpmsxParse(), rpmsxSort(), rpmteChain(), rpmtsRun(), set2dbt(), shescapeFormat(), showQueryPackage(), splitString(), tag2uuidv5(), tarHeaderRead(), tarHeaderReadName(), triggercondsTag(), triggertypeTag(), urlFind(), uuidFormat(), valueMakeInteger(), valueMakeString(), verifyRSASignature(), vfs_parse_ls_lga(), vrpmlog(), writeLinkedFile(), and XurlNew().
void* xrealloc | ( | void * | ptr, | |
size_t | size | |||
) |
Definition at line 45 of file rpmmalloc.c.
References vmefail().
Referenced by addCanon(), addDefault(), addFile(), appendStringBufAux(), argiAdd(), argvAdd(), argvAppend(), currentDirectory(), dbiAppendSet(), dbiTagsInit(), expandMacroTable(), fsmMkdirs(), ftpNLST(), getFilesystemList(), gidToGname(), gnameToGid(), handleInstInstalledFiles(), hsaReserve(), htAddEntry(), IDTXgrow(), installArgCallback(), machAddEquiv(), machCompatCacheAdd(), main(), mireAppend(), parseForLang(), PBM_REALLOC(), pgpsigFormat(), queryArgCallback(), readLine(), relocateFileList(), removePackage(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmalDel(), rpmalMakeIndex(), rpmcliAllArgCallback(), rpmdbGrowIterator(), rpmdbSetIteratorRE(), rpmExpand(), rpmfcExpandAppend(), rpmfiBuildFSContexts(), rpmfiBuildREContexts(), rpmfiNew(), rpmGlob(), rpmInstall(), rpmioSlurp(), rpmpsAppend(), rpmsxAdd(), rpmtsAddInstallElement(), rpmtsAvailable(), rpmtsSolve(), rpmtsStashKeyid(), showQueryPackage(), stashSt(), triggercondsTag(), uidToUname(), unameToUid(), urlFind(), and vrpmlog().
char* xstrdup | ( | const char * | str | ) |
Definition at line 55 of file rpmmalloc.c.
References vmefail().
Referenced by addCanon(), addDefault(), addFile(), addSource(), addTE(), addTriggerIndex(), argvAdd(), argvAppend(), argvSplit(), armorFormat(), base64Format(), bncdataFormat(), cdataFormat(), cpio_doio(), cpioHeaderRead(), dbiTagsInit(), depflagsFormat(), digestFormat(), doLookup(), doSetupMacro(), dupAttrRec(), fdSetOpen(), fflagsFormat(), forceIncludeFile(), formatValue(), fsmMakeLinks(), fsmStage(), ftpRealpath(), genSourceRpmName(), getFilesystemList(), getGidS(), getGname(), getGnameS(), getUidS(), getUname(), getUnameS(), headerCheck(), headerSetBaseURL(), headerSetDigest(), i18nTag(), iconvFormat(), ignoreDep(), installArgCallback(), instprefixTag(), intFormat(), localeTag(), machAddEquiv(), machCompatCacheAdd(), main(), mireDup(), parseChangelog(), parseCVOG(), parseExpressionBoolean(), parseExpressionString(), parseForSimple(), parseScript(), parseSpec(), permsFormat(), pgpsigFormat(), pkgbaseurlTag(), pkgdigestTag(), pkgoriginTag(), printNewSpecfile(), processPackageFiles(), processSourceFiles(), pushMacro(), rdToken(), readLine(), realDateFormat(), Realpath(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmcliAllArgCallback(), rpmcliConfigured(), rpmcliQuery(), rpmds_compare(), rpmds_iternext(), rpmds_Single(), rpmdsCompare(), rpmdsCpuinfo(), rpmdsELF(), rpmdsGetconf(), rpmdsLdconfig(), rpmdsNew(), rpmdsPipe(), rpmdsThis(), 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(), rpmInstall(), rpmInstallSourcePackage(), rpmPermsString(), rpmps_ass_sub(), rpmpsAppend(), rpmpsmStage(), rpmQueryVerify(), rpmReadHeader(), rpmReadRC(), rpmReadSignature(), rpmRebuildTargetVars(), rpmSetMachine(), rpmSetVar(), rpmSetVarArch(), rpmtsAddInstallElement(), rpmtsCheck(), rpmtsFindPubkey(), rpmtsSetCurrDir(), rpmtsSetRootDir(), rpnFormat(), shescapeFormat(), sqlescapeFormat(), stashSt(), statFormat(), strdup_locale_convert(), triggercondsTag(), triggertypeFormat(), triggertypeTag(), urlFind(), urlSplit(), uuidFormat(), writeFile(), writeLinkedFile(), writeRPM(), xmlFormat(), and yamlFormat().
int errno |
Referenced by Access(), Chdir(), checkOwners(), checkPassPhrase(), Chmod(), Chown(), Chroot(), cpioStrerror(), currentDirectory(), db3open(), dbiOpen(), fdFgets(), fdReadable(), fdstat_exit(), fdWritable(), fsmStage(), Fstrerror(), ftpLogin(), ftpReq(), fts_build(), Fts_close(), Fts_read(), fts_safe_changedir(), fts_stat(), getFilesystemList(), getHostAddress(), getOutputFrom(), Lchown(), Lstat(), makeGPGSignature(), makePGPSignature(), makeTempFile(), mergesort(), Mkfifo(), Mknod(), Open(), packageBinaries(), prepFetch(), processSourceFiles(), readLead(), Readlink(), rpmdbRebuild(), rpmdsGetconf(), rpmfcClassify(), rpmGetFilesystemUsage(), rpmgiLoadReadHeader(), rpmgiOpen(), rpmioFileExists(), rpmioMkpath(), rpmMkdirPath(), rpmpsmStage(), rpmQueryVerify(), rpmReadHeader(), rpmsqAction(), rpmsqExecve(), rpmsxParse(), runScript(), sigchld_cancel(), Stat(), statFormat(), strdup_locale_convert(), Symlink(), tcpConnect(), ufdRead(), ufdWrite(), unsatisfiedDepend(), urlStrerror(), Utime(), and Utimes().
const char* program_name |