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

John Johansen john.johansen at canonical.com
Mon Jun 15 18:21:45 UTC 2015

On 06/12/2015 02:59 PM, Tyler Hicks wrote:
> On 2015-06-05 03:24:16, John Johansen wrote:
>> 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"                        ^.............^
> Changed locally. Thanks!
Acked-by: John Johansen <john.johansen at canonical.com>

More information about the AppArmor mailing list