From 354b8f2d76e2c7bc25fa1fe244bce37f05f4283d Mon Sep 17 00:00:00 2001 From: Jarkko Sakkinen Date: Thu, 13 Jun 2013 08:34:47 +0300 Subject: [PATCH] Documentation fixes * Added doc/smack_new_label_from_path.3. * Fixed doxygen warnings from smack.h. --- doc/Makefile.am | 1 + doc/smack_new_label_from_path.3 | 1 + libsmack/sys/smack.h | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 doc/smack_new_label_from_path.3 diff --git a/doc/Makefile.am b/doc/Makefile.am index 9f7d42a..b02880d 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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 index 0000000..7b93ba0 --- /dev/null +++ b/doc/smack_new_label_from_path.3 @@ -0,0 +1 @@ +.so man3/smack_accesses_add.3 diff --git a/libsmack/sys/smack.h b/libsmack/sys/smack.h index 4f04d48..09defbc 100644 --- a/libsmack/sys/smack.h +++ b/libsmack/sys/smack.h @@ -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. -- 2.7.4