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 31f2e8a..1a88188 100644
--- a/libraries/libapparmor/src/policy_cache.c
+++ b/libraries/libapparmor/src/policy_cache.c
@@ -249,6 +249,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
-- 
2.1.4


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

Reply via email to