aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/usage.c
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2019-05-24 21:28:10 +0200
committerLibravatar GitHub <noreply@github.com>2019-05-24 21:28:10 +0200
commit9314fff8cb801e3f2f7a2996764c12ca4e350bea (patch)
tree58416f0e3a01b43f8265ff785c255eaa97e73e65 /src/firejail/usage.c
parentadd header guard to firecfg.h (diff)
parentAdd private-cwd option to control working directory within jail (diff)
downloadfirejail-9314fff8cb801e3f2f7a2996764c12ca4e350bea.tar.gz
firejail-9314fff8cb801e3f2f7a2996764c12ca4e350bea.tar.zst
firejail-9314fff8cb801e3f2f7a2996764c12ca4e350bea.zip
Merge pull request #2712 from apmorton/features/private-cwd
Add private-cwd option to control working directory within jail
Diffstat (limited to 'src/firejail/usage.c')
-rw-r--r--src/firejail/usage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/usage.c b/src/firejail/usage.c
index ab749413b..af3bac839 100644
--- a/src/firejail/usage.c
+++ b/src/firejail/usage.c
@@ -163,6 +163,8 @@ static char *usage_str =
163 " --private-etc=file,directory - build a new /etc in a temporary\n" 163 " --private-etc=file,directory - build a new /etc in a temporary\n"
164 "\tfilesystem, and copy the files and directories in the list.\n" 164 "\tfilesystem, and copy the files and directories in the list.\n"
165 " --private-tmp - mount a tmpfs on top of /tmp directory.\n" 165 " --private-tmp - mount a tmpfs on top of /tmp directory.\n"
166 " --private-cwd - do not inherit working directory inside jail.\n"
167 " --private-cwd=directory - set working directory inside jail.\n"
166 " --private-opt=file,directory - build a new /opt in a temporary filesystem.\n" 168 " --private-opt=file,directory - build a new /opt in a temporary filesystem.\n"
167 " --private-srv=file,directory - build a new /srv in a temporary filesystem.\n" 169 " --private-srv=file,directory - build a new /srv in a temporary filesystem.\n"
168 " --profile=filename|profile_name - use a custom profile.\n" 170 " --profile=filename|profile_name - use a custom profile.\n"