Documentation fixes
authorJarkko Sakkinen <jarkko.sakkinen@intel.com>
Thu, 13 Jun 2013 05:34:47 +0000 (08:34 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@intel.com>
Thu, 13 Jun 2013 05:34:47 +0000 (08:34 +0300)
* Added doc/smack_new_label_from_path.3.
* Fixed doxygen warnings from smack.h.

doc/Makefile.am
doc/smack_new_label_from_path.3 [new file with mode: 0644]
libsmack/sys/smack.h

index 9f7d42a..b02880d 100644 (file)
@@ -32,6 +32,7 @@ man_MANS = smackaccess.1 \
           smack_have_access.3 \
           smack_new_label_from_self.3 \
           smack_new_label_from_socket.3 \
+          smack_new_label_from_path.3 \
           smack_set_label_for_self.3 \
           smack_revoke_subject.3 \
           chsmack.8 \
diff --git a/doc/smack_new_label_from_path.3 b/doc/smack_new_label_from_path.3
new file mode 100644 (file)
index 0000000..7b93ba0
--- /dev/null
@@ -0,0 +1 @@
+.so man3/smack_accesses_add.3
index 4f04d48..09defbc 100644 (file)
@@ -155,7 +155,7 @@ int smack_cipso_new(struct smack_cipso **cipso);
  *
  * @param handle handle to a struct smack_cipso *instance
  */
-void smack_cipso_free(struct smack_cipso *cipso);
+void smack_cipso_free(struct smack_cipso *handle);
 
 /*!
  * Write rules to kernel.
@@ -163,7 +163,7 @@ void smack_cipso_free(struct smack_cipso *cipso);
  * @param handle handle to a rules
  * @return 0 on success and negative value on failure.
  */
-int smack_cipso_apply(struct smack_cipso *cipso);
+int smack_cipso_apply(struct smack_cipso *handle);
 
 /*!
  * Add rules from file.