diff options
author | 2019-11-23 10:54:42 +0000 | |
---|---|---|
committer | 2019-11-23 10:54:42 +0000 | |
commit | 20fa0d580ae50f4104de82d30cefe40a9da5ab85 (patch) | |
tree | a76e44c7e987fabfa17b06bf6836f6e827c10ef5 /etc | |
parent | Add lensfun support for gimp (diff) | |
download | firejail-20fa0d580ae50f4104de82d30cefe40a9da5ab85.tar.gz firejail-20fa0d580ae50f4104de82d30cefe40a9da5ab85.tar.zst firejail-20fa0d580ae50f4104de82d30cefe40a9da5ab85.zip |
Add new electron-mail profile (#3053)
* Create electron-mail.profile
* Add electron-mail to disable-programs.inc
* Add electron-mail to firecfg.config
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/electron-mail.profile | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index d65bb6fc4..4db110af7 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -159,6 +159,7 @@ blacklist ${HOME}/.config/dnox | |||
159 | blacklist ${HOME}/.config/dolphinrc | 159 | blacklist ${HOME}/.config/dolphinrc |
160 | blacklist ${HOME}/.config/dragonplayerrc | 160 | blacklist ${HOME}/.config/dragonplayerrc |
161 | blacklist ${HOME}/.config/d-feet | 161 | blacklist ${HOME}/.config/d-feet |
162 | blacklist ${HOME}/.config/electron-mail | ||
162 | blacklist ${HOME}/.config/emaildefaults | 163 | blacklist ${HOME}/.config/emaildefaults |
163 | blacklist ${HOME}/.config/emailidentities | 164 | blacklist ${HOME}/.config/emailidentities |
164 | blacklist ${HOME}/.config/enchant | 165 | blacklist ${HOME}/.config/enchant |
diff --git a/etc/electron-mail.profile b/etc/electron-mail.profile new file mode 100644 index 000000000..2945b9c37 --- /dev/null +++ b/etc/electron-mail.profile | |||
@@ -0,0 +1,52 @@ | |||
1 | # Firejail profile for electron-mail | ||
2 | # Description: Unofficial desktop app for several E2E encrypted email providers | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include electron-mail.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/electron-mail | ||
10 | |||
11 | whitelist ${DOWNLOADS} | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | mkdir ${HOME}/.config/electron-mail | ||
22 | whitelist ${HOME}/.config/electron-mail | ||
23 | |||
24 | include whitelist-common.inc | ||
25 | include whitelist-usr-share-common.inc | ||
26 | include whitelist-var-common.inc | ||
27 | |||
28 | apparmor | ||
29 | caps.drop all | ||
30 | netfilter | ||
31 | no3d | ||
32 | # nodbus - breaks tray functionality | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | notv | ||
38 | nou2f | ||
39 | novideo | ||
40 | protocol unix,inet,inet6,netlink | ||
41 | seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice | ||
42 | shell none | ||
43 | # tracelog - breaks on Arch | ||
44 | |||
45 | private-bin electron-mail | ||
46 | private-cache | ||
47 | private-dev | ||
48 | private-etc alternatives,fonts | ||
49 | private-opt ElectronMail | ||
50 | private-tmp | ||
51 | |||
52 | # memory-deny-write-execute - breaks on Arch | ||