linux-kernelorg-stable/security/apparmor/include
Mateusz Guzik 3692877bea apparmor: use the condition in AA_BUG_FMT even with debug disabled
[ Upstream commit 67e370aa7f ]

This follows the established practice and fixes a build failure for me:
security/apparmor/file.c: In function ‘__file_sock_perm’:
security/apparmor/file.c:544:24: error: unused variable ‘sock’ [-Werror=unused-variable]
  544 |         struct socket *sock = (struct socket *) file->private_data;
      |                        ^~~~

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-20 18:30:47 +02:00
..
apparmor.h
apparmorfs.h
audit.h
capability.h
cred.h
crypto.h
domain.h
file.h
ipc.h
label.h
lib.h apparmor: use the condition in AA_BUG_FMT even with debug disabled 2025-08-20 18:30:47 +02:00
match.h
mount.h
net.h
path.h
perms.h
policy.h
policy_compat.h
policy_ns.h
policy_unpack.h
procattr.h
resource.h
secid.h
sig_names.h
task.h