mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
added /usr/local/bin to private-bin
This commit is contained in:
parent
bb4830eb7e
commit
90c1f897e7
4 changed files with 4 additions and 5 deletions
|
|
@ -25,9 +25,10 @@
|
|||
#include <unistd.h>
|
||||
|
||||
static char *paths[] = {
|
||||
"/usr/local/bin",
|
||||
"/bin",
|
||||
"/sbin",
|
||||
"/usr/bin",
|
||||
"/sbin",
|
||||
"/usr/sbin",
|
||||
NULL
|
||||
};
|
||||
|
|
|
|||
|
|
@ -204,7 +204,6 @@ static int monitor_application(pid_t app_pid) {
|
|||
if (monitored_pid != 0 && arg_debug)
|
||||
printf("Sandbox monitor: monitoring %u\n", monitored_pid);
|
||||
}
|
||||
printf("blablabla\n");
|
||||
|
||||
// return the latest exit status.
|
||||
return status;
|
||||
|
|
|
|||
|
|
@ -180,8 +180,7 @@ void usage(void) {
|
|||
printf(" --private=directory - use directory as user home.\n\n");
|
||||
|
||||
printf(" --private-bin=file,file - build a new /bin in a temporary filesystem,\n");
|
||||
printf("\tand copy the programs in the list. The same directory is\n");
|
||||
printf("\talso bind-mounted over /sbin, /usr/bin and /usr/sbin.\n\n");
|
||||
printf("\tand copy the programs in the list.\n\n");
|
||||
|
||||
printf(" --private-dev - create a new /dev directory. Only dri, null, full, zero,\n");
|
||||
printf("\ttty, pst, ptms, random, urandom, log and shm devices are available.\n\n");
|
||||
|
|
|
|||
|
|
@ -1000,7 +1000,7 @@ $ firejail \-\-private=/home/netblue/firefox-home firefox
|
|||
.TP
|
||||
\fB\-\-private-bin=file,file
|
||||
Build a new /bin in a temporary filesystem, and copy the programs in the list.
|
||||
The same directory is also bind-mounted over /sbin, /usr/bin and /usr/sbin.
|
||||
The same directory is also bind-mounted over /sbin, /usr/bin, /usr/sbin and /usr/local/bin.
|
||||
.br
|
||||
|
||||
.br
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue