Signed-off-by: Joachim Wiedorn <ad_debian@joonet.de>
int ret = 0;
if (smack_accesses_new(&rules))
- return -1;
+ return \-1;
if (smack_accesses_add_from_file(rules, fd)) {
smack_accesses_free(rules);
- return -1;
+ return \-1;
}
if (!clear)
.BR smack_new_label_from_self ()
and
.BR smack_new_label_from_socket ()
-return 0 on success or -1 on error (in which case,
+return 0 on success or \-1 on error (in which case,
.I errno
is set appropriately).
.BR smack_have_access ()
-returns 1 if allowed, 0 if no access and -1 on error (in which case,
+returns 1 if allowed, 0 if no access and \-1 on error (in which case,
.I errno
is set appropriately).
.so man3/smack_new_label_from_self.3
.\" Author:
.\" Brian McGillion <brian.mcgillion@intel.com>
.\"
-.TH "SMACKACCESS" "8" "03/05/2012" "smack-utils 1\&.0"
+.TH "SMACKACCESS" "1" "03/05/2012" "smack-utils 1\&.0"
.SH NAME
smackaccess \- Determine if a rule is permitted by the current Smack policy
.SH SYNOPSIS