#include <sys/file.h>
#include "rpmio/rpmutil.h"
#include "misc/fnmatch.h"
#include <dlfcn.h>
Go to the source code of this file.
|  | 
| #define | dirent   direct | 
|  | 
| #define | NLENGTH(direct)   ((direct)->d_namlen) | 
|  | 
| #define | PATH_MAX   256 | 
|  | 
| #define | freecon(_c) | 
|  | 
| #define | setfilecon(_fn, _c)   (-1) | 
|  | 
| #define | lsetfilecon(_fn, _c)   (-1) | 
|  | 
| #define | is_selinux_enabled()   (0) | 
|  | 
| #define | matchpathcon_init(_fn)   (-1) | 
|  | 
| #define | matchpathcon_fini()   (0) | 
|  | 
| #define | matchpathcon(_fn, _fm, _c)   (-1) | 
|  | 
| #define | selabel_lookup_raw(_hnd, _scon, _key, _type)   (-1) | 
|  | 
| #define | selinux_file_context_path()   (0) | 
|  | 
| #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 | __progname   program_name | 
|  | 
| #define | setprogname(pn) | 
|  | 
| #define | _(Text)   Text | 
|  | 
| #define | N_(Text)   Text | 
|  | 
|  | 
| char * | stpcpy (char *dest, const char *src) | 
|  | 
| char * | stpncpy (char *dest, const char *src, size_t n) | 
|  | 
Definition at line 135 of file system.h.
Referenced by argerror(), build(), buildArgCallback(), buildForTarget(), checkPassPhrase(), checkSpec(), doSign(), getTarSpec(), initPipe(), isSpecFile(), main(), printBanner(), and printVersion().
 
 
      
        
          | #define _free | ( |  | _ptr | ) | rfree((_ptr)) | 
      
 
 
      
        
          | #define is_selinux_enabled | ( |  | ) | (0) | 
      
 
 
      
        
          | #define lsetfilecon | ( |  | _fn, | 
        
          |  |  |  | _c | 
        
          |  | ) |  | (-1) | 
      
 
 
      
        
          | #define matchpathcon | ( |  | _fn, | 
        
          |  |  |  | _fm, | 
        
          |  |  |  | _c | 
        
          |  | ) |  | (-1) | 
      
 
 
      
        
          | #define matchpathcon_fini | ( |  | ) | (0) | 
      
 
 
      
        
          | #define matchpathcon_init | ( |  | _fn | ) | (-1) | 
      
 
 
      
        
          | #define NLENGTH | ( |  | direct | ) | ((direct)->d_namlen) | 
      
 
 
      
        
          | #define rpm_execcon | ( |  | _v, | 
        
          |  |  |  | _fn, | 
        
          |  |  |  | _av, | 
        
          |  |  |  | _envp | 
        
          |  | ) |  | (0) | 
      
 
 
      
        
          | #define selabel_lookup_raw | ( |  | _hnd, | 
        
          |  |  |  | _scon, | 
        
          |  |  |  | _key, | 
        
          |  |  |  | _type | 
        
          |  | ) |  | (-1) | 
      
 
 
      
        
          | #define selinux_file_context_path | ( |  | ) | (0) | 
      
 
 
      
        
          | #define setfilecon | ( |  | _fn, | 
        
          |  |  |  | _c | 
        
          |  | ) |  | (-1) | 
      
 
 
      
        
          | #define setprogname | ( |  | pn | ) |  | 
      
 
 
      
        
          | #define xcalloc | ( |  | _nmemb, | 
        
          |  |  |  | _size | 
        
          |  | ) |  | rcalloc((_nmemb), (_size)) | 
      
 
 
      
        
          | #define xmalloc | ( |  | _size | ) | rmalloc((_size)) | 
      
 
 
      
        
          | #define xrealloc | ( |  | _ptr, | 
        
          |  |  |  | _size | 
        
          |  | ) |  | rrealloc((_ptr), (_size)) | 
      
 
 
      
        
          | #define xstrdup | ( |  | _str | ) | rstrdup((_str)) | 
      
 
 
      
        
          | char* stpcpy | ( | char * | dest, | 
        
          |  |  | const char * | src | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | char* stpncpy | ( | char * | dest, | 
        
          |  |  | const char * | src, | 
        
          |  |  | size_t | n | 
        
          |  | ) |  |  |