]> git.ipfire.org Git - thirdparty/linux.git/commit
apparmor: fix fast path cache check for unix sockets
authorJohn Johansen <john.johansen@canonical.com>
Sun, 14 Sep 2025 03:49:11 +0000 (20:49 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Thu, 29 Jan 2026 09:27:54 +0000 (01:27 -0800)
commit9f79b1cee91b3591a9b8fc0b3534ec966b8e463f
tree159960ac71ebd2d5c5a0a02f3b5ba376c09f6fd9
parent6ca56813f4a589f536adceb42882855d91fb1125
apparmor: fix fast path cache check for unix sockets

The fast path cache check is incorrect forcing more slow path
revalidations than necessary, because the unix logic check is inverted.

Reviewed-by: Georgia Garcia <georgia.garcia@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/file.c