From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: the format string of printf to print audit status is wrong Date: Mon, 4 Aug 2008 16:06:43 -0400 Message-ID: <200808041606.43958.sgrubb@redhat.com> References: <489148A4.3050807@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <489148A4.3050807@cn.fujitsu.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Yu Zhiguo Cc: audit-list List-Id: linux-audit@redhat.com On Thursday 31 July 2008 01:07:48 Yu Zhiguo wrote: > =C2=A0 all audit status's type is __u32, so '%u' should be used > in format string of printf rather than '%d', otherwise the > value outputted to user will be wraparound. > > =C2=A0 This is the patch. Can you apply it? Applied. Thanks! -Steve