]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
apparmor: fix aa_class_names[] to match reserved classes
authorJohn Johansen <john.johansen@canonical.com>
Mon, 12 Sep 2022 05:05:26 +0000 (22:05 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 3 Oct 2022 21:49:04 +0000 (14:49 -0700)
The class name map did not have the reserved names added. Fix this

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/audit.c

index e638f7bc9f528afbbb92bdd1707e9f03c29f9b79..8dfdda98fbf138ca31702b4b3299a233bed37a6f 100644 (file)
@@ -48,13 +48,28 @@ static const char *const aa_class_names[] = {
        "unknown",
        "ptrace",
        "signal",
-       "unknown",
+       "xmatch",
        "unknown",
        "unknown",
        "net",
        "unknown",
        "label",
+       "posix_mqueue",
+       "io_uring",
+       "module",
        "lsm",
+       "unknown",
+       "unknown",
+       "unknown",
+       "unknown",
+       "unknown",
+       "unknown",
+       "unknown",
+       "unknown",
+       "unknown",
+       "unknown",
+       "X",
+       "dbus",
 };