aboutsummaryrefslogtreecommitdiffstats
path: root/etc/kcalc.profile
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2017-07-05 09:40:54 -0400
committerLibravatar Tad <tad@spotco.us>2017-08-02 00:13:42 -0400
commit0dba38435ef92ccc01cc9ff23b69df55489ec983 (patch)
treedfd1d8db02f579183fa77acdbde9aa315596220f /etc/kcalc.profile
parentx11/xpra support (diff)
downloadfirejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.tar.gz
firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.tar.zst
firejail-0dba38435ef92ccc01cc9ff23b69df55489ec983.zip
Harden profiles
- Added 'disable-devel.conf' to many profiles - Added 'disable-mnt' to many profiles - Added 'noexec' to many profiles - Removed 'netfilter' and 'net none' from profiles with 'protocol unix' - Cleaned up profiles using defaults
Diffstat (limited to 'etc/kcalc.profile')
-rw-r--r--etc/kcalc.profile25
1 files changed, 12 insertions, 13 deletions
diff --git a/etc/kcalc.profile b/etc/kcalc.profile
index 0ea5dbcb3..24d7daa89 100644
--- a/etc/kcalc.profile
+++ b/etc/kcalc.profile
@@ -5,27 +5,26 @@ include /etc/firejail/globals.local
5# Persistent customizations should go in a .local file. 5# Persistent customizations should go in a .local file.
6include /etc/firejail/kcalc.local 6include /etc/firejail/kcalc.local
7 7
8################################
9# Generic GUI application profile
10################################
11include /etc/firejail/disable-common.inc 8include /etc/firejail/disable-common.inc
12include /etc/firejail/disable-programs.inc 9include /etc/firejail/disable-devel.inc
13include /etc/firejail/disable-passwdmgr.inc 10include /etc/firejail/disable-passwdmgr.inc
11include /etc/firejail/disable-programs.inc
14 12
15caps.drop all 13caps.drop all
16netfilter 14no3d
15nogroups
17nonewprivs 16nonewprivs
18noroot 17noroot
19protocol unix,inet,inet6 18nosound
19novideo
20protocol unix
20seccomp 21seccomp
22shell none
21 23
22#
23# depending on your usage, you can enable some of the commands below:
24#
25private 24private
26nogroups
27shell none
28# private-bin program
29# private-etc none
30private-dev 25private-dev
31private-tmp 26private-tmp
27disable-mnt
28
29noexec ${HOME}
30noexec /tmp