mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
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:
parent
ec03f0f580
commit
fa77822573
2 changed files with 17 additions and 0 deletions
12
etc/electron.profile
Normal file
12
etc/electron.profile
Normal 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
5
etc/riot-web.profile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Firejail profile for Riot.
|
||||
noblacklist ~/.config/Riot
|
||||
whitelist ~/.config/Riot
|
||||
|
||||
include /etc/firejail/electron.profile
|
||||
Loading…
Add table
Add a link
Reference in a new issue