From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: [PATCH 4/4] Add the checking of key field for a watch or syscall given Date: Mon, 4 Aug 2008 21:59:00 -0400 Message-ID: <200808042159.00711.sgrubb@redhat.com> References: <48943410.5030400@cn.fujitsu.com> <200808042006.10991.sgrubb@redhat.com> <4897A095.7010605@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4897A095.7010605@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: zhangxiliang Cc: Linux Audit List-Id: linux-audit@redhat.com On Monday 04 August 2008 20:36:37 zhangxiliang wrote: > >> When field is AUDIT_FILTERKEY, it should need a watch or syscall giv= en > >> prior to it. So I add checking and error message "-19" to realize it= . > >> > >> Do you agree with me? > > > > Yes, but where does permadded get set? > > "permadded" set in "lib/libaudit.c" as follows=EF=BC=9A > =C2=A0int audit_permadded hidden =3D 0; > =C2=A0int audit_archadded hidden =3D 0; > =C2=A0int audit_syscalladded hidden =3D 0 Right, but I don't see where it gets set to a 1. Thanks, -Steve