diff options
| author | 2024-07-03 15:59:32 +0100 | |
|---|---|---|
| committer | 2024-07-03 15:59:32 +0100 | |
| commit | c1c34113cce20ce3db4f433a2fff64eca7fca7af (patch) | |
| tree | bec550b06ad8aa600295a4481549811e1169b355 /make | |
| parent | Release v4.0.1. (diff) | |
Update the AppArmor profile for the new profile syntax.
Co-authored-by: Marcus Rueckert <darix@nordisch.org>
Diffstat (limited to 'make')
| -rw-r--r-- | make/template/apparmor | 17 |
1 files changed, 10 insertions, 7 deletions
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 <tunables/global> -@BINARY_DIR@/inspircd { - #include <abstractions/base> - #include <abstractions/nameservice> +profile inspircd @BINARY_DIR@/inspircd { + include <abstractions/base> + include <abstractions/nameservice> capability net_bind_service, capability setgid, @@ -40,12 +40,15 @@ @RUNTIME_DIR@/** rw, # Required by the ldap module: - #include <abstractions/ldapclient> + include <abstractions/ldapclient> # Required by the mysql module: - #include <abstractions/mysql> + include <abstractions/mysql> # Required by the ssl_gnutls and ssl_openssl modules: - #include <abstractions/ssl_certs> - #include <abstractions/ssl_keys> + include <abstractions/ssl_certs> + include <abstractions/ssl_keys> + + # External distro/install specific rules: + include if exists <local/inspircd> } |
