From mboxrd@z Thu Jan 1 00:00:00 1970 From: zhangxiliang Subject: Re: [PATCH 4/4] Add the checking of key field for a watch or syscall given Date: Tue, 05 Aug 2008 08:36:37 +0800 Message-ID: <4897A095.7010605@cn.fujitsu.com> References: <48943410.5030400@cn.fujitsu.com> <200808042006.10991.sgrubb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <200808042006.10991.sgrubb@redhat.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: Steve Grubb Cc: Linux Audit List-Id: linux-audit@redhat.com Steve Grubb said the following on 2008-08-05 8:06: > On Saturday 02 August 2008 06:16:48 zhangxiliang wrote: >> When field is AUDIT_FILTERKEY, it should need a watch or syscall given >> prior to it. So I add checking and error message "-19" to realize it. >> >> Do you agree with me? >=20 > Yes, but where does permadded get set? "permadded" set in "lib/libaudit.c" as follows=EF=BC=9A int audit_permadded hidden =3D 0; int audit_archadded hidden =3D 0; int audit_syscalladded hidden =3D 0 =20 It declares in "src/auditctl.c" as follows: extern int audit_permadded; >=20 > Thanks, > -Steve >=20 >=20 >=20