From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Antill Subject: Re: audit 1.2.2 released Date: Thu, 25 May 2006 11:16:29 -0400 Message-ID: <1148570190.8828.12.camel@code.and.org> References: <200605121726.32952.sgrubb@redhat.com> <4469F585.6030108@hp.com> <200605161323.32162.sgrubb@redhat.com> <200605221331.54945.sgrubb@redhat.com> <4473374C.8030902@us.ibm.com> <44738AA0.50006@us.ibm.com> <44739521.7080602@hp.com> <4474B7B2.6030601@us.ibm.com> <1148504311.8828.6.camel@code.and.org> <4475B5B2.3010408@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0765459947==" Return-path: Received: from mail.and.org (vpn83-122.boston.redhat.com [172.16.83.122]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k4PFGZLw029501 for ; Thu, 25 May 2006 11:16:37 -0400 In-Reply-To: <4475B5B2.3010408@us.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Michael C Thompson Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com --===============0765459947== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-m88DWfoPzPatBWXWfyFY" --=-m88DWfoPzPatBWXWfyFY Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2006-05-25 at 08:48 -0500, Michael C Thompson wrote: > Do you mean to say that embedded audit_log_user_message() inside a loop=20 > changes it's return code? Sorry, my explanation probably wasn't clear. It changes from the first to the second invocation, the first is always -1 the second is always 0 (on boot, only, after boot the first succeeds as well). int i; for (i=3D0; i<2; i++) { rc =3D audit_log_user_message(); } > Is that code sample correct? It is now, yes. --=20 James Antill - > * What is the penalty for using RHEL without paying? We subscribe them to memo-list. -- Bill Nottingham --=-m88DWfoPzPatBWXWfyFY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEdcpN11eXTEMrxtQRAprsAKC8Wrh9KSeHdYILa6C47HbvtomInwCfYTIK FFc7iDx32Dtx7UHuOQjpSIw= =NWsF -----END PGP SIGNATURE----- --=-m88DWfoPzPatBWXWfyFY-- --===============0765459947== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0765459947==--