/[path-sandbox]/trunk/src/sandbox.h
Gentoo

Diff of /trunk/src/sandbox.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 262 Revision 263
30#define ENV_EBUILD "EBUILD" 30#define ENV_EBUILD "EBUILD"
31#define ENV_TMPDIR "TMPDIR" 31#define ENV_TMPDIR "TMPDIR"
32#define ENV_PORTAGE_TMPDIR "PORTAGE_TMPDIR" 32#define ENV_PORTAGE_TMPDIR "PORTAGE_TMPDIR"
33 33
34#define ENV_BASH_ENV "BASH_ENV" 34#define ENV_BASH_ENV "BASH_ENV"
35
36#define ENV_NOCOLOR "NOCOLOR"
35 37
36#define ENV_SANDBOX_VERBOSE "SANDBOX_VERBOSE" 38#define ENV_SANDBOX_VERBOSE "SANDBOX_VERBOSE"
37#define ENV_SANDBOX_DEBUG "SANDBOX_DEBUG" 39#define ENV_SANDBOX_DEBUG "SANDBOX_DEBUG"
38 40
39#define ENV_SANDBOX_LIB "SANDBOX_LIB" 41#define ENV_SANDBOX_LIB "SANDBOX_LIB"
108int is_file(const char *pathname); 110int is_file(const char *pathname);
109int is_dir(const char *pathname, int follow_link); 111int is_dir(const char *pathname, int follow_link);
110long file_length(int fd); 112long file_length(int fd);
111#endif /* OUTSIDE_LIBSANDBOX */ 113#endif /* OUTSIDE_LIBSANDBOX */
112bool is_env_on (const char *); 114bool is_env_on (const char *);
115bool is_env_off (const char *);
113 116
114/* Compat functions for GNU extensions */ 117/* Compat functions for GNU extensions */
115char *gstrndup (const char *str, size_t size); 118char *gstrndup (const char *str, size_t size);
116/* Same as basename(3), but do not modify path */ 119/* Same as basename(3), but do not modify path */
117char *gbasename (const char *path); 120char *gbasename (const char *path);

Legend:
Removed from v.262  
changed lines
  Added in v.263

  ViewVC Help
Powered by ViewVC 1.1.20