add log and dri to private-dev help and man pages

This commit is contained in:
netblue30 2015-11-18 15:18:56 -05:00
parent e1463e78dc
commit d4e34926ec
3 changed files with 5 additions and 7 deletions

View file

@ -188,8 +188,9 @@ void usage(void) {
printf("\t\tthe new home. All modifications are discarded when the sandbox\n");
printf("\t\tis closed.\n\n");
printf("\t--private-dev - create a new /dev directory. Only null, full, zero, tty,\n");
printf("\t\tpst, ptms, random, urandom and shm devices are available.\n\n");
printf("\t--private-dev - create a new /dev directory. Only dri, null, full, zero,\n");
printf("\t\ttty, pst, ptms, random, urandom, log and shm devices are\n");
printf("\t\tavailable.\n\n");
printf("\t--private-etc=file,directory - build a new /etc in a temporary\n");
printf("\t\tfilesystem, and copy the files and directories in the list.\n");

View file

@ -831,7 +831,7 @@ Example:
$ firejail \-\-private-home=.mozilla firefox
.TP
\fB\-\-private-dev
Create a new /dev directory. Only null, full, zero, tty, pts, ptmx, random, urandom and shm devices are available.
Create a new /dev directory. Only dri, null, full, zero, tty, pts, ptmx, random, urandom, log and shm devices are available.
.br
.br
@ -845,7 +845,7 @@ Child process initialized
.br
$ ls /dev
.br
full null ptmx pts random shm tty urandom zero
dri full log null ptmx pts random shm tty urandom zero
.br
$
.TP

3
todo
View file

@ -75,6 +75,3 @@ socat ABSTRACT-LISTEN:/tmp/dbus-awBoQTCc,fork UNIX-CONNECT:/tmp/mysock
12. help and man for all protocol commands
13. add /dev/log to private dev in help and man
14. unbound testing