[apparmor] [PATCH v2 14/14] libapparmor: Create a man page for aa_policy_cache
tyhicks at canonical.com
Fri Jun 12 21:59:37 UTC 2015
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!
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the AppArmor