From c3581850ba9db8ae0a9dc38a035671a68c11883a Mon Sep 17 00:00:00 2001 From: startx2017 Date: Thu, 3 Sep 2020 15:33:17 -0400 Subject: manpages: configuration for tunnel, chroot, private-home --- src/man/firejail-profile.txt | 2 ++ src/man/firejail.txt | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src/man') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index c86d7f119..283b4ba15 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -296,6 +296,7 @@ filesystem, and copy the files and directories in the list. The files and directories in the list must be expressed as relative to the /etc directory. All modifications are discarded when the sandbox is closed. +#ifdef HAVE_PRIVATE_HOME .TP \fBprivate-home file,directory Build a new user home in a temporary @@ -305,6 +306,7 @@ The files and directories in the list must be expressed as relative to the current user's home directory. All modifications are discarded when the sandbox is closed. +#endif .TP \fBprivate-lib file,directory Build a new /lib directory and bring in the libraries required by the application to run. diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 89a4c7990..5c4947694 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -286,7 +286,7 @@ Place the sandbox in the specified control group. tasks-file is the full path of Example: .br # firejail \-\-cgroup=/sys/fs/cgroup/g1/tasks - +#ifdef HAVE_CHROOT .TP \fB\-\-chroot=dirname Chroot the sandbox into a root filesystem. Unlike the regular filesystem container, @@ -298,7 +298,7 @@ regular user, nonewprivs and a default capabilities filter are enabled. Example: .br $ firejail \-\-chroot=/media/ubuntu warzone2100 - +#endif .TP \fB\-\-cpu=cpu-number,cpu-number,cpu-number Set CPU affinity. @@ -1813,7 +1813,7 @@ Example: $ firejail --private-etc=group,hostname,localtime, \\ .br nsswitch.conf,passwd,resolv.conf,default/motd-news - +#ifdef HAVE_PRIVATE_HOME .TP \fB\-\-private-home=file,directory Build a new user home in a temporary @@ -1829,7 +1829,7 @@ closed. Example: .br $ firejail \-\-private-home=.mozilla firefox - +#endif .TP \fB\-\-private-lib=file,directory This feature is currently under heavy development. Only amd64 platforms are supported at this moment. @@ -2556,6 +2556,7 @@ $ firejail \-\-tree .br 11970:netblue:transmission-gtk +#ifdef HAVE_FIRETUNNEL .TP \fB\-\-tunnel[=devname] Connect the sandbox to a network overlay/VPN tunnel created by firetunnel utility. This options @@ -2576,6 +2577,7 @@ Example: .br $ firejail --tunnel firefox .br +#endif .TP \fB\-\-version Print program version/compile time support and exit. -- cgit v1.2.3-70-g09d2