From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Bigonville 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 Message-ID: <1360425035-27013-4-git-send-email-bigon@debian.org> References: <1360425035-27013-1-git-send-email-bigon@debian.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx12.extmail.prod.ext.phx2.redhat.com [10.5.110.17]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r19Foox5013125 for ; Sat, 9 Feb 2013 10:50:51 -0500 Received: from anor.bigon.be (anor.bigon.be [91.121.173.99]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r19FonmK018601 for ; Sat, 9 Feb 2013 10:50:50 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by anor.bigon.be (Postfix) with ESMTP id 57DB51A0BF for ; Sat, 9 Feb 2013 16:50:49 +0100 (CET) Received: from anor.bigon.be ([127.0.0.1]) by localhost (anor.bigon.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9a-7g3AI3Acf for ; Sat, 9 Feb 2013 16:50:46 +0100 (CET) Received: from fornost.bigon.be (unknown [IPv6:2a02:578:85fc:1:226:18ff:fe08:6073]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: bigon) by anor.bigon.be (Postfix) with ESMTPSA id B09341A045 for ; Sat, 9 Feb 2013 16:50:45 +0100 (CET) In-Reply-To: <1360425035-27013-1-git-send-email-bigon@debian.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com From: Laurent Bigonville Thanks to Jonathan Nieder 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