Commit 961f3e3d authored by John Johansen's avatar John Johansen
Browse files

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: default avatarJohn Johansen <john.johansen@canonical.com>
parent 1ad22fcc
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -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",
};