]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
apparmor: fix shadowing of plabel that prevents cache from being updated
authorJohn Johansen <john.johansen@canonical.com>
Thu, 23 Oct 2025 06:46:19 +0000 (23:46 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 14 Jun 2026 03:14:06 +0000 (20:14 -0700)
commit4483efe4f21510b30c24bc97d9fd0e8feab94125
treef2a9f11b2633bfd3c70cdc99e9be1d8965c74bf2
parentc3382d1e69136ce0aa755fbe09512e03cdd95944
apparmor: fix shadowing of plabel that prevents cache from being updated

Unfortunately the plabel was being shadowed by an unused local var.
This didn't affect the mediation check but did cauase the cache to
not correctly be updated resulting in extra mediation checks.

Fixes: 88fec3526e841 ("apparmor: make sure unix socket labeling is correctly updated.")
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/af_unix.c