[apparmor] [PATCH 4/6] libapparmor: Improve documentation of aa_policy_cache_replace_all()
Tyler Hicks
tyhicks at canonical.com
Wed Mar 25 22:37:19 UTC 2015
Document that the kernel_interface parameter is optional.
Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
---
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
--
2.1.4
More information about the AppArmor
mailing list