Georgia Garcia 7b2384f7eb apparmor: unpack transition table if dfa is not present
[ Upstream commit e0ff0cff1f6cdce0aa596aac04129893201c4162 ]

Due to a bug in earlier userspaces, a transition table may be present
even when the dfa is not. Commit 7572fea31e3e
("apparmor: convert fperm lookup to use accept as an index") made the
verification check more rigourous regressing old userspaces with
the bug. For compatibility reasons allow the orphaned transition table
during unpack and discard.

Fixes: 7572fea31e3e ("apparmor: convert fperm lookup to use accept as an index")
Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-03 09:01:08 +02:00
..
2024-01-19 10:53:55 -08:00
2023-11-19 00:48:12 -08:00
2023-10-18 15:30:47 -07:00
2023-10-18 15:30:47 -07:00
2023-10-18 15:30:47 -07:00
2022-12-14 13:42:09 -08:00
2023-10-18 15:30:47 -07:00
2023-10-18 15:30:47 -07:00
2023-11-12 22:54:42 -05:00
2023-01-10 10:04:35 -08:00