diff options
author | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2020-07-25 09:56:08 +0200 |
---|---|---|
committer | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2020-07-25 09:56:08 +0200 |
commit | 32ed1ff248df5ac919226492df114cf506a6a72f (patch) | |
tree | 6f7d190d608867ad3cbd4a1df853384fea6a51c7 /etc | |
parent | Update virtualbox.profile (#3537) (diff) | |
download | firejail-32ed1ff248df5ac919226492df114cf506a6a72f.tar.gz firejail-32ed1ff248df5ac919226492df114cf506a6a72f.tar.zst firejail-32ed1ff248df5ac919226492df114cf506a6a72f.zip |
add newsflash profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 3 | ||||
-rw-r--r-- | etc/profile-a-l/com.gitlab.newsflash.profile | 5 | ||||
-rw-r--r-- | etc/profile-m-z/newsflash.profile | 60 |
3 files changed, 68 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index d59ce8c73..996f02577 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -301,6 +301,7 @@ blacklist ${HOME}/.config/nautilus | |||
301 | blacklist ${HOME}/.config/nemo | 301 | blacklist ${HOME}/.config/nemo |
302 | blacklist ${HOME}/.config/netsurf | 302 | blacklist ${HOME}/.config/netsurf |
303 | blacklist ${HOME}/.config/newsbeuter | 303 | blacklist ${HOME}/.config/newsbeuter |
304 | blacklist ${HOME}/.config/newsflash | ||
304 | blacklist ${HOME}/.config/nheko | 305 | blacklist ${HOME}/.config/nheko |
305 | blacklist ${HOME}/.config/NitroShare | 306 | blacklist ${HOME}/.config/NitroShare |
306 | blacklist ${HOME}/.config/nomacs | 307 | blacklist ${HOME}/.config/nomacs |
@@ -637,6 +638,7 @@ blacklist ${HOME}/.local/share/nautilus | |||
637 | blacklist ${HOME}/.local/share/nautilus-python | 638 | blacklist ${HOME}/.local/share/nautilus-python |
638 | blacklist ${HOME}/.local/share/nemo | 639 | blacklist ${HOME}/.local/share/nemo |
639 | blacklist ${HOME}/.local/share/nemo-python | 640 | blacklist ${HOME}/.local/share/nemo-python |
641 | blacklist ${HOME}/.local/share/news-flash | ||
640 | blacklist ${HOME}/.local/share/nomacs | 642 | blacklist ${HOME}/.local/share/nomacs |
641 | blacklist ${HOME}/.local/share/notes | 643 | blacklist ${HOME}/.local/share/notes |
642 | blacklist ${HOME}/.local/share/ocenaudio | 644 | blacklist ${HOME}/.local/share/ocenaudio |
@@ -809,6 +811,7 @@ blacklist ${HOME}/.cache/Ferdi | |||
809 | blacklist ${HOME}/.cache/Franz | 811 | blacklist ${HOME}/.cache/Franz |
810 | blacklist ${HOME}/.cache/INRIA | 812 | blacklist ${HOME}/.cache/INRIA |
811 | blacklist ${HOME}/.cache/MusicBrainz | 813 | blacklist ${HOME}/.cache/MusicBrainz |
814 | blacklist ${HOME}/.cache/NewsFlashGTK | ||
812 | blacklist ${HOME}/.cache/QuiteRss | 815 | blacklist ${HOME}/.cache/QuiteRss |
813 | blacklist ${HOME}/.cache/Shortwave | 816 | blacklist ${HOME}/.cache/Shortwave |
814 | blacklist ${HOME}/.cache/Tox | 817 | blacklist ${HOME}/.cache/Tox |
diff --git a/etc/profile-a-l/com.gitlab.newsflash.profile b/etc/profile-a-l/com.gitlab.newsflash.profile new file mode 100644 index 000000000..0628d3d01 --- /dev/null +++ b/etc/profile-a-l/com.gitlab.newsflash.profile | |||
@@ -0,0 +1,5 @@ | |||
1 | # Firejail profile alias for newsflash | ||
2 | # This file is overwritten after every install/update | ||
3 | |||
4 | # Redirect | ||
5 | include newsflash.profile | ||
diff --git a/etc/profile-m-z/newsflash.profile b/etc/profile-m-z/newsflash.profile new file mode 100644 index 000000000..d0ac83baf --- /dev/null +++ b/etc/profile-m-z/newsflash.profile | |||
@@ -0,0 +1,60 @@ | |||
1 | # Firejail profile for newsflash | ||
2 | # Description: Modern feed reader | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include newsflash.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/NewsFlashGTK | ||
10 | noblacklist ${HOME}/.config/news-flash | ||
11 | noblacklist ${HOME}/.local/share/news-flash | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-shell.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | mkdir ${HOME}/.cache/NewsFlashGTK | ||
23 | mkdir ${HOME}/.config/news-flash | ||
24 | mkdir ${HOME}/.local/share/news-flash | ||
25 | whitelist ${HOME}/.cache/NewsFlashGTK | ||
26 | whitelist ${HOME}/.config/news-flash | ||
27 | whitelist ${HOME}/.local/share/news-flash | ||
28 | include whitelist-common.inc | ||
29 | include whitelist-runuser-common.inc | ||
30 | include whitelist-usr-share-common.inc | ||
31 | include whitelist-var-common.inc | ||
32 | |||
33 | apparmor | ||
34 | caps.drop all | ||
35 | machine-id | ||
36 | netfilter | ||
37 | nodvd | ||
38 | nogroups | ||
39 | nonewprivs | ||
40 | noroot | ||
41 | nosound | ||
42 | notv | ||
43 | nou2f | ||
44 | novideo | ||
45 | protocol unix,inet,inet6 | ||
46 | seccomp | ||
47 | shell none | ||
48 | tracelog | ||
49 | |||
50 | disable-mnt | ||
51 | private-bin com.gitlab.newsflash,newsflash | ||
52 | private-cache | ||
53 | private-dev | ||
54 | private-etc ca-certificates,crypto-policies,dconf,fonts,gtk-3.0,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,nsswitch.conf,pango,pki,resolv.conf,ssl,X11 | ||
55 | private-tmp | ||
56 | |||
57 | dbus-user none | ||
58 | #dbus-user.own com.gitlab.newsflash | ||
59 | #dbus-user.talk org.freedesktop.Notifications | ||
60 | dbus-system none | ||