From: Jarkko Sakkinen Date: Wed, 30 Oct 2013 13:52:19 +0000 (+0200) Subject: Fix man pages X-Git-Tag: v1.0.2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62f1c068a8020d222c5eb0696d1ad71cb917f644;p=platform%2Fupstream%2Fsmack.git Fix man pages Regression from 1edba54. (cherry picked from commit e6f32e4403ad549102cfbdbd02b4dcd254da84d2) --- diff --git a/doc/smack_accesses_add.3 b/doc/smack_accesses_add.3 index ec32423..0488590 100644 --- a/doc/smack_accesses_add.3 +++ b/doc/smack_accesses_add.3 @@ -110,9 +110,7 @@ label directly in the kernel. The calling process must have the CAP_MAC_ADMIN c .SH RETURN VALUE All methods, except .IR smack_accesses_free , -return 0 on success and a negative value on failure (in which case -.I errno -is set appropriately). +return 0 on success and a negative value on failure .SH EXAMPLES .nf #include diff --git a/doc/smack_have_access.3 b/doc/smack_have_access.3 index 2f6e535..3942e22 100644 --- a/doc/smack_have_access.3 +++ b/doc/smack_have_access.3 @@ -76,11 +76,12 @@ when it is no longer required. .BR smack_new_label_from_self () and .BR smack_new_label_from_socket () -return 0 on success or \-1 on error (in which case, -.I errno -is set appropriately). +return 0 on success or \-1 on error .BR smack_have_access () -returns 1 if allowed, 0 if no access and \-1 on error (in which case, -.I errno -is set appropriately). +returns 1 if allowed, 0 if no access and \-1 on error + +.BR smack_label_length () +returns length of +.I label +if it is valid and negative value if it's not.