linux-yocto/security/apparmor
Mateusz Guzik 91e10ec23a 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:26:01 +02:00
..
include apparmor: use the condition in AA_BUG_FMT even with debug disabled 2025-08-28 16:26:01 +02:00
.gitignore
apparmorfs.c apparmor: fix possible NULL pointer dereference 2024-09-08 07:53:07 +02:00
audit.c
capability.c apparmor: fix 'Do simple duplicate message elimination' 2024-12-14 19:53:53 +01:00
crypto.c
domain.c
file.c
ipc.c
Kconfig
label.c
lib.c
lsm.c apparmor: Fix null pointer deref when receiving skb during sock creation 2024-08-03 08:49:50 +02:00
Makefile
match.c apparmor: ensure WB_HISTORY_SIZE value is a power of 2 2025-08-15 12:05:05 +02:00
mount.c
net.c
nulldfa.in
path.c
policy_ns.c
policy_unpack_test.c apparmor: test: Fix memory leak for aa_unpack_strdup() 2024-12-14 19:53:59 +01:00
policy_unpack.c apparmor: use kvfree_sensitive to free data->data 2024-08-03 08:49:33 +02:00
policy.c apparmor: use kvfree_sensitive to free data->data 2024-08-03 08:49:33 +02:00
procattr.c
resource.c
secid.c
stacksplitdfa.in
task.c