Date: Thu, 24 Aug 2006 23:49:22 +0200 From: Jeremie Le Hen <jeremie@le-hen.org> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: [fbsd] cvs commit [HEAD] src/sys/sys sysent.h Message-ID: <20060824214922.GK58048@obiwan.tataz.chchile.org> In-Reply-To: <200608151742.k7FHgE5a035286@repoman.freebsd.org> References: <200608151742.k7FHgE5a035286@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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_<syscallname> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060824214922.GK58048>