On Wed, Mar 25, 2015 at 05:37:19PM -0500, Tyler Hicks wrote:
> Document that the kernel_interface parameter is optional.
> 
> Signed-off-by: Tyler Hicks <[email protected]>

Acked-by: Steve Beattie <[email protected]>

> ---
>  libraries/libapparmor/src/policy_cache.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libraries/libapparmor/src/policy_cache.c 
> b/libraries/libapparmor/src/policy_cache.c
> index e05913e..44eb34d 100644
> --- a/libraries/libapparmor/src/policy_cache.c
> +++ b/libraries/libapparmor/src/policy_cache.c
> @@ -251,6 +251,8 @@ int aa_policy_cache_remove(const char *path)
>   * aa_policy_cache_replace_all - performs a kernel policy replacement of all 
> cached policies
>   * @policy_cache: the policy_cache
>   * @kernel_interface: the kernel interface to use when doing the replacement
> + *                    (may be NULL if the currently running kernel features
> + *                    were used when calling aa_policy_cache_new())
>   *
>   * Returns: 0 on success, -1 on error with errno set and features pointing to
>   *          NULL

-- 
Steve Beattie
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to