]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
apparmor: increase left match history buffer size
authorJohn Johansen <john.johansen@canonical.com>
Fri, 31 May 2019 13:54:54 +0000 (06:54 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 9 Apr 2020 20:58:26 +0000 (15:58 -0500)
commit348961c4421ab35f083b24e94ff4e08f278e4de2
tree9c2e542be8e44fd35f12337866a75713edc7696a
parentddccc38bba2446897282d5187b2cbacd229e6766
apparmor: increase left match history buffer size

There have been cases reported where a history buffer size of 8 was
not enough to resolve conflict overlaps. Increase the buffer to and
get rid of the size element which is currently just storing the
constant WB_HISTORY_SIZE.

Signed-off-by: John Johansen <john.johansen@canonical.com>
(cherry picked from commit 136db994852a9b405ac1074de0e7a1c4c840b8ee)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
security/apparmor/include/match.h
security/apparmor/match.c