Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+1 -1
+1 -1
security/apparmor/include/lib.h
··· 42 42 if (aa_g_debug & opt) \ 43 43 pr_warn_ratelimited("%s: " fmt, __func__, ##args); \ 44 44 } while (0) 45 - #define AA_DEBUG_LABEL(LAB, X, fmt, args) \ 45 + #define AA_DEBUG_LABEL(LAB, X, fmt, args...) \ 46 46 do { \ 47 47 if ((LAB)->flags & FLAG_DEBUG1) \ 48 48 AA_DEBUG(X, fmt, args); \