diff options
Diffstat (limited to 'src/firejail/firejail.h')
-rw-r--r-- | src/firejail/firejail.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/firejail/firejail.h b/src/firejail/firejail.h index 75e5feaff..a981c8759 100644 --- a/src/firejail/firejail.h +++ b/src/firejail/firejail.h | |||
@@ -234,10 +234,10 @@ typedef struct config_t { | |||
234 | char *protocol; // protocol list | 234 | char *protocol; // protocol list |
235 | 235 | ||
236 | // rlimits | 236 | // rlimits |
237 | unsigned rlimit_nofile; | 237 | long long unsigned rlimit_nofile; |
238 | unsigned rlimit_nproc; | 238 | long long unsigned rlimit_nproc; |
239 | unsigned rlimit_fsize; | 239 | long long unsigned rlimit_fsize; |
240 | unsigned rlimit_sigpending; | 240 | long long unsigned rlimit_sigpending; |
241 | 241 | ||
242 | // cpu affinity, nice and control groups | 242 | // cpu affinity, nice and control groups |
243 | uint32_t cpus; | 243 | uint32_t cpus; |
@@ -462,7 +462,7 @@ int is_dir(const char *fname); | |||
462 | int is_link(const char *fname); | 462 | int is_link(const char *fname); |
463 | char *line_remove_spaces(const char *buf); | 463 | char *line_remove_spaces(const char *buf); |
464 | char *split_comma(char *str); | 464 | char *split_comma(char *str); |
465 | int not_unsigned(const char *str); | 465 | void check_unsigned(const char *str, const char *msg); |
466 | int find_child(pid_t parent, pid_t *child); | 466 | int find_child(pid_t parent, pid_t *child); |
467 | void check_private_dir(void); | 467 | void check_private_dir(void); |
468 | void update_map(char *mapping, char *map_file); | 468 | void update_map(char *mapping, char *map_file); |