diff options
author | rusty-snake <print_hello_world+Public@protonmail.com> | 2020-03-20 11:16:00 +0100 |
---|---|---|
committer | rusty-snake <print_hello_world+Public@protonmail.com> | 2020-03-22 13:20:55 +0100 |
commit | 05819c05840054cb587b8d307b51b1273df55e9e (patch) | |
tree | 18f9e1cf8aac7a1da1b73b5601af08994167b1d1 /etc | |
parent | iagno profile (diff) | |
download | firejail-05819c05840054cb587b8d307b51b1273df55e9e.tar.gz firejail-05819c05840054cb587b8d307b51b1273df55e9e.tar.zst firejail-05819c05840054cb587b8d307b51b1273df55e9e.zip |
new profiles: agenda, gnome-pomodoro, gnome-todo
rules for xdg-dbus-proxy:
dbus-user filter
dbus-user.own org.gnome.Pomodoro
dbus-user.talk ca.desrt.dconf
dbus-user.talk org.gnome.Shell
dbus-system none
dbus-user filter
dbus-user.own org.gnome.Todo
dbus-user.talk ca.desrt.dconf
dbus-user.talk org.gnome.evolution.dataserver.AddressBook9
dbus-user.talk org.gnome.evolution.dataserver.Calendar8
dbus-user.talk org.gnome.evolution.dataserver.Sources5
dbus-user.talk org.gnome.evolution.dataserver.Subprocess.Backend.*
dbus-user.talk org.gnome.OnlineAccounts
dbus-user.talk org.gnome.SettingsDaemon.Color
dbus-system filter
dbus-system.talk org.freedesktop.login1
dbus-user filter
dbus.own com.github.dahenson.agenda
dbus.talk ca.desrt.dconf
dbus-system block
Diffstat (limited to 'etc')
-rw-r--r-- | etc/com.github.dahenson.agenda.profile | 60 | ||||
-rw-r--r-- | etc/disable-programs.inc | 4 | ||||
-rw-r--r-- | etc/gnome-pomodoro.profile | 51 | ||||
-rw-r--r-- | etc/gnome-todo.profile | 51 | ||||
-rw-r--r-- | etc/lrzuntar.profile | 1 |
5 files changed, 166 insertions, 1 deletions
diff --git a/etc/com.github.dahenson.agenda.profile b/etc/com.github.dahenson.agenda.profile new file mode 100644 index 000000000..ea5370649 --- /dev/null +++ b/etc/com.github.dahenson.agenda.profile | |||
@@ -0,0 +1,60 @@ | |||
1 | # Firejail profile for com.github.dahenson.agenda | ||
2 | # Description: Simple, fast, no-nonsense to-do (task) list | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include com.github.dahenson.agenda.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.cache/agenda | ||
10 | noblacklist ${HOME}/.config/agenda | ||
11 | noblacklist ${HOME}/.local/share/agenda | ||
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-xdg.inc | ||
20 | |||
21 | mkdir ${HOME}/.cache/agenda | ||
22 | mkdir ${HOME}/.config/agenda | ||
23 | mkdir ${HOME}/.local/share/agenda | ||
24 | whitelist ${HOME}/.cache/agenda | ||
25 | whitelist ${HOME}/.config/agenda | ||
26 | whitelist ${HOME}/.local/share/agenda | ||
27 | include whitelist-common.inc | ||
28 | include whitelist-usr-share-common.inc | ||
29 | include whitelist-runuser-common.inc | ||
30 | include whitelist-var-common.inc | ||
31 | |||
32 | apparmor | ||
33 | caps.drop all | ||
34 | machine-id | ||
35 | net none | ||
36 | no3d | ||
37 | nodvd | ||
38 | nogroups | ||
39 | nonewprivs | ||
40 | noroot | ||
41 | nosound | ||
42 | notv | ||
43 | nou2f | ||
44 | novideo | ||
45 | protocol unix | ||
46 | seccomp | ||
47 | shell none | ||
48 | tracelog | ||
49 | |||
50 | disable-mnt | ||
51 | private-bin com.github.dahenson.agenda | ||
52 | private-cache | ||
53 | private-dev | ||
54 | private-etc dconf,fonts,gtk-3.0 | ||
55 | private-tmp | ||
56 | |||
57 | read-only ${HOME} | ||
58 | read-write ${HOME}/.cache/agenda | ||
59 | read-write ${HOME}/.config/agenda | ||
60 | read-write ${HOME}/.local/share/agenda | ||
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index b54c1cce3..0b00947f5 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -116,6 +116,7 @@ blacklist ${HOME}/.config/Thunar | |||
116 | blacklist ${HOME}/.config/VirtualBox | 116 | blacklist ${HOME}/.config/VirtualBox |
117 | blacklist ${HOME}/.config/Wire | 117 | blacklist ${HOME}/.config/Wire |
118 | blacklist ${HOME}/.config/Zeal | 118 | blacklist ${HOME}/.config/Zeal |
119 | blacklist ${HOME}/.config/agenda | ||
119 | blacklist ${HOME}/.config/akonadi* | 120 | blacklist ${HOME}/.config/akonadi* |
120 | blacklist ${HOME}/.config/akregatorrc | 121 | blacklist ${HOME}/.config/akregatorrc |
121 | blacklist ${HOME}/.config/ardour4 | 122 | blacklist ${HOME}/.config/ardour4 |
@@ -497,6 +498,7 @@ blacklist ${HOME}/.local/share/TpLogger | |||
497 | blacklist ${HOME}/.local/share/Zeal | 498 | blacklist ${HOME}/.local/share/Zeal |
498 | blacklist ${HOME}/.local/share/akonadi* | 499 | blacklist ${HOME}/.local/share/akonadi* |
499 | blacklist ${HOME}/.local/share/akregator | 500 | blacklist ${HOME}/.local/share/akregator |
501 | blacklist ${HOME}/.local/share/agenda | ||
500 | blacklist ${HOME}/.local/share/apps/korganizer | 502 | blacklist ${HOME}/.local/share/apps/korganizer |
501 | blacklist ${HOME}/.local/share/aspyr-media | 503 | blacklist ${HOME}/.local/share/aspyr-media |
502 | blacklist ${HOME}/.local/share/autokey | 504 | blacklist ${HOME}/.local/share/autokey |
@@ -534,6 +536,7 @@ blacklist ${HOME}/.local/share/gnome-builder | |||
534 | blacklist ${HOME}/.local/share/gnome-latex | 536 | blacklist ${HOME}/.local/share/gnome-latex |
535 | blacklist ${HOME}/.local/share/gnome-music | 537 | blacklist ${HOME}/.local/share/gnome-music |
536 | blacklist ${HOME}/.local/share/gnome-photos | 538 | blacklist ${HOME}/.local/share/gnome-photos |
539 | blacklist ${HOME}/.local/share/gnome-pomodoro | ||
537 | blacklist ${HOME}/.local/share/gnome-recipes | 540 | blacklist ${HOME}/.local/share/gnome-recipes |
538 | blacklist ${HOME}/.local/share/gnome-ring | 541 | blacklist ${HOME}/.local/share/gnome-ring |
539 | blacklist ${HOME}/.local/share/gnome-twitch | 542 | blacklist ${HOME}/.local/share/gnome-twitch |
@@ -729,6 +732,7 @@ blacklist ${HOME}/.cache/MusicBrainz | |||
729 | blacklist ${HOME}/.cache/QuiteRss | 732 | blacklist ${HOME}/.cache/QuiteRss |
730 | blacklist ${HOME}/.cache/Tox | 733 | blacklist ${HOME}/.cache/Tox |
731 | blacklist ${HOME}/.cache/Zeal | 734 | blacklist ${HOME}/.cache/Zeal |
735 | blacklist ${HOME}/.cache/agenda | ||
732 | blacklist ${HOME}/.cache/akonadi* | 736 | blacklist ${HOME}/.cache/akonadi* |
733 | blacklist ${HOME}/.cache/atril | 737 | blacklist ${HOME}/.cache/atril |
734 | blacklist ${HOME}/.cache/attic | 738 | blacklist ${HOME}/.cache/attic |
diff --git a/etc/gnome-pomodoro.profile b/etc/gnome-pomodoro.profile new file mode 100644 index 000000000..f8be23f07 --- /dev/null +++ b/etc/gnome-pomodoro.profile | |||
@@ -0,0 +1,51 @@ | |||
1 | # Firejail profile for gnome-pomodoro | ||
2 | # Description: time management utility for GNOME based on the pomodoro technique | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include gnome-pomodoro.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.local/share/gnome-pomodoro | ||
10 | |||
11 | include disable-common.inc | ||
12 | include disable-devel.inc | ||
13 | include disable-exec.inc | ||
14 | include disable-interpreters.inc | ||
15 | include disable-passwdmgr.inc | ||
16 | include disable-programs.inc | ||
17 | include disable-xdg.inc | ||
18 | |||
19 | mkdir ${HOME}/.local/share/gnome-pomodoro | ||
20 | whitelist ${HOME}/.local/share/gnome-pomodoro | ||
21 | whitelist /usr/share/gnome-pomodoro | ||
22 | include whitelist-common.inc | ||
23 | include whitelist-usr-share-common.inc | ||
24 | include whitelist-runuser-common.inc | ||
25 | include whitelist-var-common.inc | ||
26 | |||
27 | apparmor | ||
28 | caps.drop all | ||
29 | net none | ||
30 | no3d | ||
31 | nodvd | ||
32 | nogroups | ||
33 | nonewprivs | ||
34 | noroot | ||
35 | notv | ||
36 | nou2f | ||
37 | novideo | ||
38 | protocol unix | ||
39 | seccomp | ||
40 | shell none | ||
41 | tracelog | ||
42 | |||
43 | disable-mnt | ||
44 | private-bin gnome-pomodoro | ||
45 | private-cache | ||
46 | private-dev | ||
47 | private-etc dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,machine-id | ||
48 | private-tmp | ||
49 | |||
50 | read-only ${HOME} | ||
51 | read-write ${HOME}/.local/share/gnome-pomodoro | ||
diff --git a/etc/gnome-todo.profile b/etc/gnome-todo.profile new file mode 100644 index 000000000..6240cce65 --- /dev/null +++ b/etc/gnome-todo.profile | |||
@@ -0,0 +1,51 @@ | |||
1 | # Firejail profile for gnome-todo | ||
2 | # Description: Personal task manager for GNOME | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include gnome-todo.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # Allow python (blacklisted by disable-interpreters.inc) | ||
10 | include allow-python3.inc | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | include disable-interpreters.inc | ||
16 | include disable-passwdmgr.inc | ||
17 | include disable-programs.inc | ||
18 | include disable-xdg.inc | ||
19 | |||
20 | whitelist /usr/share/gnome-todo | ||
21 | include whitelist-common.inc | ||
22 | include whitelist-usr-share-common.inc | ||
23 | include whitelist-runuser-common.inc | ||
24 | include whitelist-var-common.inc | ||
25 | |||
26 | apparmor | ||
27 | caps.drop all | ||
28 | machine-id | ||
29 | net none | ||
30 | nodvd | ||
31 | nogroups | ||
32 | nonewprivs | ||
33 | noroot | ||
34 | nosound | ||
35 | notv | ||
36 | nou2f | ||
37 | novideo | ||
38 | protocol unix | ||
39 | seccomp | ||
40 | shell none | ||
41 | tracelog | ||
42 | |||
43 | disable-mnt | ||
44 | #private | ||
45 | private-bin gnome-todo | ||
46 | private-cache | ||
47 | private-dev | ||
48 | private-etc dconf,fonts,gtk-3.0,localtime,passwd,xdg | ||
49 | private-tmp | ||
50 | |||
51 | read-only ${HOME} | ||
diff --git a/etc/lrzuntar.profile b/etc/lrzuntar.profile index 17215a5d7..245d1c669 100644 --- a/etc/lrzuntar.profile +++ b/etc/lrzuntar.profile | |||
@@ -7,7 +7,6 @@ include lrzuntar.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | # added by included profile | 8 | # added by included profile |
9 | #include globals.local | 9 | #include globals.local |
10 | quiet | ||
11 | 10 | ||
12 | # Redirect | 11 | # Redirect |
13 | include cpio.profile | 12 | include cpio.profile |