aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2017-08-22 01:54:31 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2017-08-22 01:54:31 +0200
commitf12c7af205ddd6c0d75587702f01688dc62a86c5 (patch)
tree853df0cb54dee640560b1832c14644df0ec18293 /etc
parenttesting (diff)
downloadfirejail-f12c7af205ddd6c0d75587702f01688dc62a86c5.tar.gz
firejail-f12c7af205ddd6c0d75587702f01688dc62a86c5.tar.zst
firejail-f12c7af205ddd6c0d75587702f01688dc62a86c5.zip
various profile fixes
Diffstat (limited to 'etc')
-rw-r--r--etc/atril.profile9
-rw-r--r--etc/audacious.profile3
-rw-r--r--etc/audacity.profile1
-rw-r--r--etc/engrampa.profile7
-rw-r--r--etc/eog.profile2
-rw-r--r--etc/eom.profile4
-rw-r--r--etc/file-roller.profile2
-rw-r--r--etc/fossamail.profile5
-rw-r--r--etc/gedit.profile3
-rw-r--r--etc/goobox.profile2
-rw-r--r--etc/handbrake.profile1
-rw-r--r--etc/konversation.profile1
-rw-r--r--etc/mediathekview.profile3
-rw-r--r--etc/pluma.profile9
-rw-r--r--etc/qpdfview.profile3
-rw-r--r--etc/scribus.profile1
-rw-r--r--etc/simple-scan.profile2
-rw-r--r--etc/skanlite.profile2
-rw-r--r--etc/vlc.profile1
-rw-r--r--etc/xed.profile9
-rw-r--r--etc/xfburn.profile2
-rw-r--r--etc/xplayer.profile5
-rw-r--r--etc/xreader.profile12
-rw-r--r--etc/xviewer.profile5
24 files changed, 76 insertions, 18 deletions
diff --git a/etc/atril.profile b/etc/atril.profile
index 7109d343e..6b0eed2db 100644
--- a/etc/atril.profile
+++ b/etc/atril.profile
@@ -14,6 +14,7 @@ include /etc/firejail/disable-passwdmgr.inc
14include /etc/firejail/disable-programs.inc 14include /etc/firejail/disable-programs.inc
15 15
16caps.drop all 16caps.drop all
17no3d
17nodvd 18nodvd
18nogroups 19nogroups
19nonewprivs 20nonewprivs
@@ -28,4 +29,10 @@ tracelog
28 29
29private-bin atril, atril-previewer, atril-thumbnailer 30private-bin atril, atril-previewer, atril-thumbnailer
30private-dev 31private-dev
31private-tmp 32private-etc fonts
33# atril needs access to /tmp/mozilla* to work in firefox
34# private-tmp
35
36memory-deny-write-execute
37noexec ${HOME}
38noexec /tmp
diff --git a/etc/audacious.profile b/etc/audacious.profile
index 3baa0ddba..eddc100ca 100644
--- a/etc/audacious.profile
+++ b/etc/audacious.profile
@@ -25,4 +25,7 @@ shell none
25tracelog 25tracelog
26 26
27private-bin audacious 27private-bin audacious
28private-dev
28private-tmp 29private-tmp
30
31memory-deny-write-execute
diff --git a/etc/audacity.profile b/etc/audacity.profile
index b5a15b04c..9fbc2b16d 100644
--- a/etc/audacity.profile
+++ b/etc/audacity.profile
@@ -30,5 +30,6 @@ private-bin audacity
30private-dev 30private-dev
31private-tmp 31private-tmp
32 32
33memory-deny-write-execute
33noexec ${HOME} 34noexec ${HOME}
34noexec /tmp 35noexec /tmp
diff --git a/etc/engrampa.profile b/etc/engrampa.profile
index e10fd6084..7bc5e7481 100644
--- a/etc/engrampa.profile
+++ b/etc/engrampa.profile
@@ -12,7 +12,8 @@ include /etc/firejail/disable-passwdmgr.inc
12include /etc/firejail/disable-programs.inc 12include /etc/firejail/disable-programs.inc
13 13
14caps.drop all 14caps.drop all
15netfilter 15# net none - makes settings immutable
16no3d
16nodvd 17nodvd
17nogroups 18nogroups
18nonewprivs 19nonewprivs
@@ -29,3 +30,7 @@ tracelog
29private-dev 30private-dev
30# private-etc fonts 31# private-etc fonts
31# private-tmp 32# private-tmp
33
34memory-deny-write-execute
35noexec ${HOME}
36noexec /tmp
diff --git a/etc/eog.profile b/etc/eog.profile
index 54d5a1a88..e5161b313 100644
--- a/etc/eog.profile
+++ b/etc/eog.profile
@@ -16,7 +16,7 @@ include /etc/firejail/disable-passwdmgr.inc
16include /etc/firejail/disable-programs.inc 16include /etc/firejail/disable-programs.inc
17 17
18caps.drop all 18caps.drop all
19net none 19# net none - makes settings immutable
20no3d 20no3d
21nodvd 21nodvd
22nogroups 22nogroups
diff --git a/etc/eom.profile b/etc/eom.profile
index 6fd069b5c..3fb1fcaf4 100644
--- a/etc/eom.profile
+++ b/etc/eom.profile
@@ -16,6 +16,8 @@ include /etc/firejail/disable-passwdmgr.inc
16include /etc/firejail/disable-programs.inc 16include /etc/firejail/disable-programs.inc
17 17
18caps.drop all 18caps.drop all
19# net none - makes settings immutable
20no3d
19nodvd 21nodvd
20nogroups 22nogroups
21nonewprivs 23nonewprivs
@@ -30,7 +32,9 @@ tracelog
30 32
31private-bin eom 33private-bin eom
32private-dev 34private-dev
35private-etc fonts
33private-tmp 36private-tmp
34 37
38memory-deny-write-execute
35noexec ${HOME} 39noexec ${HOME}
36noexec /tmp 40noexec /tmp
diff --git a/etc/file-roller.profile b/etc/file-roller.profile
index 1ecb3c632..8484aa162 100644
--- a/etc/file-roller.profile
+++ b/etc/file-roller.profile
@@ -12,7 +12,7 @@ include /etc/firejail/disable-passwdmgr.inc
12include /etc/firejail/disable-programs.inc 12include /etc/firejail/disable-programs.inc
13 13
14caps.drop all 14caps.drop all
15net none 15# net none - makes settings immutable
16no3d 16no3d
17nodvd 17nodvd
18nogroups 18nogroups
diff --git a/etc/fossamail.profile b/etc/fossamail.profile
index 74073d8d1..cef522c53 100644
--- a/etc/fossamail.profile
+++ b/etc/fossamail.profile
@@ -17,7 +17,6 @@ whitelist ~/.fossamail
17whitelist ~/.gnupg 17whitelist ~/.gnupg
18include /etc/firejail/whitelist-common.inc 18include /etc/firejail/whitelist-common.inc
19 19
20nodvd 20# allow browsers
21notv 21# Redirect
22
23include /etc/firejail/firefox.profile 22include /etc/firejail/firefox.profile
diff --git a/etc/gedit.profile b/etc/gedit.profile
index 418575e09..3d7af1496 100644
--- a/etc/gedit.profile
+++ b/etc/gedit.profile
@@ -15,7 +15,7 @@ include /etc/firejail/disable-passwdmgr.inc
15include /etc/firejail/disable-programs.inc 15include /etc/firejail/disable-programs.inc
16 16
17caps.drop all 17caps.drop all
18net none 18# net none - makes settings immutable
19no3d 19no3d
20nodvd 20nodvd
21nogroups 21nogroups
@@ -23,6 +23,7 @@ nonewprivs
23noroot 23noroot
24nosound 24nosound
25notv 25notv
26novideo
26protocol unix 27protocol unix
27seccomp 28seccomp
28shell none 29shell none
diff --git a/etc/goobox.profile b/etc/goobox.profile
index 9bedaa431..60ffe0594 100644
--- a/etc/goobox.profile
+++ b/etc/goobox.profile
@@ -13,11 +13,11 @@ include /etc/firejail/disable-programs.inc
13 13
14caps.drop all 14caps.drop all
15netfilter 15netfilter
16nodvd
17nogroups 16nogroups
18nonewprivs 17nonewprivs
19noroot 18noroot
20notv 19notv
20novideo
21protocol unix 21protocol unix
22seccomp 22seccomp
23shell none 23shell none
diff --git a/etc/handbrake.profile b/etc/handbrake.profile
index 2b32abca6..2b33051e2 100644
--- a/etc/handbrake.profile
+++ b/etc/handbrake.profile
@@ -18,7 +18,6 @@ nogroups
18nonewprivs 18nonewprivs
19noroot 19noroot
20nosound 20nosound
21notv
22novideo 21novideo
23protocol unix,inet,inet6,netlink 22protocol unix,inet,inet6,netlink
24seccomp 23seccomp
diff --git a/etc/konversation.profile b/etc/konversation.profile
index 212aa8817..1a08c3d83 100644
--- a/etc/konversation.profile
+++ b/etc/konversation.profile
@@ -23,4 +23,5 @@ protocol unix,inet,inet6
23seccomp 23seccomp
24tracelog 24tracelog
25 25
26private-dev
26private-tmp 27private-tmp
diff --git a/etc/mediathekview.profile b/etc/mediathekview.profile
index b90e21e66..1cda5022d 100644
--- a/etc/mediathekview.profile
+++ b/etc/mediathekview.profile
@@ -9,8 +9,10 @@ noblacklist ~/.config/mpv
9noblacklist ~/.config/smplayer 9noblacklist ~/.config/smplayer
10noblacklist ~/.config/totem 10noblacklist ~/.config/totem
11noblacklist ~/.config/vlc 11noblacklist ~/.config/vlc
12noblacklist ~/.config/xplayer
12noblacklist ~/.java 13noblacklist ~/.java
13noblacklist ~/.local/share/totem 14noblacklist ~/.local/share/totem
15noblacklist ~/.local/share/xplayer
14noblacklist ~/.mediathek3 16noblacklist ~/.mediathek3
15noblacklist ~/.mplayer 17noblacklist ~/.mplayer
16 18
@@ -22,6 +24,7 @@ include /etc/firejail/disable-programs.inc
22caps.drop all 24caps.drop all
23netfilter 25netfilter
24nodvd 26nodvd
27nogroups
25nonewprivs 28nonewprivs
26noroot 29noroot
27notv 30notv
diff --git a/etc/pluma.profile b/etc/pluma.profile
index d17a64d1d..718dee440 100644
--- a/etc/pluma.profile
+++ b/etc/pluma.profile
@@ -13,17 +13,24 @@ include /etc/firejail/disable-passwdmgr.inc
13include /etc/firejail/disable-programs.inc 13include /etc/firejail/disable-programs.inc
14 14
15caps.drop all 15caps.drop all
16net none 16# net none - makes settings immutable
17no3d
17nodvd 18nodvd
18nogroups 19nogroups
19nonewprivs 20nonewprivs
20noroot 21noroot
21nosound 22nosound
22notv 23notv
24novideo
25protocol unix
23seccomp 26seccomp
24shell none 27shell none
25tracelog 28tracelog
26 29
27private-bin pluma 30private-bin pluma
28private-dev 31private-dev
32# private-etc fonts
29private-tmp 33private-tmp
34
35noexec ${HOME}
36noexec /tmp
diff --git a/etc/qpdfview.profile b/etc/qpdfview.profile
index 2c652c688..7d69f38f9 100644
--- a/etc/qpdfview.profile
+++ b/etc/qpdfview.profile
@@ -21,6 +21,7 @@ nonewprivs
21noroot 21noroot
22nosound 22nosound
23notv 23notv
24novideo
24protocol unix 25protocol unix
25seccomp 26seccomp
26shell none 27shell none
@@ -29,3 +30,5 @@ tracelog
29private-bin qpdfview 30private-bin qpdfview
30private-dev 31private-dev
31private-tmp 32private-tmp
33
34memory-deny-write-execute
diff --git a/etc/scribus.profile b/etc/scribus.profile
index acd6b2239..e4c88be49 100644
--- a/etc/scribus.profile
+++ b/etc/scribus.profile
@@ -28,6 +28,7 @@ include /etc/firejail/disable-programs.inc
28 28
29caps.drop all 29caps.drop all
30nodvd 30nodvd
31nogroups
31nonewprivs 32nonewprivs
32noroot 33noroot
33nosound 34nosound
diff --git a/etc/simple-scan.profile b/etc/simple-scan.profile
index de43f2a56..edd4db861 100644
--- a/etc/simple-scan.profile
+++ b/etc/simple-scan.profile
@@ -20,7 +20,7 @@ nonewprivs
20noroot 20noroot
21nosound 21nosound
22notv 22notv
23novideo 23# novideo
24protocol unix,inet,inet6,netlink 24protocol unix,inet,inet6,netlink
25# simple-scan makes ioperm system calls, which are blacklisted by default. 25# simple-scan makes ioperm system calls, which are blacklisted by default.
26seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@reboot,@resources,@swap,acct,add_key,bpf,chroot,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,iopl,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,pciconfig_iobase,pciconfig_read,pciconfig_write,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,s390_mmio_read,s390_mmio_write,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice 26seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@reboot,@resources,@swap,acct,add_key,bpf,chroot,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,iopl,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,pciconfig_iobase,pciconfig_read,pciconfig_write,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,s390_mmio_read,s390_mmio_write,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice
diff --git a/etc/skanlite.profile b/etc/skanlite.profile
index 1d590a142..1a53cc71c 100644
--- a/etc/skanlite.profile
+++ b/etc/skanlite.profile
@@ -20,7 +20,7 @@ nonewprivs
20noroot 20noroot
21nosound 21nosound
22notv 22notv
23novideo 23# novideo
24protocol unix,netlink 24protocol unix,netlink
25# skanlite makes ioperm system calls, which are blacklisted by default. 25# skanlite makes ioperm system calls, which are blacklisted by default.
26seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@reboot,@resources,@swap,acct,add_key,bpf,chroot,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,iopl,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,pciconfig_iobase,pciconfig_read,pciconfig_write,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,s390_mmio_read,s390_mmio_write,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice 26seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@reboot,@resources,@swap,acct,add_key,bpf,chroot,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,iopl,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,pciconfig_iobase,pciconfig_read,pciconfig_write,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,s390_mmio_read,s390_mmio_write,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice
diff --git a/etc/vlc.profile b/etc/vlc.profile
index a41f367dd..01ddfa8a9 100644
--- a/etc/vlc.profile
+++ b/etc/vlc.profile
@@ -25,5 +25,6 @@ private-bin vlc,cvlc,nvlc,rvlc,qvlc,svlc
25private-dev 25private-dev
26private-tmp 26private-tmp
27 27
28# memory-deny-write-execute
28noexec ${HOME} 29noexec ${HOME}
29noexec /tmp 30noexec /tmp
diff --git a/etc/xed.profile b/etc/xed.profile
index 758fb5526..42a42ef5f 100644
--- a/etc/xed.profile
+++ b/etc/xed.profile
@@ -13,17 +13,24 @@ include /etc/firejail/disable-passwdmgr.inc
13include /etc/firejail/disable-programs.inc 13include /etc/firejail/disable-programs.inc
14 14
15caps.drop all 15caps.drop all
16net none 16# net none - makes settings immutable
17no3d
17nodvd 18nodvd
18nogroups 19nogroups
19nonewprivs 20nonewprivs
20noroot 21noroot
21nosound 22nosound
22notv 23notv
24novideo
25protocol unix
23seccomp 26seccomp
24shell none 27shell none
25tracelog 28tracelog
26 29
27private-bin xed 30private-bin xed
28private-dev 31private-dev
32# private-etc fonts
29private-tmp 33private-tmp
34
35noexec ${HOME}
36noexec /tmp
diff --git a/etc/xfburn.profile b/etc/xfburn.profile
index e80685f0e..ec1aca75f 100644
--- a/etc/xfburn.profile
+++ b/etc/xfburn.profile
@@ -14,12 +14,12 @@ include /etc/firejail/disable-programs.inc
14 14
15caps.drop all 15caps.drop all
16netfilter 16netfilter
17nodvd
18nogroups 17nogroups
19nonewprivs 18nonewprivs
20noroot 19noroot
21nosound 20nosound
22notv 21notv
22novideo
23protocol unix 23protocol unix
24seccomp 24seccomp
25shell none 25shell none
diff --git a/etc/xplayer.profile b/etc/xplayer.profile
index 0722768d1..5c845e977 100644
--- a/etc/xplayer.profile
+++ b/etc/xplayer.profile
@@ -18,7 +18,6 @@ netfilter
18nogroups 18nogroups
19nonewprivs 19nonewprivs
20noroot 20noroot
21notv
22protocol unix,inet,inet6 21protocol unix,inet,inet6
23seccomp 22seccomp
24shell none 23shell none
@@ -26,4 +25,8 @@ tracelog
26 25
27private-bin xplayer,xplayer-audio-preview,xplayer-video-thumbnailer 26private-bin xplayer,xplayer-audio-preview,xplayer-video-thumbnailer
28private-dev 27private-dev
28# private-etc fonts
29private-tmp 29private-tmp
30
31noexec ${HOME}
32noexec /tmp
diff --git a/etc/xreader.profile b/etc/xreader.profile
index 107cefe5e..615256102 100644
--- a/etc/xreader.profile
+++ b/etc/xreader.profile
@@ -15,17 +15,25 @@ include /etc/firejail/disable-passwdmgr.inc
15include /etc/firejail/disable-programs.inc 15include /etc/firejail/disable-programs.inc
16 16
17caps.drop all 17caps.drop all
18no3d
18nodvd 19nodvd
19nogroups 20nogroups
20nonewprivs 21nonewprivs
21noroot 22noroot
22nosound 23nosound
23notv 24notv
25novideo
24protocol unix 26protocol unix
25seccomp 27seccomp
26shell none 28shell none
27tracelog 29tracelog
28 30
29private-bin xreader, xreader-previewer, xreader-thumbnailer 31private-bin xreader,xreader-previewer,xreader-thumbnailer
30private-dev 32private-dev
31private-tmp 33private-etc fonts
34# xreader needs access to /tmp/mozilla* to work in firefox
35# private-tmp
36
37memory-deny-write-execute
38noexec ${HOME}
39noexec /tmp
diff --git a/etc/xviewer.profile b/etc/xviewer.profile
index 70ad3b895..b9ff3948a 100644
--- a/etc/xviewer.profile
+++ b/etc/xviewer.profile
@@ -16,12 +16,15 @@ include /etc/firejail/disable-passwdmgr.inc
16include /etc/firejail/disable-programs.inc 16include /etc/firejail/disable-programs.inc
17 17
18caps.drop all 18caps.drop all
19# net none - makes settings immutable
20no3d
19nodvd 21nodvd
20nogroups 22nogroups
21nonewprivs 23nonewprivs
22noroot 24noroot
23nosound 25nosound
24notv 26notv
27novideo
25protocol unix 28protocol unix
26seccomp 29seccomp
27shell none 30shell none
@@ -29,7 +32,9 @@ tracelog
29 32
30private-bin xviewer 33private-bin xviewer
31private-dev 34private-dev
35private-etc fonts
32private-tmp 36private-tmp
33 37
38memory-deny-write-execute
34noexec ${HOME} 39noexec ${HOME}
35noexec /tmp 40noexec /tmp