#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 | 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) |
our_mntent * | getmntent (FILE *filep) |
Variables | |
int | errno |
const char * | program_name |
Definition in file system.h.
|
|
Definition at line 455 of file system.h. Referenced by argerror(), main(), and rpmcliInit(). |
|
Definition at line 487 of file system.h. Referenced by rpmcliInit(). |
|
|
Definition at line 493 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(), db3open(), getOutputFrom(), luaD_throw(), main(), rpmcliConfigured(), rpmcliInit(), rpmdbCheckSignals(), rpmdsGetconf(), rpmReSign(), vmefail(), and vrpmlog(). |
|
Definition at line 183 of file system.h. Referenced by db3open(), rpmdbRebuild(), and rpmioAccess(). |
|
|
|
Value: static inline const char *rcsid(const char *p) { \ return rcsid(p = id); \ } |
|
Definition at line 307 of file system.h. Referenced by genCpioListAndHeader(), rpmdbMoveDatabase(), rpmfiBuildFSContexts(), and rpmfiBuildREContexts(). |
|
|
|
|
|
|
|
|
|
Definition at line 319 of file system.h. Referenced by rpmdbMoveDatabase(), and rpmtsCreate(). |
|
Definition at line 667 of file system.h. Referenced by Lchown(). |
|
Definition at line 310 of file system.h. Referenced by rpmfiBuildFSContexts(). |
|
Definition at line 314 of file system.h. Referenced by fsmStage(). |
|
Definition at line 90 of file system.h. Referenced by cpioHeaderRead(), cpioHeaderWrite(), tarHeaderRead(), and tarHeaderWrite(). |
|
Definition at line 92 of file system.h. Referenced by cpioHeaderRead(), and tarHeaderRead(). |
|
Definition at line 324 of file system.h. Referenced by fsmMapFContext(), genCpioListAndHeader(), rpmdbMoveDatabase(), and rpmfiBuildREContexts(). |
|
Definition at line 323 of file system.h. Referenced by genCpioListAndHeader(), rpmdbMoveDatabase(), rpmfiBuildREContexts(), rpmInstall(), and rpmts_Run(). |
|
Definition at line 91 of file system.h. Referenced by cpioHeaderRead(), cpioHeaderWrite(), tarHeaderRead(), and tarHeaderWrite(). |
|
Definition at line 718 of file system.h. Referenced by getFilesystemList(). |
|
Definition at line 496 of file system.h. Referenced by rpmProblemString(), rpmrbCheck(), rpmrbOrder(), rpmrbRun(), and rpmRollback(). |
|
|
|
|
|
Definition at line 186 of file system.h. Referenced by rpmioAccess(), rpmtsCreate(), and unsatisfiedDepend(). |
|
Definition at line 321 of file system.h. Referenced by runScript(). |
|
Definition at line 623 of file system.h. Referenced by rpmfcClassify(), rpmsxParse(), and vfs_parse_filetype(). |
|
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(). |
|
Definition at line 631 of file system.h. Referenced by fsmStage(), 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 readRPM(), and writeRPM(). |
|
Definition at line 313 of file system.h. Referenced by rpmdbMoveDatabase(). |
|
Definition at line 478 of file system.h. Referenced by rpmcliInit(), rpmfcClassify(), and rpmGlob(). |
|
Value: { if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ } Definition at line 456 of file system.h. Referenced by rpmcliInit(). |
|
Definition at line 489 of file system.h. Referenced by rpmcliInit(). |
|
Definition at line 185 of file system.h. Referenced by db3open(), rpmInstallSourcePackage(), and rpmioAccess(). |
|
Definition at line 184 of file system.h. Referenced by rpmioAccess(), rpmpsmStage(), and unsatisfiedDepend(). |
|
|
|
|
Referenced by dosetenv(), headerFindI18NString(), i18nTag(), rpmioAccess(), and rpmReadRC(). |
|
Referenced by getFilesystemList(). |
|
|
|
Referenced by doLookup(), Realpath(), rpmdbURIPath(), and rpmQueryVerify(). |
|
Referenced by i18nTag(). |
|
|
Referenced by doFoo(), doLookup(), ftpOpendir(), rpmdbURIPath(), and rpmVerifySignatures(). |
|
Referenced by checkPassPhrase(), getOutputFrom(), i18nTag(), makeGPGSignature(), makePGPSignature(), open_dso(), and runScript(). |
|
Definition at line 13 of file rpmmalloc.c. References _, and EXIT_FAILURE. Referenced by xcalloc(), xmalloc(), xrealloc(), and xstrdup(). |
|
|
|
|
|
|
|