diff --git a/src/firejail/usage.c b/src/firejail/usage.c index 238205c04..5dde0bdbd 100644 --- a/src/firejail/usage.c +++ b/src/firejail/usage.c @@ -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"); diff --git a/src/man/firejail.txt b/src/man/firejail.txt index dc518b666..370fce588 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -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 diff --git a/todo b/todo index 01901dcfa..edf8f0854 100644 --- a/todo +++ b/todo @@ -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 \ No newline at end of file