From owner-cvs-all@FreeBSD.ORG Thu Aug 24 21:49:02 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4FAB16A4DA; Thu, 24 Aug 2006 21:49:02 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A66D43D6D; Thu, 24 Aug 2006 21:48:48 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 3566619404; Thu, 24 Aug 2006 23:48:48 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 0E4EF9C4F0; Thu, 24 Aug 2006 21:49:23 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id F0249405D; Thu, 24 Aug 2006 23:49:22 +0200 (CEST) Date: Thu, 24 Aug 2006 23:49:22 +0200 From: Jeremie Le Hen To: John Baldwin Message-ID: <20060824214922.GK58048@obiwan.tataz.chchile.org> References: <200608151742.k7FHgE5a035286@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608151742.k7FHgE5a035286@repoman.freebsd.org> User-Agent: Mutt/1.5.12-2006-07-14 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: [fbsd] cvs commit [HEAD] src/sys/sys sysent.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 21:49:03 -0000 John, On Tue, Aug 15, 2006 at 05:42:14PM +0000, John Baldwin wrote: > jhb 2006-08-15 17:42:14 UTC > > FreeBSD src repository > > Modified files: > sys/sys sysent.h > Log: > Use SYS_AUE_ to include the appropriate audit event identifier > for syscalls in kld's, even when compiled into the kernel statically. > Note that since this hardcodes the SYS_ prefix SYSCALL_MODULE_HELPER() now > only works for native ABI system calls. Those are the only ones that > used the macro anyway, and I chose to not require a second argument to the > macro to specify the prefix or audit event directly. I am trying to build a module containing a dummy syscall. It uses SYSCALL_MODULE_HELPER() and now fails to build with the following error: % sys_hello.c:73: error: `AUE_NULL' undeclared here (not in a function) % sys_hello.c:73: error: initializer element is not constant % sys_hello.c:73: error: (near initialization for `hello_syscall_mod.old_sysent.sy_auevent') % sys_hello.c:73: error: initializer element is not constant % sys_hello.c:73: error: (near initialization for `hello_syscall_mod.old_sysent') What am I supposed to do ? Thank you. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >