mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
The most common case when creating an aa_policy_cache object will be to do so while using the current kernel's feature set for the kernel_features parameter. Rather than have callers instantiate their own aa_features object in this situation, aa_policy_cache_new() should do it for them if they specify NULL for the kernel_features parameter. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: Steve Beattie <steve@nxnw.org>