diff options
author | John Johansen <john.johansen@canonical.com> | 2022-09-11 22:05:26 -0700 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-03 14:49:04 -0700 |
commit | 961f3e3de14467f3babe252f7b6cc44a36ebba64 (patch) | |
tree | 16a7b9cab2596c29a194f4b62baff1ab38f90066 /security | |
parent | 1ad22fcc4d0d2fb2e0f35aed555a86d016d5e590 (diff) | |
download | linux-961f3e3de14467f3babe252f7b6cc44a36ebba64.tar.gz linux-961f3e3de14467f3babe252f7b6cc44a36ebba64.tar.bz2 linux-961f3e3de14467f3babe252f7b6cc44a36ebba64.zip |
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>
Diffstat (limited to 'security')
-rw-r--r-- | security/apparmor/audit.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/security/apparmor/audit.c b/security/apparmor/audit.c index e638f7bc9f52..8dfdda98fbf1 100644 --- a/security/apparmor/audit.c +++ b/security/apparmor/audit.c @@ -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", }; |