aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/electron.profile12
-rw-r--r--etc/riot-web.profile5
2 files changed, 17 insertions, 0 deletions
diff --git a/etc/electron.profile b/etc/electron.profile
new file mode 100644
index 000000000..efaecf029
--- /dev/null
+++ b/etc/electron.profile
@@ -0,0 +1,12 @@
1# Generic Firejail profile for Electron applications.
2include /etc/firejail/disable-common.inc
3include /etc/firejail/disable-programs.inc
4include /etc/firejail/disable-passwdmgr.inc
5
6caps.drop all
7netfilter
8nogroups
9nonewprivs
10noroot
11protocol unix,inet,inet6,netlink
12seccomp
diff --git a/etc/riot-web.profile b/etc/riot-web.profile
new file mode 100644
index 000000000..4814dadf7
--- /dev/null
+++ b/etc/riot-web.profile
@@ -0,0 +1,5 @@
1# Firejail profile for Riot.
2noblacklist ~/.config/Riot
3whitelist ~/.config/Riot
4
5include /etc/firejail/electron.profile