[apparmor] [PATCH v2 14/14] libapparmor: Create a man page for aa_policy_cache

John Johansen john.johansen at canonical.com
Fri Jun 5 10:24:16 UTC 2015

On 04/02/2015 08:17 AM, Tyler Hicks wrote:
> Create a section 3 man page for the aa_policy_cache family of functions.
> Additionally, update the in-code descriptions to match the descriptions
> in the man page.
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
> ---

<< snip >>

> +
> +The aa_policy_cache_new() function creates an I<aa_policy_cache> object based
> +upon a directory file descriptor and path. The I<path> must point to a
> +directory. See the openat(2) man page for examples of I<dirfd> and I<path>. If
> +I<kernel_features> is NULL, then the features of the current kernel are used.
> +When specifying a valid I<kernel_features> object, it must be the features of
> +the kernel of interest. The value of I<max_caches> should be equal to the
again I would prefer "it must be compatible with the features of the kernel of
interest"                        ^.............^

so the rest looks good, but I am going to hold off acking until the api question
around max_cache and cache creation is resolved

More information about the AppArmor mailing list