From b689b69f6c3b8a8ba633d6300cef6a19972d53dc Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 9 Mar 2023 12:46:11 -0500 Subject: make --private-lib a compile time option, disabled by default --- src/man/firejail-profile.txt | 2 ++ src/man/firejail.txt | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'src/man') diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 3fa07d1ee..fa294d888 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -407,12 +407,14 @@ the current user's home directory. All modifications are discarded when the sandbox is closed. #endif +#ifdef HAVE_PRIVATE_LIB .TP \fBprivate-lib file,directory Build a new /lib directory and bring in the libraries required by the application to run. The files and directories in the list must be expressed as relative to the /lib directory. This feature is still under development, see \fBman 1 firejail\fR for some examples. +#endif .TP \fBprivate-opt file,directory Build a new /opt in a temporary diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 6068c9ff4..ec6da6f13 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -684,9 +684,11 @@ Print all recognized error numbers in the current Firejail software build and ex Example: .br $ firejail \-\-debug-errnos +#ifdef HAVE_PRIVATE_LIB .TP \fB\-\-debug-private-lib Debug messages for --private-lib option. +#endif .TP \fB\-\-debug-protocols Print all recognized protocols in the current Firejail software build and exit. @@ -696,6 +698,7 @@ Print all recognized protocols in the current Firejail software build and exit. Example: .br $ firejail \-\-debug-protocols +#endif .TP \fB\-\-debug-syscalls Print all recognized system calls in the current Firejail software build and exit. @@ -2179,6 +2182,7 @@ Example: .br $ firejail \-\-private-home=.mozilla firefox #endif +#ifdef HAVE_PRIVATE_LIB .TP \fB\-\-private-lib=file,directory This feature is currently under heavy development. Only amd64 platforms are supported at this moment. @@ -2234,6 +2238,7 @@ $ .br Note: Support for this command is controlled in firejail.config with the \fBprivate-lib\fR option. +#endif .TP \fB\-\-private-opt=file,directory Build a new /opt in a temporary -- cgit v1.2.3-54-g00ecf