Skip to content

Commit

Permalink
docs: man: format and sort some private- items
Browse files Browse the repository at this point in the history
Format and sort items in the private-bin, private-dev and private-etc
sections.
  • Loading branch information
glitsj16 authored and kmk3 committed Jul 7, 2024
1 parent b69b336 commit fe8ff31
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
8 changes: 5 additions & 3 deletions src/man/firejail-profile.5.in
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,11 @@ Set working directory inside jail to the home directory, and failing that, the r
Set working directory inside the jail. Full directory path is required. Symbolic links are not allowed.
.TP
\fBprivate-dev
Create a new /dev directory. Only disc, dri, dvb, hidraw, null, full, zero, tty, pts, ptmx,
random, snd, urandom, video, log, shm and usb devices are available.
Use the options no3d, nodvd, nosound, notv, nou2f and novideo for additional restrictions.
Create a new /dev directory.
Only disc, dri, dvb, full, hidraw, log, null, ptmx, pts, random, shm, snd, tty,
urandom, usb, video and zero devices are available.
Use the options no3d, nodvd, nosound, notv, nou2f and novideo for additional
restrictions.

.TP
\fBprivate-etc file,directory
Expand Down
11 changes: 7 additions & 4 deletions src/man/firejail.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ File globbing is supported, see \fBFILE GLOBBING\fR section for more details.
.br
Example:
.br
$ firejail \-\-private-bin=bash,sed,ls,cat
$ firejail \-\-private-bin=bash,cat,ls,sed
.br
Parent pid 20841, child pid 20842
.br
Expand Down Expand Up @@ -2172,8 +2172,11 @@ $ pwd

.TP
\fB\-\-private-dev
Create a new /dev directory. Only disc, dri, dvb, hidraw, null, full, zero, tty, pts, ptmx, random, snd, urandom, video, log, shm and usb devices are available.
Use the options --no3d, --nodvd, --nosound, --notv, --nou2f and --novideo for additional restrictions.
Create a new /dev directory.
Only disc, dri, dvb, full, hidraw, log, null, ptmx, pts, random, shm, snd, tty,
urandom, usb, video and zero devices are available.
Use the options \-\-no3d, \-\-nodvd, \-\-nosound, \-\-notv, \-\-nou2f and
\-\-novideo for additional restrictions.
.br

.br
Expand All @@ -2191,7 +2194,7 @@ cdrom cdrw dri dvd dvdrw full log null ptmx pts random shm snd sr0
.br
$
.TP
\fB\-\-private-etc, \-\-private-etc=file,directory,@group
\fB\-\-private-etc, \-\-private-etc=@group,file,directory
The files installed by \-\-private-etc are copies of the original system files from /etc directory.
By default, the command brings in a skeleton of files and directories used by most console tools:

Expand Down

0 comments on commit fe8ff31

Please sign in to comment.