diff options
author | John Johansen <john.johansen@canonical.com> | 2022-09-06 23:03:44 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 23:49:02 +0200 |
commit | f47acc4b7c43d566bf42816335830c4c17f9c200 (patch) | |
tree | 0861e84e2682e63222d2b3d4a2e78a8a968d0c3a /security | |
parent | apparmor: fix lockdep warning when removing a namespace (diff) | |
download | linux-f47acc4b7c43d566bf42816335830c4c17f9c200.tar.xz linux-f47acc4b7c43d566bf42816335830c4c17f9c200.zip |
apparmor: reserve mediation classes
Reserve mediation classes that exist in out of tree development
branches or are used by userspace mediation helpers.
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/apparmor/include/apparmor.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/security/apparmor/include/apparmor.h b/security/apparmor/include/apparmor.h index 9c3fc36a0702..dd2c131ed170 100644 --- a/security/apparmor/include/apparmor.h +++ b/security/apparmor/include/apparmor.h @@ -28,8 +28,15 @@ #define AA_CLASS_SIGNAL 10 #define AA_CLASS_NET 14 #define AA_CLASS_LABEL 16 +#define AA_CLASS_POSIX_MQUEUE 17 +#define AA_CLASS_IO_URING 18 +#define AA_CLASS_MODULE 19 +#define AA_CLASS_DISPLAY_LSM 20 -#define AA_CLASS_LAST AA_CLASS_LABEL +#define AA_CLASS_X 31 +#define AA_CLASS_DBUS 32 + +#define AA_CLASS_LAST AA_CLASS_DBUS /* Control parameters settable through module/boot flags */ extern enum audit_mode aa_g_audit; |