diff options
Diffstat (limited to 'src/firejail/main.c')
-rw-r--r-- | src/firejail/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index 9a013989a..2e47dd938 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -104,6 +104,7 @@ int arg_nice = 0; // nice value configured | |||
104 | int arg_ipc = 0; // enable ipc namespace | 104 | int arg_ipc = 0; // enable ipc namespace |
105 | int arg_writable_etc = 0; // writable etc | 105 | int arg_writable_etc = 0; // writable etc |
106 | int arg_writable_var = 0; // writable var | 106 | int arg_writable_var = 0; // writable var |
107 | int arg_keep_var_tmp = 0; // don't overwrite /var/tmp | ||
107 | int arg_writable_run_user = 0; // writable /run/user | 108 | int arg_writable_run_user = 0; // writable /run/user |
108 | int arg_writable_var_log = 0; // writable /var/log | 109 | int arg_writable_var_log = 0; // writable /var/log |
109 | int arg_appimage = 0; // appimage | 110 | int arg_appimage = 0; // appimage |
@@ -1537,6 +1538,9 @@ int main(int argc, char **argv) { | |||
1537 | else if (strcmp(argv[i], "--writable-var") == 0) { | 1538 | else if (strcmp(argv[i], "--writable-var") == 0) { |
1538 | arg_writable_var = 1; | 1539 | arg_writable_var = 1; |
1539 | } | 1540 | } |
1541 | else if (strcmp(argv[1], "--keep-var-tmp") == 0) { | ||
1542 | arg_keep_var_tmp = 1; | ||
1543 | } | ||
1540 | else if (strcmp(argv[i], "--writable-run-user") == 0) { | 1544 | else if (strcmp(argv[i], "--writable-run-user") == 0) { |
1541 | arg_writable_run_user = 1; | 1545 | arg_writable_run_user = 1; |
1542 | } | 1546 | } |