aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-common.inc2
-rw-r--r--etc/profile-a-l/apostrophe.profile1
-rw-r--r--etc/profile-a-l/audacity.profile2
-rw-r--r--etc/profile-a-l/fix-qdf.profile13
-rw-r--r--etc/profile-a-l/gimp.profile2
-rw-r--r--etc/profile-a-l/iagno.profile10
-rw-r--r--etc/profile-m-z/qpdf.profile68
-rw-r--r--etc/profile-m-z/rhythmbox.profile1
-rw-r--r--etc/profile-m-z/totem.profile2
-rw-r--r--etc/profile-m-z/zlib-flate.profile13
10 files changed, 109 insertions, 5 deletions
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc
index 81f417232..65159b951 100644
--- a/etc/inc/disable-common.inc
+++ b/etc/inc/disable-common.inc
@@ -168,8 +168,10 @@ blacklist ${HOME}/.local/share/systemd
168blacklist ${PATH}/systemctl 168blacklist ${PATH}/systemctl
169blacklist ${PATH}/systemd-run 169blacklist ${PATH}/systemd-run
170blacklist ${RUNUSER}/systemd 170blacklist ${RUNUSER}/systemd
171blacklist /etc/credstore*
171blacklist /etc/systemd/network 172blacklist /etc/systemd/network
172blacklist /etc/systemd/system 173blacklist /etc/systemd/system
174blacklist /run/credentials
173blacklist /var/lib/systemd 175blacklist /var/lib/systemd
174# creates problems on Arch where /etc/resolv.conf is a symlink to /var/run/systemd/resolve/resolv.conf 176# creates problems on Arch where /etc/resolv.conf is a symlink to /var/run/systemd/resolve/resolv.conf
175#blacklist /var/run/systemd 177#blacklist /var/run/systemd
diff --git a/etc/profile-a-l/apostrophe.profile b/etc/profile-a-l/apostrophe.profile
index 4ad6ac6bc..0655c2e6f 100644
--- a/etc/profile-a-l/apostrophe.profile
+++ b/etc/profile-a-l/apostrophe.profile
@@ -35,7 +35,6 @@ whitelist /usr/share/apostrophe
35whitelist /usr/share/texlive 35whitelist /usr/share/texlive
36whitelist /usr/share/texmf 36whitelist /usr/share/texmf
37whitelist /usr/share/pandoc-* 37whitelist /usr/share/pandoc-*
38whitelist /usr/share/perl5
39include whitelist-runuser-common.inc 38include whitelist-runuser-common.inc
40include whitelist-usr-share-common.inc 39include whitelist-usr-share-common.inc
41include whitelist-var-common.inc 40include whitelist-var-common.inc
diff --git a/etc/profile-a-l/audacity.profile b/etc/profile-a-l/audacity.profile
index 392b189f8..c2a482b61 100644
--- a/etc/profile-a-l/audacity.profile
+++ b/etc/profile-a-l/audacity.profile
@@ -50,7 +50,7 @@ tracelog
50 50
51private-bin audacity 51private-bin audacity
52private-dev 52private-dev
53private-etc @tls-ca,@x11 53private-etc @x11
54private-tmp 54private-tmp
55 55
56# problems on Fedora 27 56# problems on Fedora 27
diff --git a/etc/profile-a-l/fix-qdf.profile b/etc/profile-a-l/fix-qdf.profile
new file mode 100644
index 000000000..2dbb44e1d
--- /dev/null
+++ b/etc/profile-a-l/fix-qdf.profile
@@ -0,0 +1,13 @@
1# Firejail profile for fix-qdf
2# This file is overwritten after every install/update
3quiet
4# Persistent local customizations
5include fix-qdf.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10private-bin fix-qdf
11
12# Redirect
13include qpdf.profile
diff --git a/etc/profile-a-l/gimp.profile b/etc/profile-a-l/gimp.profile
index 717519112..6f350f8ac 100644
--- a/etc/profile-a-l/gimp.profile
+++ b/etc/profile-a-l/gimp.profile
@@ -59,7 +59,7 @@ seccomp !mbind
59tracelog 59tracelog
60 60
61private-dev 61private-dev
62private-etc @tls-ca,@x11,python* 62private-etc @x11,python*
63private-tmp 63private-tmp
64 64
65dbus-user none 65dbus-user none
diff --git a/etc/profile-a-l/iagno.profile b/etc/profile-a-l/iagno.profile
index e16f3f1d5..82cba7887 100644
--- a/etc/profile-a-l/iagno.profile
+++ b/etc/profile-a-l/iagno.profile
@@ -13,6 +13,13 @@ include disable-interpreters.inc
13include disable-programs.inc 13include disable-programs.inc
14include disable-shell.inc 14include disable-shell.inc
15 15
16whitelist ${HOME}/.local/share/glib-2.0/schemas
17include whitelist-common.inc
18
19include whitelist-runuser-common.inc
20whitelist /usr/share/iagno
21whitelist /usr/share/gdm
22include whitelist-usr-share-common.inc
16include whitelist-var-common.inc 23include whitelist-var-common.inc
17 24
18apparmor 25apparmor
@@ -28,11 +35,12 @@ nou2f
28novideo 35novideo
29protocol unix 36protocol unix
30seccomp 37seccomp
38seccomp.block-secondary
31 39
32disable-mnt 40disable-mnt
33private
34private-bin iagno 41private-bin iagno
35private-dev 42private-dev
43private-etc @x11,gconf
36private-tmp 44private-tmp
37 45
38# dbus-user none 46# dbus-user none
diff --git a/etc/profile-m-z/qpdf.profile b/etc/profile-m-z/qpdf.profile
new file mode 100644
index 000000000..0c1e09e92
--- /dev/null
+++ b/etc/profile-m-z/qpdf.profile
@@ -0,0 +1,68 @@
1# Firejail profile for qpdf
2# Description: A Content-Preserving PDF Transformation System
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include qpdf.local
7# Persistent global definitions
8include globals.local
9
10blacklist ${RUNUSER}/wayland-*
11
12noblacklist ${DOCUMENTS}
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-proc.inc
19include disable-programs.inc
20include disable-shell.inc
21include disable-X11.inc
22include disable-xdg.inc
23
24whitelist ${DOCUMENTS}
25whitelist ${DOWNLOADS}
26include whitelist-common.inc
27include whitelist-run-common.inc
28include whitelist-runuser-common.inc
29include whitelist-usr-share-common.inc
30include whitelist-var-common.inc
31
32apparmor
33caps.drop all
34hostname qpdf
35ipc-namespace
36machine-id
37net none
38no3d
39nodvd
40nogroups
41noinput
42nonewprivs
43noprinters
44noroot
45nosound
46notv
47nou2f
48novideo
49# block the socket syscall to simulate an be empty protocol line, see #639
50seccomp socket
51tracelog
52x11 none
53
54private-bin qpdf
55private-cache
56private-dev
57private-etc
58private-lib libqpdf.so.*
59#private-tmp # breaks on Arch Linux
60
61dbus-user none
62dbus-system none
63
64memory-deny-write-execute
65restrict-namespaces
66read-only ${HOME}
67read-write ${DOCUMENTS}
68read-write ${DOWNLOADS}
diff --git a/etc/profile-m-z/rhythmbox.profile b/etc/profile-m-z/rhythmbox.profile
index dccd93429..77c032a53 100644
--- a/etc/profile-m-z/rhythmbox.profile
+++ b/etc/profile-m-z/rhythmbox.profile
@@ -51,6 +51,7 @@ tracelog
51private-bin rhythmbox,rhythmbox-client 51private-bin rhythmbox,rhythmbox-client
52private-cache 52private-cache
53private-dev 53private-dev
54private-etc @tls-ca,@x11,python*
54private-tmp 55private-tmp
55 56
56dbus-user filter 57dbus-user filter
diff --git a/etc/profile-m-z/totem.profile b/etc/profile-m-z/totem.profile
index e21d37040..a4cb49171 100644
--- a/etc/profile-m-z/totem.profile
+++ b/etc/profile-m-z/totem.profile
@@ -51,7 +51,7 @@ private-bin totem
51# totem needs access to ~/.cache/tracker or it exits 51# totem needs access to ~/.cache/tracker or it exits
52#private-cache 52#private-cache
53private-dev 53private-dev
54# private-etc alternatives,asound.conf,ca-certificates,crypto-policies,fonts,machine-id,pki,pulse,ssl 54private-etc @tls-ca,@x11,python*
55private-tmp 55private-tmp
56 56
57# makes settings immutable 57# makes settings immutable
diff --git a/etc/profile-m-z/zlib-flate.profile b/etc/profile-m-z/zlib-flate.profile
new file mode 100644
index 000000000..48a2c9845
--- /dev/null
+++ b/etc/profile-m-z/zlib-flate.profile
@@ -0,0 +1,13 @@
1# Firejail profile for zlib-flate
2# This file is overwritten after every install/update
3quiet
4# Persistent local customizations
5include zlib-flate.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10private-bin zlib-flate
11
12# Redirect
13include qpdf.profile