aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-programs.inc2
-rw-r--r--etc/firefox-common.profile3
-rw-r--r--etc/picard.profile2
-rw-r--r--etc/qmmp.profile34
-rw-r--r--etc/sayonara.profile33
-rw-r--r--etc/torbrowser-launcher.profile2
6 files changed, 74 insertions, 2 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index ea334c289..c7605d660 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -16,6 +16,7 @@ blacklist ${HOME}/.LuminanceHDR
16blacklist ${HOME}/.Mathematica 16blacklist ${HOME}/.Mathematica
17blacklist ${HOME}/.Natron 17blacklist ${HOME}/.Natron
18blacklist ${HOME}/.PyCharm* 18blacklist ${HOME}/.PyCharm*
19blacklist ${HOME}/.Sayonara
19blacklist ${HOME}/.Skype 20blacklist ${HOME}/.Skype
20blacklist ${HOME}/.Steam 21blacklist ${HOME}/.Steam
21blacklist ${HOME}/.Steampath 22blacklist ${HOME}/.Steampath
@@ -465,6 +466,7 @@ blacklist ${HOME}/.passwd-s3fs
465blacklist ${HOME}/.pingus 466blacklist ${HOME}/.pingus
466blacklist ${HOME}/.purple 467blacklist ${HOME}/.purple
467blacklist ${HOME}/.qemu-launcher 468blacklist ${HOME}/.qemu-launcher
469blacklist ${HOME}/.qmmp
468blacklist ${HOME}/.redeclipse 470blacklist ${HOME}/.redeclipse
469blacklist ${HOME}/.remmina 471blacklist ${HOME}/.remmina
470blacklist ${HOME}/.repo_.gitconfig.json 472blacklist ${HOME}/.repo_.gitconfig.json
diff --git a/etc/firefox-common.profile b/etc/firefox-common.profile
index 9ebcdba6c..b0de1f1a3 100644
--- a/etc/firefox-common.profile
+++ b/etc/firefox-common.profile
@@ -35,7 +35,8 @@ notv
35protocol unix,inet,inet6,netlink 35protocol unix,inet,inet6,netlink
36seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice 36seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice
37shell none 37shell none
38tracelog 38#disable tracelog, it breaks or causes major issues with many firefox based browsers, see github issue #1930
39#tracelog
39 40
40disable-mnt 41disable-mnt
41private-dev 42private-dev
diff --git a/etc/picard.profile b/etc/picard.profile
index 9e0d4ab55..484b0e6b2 100644
--- a/etc/picard.profile
+++ b/etc/picard.profile
@@ -9,7 +9,9 @@ noblacklist ${HOME}/.cache/MusicBrainz
9noblacklist ${HOME}/.config/MusicBrainz 9noblacklist ${HOME}/.config/MusicBrainz
10 10
11# Allow python (blacklisted by disable-interpreters.inc) 11# Allow python (blacklisted by disable-interpreters.inc)
12noblacklist ${PATH}/python2*
12noblacklist ${PATH}/python3* 13noblacklist ${PATH}/python3*
14noblacklist /usr/lib/python2*
13noblacklist /usr/lib/python3* 15noblacklist /usr/lib/python3*
14 16
15include /etc/firejail/disable-common.inc 17include /etc/firejail/disable-common.inc
diff --git a/etc/qmmp.profile b/etc/qmmp.profile
new file mode 100644
index 000000000..d785ddbbe
--- /dev/null
+++ b/etc/qmmp.profile
@@ -0,0 +1,34 @@
1# Firejail profile for qmmp
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/qmmp.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8noblacklist ${HOME}/.qmmp
9
10include /etc/firejail/disable-common.inc
11include /etc/firejail/disable-devel.inc
12include /etc/firejail/disable-passwdmgr.inc
13include /etc/firejail/disable-programs.inc
14
15caps.drop all
16netfilter
17# no3d
18nodbus
19nogroups
20nonewprivs
21noroot
22notv
23novideo
24protocol unix,inet,inet6
25seccomp
26shell none
27tracelog
28
29private-bin qmmp
30private-dev
31private-tmp
32
33noexec ${HOME}
34noexec /tmp
diff --git a/etc/sayonara.profile b/etc/sayonara.profile
new file mode 100644
index 000000000..756bd99eb
--- /dev/null
+++ b/etc/sayonara.profile
@@ -0,0 +1,33 @@
1# Firejail profile for sayonara player
2# This file is overwritten after every install/update
3# Persistent local customizations
4include /etc/firejail/sayonara.local
5# Persistent global definitions
6include /etc/firejail/globals.local
7
8noblacklist ${HOME}/.Sayonara
9
10include /etc/firejail/disable-common.inc
11include /etc/firejail/disable-devel.inc
12include /etc/firejail/disable-passwdmgr.inc
13include /etc/firejail/disable-programs.inc
14
15caps.drop all
16netfilter
17no3d
18nogroups
19nonewprivs
20noroot
21notv
22novideo
23protocol unix,inet,inet6
24seccomp
25shell none
26tracelog
27
28private-bin sayonara
29private-dev
30private-tmp
31
32noexec ${HOME}
33noexec /tmp
diff --git a/etc/torbrowser-launcher.profile b/etc/torbrowser-launcher.profile
index a63798731..a33707ee4 100644
--- a/etc/torbrowser-launcher.profile
+++ b/etc/torbrowser-launcher.profile
@@ -41,7 +41,7 @@ shell none
41tracelog 41tracelog
42 42
43disable-mnt 43disable-mnt
44private-bin bash,cp,dirname,env,expr,file,getconf,gpg,grep,id,ln,mkdir,python*,readlink,rm,sed,sh,tail,test,tor-browser-en,torbrowser-launcher 44private-bin bash,cp,dirname,env,expr,file,getconf,gpg,grep,id,ln,mkdir,python*,readlink,rm,sed,sh,tail,tclsh,test,tor-browser-en,torbrowser-launcher
45private-dev 45private-dev
46private-etc fonts,hostname,hosts,resolv.conf,pki,ssl,ca-certificates,crypto-policies,alsa,asound.conf,pulse,machine-id,ld.so.cache 46private-etc fonts,hostname,hosts,resolv.conf,pki,ssl,ca-certificates,crypto-policies,alsa,asound.conf,pulse,machine-id,ld.so.cache
47private-tmp 47private-tmp