[apparmor] [PATCH v2 03/14] libapparmor: Improve documentation of aa_policy_cache_replace_all()
Tyler Hicks
tyhicks at canonical.com
Thu Apr 2 15:17:40 UTC 2015
Document that the kernel_interface parameter is optional.
Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
Acked-by: Steve Beattie <steve at nxnw.org>
---
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
More information about the AppArmor
mailing list