diff options
author | 2023-01-15 09:24:12 -0500 | |
---|---|---|
committer | 2023-01-15 09:24:12 -0500 | |
commit | 8a7fc9988aca96e20e89820907e17c236b02e011 (patch) | |
tree | 98da78b2ad398d1aedf851b683a5287cb5fdb06c /etc | |
parent | RELNOTES: add related PR to --apparmor= item (diff) | |
parent | Merge branch 'netblue30:master' into linuxqq (diff) | |
download | firejail-8a7fc9988aca96e20e89820907e17c236b02e011.tar.gz firejail-8a7fc9988aca96e20e89820907e17c236b02e011.tar.zst firejail-8a7fc9988aca96e20e89820907e17c236b02e011.zip |
Merge pull request #5563 from glitsj16/linuxqq
New profiles: linuxqq/qq
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-a-l/linuxqq.profile | 43 | ||||
-rw-r--r-- | etc/profile-m-z/qq.profile | 11 |
3 files changed, 55 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 5e253f232..7d7f84d4b 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -320,6 +320,7 @@ blacklist ${HOME}/.config/Philipp Schmieder | |||
320 | blacklist ${HOME}/.config/Pinta | 320 | blacklist ${HOME}/.config/Pinta |
321 | blacklist ${HOME}/.config/QGIS | 321 | blacklist ${HOME}/.config/QGIS |
322 | blacklist ${HOME}/.config/QMediathekView | 322 | blacklist ${HOME}/.config/QMediathekView |
323 | blacklist ${HOME}/.config/QQ | ||
323 | blacklist ${HOME}/.config/Qlipper | 324 | blacklist ${HOME}/.config/Qlipper |
324 | blacklist ${HOME}/.config/QuiteRss | 325 | blacklist ${HOME}/.config/QuiteRss |
325 | blacklist ${HOME}/.config/QuiteRssrc | 326 | blacklist ${HOME}/.config/QuiteRssrc |
diff --git a/etc/profile-a-l/linuxqq.profile b/etc/profile-a-l/linuxqq.profile new file mode 100644 index 000000000..8855f09f5 --- /dev/null +++ b/etc/profile-a-l/linuxqq.profile | |||
@@ -0,0 +1,43 @@ | |||
1 | # Firejail profile for linuxqq | ||
2 | # Description: IM client based on Electron | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include linuxqq.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/QQ | ||
10 | noblacklist ${HOME}/.mozilla | ||
11 | |||
12 | include allow-bin-sh.inc | ||
13 | |||
14 | include disable-shell.inc | ||
15 | |||
16 | mkdir ${HOME}/.config/QQ | ||
17 | whitelist ${HOME}/.config/QQ | ||
18 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
19 | whitelist ${DESKTOP} | ||
20 | |||
21 | ignore apparmor | ||
22 | noprinters | ||
23 | |||
24 | # If you don't need/want to save anything to disk you can add `private` to your linuxqq.local. | ||
25 | #private | ||
26 | private-etc alsa,alternatives,ca-certificates,crypto-policies,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,login.defs,machine-id,nsswitch.conf,os-release,passwd,pki,pulse,resolv.conf,ssl,xdg | ||
27 | private-opt QQ | ||
28 | |||
29 | dbus-user filter | ||
30 | dbus-user.talk org.freedesktop.Notifications | ||
31 | dbus-user.talk org.freedesktop.portal.Desktop | ||
32 | dbus-user.talk org.freedesktop.portal.Fcitx | ||
33 | dbus-user.talk org.freedesktop.portal.IBus | ||
34 | dbus-user.talk org.freedesktop.ScreenSaver | ||
35 | dbus-user.talk org.gnome.Mutter.IdleMonitor | ||
36 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher | ||
37 | dbus-user.talk org.mozilla.* | ||
38 | ignore dbus-user none | ||
39 | |||
40 | read-only ${HOME}/.mozilla/firefox/profiles.ini | ||
41 | |||
42 | # Redirect | ||
43 | include electron.profile | ||
diff --git a/etc/profile-m-z/qq.profile b/etc/profile-m-z/qq.profile new file mode 100644 index 000000000..bf031471e --- /dev/null +++ b/etc/profile-m-z/qq.profile | |||
@@ -0,0 +1,11 @@ | |||
1 | # Firejail profile for qq | ||
2 | # Description: IM client based on Electron | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include qq.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | # Redirect | ||
11 | include linuxqq.profile | ||