rpm
4.8.1
|
#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 "rpmio/rpmutil.h"
Go to the source code of this file.
Data Structures | |
struct | our_mntent |
Defines | |
#define | HAVE_MAJOR |
#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() (0) |
#define | matchpathcon_init(_fn) (-1) |
#define | matchpathcon_fini() (0) |
#define | matchpathcon(_fn, _fm, _c) (-1) |
#define | rpm_execcon(_v, _fn, _av, _envp) (0) |
#define | xmalloc(_size) rmalloc((_size)) |
#define | xcalloc(_nmemb, _size) rcalloc((_nmemb), (_size)) |
#define | xrealloc(_ptr, _size) rrealloc((_ptr), (_size)) |
#define | xstrdup(_str) rstrdup((_str)) |
#define | _free(_ptr) rfree((_ptr)) |
#define | _constfree(_ptr) rfree((void *)(_ptr)) |
#define | __progname program_name |
#define | setprogname(pn) |
#define | setlocale(Category, Locale) /* empty */ |
#define | bindtextdomain(Domain, Directory) /* empty */ |
#define | textdomain(Domain) /* empty */ |
#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 |
Typedefs | |
typedef char * | security_context_t |
typedef void * | cap_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[]) |
int | setenv (const char *name, const char *value, int replace) |
void | unsetenv (const char *name) |
struct struct our_mntent * | getmntent (FILE *filep) |
Variables | |
int | errno |
const char * | program_name |
Definition in file system.h.
#define _ | ( | Text | ) | Text |
Definition at line 291 of file system.h.
Referenced by argerror(), build(), buildForTarget(), checkSpec(), getTarSpec(), isSpecFile(), main(), printBanner(), and printVersion().
#define __progname program_name |
Definition at line 258 of file system.h.
Referenced by argerror(), and main().
#define _constfree | ( | _ptr | ) | rfree((void *)(_ptr)) |
#define bindtextdomain | ( | Domain, | |
Directory | |||
) | /* empty */ |
#define fgetfilecon | ( | _fd, | |
_c | |||
) | (-1) |
#define fsetfilecon | ( | _fd, | |
_c | |||
) | (-1) |
#define getfilecon | ( | _fn, | |
_c | |||
) | (-1) |
#define GETMNTENT_ONE 1 |
#define GETMNTENT_TWO 0 |
#define HAVE_MAJOR |
#define is_selinux_enabled | ( | ) | (0) |
#define lgetfilecon | ( | _fn, | |
_c | |||
) | (-1) |
#define lsetfilecon | ( | _fn, | |
_c | |||
) | (-1) |
#define matchpathcon | ( | _fn, | |
_fm, | |||
_c | |||
) | (-1) |
#define matchpathcon_fini | ( | ) | (0) |
#define matchpathcon_init | ( | _fn | ) | (-1) |
#define our_mntent struct our_mntent |
#define rpm_execcon | ( | _v, | |
_fn, | |||
_av, | |||
_envp | |||
) | (0) |
#define security_check_context | ( | _c | ) | (0) |
#define setfilecon | ( | _fn, | |
_c | |||
) | (-1) |
#define setlocale | ( | Category, | |
Locale | |||
) | /* empty */ |
#define setprogname | ( | pn | ) |
{ if ((__progname = strrchr(pn, '/')) != NULL) __progname++; \ else __progname = pn; \ }
Definition at line 259 of file system.h.
Referenced by main().
#define textdomain | ( | Domain | ) | /* empty */ |
Definition at line 247 of file system.h.
Referenced by buildForTarget(), and main().
typedef char* security_context_t |
char* getenv | ( | const char * | name | ) |
struct struct our_mntent* getmntent | ( | FILE * | filep | ) | [read] |
char* memchr | ( | ) |
char* realpath | ( | const char * | path, |
char | resolved_path[] | ||
) |
int setenv | ( | const char * | name, |
const char * | value, | ||
int | replace | ||
) |
char* stpcpy | ( | char * | dest, |
const char * | src | ||
) |
char* stpncpy | ( | char * | dest, |
const char * | src, | ||
size_t | n | ||
) |
void unsetenv | ( | const char * | name | ) |
int errno |
Referenced by isSpecFile().
const char* program_name |
Definition at line 4 of file rpm2cpio.c.