#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 | __progname program_name |
#define | setprogname(pn) |
#define | setlocale(Category, Locale) |
#define | bindtextdomain(Domain, Directory) |
#define | textdomain(Domain) |
#define | _(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 at line 444 of file system.h. Referenced by argerror(), initTool(), main(), parseFmt(), and rpmcliInit(). |
|
Definition at line 475 of file system.h. Referenced by main(), and rpmcliInit(). |
|
Definition at line 480 of file system.h. Referenced by i18nTag(). |
|
Definition at line 193 of file system.h. Referenced by avOpendir(), avReaddir(), ftpOpendir(), fts_build(), and printDir(). |
|
Definition at line 168 of file system.h. Referenced by argerror(), edit_dwarf2_line(), getOutputFrom(), load(), luaD_throw(), main(), printAsn1(), printASN1object(), rpmcliConfigured(), rpmcliInit(), rpmdbCheckSignals(), rpmReSign(), unwrap(), usageExit(), vmefail(), and vrpmlog(). |
|
Definition at line 183 of file system.h. Referenced by db3open(), rpmdbRebuild(), and rpmQueryVerify(). |
|
|
|
Value: static inline const char *rcsid(const char *p) { \ return rcsid(p = id); \ } |
|
Definition at line 299 of file system.h. Referenced by rpmfiBuildFSContexts(), and rpmVerifyFile(). |
|
|
|
|
|
|
|
|
|
Definition at line 311 of file system.h. Referenced by rpmtsCreate(). |
|
Definition at line 652 of file system.h. Referenced by fsmStage(). |
|
Definition at line 302 of file system.h. Referenced by rpmfiBuildFSContexts(), and rpmVerifyFile(). |
|
Definition at line 306 of file system.h. Referenced by fsmStage(). |
|
Definition at line 90 of file system.h. Referenced by cpioHeaderRead(), and cpioHeaderWrite(). |
|
Definition at line 92 of file system.h. Referenced by cpioHeaderRead(). |
|
Definition at line 91 of file system.h. Referenced by cpioHeaderRead(), and cpioHeaderWrite(). |
|
Definition at line 703 of file system.h. Referenced by getFilesystemList(). |
|
Definition at line 483 of file system.h. Referenced by rpmProblemString(). |
|
|
|
|
|
|
|
Definition at line 313 of file system.h. Referenced by runScript(). |
|
Definition at line 608 of file system.h. Referenced by rpmfcClassify(), rpmsxParse(), and vfs_parse_filetype(). |
|
Definition at line 612 of file system.h. Referenced by addFile(), fsmStage(), fts_stat(), genCpioListAndHeader(), makeTempFile(), printFileInfo(), rpmPermsString(), rpmVerifyFile(), vfs_parse_ls_lga(), whatis(), and writeFile(). |
|
Definition at line 616 of file system.h. Referenced by fsmStage(), rpmPermsString(), and whatis(). |
|
Definition at line 309 of file system.h. Referenced by rpmsxParse(). |
|
Definition at line 179 of file system.h. Referenced by checkEncapsulate(), dumpHeader(), dumpHex(), looksLikeText(), and rpmSingleHeaderFromFD(). |
|
|
|
Definition at line 178 of file system.h. Referenced by main(), Pread(), readRPM(), rpmlock_acquire(), rpmlock_release(), and writeRPM(). |
|
|
|
Definition at line 467 of file system.h. Referenced by main(), rpmcliInit(), and rpmGlob(). |
|
Value: { if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ } Definition at line 445 of file system.h. Referenced by initTool(), main(), and rpmcliInit(). |
|
Definition at line 477 of file system.h. Referenced by main(), and rpmcliInit(). |
|
Definition at line 185 of file system.h. Referenced by db3open(), and rpmMkdirPath(). |
|
|
|
|
|
|
Referenced by buildConfigPath(), dosetenv(), getdate_yyparse(), headerFindI18NString(), i18nTag(), main(), and rpmReadRC(). |
|
Referenced by getFilesystemList(). |
|
|
|
Referenced by doLookup(), and rpmQueryVerify(). |
|
Referenced by i18nTag(). |
|
|
Referenced by doLookup(), ftpOpendir(), 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(). |
|
|
|
|
|
|
|