aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2025-06-14 13:49:34 -0700
committerJohn Johansen <john.johansen@canonical.com>2025-07-15 22:39:43 -0700
commit50d56a1a366a3a5e7e41d9efff1a5e4ee7bf98a7 (patch)
treef12e4ea400b8493433cb66f31e3c269e4b044466
parentapparmor: fix af_unix auditing to include all address information (diff)
downloadwireguard-linux-50d56a1a366a3a5e7e41d9efff1a5e4ee7bf98a7.tar.xz
wireguard-linux-50d56a1a366a3a5e7e41d9efff1a5e4ee7bf98a7.zip
apparmor: fix AA_DEBUG_LABEL()
AA_DEBUG_LABEL() was not specifying it vargs, which is needed so it can output debug parameters. Fixes: 71e6cff3e0dd ("apparmor: Improve debug print infrastructure") Signed-off-by: John Johansen <john.johansen@canonical.com>
-rw-r--r--security/apparmor/include/lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/lib.h b/security/apparmor/include/lib.h
index 200cf36c5e0a..444197075fd6 100644
--- a/security/apparmor/include/lib.h
+++ b/security/apparmor/include/lib.h
@@ -42,7 +42,7 @@ extern struct aa_dfa *stacksplitdfa;
if (aa_g_debug & opt) \
pr_warn_ratelimited("%s: " fmt, __func__, ##args); \
} while (0)
-#define AA_DEBUG_LABEL(LAB, X, fmt, args) \
+#define AA_DEBUG_LABEL(LAB, X, fmt, args...) \
do { \
if ((LAB)->flags & FLAG_DEBUG1) \
AA_DEBUG(X, fmt, args); \