apparmor: fix aa_class_names[] to match reserved classes

The class name map did not have the reserved names added. Fix this

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2022-09-11 22:05:26 -07:00
parent 1ad22fcc4d
commit 961f3e3de1

View 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",
};