umber-kernel/security/apparmor/include
Helge Deller e027999049 apparmor: Fix & Optimize table creation from possibly unaligned memory
[ Upstream commit 6fc367bfd4c8886e6b1742aabbd1c0bdc310db3a ]

Source blob may come from userspace and might be unaligned.
Try to optize the copying process by avoiding unaligned memory accesses.

- Added Fixes tag
- Added "Fix &" to description as this doesn't just optimize but fixes
        a potential unaligned memory access
Fixes: e6e8bf4188 ("apparmor: fix restricted endian type warnings for dfa unpack")
Signed-off-by: Helge Deller <deller@gmx.de>
[jj: remove duplicate word "convert" in comment trigger checkpatch warning]
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-02-26 14:59:41 -08:00
..
af_unix.h
apparmor.h
apparmorfs.h
audit.h
capability.h
cred.h
crypto.h
domain.h
file.h
ipc.h
label.h
lib.h
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
signal.h
task.h