diff options
author | 2021-07-20 20:24:37 +0200 | |
---|---|---|
committer | 2021-07-20 20:24:37 +0200 | |
commit | a25e4a101129471f3221df5471e2fc8fa6a1c4e6 (patch) | |
tree | 3f18c31511eb1ec76d0fc51727247e58486b1e1b /etc | |
parent | Update avidemux.profile (diff) | |
download | firejail-a25e4a101129471f3221df5471e2fc8fa6a1c4e6.tar.gz firejail-a25e4a101129471f3221df5471e2fc8fa6a1c4e6.tar.zst firejail-a25e4a101129471f3221df5471e2fc8fa6a1c4e6.zip |
new profiles
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 6 | ||||
-rw-r--r-- | etc/profile-a-l/lifeograph.profile | 58 | ||||
-rw-r--r-- | etc/profile-m-z/io.github.lainsce.Notejot.profile | 61 | ||||
-rw-r--r-- | etc/profile-m-z/rednotebook.profile | 67 | ||||
-rw-r--r-- | etc/profile-m-z/zim.profile | 72 |
5 files changed, 264 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 5fe2f8c28..afc65e01b 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -449,6 +449,7 @@ deny ${HOME}/.config/youtube-music-desktop-app | |||
449 | deny ${HOME}/.config/youtube-viewer | 449 | deny ${HOME}/.config/youtube-viewer |
450 | deny ${HOME}/.config/youtubemusic-nativefier-040164 | 450 | deny ${HOME}/.config/youtubemusic-nativefier-040164 |
451 | deny ${HOME}/.config/zathura | 451 | deny ${HOME}/.config/zathura |
452 | deny ${HOME}/.config/zim | ||
452 | deny ${HOME}/.config/zoomus.conf | 453 | deny ${HOME}/.config/zoomus.conf |
453 | deny ${HOME}/.conkeror.mozdev.org | 454 | deny ${HOME}/.conkeror.mozdev.org |
454 | deny ${HOME}/.crawl | 455 | deny ${HOME}/.crawl |
@@ -684,6 +685,7 @@ deny ${HOME}/.local/share/godot | |||
684 | deny ${HOME}/.local/share/gradio | 685 | deny ${HOME}/.local/share/gradio |
685 | deny ${HOME}/.local/share/gwenview | 686 | deny ${HOME}/.local/share/gwenview |
686 | deny ${HOME}/.local/share/i2p | 687 | deny ${HOME}/.local/share/i2p |
688 | deny ${HOME}/.local/share/io.github.lainsce.Notejot | ||
687 | deny ${HOME}/.local/share/jami | 689 | deny ${HOME}/.local/share/jami |
688 | deny ${HOME}/.local/share/kaffeine | 690 | deny ${HOME}/.local/share/kaffeine |
689 | deny ${HOME}/.local/share/kalgebra | 691 | deny ${HOME}/.local/share/kalgebra |
@@ -840,6 +842,7 @@ deny ${HOME}/.qgis2 | |||
840 | deny ${HOME}/.qmmp | 842 | deny ${HOME}/.qmmp |
841 | deny ${HOME}/.quodlibet | 843 | deny ${HOME}/.quodlibet |
842 | deny ${HOME}/.redeclipse | 844 | deny ${HOME}/.redeclipse |
845 | deny ${HOME}/.rednotebook | ||
843 | deny ${HOME}/.remmina | 846 | deny ${HOME}/.remmina |
844 | deny ${HOME}/.repo_.gitconfig.json | 847 | deny ${HOME}/.repo_.gitconfig.json |
845 | deny ${HOME}/.repoconfig | 848 | deny ${HOME}/.repoconfig |
@@ -1010,6 +1013,7 @@ deny ${HOME}/.cache/gummi | |||
1010 | deny ${HOME}/.cache/icedove | 1013 | deny ${HOME}/.cache/icedove |
1011 | deny ${HOME}/.cache/inkscape | 1014 | deny ${HOME}/.cache/inkscape |
1012 | deny ${HOME}/.cache/inox | 1015 | deny ${HOME}/.cache/inox |
1016 | deny ${HOME}/.cache/io.github.lainsce.Notejot | ||
1013 | deny ${HOME}/.cache/iridium | 1017 | deny ${HOME}/.cache/iridium |
1014 | deny ${HOME}/.cache/JetBrains/CLion* | 1018 | deny ${HOME}/.cache/JetBrains/CLion* |
1015 | deny ${HOME}/.cache/kcmshell5 | 1019 | deny ${HOME}/.cache/kcmshell5 |
@@ -1066,6 +1070,7 @@ deny ${HOME}/.cache/qBittorrent | |||
1066 | deny ${HOME}/.cache/quodlibet | 1070 | deny ${HOME}/.cache/quodlibet |
1067 | deny ${HOME}/.cache/qupzilla | 1071 | deny ${HOME}/.cache/qupzilla |
1068 | deny ${HOME}/.cache/qutebrowser | 1072 | deny ${HOME}/.cache/qutebrowser |
1073 | deny ${HOME}/.cache/rednotebook | ||
1069 | deny ${HOME}/.cache/rhythmbox | 1074 | deny ${HOME}/.cache/rhythmbox |
1070 | deny ${HOME}/.cache/shotwell | 1075 | deny ${HOME}/.cache/shotwell |
1071 | deny ${HOME}/.cache/simple-scan | 1076 | deny ${HOME}/.cache/simple-scan |
@@ -1096,3 +1101,4 @@ deny ${HOME}/.cache/yandex-browser | |||
1096 | deny ${HOME}/.cache/yandex-browser-beta | 1101 | deny ${HOME}/.cache/yandex-browser-beta |
1097 | deny ${HOME}/.cache/youtube-dl | 1102 | deny ${HOME}/.cache/youtube-dl |
1098 | deny ${HOME}/.cache/youtube-viewer | 1103 | deny ${HOME}/.cache/youtube-viewer |
1104 | deny ${HOME}/.cache/zim | ||
diff --git a/etc/profile-a-l/lifeograph.profile b/etc/profile-a-l/lifeograph.profile new file mode 100644 index 000000000..b9ed0de8e --- /dev/null +++ b/etc/profile-a-l/lifeograph.profile | |||
@@ -0,0 +1,58 @@ | |||
1 | # Firejail profile for lifeograph | ||
2 | # Description: Lifeograph is a diary program to take personal notes | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include lifeograph.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | nodeny ${DOCUMENTS} | ||
10 | |||
11 | deny /usr/libexec | ||
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 | allow ${DOCUMENTS} | ||
23 | allow /usr/share/lifeograph | ||
24 | include whitelist-common.inc | ||
25 | include whitelist-runuser-common.inc | ||
26 | include whitelist-usr-share-common.inc | ||
27 | include whitelist-var-common.inc | ||
28 | |||
29 | apparmor | ||
30 | caps.drop all | ||
31 | machine-id | ||
32 | net none | ||
33 | no3d | ||
34 | nodvd | ||
35 | nogroups | ||
36 | noinput | ||
37 | nonewprivs | ||
38 | noroot | ||
39 | nosound | ||
40 | notv | ||
41 | nou2f | ||
42 | novideo | ||
43 | protocol unix | ||
44 | seccomp | ||
45 | seccomp.block-secondary | ||
46 | shell none | ||
47 | tracelog | ||
48 | |||
49 | disable-mnt | ||
50 | private-bin lifeograph | ||
51 | private-cache | ||
52 | private-dev | ||
53 | private-etc alternatives,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,pango,X11 | ||
54 | private-tmp | ||
55 | |||
56 | dbus-user filter | ||
57 | dbus-user.talk ca.desrt.dconf | ||
58 | dbus-system none | ||
diff --git a/etc/profile-m-z/io.github.lainsce.Notejot.profile b/etc/profile-m-z/io.github.lainsce.Notejot.profile new file mode 100644 index 000000000..a8029db72 --- /dev/null +++ b/etc/profile-m-z/io.github.lainsce.Notejot.profile | |||
@@ -0,0 +1,61 @@ | |||
1 | # Firejail profile for notejot | ||
2 | # Description: Jot your ideas | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include io.github.lainsce.Notejot.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | nodeny ${HOME}/.cache/io.github.lainsce.Notejot | ||
10 | nodeny ${HOME}/.local/share/io.github.lainsce.Notejot | ||
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-shell.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | mkdir ${HOME}/.cache/io.github.lainsce.Notejot | ||
22 | mkdir ${HOME}/.local/share/io.github.lainsce.Notejot | ||
23 | allow ${HOME}/.cache/io.github.lainsce.Notejot | ||
24 | allow ${HOME}/.local/share/io.github.lainsce.Notejot | ||
25 | allow /usr/libexec/webkit2gtk-4.0 | ||
26 | include whitelist-common.inc | ||
27 | include whitelist-runuser-common.inc | ||
28 | include whitelist-usr-share-common.inc | ||
29 | include whitelist-var-common.inc | ||
30 | |||
31 | apparmor | ||
32 | caps.drop all | ||
33 | machine-id | ||
34 | net none | ||
35 | no3d | ||
36 | nodvd | ||
37 | nogroups | ||
38 | noinput | ||
39 | nonewprivs | ||
40 | noroot | ||
41 | nosound | ||
42 | notv | ||
43 | nou2f | ||
44 | novideo | ||
45 | protocol unix | ||
46 | seccomp | ||
47 | seccomp.block-secondary | ||
48 | shell none | ||
49 | tracelog | ||
50 | |||
51 | disable-mnt | ||
52 | private-bin io.github.lainsce.Notejot | ||
53 | private-cache | ||
54 | private-dev | ||
55 | private-etc alternatives,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,pango,X11 | ||
56 | private-tmp | ||
57 | |||
58 | dbus-user filter | ||
59 | dbus-user.own io.github.lainsce.Notejot | ||
60 | dbus-user.talk ca.desrt.dconf | ||
61 | dbus-system none | ||
diff --git a/etc/profile-m-z/rednotebook.profile b/etc/profile-m-z/rednotebook.profile new file mode 100644 index 000000000..67281c518 --- /dev/null +++ b/etc/profile-m-z/rednotebook.profile | |||
@@ -0,0 +1,67 @@ | |||
1 | # Firejail profile for rednotebook | ||
2 | # Description: Daily journal with calendar, templates and keyword searching | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include rednotebook.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | nodeny ${HOME}/.cache/rednotebook | ||
10 | nodeny ${HOME}/.rednotebook | ||
11 | |||
12 | # Allow python (blacklisted by disable-interpreters.inc) | ||
13 | include allow-python3.inc | ||
14 | |||
15 | include disable-common.inc | ||
16 | include disable-devel.inc | ||
17 | include disable-exec.inc | ||
18 | include disable-interpreters.inc | ||
19 | include disable-passwdmgr.inc | ||
20 | include disable-programs.inc | ||
21 | include disable-shell.inc | ||
22 | |||
23 | mkdir ${HOME}/.cache/rednotebook | ||
24 | mkdir ${HOME}/.rednotebook | ||
25 | allow ${HOME}/.cache/rednotebook | ||
26 | allow ${HOME}/.rednotebook | ||
27 | allow ${DESKTOP} | ||
28 | allow ${DOCUMENTS} | ||
29 | allow ${DOWNLOADS} | ||
30 | allow ${MUSIC} | ||
31 | allow ${PICTURES} | ||
32 | allow ${VIDEOS} | ||
33 | allow /usr/libexec/webkit2gtk-4.0 | ||
34 | include whitelist-common.inc | ||
35 | include whitelist-runuser-common.inc | ||
36 | include whitelist-usr-share-common.inc | ||
37 | include whitelist-var-common.inc | ||
38 | |||
39 | apparmor | ||
40 | caps.drop all | ||
41 | machine-id | ||
42 | net none | ||
43 | no3d | ||
44 | nodvd | ||
45 | nogroups | ||
46 | noinput | ||
47 | nonewprivs | ||
48 | noroot | ||
49 | nosound | ||
50 | notv | ||
51 | nou2f | ||
52 | novideo | ||
53 | protocol unix | ||
54 | seccomp | ||
55 | seccomp.block-secondary | ||
56 | shell none | ||
57 | tracelog | ||
58 | |||
59 | disable-mnt | ||
60 | private-bin python3*,rednotebook | ||
61 | private-cache | ||
62 | private-dev | ||
63 | private-etc alternatives,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,pango,X11 | ||
64 | private-tmp | ||
65 | |||
66 | dbus-user none | ||
67 | dbus-system none | ||
diff --git a/etc/profile-m-z/zim.profile b/etc/profile-m-z/zim.profile new file mode 100644 index 000000000..5ae9cddb3 --- /dev/null +++ b/etc/profile-m-z/zim.profile | |||
@@ -0,0 +1,72 @@ | |||
1 | # Firejail profile for Zim | ||
2 | # Description: Desktop wiki & notekeeper | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include zim.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | nodeny ${HOME}/.cache/zim | ||
10 | nodeny ${HOME}/.config/zim | ||
11 | |||
12 | # Allow python (blacklisted by disable-interpreters.inc) | ||
13 | include allow-python2.inc | ||
14 | include allow-python3.inc | ||
15 | |||
16 | deny /usr/libexec | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-exec.inc | ||
21 | include disable-interpreters.inc | ||
22 | include disable-passwdmgr.inc | ||
23 | include disable-programs.inc | ||
24 | include disable-shell.inc | ||
25 | |||
26 | mkdir ${HOME}/.cache/zim | ||
27 | mkdir ${HOME}/.config/zim | ||
28 | mkdir ${HOME}/Notebooks | ||
29 | allow ${HOME}/.cache/zim | ||
30 | allow ${HOME}/.config/zim | ||
31 | allow ${HOME}/Notebooks | ||
32 | allow ${DESKTOP} | ||
33 | allow ${DOCUMENTS} | ||
34 | allow ${DOWNLOADS} | ||
35 | allow ${MUSIC} | ||
36 | allow ${PICTURES} | ||
37 | allow ${VIDEOS} | ||
38 | allow /usr/share/zim | ||
39 | include whitelist-common.inc | ||
40 | include whitelist-runuser-common.inc | ||
41 | include whitelist-usr-share-common.inc | ||
42 | include whitelist-var-common.inc | ||
43 | |||
44 | apparmor | ||
45 | caps.drop all | ||
46 | machine-id | ||
47 | net none | ||
48 | no3d | ||
49 | nodvd | ||
50 | nogroups | ||
51 | noinput | ||
52 | nonewprivs | ||
53 | noroot | ||
54 | nosound | ||
55 | notv | ||
56 | nou2f | ||
57 | novideo | ||
58 | protocol unix | ||
59 | seccomp | ||
60 | seccomp.block-secondary | ||
61 | shell none | ||
62 | tracelog | ||
63 | |||
64 | disable-mnt | ||
65 | private-bin python*,zim | ||
66 | private-cache | ||
67 | private-dev | ||
68 | private-etc alternatives,dconf,fonts,gconf,gtk-2.0,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,pango,X11 | ||
69 | private-tmp | ||
70 | |||
71 | dbus-user none | ||
72 | dbus-system none | ||