summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RELNOTES1
-rw-r--r--etc/disable-programs.inc1
-rw-r--r--etc/pycharm-community.profile1
-rw-r--r--etc/seahorse-daemon.profile15
-rw-r--r--etc/seahorse-tool.profile13
-rw-r--r--etc/seahorse.profile45
-rw-r--r--src/firecfg/firecfg.config1
-rw-r--r--src/man/firejail.txt4
8 files changed, 63 insertions, 18 deletions
diff --git a/RELNOTES b/RELNOTES
index d780cc823..ff8c9eba9 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -8,6 +8,7 @@ firejail (0.9.59) baseline; urgency=low
8 * new profiles: sysprof-cli, seahorse-tool, secret-tool, dconf, gsettings 8 * new profiles: sysprof-cli, seahorse-tool, secret-tool, dconf, gsettings
9 * new profiles: code-oss, pragha 9 * new profiles: code-oss, pragha
10 * memory-deny-write-execute now also blocks memfd_create 10 * memory-deny-write-execute now also blocks memfd_create
11 * drop support for flatpak/snap packages
11 12
12firejail (0.9.58,2) baseline; urgency=low 13firejail (0.9.58,2) baseline; urgency=low
13 * cgroup flag in /etc/firejail/firejail.config file 14 * cgroup flag in /etc/firejail/firejail.config file
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index e2eaea38b..976c3610e 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -6,7 +6,6 @@ blacklist ${HOME}/Arduino
6blacklist ${HOME}/Monero/wallets 6blacklist ${HOME}/Monero/wallets
7blacklist ${HOME}/Nextcloud/Notes 7blacklist ${HOME}/Nextcloud/Notes
8blacklist ${HOME}/Standard Notes Backups 8blacklist ${HOME}/Standard Notes Backups
9blacklist ${HOME}/snap
10blacklist ${HOME}/wallet.dat 9blacklist ${HOME}/wallet.dat
11blacklist ${HOME}/.*coin 10blacklist ${HOME}/.*coin
12blacklist ${HOME}/.8pecxstudios 11blacklist ${HOME}/.8pecxstudios
diff --git a/etc/pycharm-community.profile b/etc/pycharm-community.profile
index bfe8b614e..3caaacf09 100644
--- a/etc/pycharm-community.profile
+++ b/etc/pycharm-community.profile
@@ -5,7 +5,6 @@ include pycharm-community.local
5# Persistent global definitions 5# Persistent global definitions
6include globals.local 6include globals.local
7 7
8noblacklist ${HOME}/snap
9noblacklist ${HOME}/.PyCharmCE* 8noblacklist ${HOME}/.PyCharmCE*
10noblacklist ${HOME}/.python-history 9noblacklist ${HOME}/.python-history
11noblacklist ${HOME}/.java 10noblacklist ${HOME}/.java
diff --git a/etc/seahorse-daemon.profile b/etc/seahorse-daemon.profile
new file mode 100644
index 000000000..1beb0edc6
--- /dev/null
+++ b/etc/seahorse-daemon.profile
@@ -0,0 +1,15 @@
1# Firejail profile for seahorse-daemon
2# Description: PGP encryption and signing
3# This file is overwritten after every install/update
4# Persistent local customizations
5include seahorse-daemon.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10blacklist /tmp/.X11-unix
11
12memory-deny-write-execute
13
14# Redirect
15include seahorse.profile
diff --git a/etc/seahorse-tool.profile b/etc/seahorse-tool.profile
index 2e792c8e0..96f365a4b 100644
--- a/etc/seahorse-tool.profile
+++ b/etc/seahorse-tool.profile
@@ -7,20 +7,11 @@ include seahorse-tool.local
7# added by included profile 7# added by included profile
8#include globals.local 8#include globals.local
9 9
10# dconf 10noblacklist ${DOWNLOADS}
11noblacklist ${HOME}/.config/dconf
12 11
13include disable-exec.inc
14include disable-xdg.inc
15include whitelist-var-common.inc
16
17apparmor
18ipc-namespace
19
20disable-mnt
21private-tmp 12private-tmp
22 13
23memory-deny-write-execute 14memory-deny-write-execute
24 15
25# Redirect 16# Redirect
26include gpg.profile 17include seahorse.profile
diff --git a/etc/seahorse.profile b/etc/seahorse.profile
index 83aeb6aec..cd9f6c767 100644
--- a/etc/seahorse.profile
+++ b/etc/seahorse.profile
@@ -4,22 +4,57 @@
4# Persistent local customizations 4# Persistent local customizations
5include seahorse.local 5include seahorse.local
6# Persistent global definitions 6# Persistent global definitions
7# added by included profile 7include globals.local
8#include globals.local
9 8
10# dconf 9# dconf
11noblacklist ${HOME}/.config/dconf 10noblacklist ${HOME}/.config/dconf
11whitelist ${HOME}/.config/dconf
12
13# gpg
14mkdir ${HOME}/.gnupg
15noblacklist ${HOME}/.gnupg
16whitelist ${HOME}/.gnupg
12 17
13# ssh 18# ssh
19whitelist /etc/ld.so.preload
14noblacklist /etc/ssh 20noblacklist /etc/ssh
21whitelist /etc/ssh
15noblacklist /tmp/ssh-* 22noblacklist /tmp/ssh-*
23whitelist /tmp/ssh-*
24mkdir ${HOME}/.ssh
16noblacklist ${HOME}/.ssh 25noblacklist ${HOME}/.ssh
26whitelist ${HOME}/.ssh
17 27
28include disable-common.inc
29include disable-devel.inc
18include disable-exec.inc 30include disable-exec.inc
31include disable-interpreters.inc
32include disable-passwdmgr.inc
33include disable-programs.inc
34include disable-xdg.inc
35include whitelist-common.inc
19include whitelist-var-common.inc 36include whitelist-var-common.inc
20 37
21apparmor 38apparmor
22ipc-namespace 39caps.drop all
40machine-id
41netfilter
42no3d
43nodvd
44nogroups
45nonewprivs
46noroot
47nosound
48notv
49nou2f
50novideo
51protocol unix,inet,inet6
52seccomp
53# shell none - causes gpg to hang
54tracelog
55
56disable-mnt
57private-cache
58private-dev
23 59
24# Redirect 60writable-run-user
25include gpg.profile
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index f1be8bfd9..7531206f5 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -432,6 +432,7 @@ scallion
432scribus 432scribus
433sdat2img 433sdat2img
434seahorse 434seahorse
435seahorse-daemon
435seahorse-tool 436seahorse-tool
436seamonkey 437seamonkey
437seamonkey-bin 438seamonkey-bin
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 8146d1a2e..048db098c 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -48,6 +48,10 @@ Firejail allows the user to manage application security using security profiles.
48Each profile defines a set of permissions for a specific application or group 48Each profile defines a set of permissions for a specific application or group
49of applications. The software includes security profiles for a number of more common 49of applications. The software includes security profiles for a number of more common
50Linux programs, such as Mozilla Firefox, Chromium, VLC, Transmission etc. 50Linux programs, such as Mozilla Firefox, Chromium, VLC, Transmission etc.
51.PP
52Alternative sandbox technologies like snap (https://snapcraft.io/) and flatpak (https://flatpak.org/)
53are not supported. Snap and flatpak packages have their own native management tools and will
54not work when sandboxed with Firejail.
51 55
52.SH USAGE 56.SH USAGE
53Without any options, the sandbox consists of a filesystem build in a new mount namespace, 57Without any options, the sandbox consists of a filesystem build in a new mount namespace,