diff options
author | Adrian L. Shaw <adrianlshaw@gmail.com> | 2019-11-24 11:48:14 +0000 |
---|---|---|
committer | Adrian L. Shaw <adrianlshaw@gmail.com> | 2019-11-24 11:48:14 +0000 |
commit | 2e0ec7ba3e5b592e5b99a909276022b4b97db2fe (patch) | |
tree | b3550827bc40976b04a0c7a833fc9a2bedd46f24 | |
parent | Use seccomp ! syntax in electron-mail.profile (diff) | |
download | firejail-2e0ec7ba3e5b592e5b99a909276022b4b97db2fe.tar.gz firejail-2e0ec7ba3e5b592e5b99a909276022b4b97db2fe.tar.zst firejail-2e0ec7ba3e5b592e5b99a909276022b4b97db2fe.zip |
Add profile for the Profanity chat client
-rw-r--r-- | etc/profanity.profile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/etc/profanity.profile b/etc/profanity.profile new file mode 100644 index 000000000..9ad7d9f92 --- /dev/null +++ b/etc/profanity.profile | |||
@@ -0,0 +1,44 @@ | |||
1 | # Firejail profile for profanity | ||
2 | # Description: profanity is an XMPP-OTR chat client for the terminal | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include unzip.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | ignore net none | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-passwdmgr.inc | ||
15 | include disable-programs.inc | ||
16 | include disable-xdg.inc | ||
17 | |||
18 | mkdir ${HOME}/.config/profanity | ||
19 | mkdir ${HOME}/.local/share/profanity | ||
20 | noblacklist ${HOME}/.config/profanity | ||
21 | noblacklist ${HOME}/.local/share/profanity | ||
22 | |||
23 | caps.drop all | ||
24 | netfilter | ||
25 | nodvd | ||
26 | nogroups | ||
27 | nonewprivs | ||
28 | noroot | ||
29 | notv | ||
30 | nou2f | ||
31 | protocol unix,inet,inet6 | ||
32 | seccomp | ||
33 | shell none | ||
34 | |||
35 | private-bin profanity | ||
36 | private-cache | ||
37 | private-dev | ||
38 | private-tmp | ||
39 | private-etc alternatives,localtime,mime.types,resolv.conf,ssl | ||
40 | |||
41 | memory-deny-write-execute | ||
42 | noexec ${HOME} | ||
43 | noexec /tmp | ||
44 | |||