linux/security
John Johansen 2504db2071 apparmor: fix overlapping attachment computation
When finding the profile via patterned attachments, the longest left
match is being set to the static compile time value and not using the
runtime computed value.

Fix this by setting the candidate value to the greater of the
precomputed value or runtime computed value.

Fixes: 21f606610502 ("apparmor: improve overlapping domain attachment resolution")
Signed-off-by: John Johansen <john.johansen@canonical.com>
2022-07-19 02:52:36 -07:00
..
2020-11-06 08:08:37 -08:00
2022-05-24 13:50:39 -07:00
2022-05-24 13:16:50 -07:00
2022-05-16 16:02:21 -07:00
2022-05-24 13:06:32 -07:00
2022-05-03 16:09:03 -04:00
2022-05-24 13:09:13 -07:00