From dc4a38b61440fd4d38c9cd6e7eb0bc3b83f5f6ba Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Wed, 4 Jan 2023 04:50:09 +0000 Subject: electron: change hardening comment --- etc/profile-a-l/electron.profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/profile-a-l/electron.profile b/etc/profile-a-l/electron.profile index c1d337abd..c15e43399 100644 --- a/etc/profile-a-l/electron.profile +++ b/etc/profile-a-l/electron.profile @@ -22,8 +22,8 @@ include whitelist-runuser-common.inc include whitelist-usr-share-common.inc include whitelist-var-common.inc -# Add the next line to your chromium-common.local if your kernel allows unprivileged userns clone. -#include chromium-common-hardened.inc.profile +# Add the next line to your electron.local if your kernel allows unprivileged userns clone. +#include electron-hardened.inc.profile apparmor caps.keep sys_admin,sys_chroot -- cgit v1.2.3-70-g09d2 From cf89a886dbb90f4d4f03ec489bd209adc0cc58f3 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Wed, 4 Jan 2023 04:51:52 +0000 Subject: Create electron-hardened.inc.profile --- etc/profile-a-l/electron-hardened.inc.profile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 etc/profile-a-l/electron-hardened.inc.profile (limited to 'etc') diff --git a/etc/profile-a-l/electron-hardened.inc.profile b/etc/profile-a-l/electron-hardened.inc.profile new file mode 100644 index 000000000..eacf5cebe --- /dev/null +++ b/etc/profile-a-l/electron-hardened.inc.profile @@ -0,0 +1,10 @@ +# Firejail profile alias for chrome-common-hardened.inc +# This file is overwritten after every install/update +# Persistent local customizations +include electron-hardened.inc.local +# Persistent global definitions +# added by caller profile +#include globals.local + +# Redirect +include chrome-common-hardened.inc.profile -- cgit v1.2.3-70-g09d2