diff options
author | 2017-08-07 13:41:08 -0500 | |
---|---|---|
committer | 2017-08-07 13:41:08 -0500 | |
commit | e24b15f8647997dbb26a7152c921af94e36294ce (patch) | |
tree | 4c98b42844c8c67853643d4b4b7253dbd8764f1e /etc/slack.profile | |
parent | merges (diff) | |
parent | Unify last 8 profiles (diff) | |
download | firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.gz firejail-e24b15f8647997dbb26a7152c921af94e36294ce.tar.zst firejail-e24b15f8647997dbb26a7152c921af94e36294ce.zip |
Merge pull request #1427 from SpotComms/pr
Unify all profiles
Diffstat (limited to 'etc/slack.profile')
-rw-r--r-- | etc/slack.profile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/etc/slack.profile b/etc/slack.profile index a68717ea3..d2fb74af8 100644 --- a/etc/slack.profile +++ b/etc/slack.profile | |||
@@ -1,20 +1,25 @@ | |||
1 | # Persistent global definitions go here | 1 | # Firejail profile for slack |
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/slack.local | ||
5 | # Persistent global definitions | ||
2 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
3 | 7 | ||
4 | # This file is overwritten during software install. | 8 | blacklist /var |
5 | # Persistent customizations should go in a .local file. | ||
6 | include /etc/firejail/slack.local | ||
7 | 9 | ||
8 | # Firejail profile for Slack | ||
9 | noblacklist ${HOME}/.config/Slack | 10 | noblacklist ${HOME}/.config/Slack |
10 | noblacklist ${HOME}/Downloads | 11 | noblacklist ${HOME}/Downloads |
11 | 12 | ||
12 | include /etc/firejail/disable-common.inc | 13 | include /etc/firejail/disable-common.inc |
13 | include /etc/firejail/disable-programs.inc | ||
14 | include /etc/firejail/disable-devel.inc | 14 | include /etc/firejail/disable-devel.inc |
15 | include /etc/firejail/disable-passwdmgr.inc | 15 | include /etc/firejail/disable-passwdmgr.inc |
16 | include /etc/firejail/disable-programs.inc | ||
16 | 17 | ||
17 | blacklist /var | 18 | mkdir ${HOME}/.config |
19 | mkdir ${HOME}/.config/Slack | ||
20 | whitelist ${HOME}/.config/Slack | ||
21 | whitelist ${HOME}/Downloads | ||
22 | include /etc/firejail/whitelist-common.inc | ||
18 | 23 | ||
19 | caps.drop all | 24 | caps.drop all |
20 | name slack | 25 | name slack |
@@ -26,14 +31,8 @@ protocol unix,inet,inet6,netlink | |||
26 | seccomp | 31 | seccomp |
27 | shell none | 32 | shell none |
28 | 33 | ||
34 | disable-mnt | ||
29 | private-bin slack | 35 | private-bin slack |
30 | private-dev | 36 | private-dev |
31 | private-etc fonts,resolv.conf,ld.so.conf,ld.so.cache,localtime | 37 | private-etc fonts,resolv.conf,ld.so.conf,ld.so.cache,localtime |
32 | private-tmp | 38 | private-tmp |
33 | disable-mnt | ||
34 | |||
35 | mkdir ${HOME}/.config | ||
36 | mkdir ${HOME}/.config/Slack | ||
37 | whitelist ${HOME}/.config/Slack | ||
38 | whitelist ${HOME}/Downloads | ||
39 | include /etc/firejail/whitelist-common.inc | ||