linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] apparmor unaligned memory fixes
@ 2025-05-31 15:08 deller
  2025-05-31 15:08 ` [PATCH 1/2] apparmor: Fix 8-byte alignment for initial dfa blob streams deller
  2025-05-31 15:08 ` [PATCH 2/2] apparmor: Fix unaligned memory accesses in KUnit test deller
  0 siblings, 2 replies; 3+ messages in thread
From: deller @ 2025-05-31 15:08 UTC (permalink / raw)
  To: linux-kernel, apparmor, John Johansen, linux-security-module; +Cc: Helge Deller

From: Helge Deller <deller@gmx.de>

Two patches which fix unaligned memory accesses in apparmor.
Both triggered on the parisc platform, which is much more
memory alignment sensitive and will report violations.
Please check and apply.

Helge

Helge Deller (2):
  apparmor: Fix 8-byte alignment for initial dfa blob streams
  apparmor: Fix unaligned memory accesses in KUnit test

 security/apparmor/lsm.c                | 4 ++--
 security/apparmor/policy_unpack_test.c | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

-- 
2.47.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-31 15:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-31 15:08 [PATCH 0/2] apparmor unaligned memory fixes deller
2025-05-31 15:08 ` [PATCH 1/2] apparmor: Fix 8-byte alignment for initial dfa blob streams deller
2025-05-31 15:08 ` [PATCH 2/2] apparmor: Fix unaligned memory accesses in KUnit test deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).