aboutsummaryrefslogtreecommitdiffstats
path: root/etc/ktorrent.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/ktorrent.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/ktorrent.profile')
-rw-r--r--etc/ktorrent.profile22
1 files changed, 11 insertions, 11 deletions
diff --git a/etc/ktorrent.profile b/etc/ktorrent.profile
index 59c2827cd..c19f1c5ef 100644
--- a/etc/ktorrent.profile
+++ b/etc/ktorrent.profile
@@ -5,16 +5,15 @@ 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/ktorrent.local 6include /etc/firejail/ktorrent.local
7 7
8################################
9# Generic GUI application profile
10################################
11noblacklist ~/.config/ktorrentrc 8noblacklist ~/.config/ktorrentrc
12noblacklist ~/.local/share/ktorrent 9noblacklist ~/.local/share/ktorrent
13noblacklist ~/.kde/share/config/ktorrentrc 10noblacklist ~/.kde/share/config/ktorrentrc
14noblacklist ~/.kde4/share/config/ktorrentrc 11noblacklist ~/.kde4/share/config/ktorrentrc
15noblacklist ~/.kde/share/apps/ktorrent 12noblacklist ~/.kde/share/apps/ktorrent
16noblacklist ~/.kde4/share/apps/ktorrent 13noblacklist ~/.kde4/share/apps/ktorrent
14
17include /etc/firejail/disable-common.inc 15include /etc/firejail/disable-common.inc
16include /etc/firejail/disable-devel.inc
18include /etc/firejail/disable-programs.inc 17include /etc/firejail/disable-programs.inc
19include /etc/firejail/disable-passwdmgr.inc 18include /etc/firejail/disable-passwdmgr.inc
20 19
@@ -36,17 +35,18 @@ include /etc/firejail/whitelist-common.inc
36 35
37caps.drop all 36caps.drop all
38netfilter 37netfilter
38no3d
39nogroups
39nonewprivs 40nonewprivs
40noroot 41noroot
42nosound
43novideo
41protocol unix,inet,inet6 44protocol unix,inet,inet6
42seccomp 45seccomp
43
44#
45# depending on your usage, you can enable some of the commands below:
46#
47nogroups
48shell none 46shell none
49# private-bin program 47
50# private-etc none
51private-dev 48private-dev
52# private-tmp 49private-tmp
50
51noexec ${HOME}
52noexec /tmp