diff options
author | 2017-08-02 09:37:20 -0500 | |
---|---|---|
committer | 2017-08-02 09:37:20 -0500 | |
commit | caaac4417bd9b4116681c96fa1127b3f78c33d1d (patch) | |
tree | 0c1fd52865432943dff536a7679408bec47df683 /etc/dropbox.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/dropbox.profile')
-rw-r--r-- | etc/dropbox.profile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/etc/dropbox.profile b/etc/dropbox.profile index f1d7fad82..2319b337b 100644 --- a/etc/dropbox.profile +++ b/etc/dropbox.profile | |||
@@ -9,16 +9,10 @@ include /etc/firejail/dropbox.local | |||
9 | noblacklist ~/.config/autostart | 9 | noblacklist ~/.config/autostart |
10 | noblacklist ~/.dropbox-dist | 10 | noblacklist ~/.dropbox-dist |
11 | include /etc/firejail/disable-common.inc | 11 | include /etc/firejail/disable-common.inc |
12 | include /etc/firejail/disable-devel.inc | ||
12 | include /etc/firejail/disable-programs.inc | 13 | include /etc/firejail/disable-programs.inc |
13 | include /etc/firejail/disable-passwdmgr.inc | 14 | include /etc/firejail/disable-passwdmgr.inc |
14 | 15 | ||
15 | caps | ||
16 | nonewprivs | ||
17 | noroot | ||
18 | novideo | ||
19 | protocol unix,inet,inet6 | ||
20 | seccomp | ||
21 | |||
22 | mkdir ~/Dropbox | 16 | mkdir ~/Dropbox |
23 | whitelist ~/Dropbox | 17 | whitelist ~/Dropbox |
24 | mkdir ~/.dropbox | 18 | mkdir ~/.dropbox |
@@ -28,3 +22,20 @@ whitelist ~/.dropbox-dist | |||
28 | 22 | ||
29 | mkfile ~/.config/autostart/dropbox.desktop | 23 | mkfile ~/.config/autostart/dropbox.desktop |
30 | whitelist ~/.config/autostart/dropbox.desktop | 24 | whitelist ~/.config/autostart/dropbox.desktop |
25 | |||
26 | caps.drop all | ||
27 | netfilter | ||
28 | no3d | ||
29 | nogroups | ||
30 | nonewprivs | ||
31 | noroot | ||
32 | nosound | ||
33 | novideo | ||
34 | protocol unix,inet,inet6 | ||
35 | seccomp | ||
36 | shell none | ||
37 | |||
38 | private-dev | ||
39 | private-tmp | ||
40 | |||
41 | noexec /tmp | ||