diff options
Diffstat (limited to 'src/man/firejail.txt')
-rw-r--r-- | src/man/firejail.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 80487a49d..a5704e995 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -1104,6 +1104,26 @@ Example: | |||
1104 | $ firejail --keep-dev-shm --private-dev | 1104 | $ firejail --keep-dev-shm --private-dev |
1105 | 1105 | ||
1106 | .TP | 1106 | .TP |
1107 | \fB\-\-keep-fd=all | ||
1108 | Inherit all open file descriptors to the sandbox. By default only file descriptors 0, 1 and 2 are inherited to the sandbox, and all other file descriptors are closed. | ||
1109 | .br | ||
1110 | |||
1111 | .br | ||
1112 | Example: | ||
1113 | .br | ||
1114 | $ firejail --keep-fd=all | ||
1115 | |||
1116 | .TP | ||
1117 | \fB\-\-keep-fd=file_descriptor | ||
1118 | Don't close specified open file descriptors. By default only file descriptors 0, 1 and 2 are inherited to the sandbox, and all other file descriptors are closed. | ||
1119 | .br | ||
1120 | |||
1121 | .br | ||
1122 | Example: | ||
1123 | .br | ||
1124 | $ firejail --keep-fd=3,4,5 | ||
1125 | |||
1126 | .TP | ||
1107 | \fB\-\-keep-var-tmp | 1127 | \fB\-\-keep-var-tmp |
1108 | /var/tmp directory is untouched. | 1128 | /var/tmp directory is untouched. |
1109 | .br | 1129 | .br |