[PATCH 3/3] docs/audit_open.3: Document that audit_open() is setting errno on failure
Laurent Bigonville
bigon at debian.org
Sat Feb 9 15:50:35 UTC 2013
From: Laurent Bigonville <bigon at bigon.be>
Thanks to Jonathan Nieder <jrnieder at 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
More information about the Linux-audit
mailing list