From bba750c73469ea315d859464ddd19e495d830a72 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 10 Oct 2020 13:27:42 +0200 Subject: Fix AppArmor 3.0 support (closes #3659) AppArmor introduces the @{run} variable, which is used in and among other places. Thus, we follow suit of the built-in profiles and #include , which includes in AppArmor 3.0, defining the variable. As exists in previous versions of AppArmor, too, this patch does not introduce a backward-compatibility issue with Apparmor 2.x. --- etc/apparmor/firejail-default | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/apparmor/firejail-default b/etc/apparmor/firejail-default index 68e20d9b9..e396ae7d9 100644 --- a/etc/apparmor/firejail-default +++ b/etc/apparmor/firejail-default @@ -2,6 +2,10 @@ # Generic Firejail AppArmor profile ######################################### +# AppArmor 3.0 uses the @{run} variable in +# and . +#include + ########## # A simple PID declaration based on Ubuntu's @{pid} # Ubuntu keeps it under tunables/kernelvars and include it via tunables/global. -- cgit v1.2.3-70-g09d2