diff options
author | 2017-08-02 09:37:20 -0500 | |
---|---|---|
committer | 2017-08-02 09:37:20 -0500 | |
commit | caaac4417bd9b4116681c96fa1127b3f78c33d1d (patch) | |
tree | 0c1fd52865432943dff536a7679408bec47df683 /etc/ktorrent.profile | |
parent | get_mempolicy syscall was temporarily removed from the default seccomp list. ... (diff) | |
parent | Fixes (diff) | |
download | firejail-caaac4417bd9b4116681c96fa1127b3f78c33d1d.tar.gz firejail-caaac4417bd9b4116681c96fa1127b3f78c33d1d.tar.zst firejail-caaac4417bd9b4116681c96fa1127b3f78c33d1d.zip |
Merge pull request #1367 from SpotComms/mh
Harden profiles
Diffstat (limited to 'etc/ktorrent.profile')
-rw-r--r-- | etc/ktorrent.profile | 22 |
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. |
6 | include /etc/firejail/ktorrent.local | 6 | include /etc/firejail/ktorrent.local |
7 | 7 | ||
8 | ################################ | ||
9 | # Generic GUI application profile | ||
10 | ################################ | ||
11 | noblacklist ~/.config/ktorrentrc | 8 | noblacklist ~/.config/ktorrentrc |
12 | noblacklist ~/.local/share/ktorrent | 9 | noblacklist ~/.local/share/ktorrent |
13 | noblacklist ~/.kde/share/config/ktorrentrc | 10 | noblacklist ~/.kde/share/config/ktorrentrc |
14 | noblacklist ~/.kde4/share/config/ktorrentrc | 11 | noblacklist ~/.kde4/share/config/ktorrentrc |
15 | noblacklist ~/.kde/share/apps/ktorrent | 12 | noblacklist ~/.kde/share/apps/ktorrent |
16 | noblacklist ~/.kde4/share/apps/ktorrent | 13 | noblacklist ~/.kde4/share/apps/ktorrent |
14 | |||
17 | include /etc/firejail/disable-common.inc | 15 | include /etc/firejail/disable-common.inc |
16 | include /etc/firejail/disable-devel.inc | ||
18 | include /etc/firejail/disable-programs.inc | 17 | include /etc/firejail/disable-programs.inc |
19 | include /etc/firejail/disable-passwdmgr.inc | 18 | include /etc/firejail/disable-passwdmgr.inc |
20 | 19 | ||
@@ -36,17 +35,18 @@ include /etc/firejail/whitelist-common.inc | |||
36 | 35 | ||
37 | caps.drop all | 36 | caps.drop all |
38 | netfilter | 37 | netfilter |
38 | no3d | ||
39 | nogroups | ||
39 | nonewprivs | 40 | nonewprivs |
40 | noroot | 41 | noroot |
42 | nosound | ||
43 | novideo | ||
41 | protocol unix,inet,inet6 | 44 | protocol unix,inet,inet6 |
42 | seccomp | 45 | seccomp |
43 | |||
44 | # | ||
45 | # depending on your usage, you can enable some of the commands below: | ||
46 | # | ||
47 | nogroups | ||
48 | shell none | 46 | shell none |
49 | # private-bin program | 47 | |
50 | # private-etc none | ||
51 | private-dev | 48 | private-dev |
52 | # private-tmp | 49 | private-tmp |
50 | |||
51 | noexec ${HOME} | ||
52 | noexec /tmp | ||