diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-m-z/qt5ct.profile | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index aa83691eb..c9e566948 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -613,6 +613,7 @@ blacklist ${HOME}/.config/qBittorrent | |||
613 | blacklist ${HOME}/.config/qBittorrentrc | 613 | blacklist ${HOME}/.config/qBittorrentrc |
614 | blacklist ${HOME}/.config/qnapi.ini | 614 | blacklist ${HOME}/.config/qnapi.ini |
615 | blacklist ${HOME}/.config/qpdfview | 615 | blacklist ${HOME}/.config/qpdfview |
616 | blacklist ${HOME}/.config/qt5ct | ||
616 | blacklist ${HOME}/.config/quodlibet | 617 | blacklist ${HOME}/.config/quodlibet |
617 | blacklist ${HOME}/.config/qupzilla | 618 | blacklist ${HOME}/.config/qupzilla |
618 | blacklist ${HOME}/.config/qutebrowser | 619 | blacklist ${HOME}/.config/qutebrowser |
@@ -1027,6 +1028,7 @@ blacklist ${HOME}/.local/share/psi | |||
1027 | blacklist ${HOME}/.local/share/psi+ | 1028 | blacklist ${HOME}/.local/share/psi+ |
1028 | blacklist ${HOME}/.local/share/qBittorrent | 1029 | blacklist ${HOME}/.local/share/qBittorrent |
1029 | blacklist ${HOME}/.local/share/qpdfview | 1030 | blacklist ${HOME}/.local/share/qpdfview |
1031 | blacklist ${HOME}/.local/share/qt5ct | ||
1030 | blacklist ${HOME}/.local/share/quadrapassel | 1032 | blacklist ${HOME}/.local/share/quadrapassel |
1031 | blacklist ${HOME}/.local/share/qutebrowser | 1033 | blacklist ${HOME}/.local/share/qutebrowser |
1032 | blacklist ${HOME}/.local/share/remmina | 1034 | blacklist ${HOME}/.local/share/remmina |
diff --git a/etc/profile-m-z/qt5ct.profile b/etc/profile-m-z/qt5ct.profile new file mode 100644 index 000000000..851dc651a --- /dev/null +++ b/etc/profile-m-z/qt5ct.profile | |||
@@ -0,0 +1,68 @@ | |||
1 | # Firejail profile for qt5ct | ||
2 | # Description: Qt5 Configuration Utility | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include qt5ct.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | blacklist /usr/libexec | ||
10 | |||
11 | noblacklist ${HOME}/.config/qt5ct | ||
12 | noblacklist ${HOME}/.local/share/qt5ct | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-proc.inc | ||
19 | include disable-programs.inc | ||
20 | include disable-shell.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.config/qt5ct | ||
24 | mkdir ${HOME}/.local/share/qt5ct | ||
25 | whitelist ${HOME}/.config/qt5ct | ||
26 | whitelist ${HOME}/.local/share/qt5ct | ||
27 | |||
28 | include whitelist-common.inc | ||
29 | include whitelist-run-common.inc | ||
30 | include whitelist-runuser-common.inc | ||
31 | include whitelist-usr-share-common.inc | ||
32 | include whitelist-var-common.inc | ||
33 | |||
34 | apparmor | ||
35 | caps.drop all | ||
36 | machine-id | ||
37 | net none | ||
38 | no3d | ||
39 | nodvd | ||
40 | nogroups | ||
41 | noinput | ||
42 | nonewprivs | ||
43 | noprinters | ||
44 | noroot | ||
45 | nosound | ||
46 | notv | ||
47 | nou2f | ||
48 | novideo | ||
49 | protocol unix | ||
50 | seccomp | ||
51 | seccomp.block-secondary | ||
52 | tracelog | ||
53 | |||
54 | disable-mnt | ||
55 | private-bin qt5ct | ||
56 | private-cache | ||
57 | private-dev | ||
58 | private-etc dbus-1,machine-id | ||
59 | private-tmp | ||
60 | |||
61 | dbus-user none | ||
62 | dbus-system none | ||
63 | |||
64 | memory-deny-write-execute | ||
65 | read-only ${HOME} | ||
66 | read-write ${HOME}/.config/qt5ct | ||
67 | read-write ${HOME}/.local/share/qt5ct | ||
68 | restrict-namespaces | ||