From: Laurent Bigonville <bigon@debian.org>
To: linux-audit@redhat.com
Subject: [PATCH 3/3] docs/audit_open.3: Document that audit_open() is setting errno on failure
Date: Sat, 9 Feb 2013 16:50:35 +0100 [thread overview]
Message-ID: <1360425035-27013-4-git-send-email-bigon@debian.org> (raw)
In-Reply-To: <1360425035-27013-1-git-send-email-bigon@debian.org>
From: Laurent Bigonville <bigon@bigon.be>
Thanks to Jonathan Nieder <jrnieder@gmail.com>
See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642501
---
docs/audit_open.3 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/docs/audit_open.3 b/docs/audit_open.3
index 0feb782..6ec8eb0 100644
--- a/docs/audit_open.3
+++ b/docs/audit_open.3
@@ -15,4 +15,16 @@ audit_open creates a NETLINK_AUDIT socket for communication with the kernel part
Returns \-1 if an error occurs; otherwise, the return value is a descriptor referencing the socket.
+.SH ERRORS
+
+The
+.BR audit_open ()
+function may fail and set
+.I errno
+for any of the errors specified for the
+.BR socket (2)
+and
+.BR fcntl (2)
+routines.
+
.SH "SEE ALSO"
--
1.7.10.4
next prev parent reply other threads:[~2013-02-09 15:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-09 15:50 [PATCH 0/3] Several manpages fixes Laurent Bigonville
2013-02-09 15:50 ` [PATCH 1/3] audisp/plugins/prelude/audisp-prelude.conf.5: Fix typo Laurent Bigonville
2013-02-09 15:50 ` [PATCH 2/3] Use "\-" (minus) instead of plain "-" (hyphen) in manpages Laurent Bigonville
2013-02-09 15:50 ` Laurent Bigonville [this message]
2013-02-09 17:33 ` [PATCH 0/3] Several manpages fixes Steve Grubb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1360425035-27013-4-git-send-email-bigon@debian.org \
--to=bigon@debian.org \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox