man: mention that private-bin and private-etc are cumulative

This amends commit ac6c8c038 ("fix #4078", 2022-01-21).

Fixes #4078.
This commit is contained in:
Kelvin M. Klann 2022-01-22 16:25:17 -03:00
parent 4a9f1127d1
commit 75073e0e4a
2 changed files with 6 additions and 4 deletions

View file

@ -349,7 +349,7 @@ Build a new /bin in a temporary filesystem, and copy the programs in the list.
The files in the list must be expressed as relative to the /bin,
/sbin, /usr/bin, /usr/sbin, or /usr/local/bin directories.
The same directory is also bind-mounted over /sbin, /usr/bin and /usr/sbin.
Multiple private-bin commands are allowed.
Multiple private-bin commands are allowed and they accumulate.
.TP
\fBprivate-cache
Mount an empty temporary filesystem on top of the .cache directory in user home. All
@ -375,7 +375,7 @@ the /etc directory, and must not contain the / character
(e.g., /etc/foo must be expressed as foo, but /etc/foo/bar --
expressed as foo/bar -- is disallowed).
All modifications are discarded when the sandbox is closed.
Multiple private-etc commands are allowed.
Multiple private-etc commands are allowed and they accumulate.
#ifdef HAVE_PRIVATE_HOME
.TP
\fBprivate-home file,directory

View file

@ -1912,8 +1912,9 @@ The files in the list must be expressed as relative to the /bin,
/sbin, /usr/bin, /usr/sbin, or /usr/local/bin directories.
If no listed files are found, /bin directory will be empty.
The same directory is also bind-mounted over /sbin, /usr/bin, /usr/sbin and /usr/local/bin.
All modifications are discarded when the sandbox is closed. File globbing is supported,
see \fBFILE GLOBBING\fR section for more details.
All modifications are discarded when the sandbox is closed.
Multiple private-bin commands are allowed and they accumulate.
File globbing is supported, see \fBFILE GLOBBING\fR section for more details.
.br
.br
@ -2009,6 +2010,7 @@ The files and directories in the list must be expressed as relative to
the /etc directory (e.g., /etc/foo must be expressed as foo).
If no listed file is found, /etc directory will be empty.
All modifications are discarded when the sandbox is closed.
Multiple private-etc commands are allowed and they accumulate.
.br
.br