]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
apparmor: Use an IDR to allocate apparmor secids
authorMatthew Wilcox <willy@infradead.org>
Tue, 22 May 2018 09:32:59 +0000 (02:32 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Thu, 7 Jun 2018 08:50:49 +0000 (01:50 -0700)
commit99cc45e486786c7215a7e39824c3bbaf7cf2fc08
tree923f4c6d906c15c03e2bd250af360638f4262ce2
parent52e8c38001d8ef0ca07ef428e480cd4a35e46abf
apparmor: Use an IDR to allocate apparmor secids

Replace the custom usage of the radix tree to store a list of free IDs
with the IDR.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/secid.c