]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: apparmor: fix vec_unique for vectors larger than 8
authorJohn Johansen <john.johansen@canonical.com>
Tue, 23 Aug 2016 09:05:50 +0000 (02:05 -0700)
committerKamal Mostafa <kamal@canonical.com>
Tue, 23 Aug 2016 16:48:23 +0000 (09:48 -0700)
commit57d3b8969c47b1dabeb9d122a88df2c14d4f1b9f
tree715307c704b7ff88fabdacef914a137fde6b1b1a
parentc74581a29c7a1e76324de69b0ab970156f136227
UBUNTU: SAUCE: apparmor: fix vec_unique for vectors larger than 8

the vec_unique path for large vectors is broken, leading to oopses
when a file handle is shared between 8 different security domains, and
then a profile replacement/removal causing a label invalidation (ie. not
all replacements) is done.

BugLink: http://bugs.launchpad.net/bugs/1579135
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
security/apparmor/label.c