mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
commit
8464a84343
20 changed files with 31 additions and 23 deletions
|
|
@ -15,7 +15,6 @@ seccomp
|
|||
|
||||
shell none
|
||||
private-bin deluge,sh,python,uname
|
||||
whitelist /tmp/.X11-unix
|
||||
private-dev
|
||||
nosound
|
||||
private-tmp
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ netfilter
|
|||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
nosound
|
||||
protocol unix
|
||||
seccomp
|
||||
shell none
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ include /etc/firejail/disable-devel.inc
|
|||
include /etc/firejail/disable-passwdmgr.inc
|
||||
|
||||
caps.drop all
|
||||
netfilter
|
||||
net none
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
|
|
@ -16,3 +18,5 @@ tracelog
|
|||
|
||||
private-bin evince,evince-previewer,evince-thumbnailer
|
||||
private-dev
|
||||
private-etc fonts
|
||||
private-tmp
|
||||
|
|
@ -17,6 +17,7 @@ netfilter
|
|||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
nosound
|
||||
protocol unix,inet,inet6
|
||||
seccomp
|
||||
shell none
|
||||
|
|
|
|||
|
|
@ -16,6 +16,5 @@ seccomp
|
|||
|
||||
shell none
|
||||
private-bin fbreader,FBReader
|
||||
whitelist /tmp/.X11-unix
|
||||
private-dev
|
||||
nosound
|
||||
private-tmp
|
||||
|
|
|
|||
|
|
@ -16,6 +16,6 @@ seccomp
|
|||
shell none
|
||||
|
||||
private-bin feh
|
||||
whitelist /tmp/.X11-unix
|
||||
private-dev
|
||||
private-etc feh
|
||||
private-tmp
|
||||
|
|
@ -17,5 +17,4 @@ shell none
|
|||
|
||||
private-bin filezilla,uname,sh,python,lsb_release,fzputtygen,fzsftp
|
||||
private-dev
|
||||
|
||||
whitelist /tmp/.X11-unix
|
||||
private-tmp
|
||||
|
|
|
|||
|
|
@ -47,4 +47,8 @@ whitelist ~/.config/pipelight-silverlight5.1
|
|||
include /etc/firejail/whitelist-common.inc
|
||||
|
||||
# experimental features
|
||||
#private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse
|
||||
|
||||
private-bin firefox,which,sh,dbus-launch,dbus-send,env
|
||||
private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,xdg,gtk-2.0,gtk-3.0,X11,pango,fonts,firefox,mime.types,mailcap,asound.conf,pulse
|
||||
private-dev
|
||||
private-tmp
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ shell none
|
|||
tracelog
|
||||
|
||||
private-bin gthumb
|
||||
whitelist /tmp/.X11-unix
|
||||
private-dev
|
||||
private-tmp
|
||||
|
|
@ -12,12 +12,16 @@ nosound
|
|||
protocol unix
|
||||
seccomp
|
||||
netfilter
|
||||
net none
|
||||
shell none
|
||||
tracelog
|
||||
|
||||
seccomp.keep access,arch_prctl,brk,clone,close,connect,execve,exit_group,fchmod,fchown,fcntl,fstat,futex,getcwd,getpeername,getrlimit,getsockname,getsockopt,lseek,lstat,mlock,mmap,mprotect,munmap,nanosleep,open,poll,prctl,read,recvfrom,recvmsg,restart_syscall,rt_sigaction,rt_sigprocmask,select,sendmsg,set_robust_list,set_tid_address,setresgid,setresuid,shmat,shmctl,shmget,shutdown,socket,stat,sysinfo,uname,unshare,wait4,write,writev
|
||||
|
||||
private-bin mupdf
|
||||
private-tmp
|
||||
private-dev
|
||||
private-etc fonts
|
||||
|
||||
# mupdf will never write anything
|
||||
read-only ${HOME}
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ shell none
|
|||
tracelog
|
||||
|
||||
private-bin pix
|
||||
whitelist /tmp/.X11-unix
|
||||
private-dev
|
||||
private-tmp
|
||||
|
|
@ -16,5 +16,4 @@ seccomp
|
|||
#shell none
|
||||
#private-bin qbittorrent
|
||||
private-dev
|
||||
|
||||
whitelist /tmp/.X11-unix
|
||||
private-tmp
|
||||
|
|
|
|||
|
|
@ -14,5 +14,5 @@ seccomp
|
|||
|
||||
shell none
|
||||
private-bin rtorrent
|
||||
whitelist /tmp/.X11-unix
|
||||
private-dev
|
||||
private-tmp
|
||||
|
|
@ -19,5 +19,4 @@ tracelog
|
|||
|
||||
private-bin transmission-gtk
|
||||
private-dev
|
||||
|
||||
whitelist /tmp/.X11-unix
|
||||
private-tmp
|
||||
|
|
|
|||
|
|
@ -19,5 +19,4 @@ tracelog
|
|||
|
||||
private-bin transmission-qt
|
||||
private-dev
|
||||
|
||||
whitelist /tmp/.X11-unix
|
||||
private-tmp
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ shell none
|
|||
|
||||
private-bin uget-gtk
|
||||
private-dev
|
||||
private-tmp
|
||||
|
||||
whitelist /tmp/.X11-unix
|
||||
whitelist ${DOWNLOADS}
|
||||
mkdir ~/.config/uGet
|
||||
whitelist ~/.config/uGet
|
||||
|
|
|
|||
|
|
@ -15,8 +15,7 @@ protocol unix,inet,inet6
|
|||
seccomp
|
||||
|
||||
private-dev
|
||||
|
||||
whitelist /tmp/.X11-unix
|
||||
private-tmp
|
||||
|
||||
mkdir ${HOME}/.local/share/wesnoth
|
||||
mkdir ${HOME}/.config/wesnoth
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ include /etc/firejail/disable-passwdmgr.inc
|
|||
|
||||
caps.drop all
|
||||
netfilter
|
||||
net none
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
|
|
@ -19,7 +20,7 @@ protocol unix
|
|||
private-bin zathura
|
||||
private-dev
|
||||
private-etc fonts
|
||||
whitelist /tmp/.X11-unix
|
||||
private-tmp
|
||||
|
||||
read-only ~/
|
||||
read-write ~/.local/share/zathura/
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ filesystem, and copy the files and directories in the list.
|
|||
All modifications are discarded when the sandbox is closed.
|
||||
.TP
|
||||
\fBprivate-tmp
|
||||
Mount an empty temporary filesystem on top of /tmp directory.
|
||||
Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix.
|
||||
.TP
|
||||
\fBread-only file_or_directory
|
||||
Make directory or file read-only.
|
||||
|
|
|
|||
|
|
@ -1180,7 +1180,7 @@ nsswitch.conf,passwd,resolv.conf
|
|||
|
||||
.TP
|
||||
\fB\-\-private-tmp
|
||||
Mount an empty temporary filesystem on top of /tmp directory.
|
||||
Mount an empty temporary filesystem on top of /tmp directory whitelisting /tmp/.X11-unix.
|
||||
.br
|
||||
|
||||
.br
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue