Add Electron and Riot profiles

* Add a generic profile for Electron applications.
* Add a specific profile for Riot based on this new Electron profile.
* Addresses vector-im/riot-web#3004
* Fulfils profile request for Riot.im in netblue30/firejail#1139
This commit is contained in:
Aidan Gauland 2017-07-27 20:12:45 +12:00
parent ec03f0f580
commit fa77822573
2 changed files with 17 additions and 0 deletions

12
etc/electron.profile Normal file
View file

@ -0,0 +1,12 @@
# Generic Firejail profile for Electron applications.
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-passwdmgr.inc
caps.drop all
netfilter
nogroups
nonewprivs
noroot
protocol unix,inet,inet6,netlink
seccomp

5
etc/riot-web.profile Normal file
View file

@ -0,0 +1,5 @@
# Firejail profile for Riot.
noblacklist ~/.config/Riot
whitelist ~/.config/Riot
include /etc/firejail/electron.profile