diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | RELNOTES | 3 | ||||
-rw-r--r-- | etc/inc/disable-devel.inc | 1 | ||||
-rw-r--r-- | etc/profile-a-l/dbus-send.profile | 59 | ||||
-rw-r--r-- | etc/profile-m-z/mpv.profile | 13 | ||||
-rw-r--r-- | etc/profile-m-z/notify-send.profile | 60 | ||||
-rw-r--r-- | etc/profile-m-z/qrencode.profile | 58 | ||||
-rw-r--r-- | etc/profile-m-z/warsow.profile | 3 |
8 files changed, 197 insertions, 2 deletions
@@ -196,4 +196,4 @@ gnome-screenshot, ripperX, sound-juicer, iagno, com.github.dahenson.agenda, gnom | |||
196 | penguin-command, x2goclient, frogatto, gnome-mines, gnome-nibbles, lightsoff, ts3client_runscript.sh, warmux, ferdi, abiword, | 196 | penguin-command, x2goclient, frogatto, gnome-mines, gnome-nibbles, lightsoff, ts3client_runscript.sh, warmux, ferdi, abiword, |
197 | four-in-a-row, gnome-mahjongg, gnome-robots, gnome-sudoku, gnome-taquin, gnome-tetravex, blobwars, gravity-beams-and-evaporating-stars, | 197 | four-in-a-row, gnome-mahjongg, gnome-robots, gnome-sudoku, gnome-taquin, gnome-tetravex, blobwars, gravity-beams-and-evaporating-stars, |
198 | hyperrogue, jumpnbump-menu, jumpnbump, magicor, mindless, mirrormagic, mrrescue, scorched3d-wrapper, scorchwentbonkers, | 198 | hyperrogue, jumpnbump-menu, jumpnbump, magicor, mindless, mirrormagic, mrrescue, scorched3d-wrapper, scorchwentbonkers, |
199 | seahorse-adventures, wordwarvi, xbill, gnome-klotski, five-or-more, swell-foop, fdns, jitsi-meet-desktop, nicontine, steam-runtime, apostrophe, quadrapassel, dino-im, strawberry, hitori, bijiben, gnote, gnubik, ZeGrapher, gapplication, xonotic-sdl-wrapper, openarena_ded, cawbird, freetube, homebank, mattermost-desktop, newsflash, com.gitlab.newsflash, element-desktop, sushi, xfce4-screenshooter, org.gnome.NautilusPreviewer, lyx, minitube, nuclear, mtpaint, minecraft-launcher, gnome-calendar, vmware, git-cola, otter-browser, kazam, menulibre, musictube, onboard, fractal, mirage, quaternion, spectral, man, psi, smuxi-frontend-gnome, balsa, kube, trojita, cola, twitch, youtube, youtubemusic-nativefier, ytmdesktop | 199 | seahorse-adventures, wordwarvi, xbill, gnome-klotski, five-or-more, swell-foop, fdns, jitsi-meet-desktop, nicontine, steam-runtime, apostrophe, quadrapassel, dino-im, strawberry, hitori, bijiben, gnote, gnubik, ZeGrapher, gapplication, xonotic-sdl-wrapper, openarena_ded, cawbird, freetube, homebank, mattermost-desktop, newsflash, com.gitlab.newsflash, element-desktop, sushi, xfce4-screenshooter, org.gnome.NautilusPreviewer, lyx, minitube, nuclear, mtpaint, minecraft-launcher, gnome-calendar, vmware, git-cola, otter-browser, kazam, menulibre, musictube, onboard, fractal, mirage, quaternion, spectral, man, psi, smuxi-frontend-gnome, balsa, kube, trojita, cola, twitch, youtube, youtubemusic-nativefier, ytmdesktop, dbus-send, notify-send, qrencode |
@@ -19,6 +19,7 @@ firejail (0.9.63) baseline; urgency=low | |||
19 | * whitelist globbing | 19 | * whitelist globbing |
20 | * mkdir and mkfile support for /run/user directory | 20 | * mkdir and mkfile support for /run/user directory |
21 | * support ignore for include | 21 | * support ignore for include |
22 | * --include on the command line | ||
22 | * new condition: HAS_NOSOUND | 23 | * new condition: HAS_NOSOUND |
23 | * new profiles: gfeeds, firefox-x11, tvbrowser, rtv, clipgrab, muraster | 24 | * new profiles: gfeeds, firefox-x11, tvbrowser, rtv, clipgrab, muraster |
24 | * new profiles: gnome-passwordsafe, bibtex, gummi, latex, mupdf-x11-curl | 25 | * new profiles: gnome-passwordsafe, bibtex, gummi, latex, mupdf-x11-curl |
@@ -46,7 +47,7 @@ firejail (0.9.63) baseline; urgency=low | |||
46 | * new profiles: vmware, git-cola, otter-browser, kazam, menulibre, musictube | 47 | * new profiles: vmware, git-cola, otter-browser, kazam, menulibre, musictube |
47 | * new profiles: onboard, fractal, mirage, quaternion, spectral, man, psi, twitch | 48 | * new profiles: onboard, fractal, mirage, quaternion, spectral, man, psi, twitch |
48 | * new profiles: smuxi-frontend-gnome, balsa, kube, trojita, youtube, ytmdesktop | 49 | * new profiles: smuxi-frontend-gnome, balsa, kube, trojita, youtube, ytmdesktop |
49 | * new profiles: youtubemusic-nativefier, cola | 50 | * new profiles: youtubemusic-nativefier, cola, dbus-send, notify-send, qrencode |
50 | -- netblue30 <netblue30@yahoo.com> Tue, 21 Apr 2020 08:00:00 -0500 | 51 | -- netblue30 <netblue30@yahoo.com> Tue, 21 Apr 2020 08:00:00 -0500 |
51 | 52 | ||
52 | firejail (0.9.62) baseline; urgency=low | 53 | firejail (0.9.62) baseline; urgency=low |
diff --git a/etc/inc/disable-devel.inc b/etc/inc/disable-devel.inc index e1ba13380..e74b1b40b 100644 --- a/etc/inc/disable-devel.inc +++ b/etc/inc/disable-devel.inc | |||
@@ -49,6 +49,7 @@ blacklist ${PATH}/openssl-1.0 | |||
49 | blacklist ${PATH}/rust-gdb | 49 | blacklist ${PATH}/rust-gdb |
50 | blacklist ${PATH}/rust-lldb | 50 | blacklist ${PATH}/rust-lldb |
51 | blacklist ${PATH}/rustc | 51 | blacklist ${PATH}/rustc |
52 | blacklist ${HOME}/.rustup | ||
52 | 53 | ||
53 | # tcc - Tiny C Compiler | 54 | # tcc - Tiny C Compiler |
54 | blacklist ${PATH}/tcc | 55 | blacklist ${PATH}/tcc |
diff --git a/etc/profile-a-l/dbus-send.profile b/etc/profile-a-l/dbus-send.profile new file mode 100644 index 000000000..76a14d99b --- /dev/null +++ b/etc/profile-a-l/dbus-send.profile | |||
@@ -0,0 +1,59 @@ | |||
1 | # Firejail profile for dbus-send | ||
2 | # Description: Send a message to a message bus | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include dbus-send.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | blacklist /tmp/.X11-unix | ||
11 | blacklist ${RUNUSER}/wayland-* | ||
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-write-mnt.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | include whitelist-common.inc | ||
24 | include whitelist-runuser-common.inc | ||
25 | include whitelist-usr-share-common.inc | ||
26 | include whitelist-var-common.inc | ||
27 | |||
28 | apparmor | ||
29 | caps.drop all | ||
30 | ipc-namespace | ||
31 | machine-id | ||
32 | # Breaks abstract sockets | ||
33 | #net none | ||
34 | netfilter | ||
35 | no3d | ||
36 | nodvd | ||
37 | nogroups | ||
38 | nonewprivs | ||
39 | noroot | ||
40 | nosound | ||
41 | notv | ||
42 | nou2f | ||
43 | novideo | ||
44 | protocol unix | ||
45 | seccomp | ||
46 | shell none | ||
47 | tracelog | ||
48 | |||
49 | disable-mnt | ||
50 | private | ||
51 | private-bin dbus-send | ||
52 | private-cache | ||
53 | private-dev | ||
54 | private-etc alternatives,dbus-1 | ||
55 | private-lib libpcre2-8.so.0 | ||
56 | private-tmp | ||
57 | |||
58 | memory-deny-write-execute | ||
59 | read-only ${HOME} | ||
diff --git a/etc/profile-m-z/mpv.profile b/etc/profile-m-z/mpv.profile index 7ca57334d..08318d08e 100644 --- a/etc/profile-m-z/mpv.profile +++ b/etc/profile-m-z/mpv.profile | |||
@@ -11,6 +11,19 @@ include globals.local | |||
11 | # edit ~/.config/mpv/foobar.conf: | 11 | # edit ~/.config/mpv/foobar.conf: |
12 | # screenshot-directory=~/Pictures | 12 | # screenshot-directory=~/Pictures |
13 | 13 | ||
14 | # Mpv has a powerfull lua-API, some off these lua-scripts interact | ||
15 | # with external resources which are blocked by firejail. In such cases | ||
16 | # you need to allow these resources by | ||
17 | # - adding additional binaries to private-bin | ||
18 | # - whitelisting additional paths | ||
19 | # - noblacklisting paths | ||
20 | # - weaking the dbus-policy | ||
21 | # - ... | ||
22 | # | ||
23 | # Often these scripts require a shell: | ||
24 | #noblacklist ${PATH}/sh | ||
25 | #private-bin sh | ||
26 | |||
14 | noblacklist ${HOME}/.config/mpv | 27 | noblacklist ${HOME}/.config/mpv |
15 | noblacklist ${HOME}/.config/youtube-dl | 28 | noblacklist ${HOME}/.config/youtube-dl |
16 | noblacklist ${HOME}/.netrc | 29 | noblacklist ${HOME}/.netrc |
diff --git a/etc/profile-m-z/notify-send.profile b/etc/profile-m-z/notify-send.profile new file mode 100644 index 000000000..ff292f409 --- /dev/null +++ b/etc/profile-m-z/notify-send.profile | |||
@@ -0,0 +1,60 @@ | |||
1 | # Firejail profile for notify-send | ||
2 | # Description: a program to send desktop notifications | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include notify-send.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | blacklist ${RUNUSER}/wayland-* | ||
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-write-mnt.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | include whitelist-common.inc | ||
23 | include whitelist-runuser-common.inc | ||
24 | include whitelist-usr-share-common.inc | ||
25 | include whitelist-var-common.inc | ||
26 | |||
27 | apparmor | ||
28 | caps.drop all | ||
29 | ipc-namespace | ||
30 | machine-id | ||
31 | net none | ||
32 | no3d | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | nosound | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | protocol unix | ||
42 | seccomp | ||
43 | shell none | ||
44 | tracelog | ||
45 | x11 none | ||
46 | |||
47 | disable-mnt | ||
48 | private | ||
49 | private-bin notify-send | ||
50 | private-cache | ||
51 | private-dev | ||
52 | private-etc none | ||
53 | private-tmp | ||
54 | |||
55 | dbus-user filter | ||
56 | dbus-user.talk org.freedesktop.Notifications | ||
57 | dbus-system none | ||
58 | |||
59 | memory-deny-write-execute | ||
60 | read-only ${HOME} | ||
diff --git a/etc/profile-m-z/qrencode.profile b/etc/profile-m-z/qrencode.profile new file mode 100644 index 000000000..5e49a342a --- /dev/null +++ b/etc/profile-m-z/qrencode.profile | |||
@@ -0,0 +1,58 @@ | |||
1 | # Firejail profile for qrencode | ||
2 | # Description: Encode input data in a QR Code and save as a PNG or EPS image. | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include qrencode.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | blacklist ${RUNUSER}/wayland-* | ||
11 | blacklist ${RUNUSER} | ||
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-write-mnt.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | include whitelist-runuser-common.inc | ||
24 | include whitelist-usr-share-common.inc | ||
25 | include whitelist-var-common.inc | ||
26 | |||
27 | apparmor | ||
28 | caps.drop all | ||
29 | ipc-namespace | ||
30 | machine-id | ||
31 | net none | ||
32 | no3d | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | nosound | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | protocol unix | ||
42 | seccomp | ||
43 | shell none | ||
44 | tracelog | ||
45 | x11 none | ||
46 | |||
47 | disable-mnt | ||
48 | private-bin qrencode | ||
49 | private-cache | ||
50 | private-dev | ||
51 | private-etc none | ||
52 | private-lib libpcre2-8.so.0 | ||
53 | private-tmp | ||
54 | |||
55 | dbus-user none | ||
56 | dbus-system none | ||
57 | |||
58 | memory-deny-write-execute | ||
diff --git a/etc/profile-m-z/warsow.profile b/etc/profile-m-z/warsow.profile index d8cd5557e..178e0c7b1 100644 --- a/etc/profile-m-z/warsow.profile +++ b/etc/profile-m-z/warsow.profile | |||
@@ -24,7 +24,10 @@ mkdir ${HOME}/.cache/warsow-2.1 | |||
24 | mkdir ${HOME}/.local/share/warsow-2.1 | 24 | mkdir ${HOME}/.local/share/warsow-2.1 |
25 | whitelist ${HOME}/.cache/warsow-2.1 | 25 | whitelist ${HOME}/.cache/warsow-2.1 |
26 | whitelist ${HOME}/.local/share/warsow-2.1 | 26 | whitelist ${HOME}/.local/share/warsow-2.1 |
27 | whitelist /usr/share/warsow | ||
27 | include whitelist-common.inc | 28 | include whitelist-common.inc |
29 | include whitelist-runuser-common.inc | ||
30 | include whitelist-usr-share-common.inc | ||
28 | include whitelist-var-common.inc | 31 | include whitelist-var-common.inc |
29 | 32 | ||
30 | caps.drop all | 33 | caps.drop all |