diff options
author | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-08-29 15:19:49 +0300 |
---|---|---|
committer | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-08-29 15:19:49 +0300 |
commit | ce04d2a6220c00497a60d38b3a96385226d94866 (patch) | |
tree | 0f2fbe4257f4570216cd49ae1bbc4d7aa12a0455 /src/common/sandbox.h | |
parent | 8e2b9d28442a6291f4de5d039d4035882b12845f (diff) | |
download | tor-ce04d2a6220c00497a60d38b3a96385226d94866.tar.gz tor-ce04d2a6220c00497a60d38b3a96385226d94866.zip |
replaced boolean char with int
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r-- | src/common/sandbox.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h index 605df7f34a..4119d9289b 100644 --- a/src/common/sandbox.h +++ b/src/common/sandbox.h @@ -50,12 +50,12 @@ struct pfd_elem { int syscall; /** parameter index. */ - char pindex; + int pindex; /** parameter value. */ intptr_t param; /** parameter flag (0 = not protected, 1 = protected). */ - char prot; + int prot; struct pfd_elem *next; }; @@ -114,7 +114,7 @@ sandbox_cfg_t * sandbox_cfg_new(void); * need to be free-ed. */ int sandbox_cfg_allow_open_filename(sandbox_cfg_t **cfg, char *file, - char fr); + int fr); /** Function used to add a series of open allowed filenames to a supplied * configuration. @@ -134,7 +134,7 @@ int sandbox_cfg_allow_open_filename_array(sandbox_cfg_t **cfg, int num, ...); * need to be free-ed. */ int sandbox_cfg_allow_openat_filename(sandbox_cfg_t **cfg, char *file, - char fr); + int fr); /** Function used to add a series of openat allowed filenames to a supplied * configuration. @@ -173,7 +173,7 @@ int sandbox_cfg_allow_execve_array(sandbox_cfg_t **cfg, int num, ...); * need to be free-ed. */ int sandbox_cfg_allow_stat64_filename(sandbox_cfg_t **cfg, char *file, - char fr); + int fr); /** Function used to add a series of stat64 allowed filenames to a supplied * configuration. |