summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2013-11-12 12:02:38 -0500
committerPaul Moore <pmoore@redhat.com>2013-11-12 12:02:38 -0500
commit21d4da247605149e913d6e727354ab3530c2fcd1 (patch)
tree0319e81ef16bf209e4f8a966a4bcae5d0d1dc5e0 /doc
parent2fa593e06bcb345f0302a5662c82fd542b849f0c (diff)
downloadlibseccomp-21d4da247605149e913d6e727354ab3530c2fcd1.tar.gz
Revert "doc: fix documentation mistakes relating to the syscall resolver functions"
This reverts commit 2fa593e06bcb345f0302a5662c82fd542b849f0c. Decided that the better solution is to leave the documentation as-is and change the code instead.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/man3/seccomp_syscall_resolve_name.38
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/man/man3/seccomp_syscall_resolve_name.3 b/doc/man/man3/seccomp_syscall_resolve_name.3
index 9795af4..0e78b55 100644
--- a/doc/man/man3/seccomp_syscall_resolve_name.3
+++ b/doc/man/man3/seccomp_syscall_resolve_name.3
@@ -1,4 +1,4 @@
-.TH "seccomp_syscall_resolve_name" 3 "11 November 2013" "paul@paul-moore.com" "libseccomp Documentation"
+.TH "seccomp_syscall_resolve_name" 3 "7 January 2013" "paul@paul-moore.com" "libseccomp Documentation"
.\" //////////////////////////////////////////////////////////////////////////
.SH NAME
.\" //////////////////////////////////////////////////////////////////////////
@@ -44,10 +44,8 @@ the associated syscall number is returned, with the negative pseudo syscall
number being returned in cases where the given syscall does not exist for the
architeture. The value
.BR __NR_SCMP_ERROR
-is returned if the syscall does not exist with other negative values returned
-on other error conditions. In all cases, the return value is suitable for
-use in any libseccomp API function which requires the syscall number, examples
-include
+is returned in case of error. In all cases, the return value is suitable for
+use in any libseccomp API function which requires the syscall number, examples include
.BR seccomp_rule_add ()
and
.BR seccomp_rule_add_exact ().