From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Clone and fcntl64 flags patch Date: Tue, 24 Jul 2007 17:36:45 -0400 Message-ID: <200707241736.46328.sgrubb@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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: "John D. Ramsdell" Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com On Monday 23 July 2007 07:44:42 am John D. Ramsdell wrote: > Enclosed is a patch for auparse/interpret.c that makes it so that > a0 is interpreted for clone flags, not a2. =C2=A0 Thanks...will appy. > It also fixes two problems with interpreting the fcntl system call. =C2= =A0The > name of the system call is fcntl64, but the original code looked for th= e > name fcntl. It was doing: strncmp(sys, "fcntl", 5) =3D=3D 0), which is not a full str= ing=20 compare. I think this is correct. > I have also added a case so that a2 is printed as FD_CLOEXEC whenever = a1 is > F_SETFD and a2 is 1. Thanks...merging this piece. -Steve