From c1c34113cce20ce3db4f433a2fff64eca7fca7af Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 3 Jul 2024 15:59:32 +0100 Subject: Update the AppArmor profile for the new profile syntax. Co-authored-by: Marcus Rueckert --- make/template/apparmor | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'make') diff --git a/make/template/apparmor b/make/template/apparmor index dc1cbd8ed..3788e2046 100644 --- a/make/template/apparmor +++ b/make/template/apparmor @@ -21,9 +21,9 @@ #include -@BINARY_DIR@/inspircd { - #include - #include +profile inspircd @BINARY_DIR@/inspircd { + include + include capability net_bind_service, capability setgid, @@ -40,12 +40,15 @@ @RUNTIME_DIR@/** rw, # Required by the ldap module: - #include + include # Required by the mysql module: - #include + include # Required by the ssl_gnutls and ssl_openssl modules: - #include - #include + include + include + + # External distro/install specific rules: + include if exists } -- cgit v1.3.1-10-gc9f91