diff options
Diffstat (limited to 'src/firejail/firejail.h')
-rw-r--r-- | src/firejail/firejail.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/firejail/firejail.h b/src/firejail/firejail.h index ca3b73ffc..27c3dd2ea 100644 --- a/src/firejail/firejail.h +++ b/src/firejail/firejail.h | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "../include/common.h" | 22 | #include "../include/common.h" |
23 | #include "../include/euid_common.h" | 23 | #include "../include/euid_common.h" |
24 | #include <stdarg.h> | 24 | #include <stdarg.h> |
25 | #include <sys/stat.h> | ||
25 | 26 | ||
26 | // debug restricted shell | 27 | // debug restricted shell |
27 | //#define DEBUG_RESTRICTED_SHELL | 28 | //#define DEBUG_RESTRICTED_SHELL |
@@ -303,7 +304,6 @@ static inline int any_interface_configured(void) { | |||
303 | else | 304 | else |
304 | return 0; | 305 | return 0; |
305 | } | 306 | } |
306 | void clear_run_files(pid_t pid); | ||
307 | 307 | ||
308 | extern int arg_private; // mount private /home | 308 | extern int arg_private; // mount private /home |
309 | extern int arg_private_template; // private /home template | 309 | extern int arg_private_template; // private /home template |
@@ -393,7 +393,6 @@ extern char *fullargv[MAX_ARGS]; | |||
393 | extern int fullargc; | 393 | extern int fullargc; |
394 | 394 | ||
395 | // main.c | 395 | // main.c |
396 | void set_x11_file(pid_t pid, int display); | ||
397 | void check_user_namespace(void); | 396 | void check_user_namespace(void); |
398 | char *guess_shell(void); | 397 | char *guess_shell(void); |
399 | 398 | ||
@@ -617,9 +616,7 @@ void netns(const char *nsname); | |||
617 | void netns_mounts(const char *nsname); | 616 | void netns_mounts(const char *nsname); |
618 | 617 | ||
619 | // bandwidth.c | 618 | // bandwidth.c |
620 | void bandwidth_del_run_file(pid_t pid); | ||
621 | void bandwidth_pid(pid_t pid, const char *command, const char *dev, int down, int up); | 619 | void bandwidth_pid(pid_t pid, const char *command, const char *dev, int down, int up); |
622 | void network_del_run_file(pid_t pid); | ||
623 | void network_set_run_file(pid_t pid); | 620 | void network_set_run_file(pid_t pid); |
624 | 621 | ||
625 | // fs_etc.c | 622 | // fs_etc.c |
@@ -791,9 +788,15 @@ void build_appimage_cmdline(char **command_line, char **window_title, int argc, | |||
791 | // run sbox | 788 | // run sbox |
792 | int sbox_run(unsigned filter, int num, ...); | 789 | int sbox_run(unsigned filter, int num, ...); |
793 | 790 | ||
794 | |||
795 | // git.c | 791 | // git.c |
796 | void git_install(); | 792 | void git_install(); |
797 | void git_uninstall(); | 793 | void git_uninstall(); |
798 | 794 | ||
795 | // run_files.c | ||
796 | void delete_run_files(pid_t pid); | ||
797 | void delete_bandwidth_run_file(pid_t pid); | ||
798 | void set_name_run_file(pid_t pid); | ||
799 | void set_x11_run_file(pid_t pid, int display); | ||
800 | void set_profile_run_file(pid_t pid, const char *fname); | ||
801 | |||
799 | #endif | 802 | #endif |