From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [PATCH] Add auditd listener and remote audit protocol Date: Tue, 29 Sep 2009 15:27:59 -0400 Message-ID: <200909291527.59182.sgrubb@redhat.com> References: <200808142143.m7ELh0MP028560@greed.delorie.com> <1218760295.7022.277.camel@homeserver> <1254246768.9900.14.camel@lcb> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1254246768.9900.14.camel@lcb> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: LC Bruzenak Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Tuesday 29 September 2009 01:52:48 pm LC Bruzenak wrote: > I have been doing this but I really cannot tell if the audisp-remote > connection succeeds; it returns "0" either way. > Would there be an easy way to return a non-zero failure indicator? It sounds like a reasonable request. Looking at the source, it does return non-zero on certain things. I think its just a matter of checking the queue size on exit and using that to decide the return value. -Steve