diff options
author | netblue30 <netblue30@yahoo.com> | 2016-09-25 12:04:59 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-09-25 12:04:59 -0400 |
commit | c10766c01947793679462beb998ccde6e37107b7 (patch) | |
tree | bddbfdd9bcfbe7ad4254c699d09dc16d7e1d5f6c /src | |
parent | Merge branch 'master' of https://github.com/netblue30/firejail (diff) | |
download | firejail-c10766c01947793679462beb998ccde6e37107b7.tar.gz firejail-c10766c01947793679462beb998ccde6e37107b7.tar.zst firejail-c10766c01947793679462beb998ccde6e37107b7.zip |
allusers support in profile files
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/profile.c | 4 | ||||
-rw-r--r-- | src/man/firejail-profile.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 73b655379..33029a86b 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -181,6 +181,10 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
181 | #endif | 181 | #endif |
182 | return 0; | 182 | return 0; |
183 | } | 183 | } |
184 | else if (strcmp(ptr, "allusers") == 0) { | ||
185 | arg_allusers = 1; | ||
186 | return 0; | ||
187 | } | ||
184 | else if (strcmp(ptr, "private-dev") == 0) { | 188 | else if (strcmp(ptr, "private-dev") == 0) { |
185 | arg_private_dev = 1; | 189 | arg_private_dev = 1; |
186 | return 0; | 190 | return 0; |
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 68420ae9d..3e415c2cc 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt | |||
@@ -322,6 +322,10 @@ The sandbox is placed in g1 control group. | |||
322 | 322 | ||
323 | .SH User Environment | 323 | .SH User Environment |
324 | .TP | 324 | .TP |
325 | \fBallusers | ||
326 | All user home directories are visible inside the sandbox. By default, only current user home directory is visible. | ||
327 | |||
328 | .TP | ||
325 | \fBname sandboxname | 329 | \fBname sandboxname |
326 | Set sandbox name. Example: | 330 | Set sandbox name. Example: |
327 | .br | 331 | .br |