linux-yocto/security/apparmor
Mateusz Guzik f8c001884b 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-28 16:28:28 +02:00
..
include apparmor: use the condition in AA_BUG_FMT even with debug disabled 2025-08-28 16:28:28 +02:00
.gitignore
apparmorfs.c
audit.c
capability.c apparmor: fix 'Do simple duplicate message elimination' 2024-12-09 10:32:38 +01:00
crypto.c
domain.c
file.c apparmor: shift ouid when mediating hard links in userns 2025-08-28 16:28:28 +02:00
ipc.c
Kconfig
label.c
lib.c
lsm.c
Makefile
match.c apparmor: fix loop detection used in conflicting attachment resolution 2025-08-15 12:08:57 +02:00
mount.c
net.c
nulldfa.in
path.c
policy_compat.c
policy_ns.c
policy_unpack_test.c apparmor: test: Fix memory leak for aa_unpack_strdup() 2024-12-09 10:32:45 +01:00
policy_unpack.c
policy.c
procattr.c
resource.c
secid.c
stacksplitdfa.in
task.c