#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 dependency graph for system.h:
This graph shows which files directly or indirectly include this file:
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 | __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) |
our_mntent * | getmntent (FILE *filep) |
Variables | |
int | errno |
const char * | program_name |
Definition in file system.h.
|
|
Definition at line 452 of file system.h. Referenced by argerror(), main(), and rpmcliInit(). |
|
Definition at line 484 of file system.h. Referenced by rpmcliInit(). |
|
Definition at line 488 of file system.h. Referenced by db3close(), db3open(), db_fini(), and db_init(). |
|
Definition at line 490 of file system.h. Referenced by i18nTag(). |
|
Definition at line 197 of file system.h. Referenced by ftpOpendir(), and fts_build(). |
|
Definition at line 168 of file system.h. Referenced by argerror(), getOutputFrom(), load(), luaD_throw(), main(), rpmcliConfigured(), rpmcliInit(), rpmdbCheckSignals(), rpmReSign(), uncompressbuf(), unwrap(), usage(), vmefail(), and vrpmlog(). |
|
Definition at line 183 of file system.h. Referenced by db3open(), and rpmdbRebuild(). |
|
|
|
Value: |
|
Definition at line 307 of file system.h. Referenced by rpmfiBuildFSContexts(). |
|
|
|
|
|
|
|
|
|
Definition at line 319 of file system.h. Referenced by rpmtsCreate(). |
|
Definition at line 664 of file system.h. Referenced by Lchown(). |
|
Definition at line 310 of file system.h. Referenced by rpmfiBuildFSContexts(). |
|
|
|
Definition at line 90 of file system.h. Referenced by cpioHeaderRead(), cpioHeaderWrite(), file_fsmagic(), tarHeaderRead(), and tarHeaderWrite(). |
|
Definition at line 92 of file system.h. Referenced by cpioHeaderRead(), and tarHeaderRead(). |
|
Definition at line 91 of file system.h. Referenced by cpioHeaderRead(), cpioHeaderWrite(), file_fsmagic(), tarHeaderRead(), and tarHeaderWrite(). |
|
Definition at line 715 of file system.h. Referenced by getFilesystemList(). |
|
Definition at line 493 of file system.h. Referenced by rpmProblemString(), rpmrbCheck(), rpmrbOrder(), rpmrbRun(), and rpmRollback(). |
|
|
|
|
|
Definition at line 186 of file system.h. Referenced by rpmtsCreate(). |
|
|
|
Definition at line 620 of file system.h. Referenced by file_fsmagic(), rpmfcClassify(), rpmsxParse(), and vfs_parse_filetype(). |
|
Definition at line 624 of file system.h. Referenced by cpioHeaderRead(), cpioHeaderWrite(), fts_stat(), genCpioListAndHeader(), makeTempFile(), printFileInfo(), rpmPermsString(), rpmVerifyFile(), tarHeaderWrite(), whatis(), and writeFile(). |
|
Definition at line 628 of file system.h. Referenced by rpmPermsString(), tarHeaderWrite(), and whatis(). |
|
Definition at line 317 of file system.h. Referenced by rpmsxParse(). |
|
Definition at line 179 of file system.h. Referenced by rpmSingleHeaderFromFD(). |
|
|
|
Definition at line 178 of file system.h. Referenced by apprentice_compile(), file_pipe2file(), readRPM(), uncompressbuf(), and writeRPM(). |
|
|
|
Definition at line 475 of file system.h. Referenced by main(), rpmcliInit(), and rpmGlob(). |
|
Value: { if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ } Definition at line 453 of file system.h. Referenced by rpmcliInit(). |
|
Definition at line 486 of file system.h. Referenced by rpmcliInit(). |
|
Definition at line 185 of file system.h. Referenced by db3open(). |
|
Definition at line 184 of file system.h. Referenced by rpmioAccess(), and unsatisfiedDepend(). |
|
|
|
|
Referenced by dosetenv(), file_apprentice(), headerFindI18NString(), i18nTag(), and main(). |
|
Referenced by getFilesystemList(). |
|
|
|
Referenced by doLookup(), rpmdbURIPath(), and rpmQueryVerify(). |
|
Referenced by i18nTag(). |
|
|
Referenced by doLookup(), ftpOpendir(), rpmdbURIPath(), and rpmVerifySignatures(). |
|
Referenced by checkPassPhrase(), getOutputFrom(), i18nTag(), makeGPGSignature(), makePGPSignature(), and open_dso(). |
|
Definition at line 13 of file rpmmalloc.c. References _, and EXIT_FAILURE. Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup(). |
|
|
|
Definition at line 45 of file rpmmalloc.c. References vmefail(). Referenced by addCanon(), addDefault(), appendStringBufAux(), argiAdd(), argvAdd(), argvAppend(), currentDirectory(), dbiAppendSet(), expandMacroTable(), ftpNLST(), getFilesystemList(), gidToGname(), gnameToGid(), hsaReserve(), htAddEntry(), IDTXgrow(), installArgCallback(), machCompatCacheAdd(), main(), mireAppend(), PBM_REALLOC(), pgpsigFormat(), queryArgCallback(), readLine(), removePackage(), rpmalAdd(), rpmalAllFileSatisfiesDepend(), rpmalAllSatisfiesDepend(), rpmcliAllArgCallback(), rpmdbSetIteratorRE(), rpmExpand(), rpmfcExpandAppend(), rpmfiBuildFSContexts(), rpmfiBuildREContexts(), rpmGlob(), rpmInstall(), rpmioSlurp(), rpmpsAppend(), rpmtsAvailable(), rpmtsSolve(), showQueryPackage(), stashSt(), triggercondsTag(), uidToUname(), unameToUid(), and vrpmlog(). |
|
|
|
|