diff options
author | John Johansen <[email protected]> | 2022-03-26 01:58:15 -0700 |
---|---|---|
committer | John Johansen <[email protected]> | 2022-07-19 02:52:36 -0700 |
commit | 2504db207146543736e877241f3b3de005cbe056 (patch) | |
tree | feaa7a3e2737a2bc8d2365c6e235c7755b5eacd6 /drivers/fpga/fpga-mgr.c | |
parent | 3bbb7b2e9bbcd22e539e23034da753898fe3b4dc (diff) |
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 <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions