]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
apparmor: Improve debug print infrastructure
authorJohn Johansen <john.johansen@canonical.com>
Fri, 23 Sep 2022 23:36:10 +0000 (16:36 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sat, 18 Jan 2025 14:47:11 +0000 (06:47 -0800)
commit71e6cff3e0dde6f6a3355d6c73ca3e176567995e
treeb4a139d926b32f1fd43405725f606dc22345d554
parentc602537de3c137e55582d7fccfb18e50f1cd9c83
apparmor: Improve debug print infrastructure

Make it so apparmor debug output can be controlled by class flags
as well as the debug flag on labels. This provides much finer
control at what is being output so apparmor doesn't flood the
logs with information that is not needed, making it hard to find
what is important.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/domain.c
security/apparmor/include/apparmor.h
security/apparmor/include/lib.h
security/apparmor/label.c
security/apparmor/lib.c
security/apparmor/lsm.c
security/apparmor/policy.c
security/apparmor/policy_ns.c
security/apparmor/procattr.c