From owner-freebsd-questions@FreeBSD.ORG Wed Mar 11 01:37:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E54B01065670 for ; Wed, 11 Mar 2009 01:37:06 +0000 (UTC) (envelope-from freebsd-questions@lists.goldenpath.org) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id CD82D8FC13 for ; Wed, 11 Mar 2009 01:37:06 +0000 (UTC) (envelope-from freebsd-questions@lists.goldenpath.org) Received: from randymail-a3.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by hapkido.dreamhost.com (Postfix) with ESMTP id 1244A17C200 for ; Tue, 10 Mar 2009 18:09:16 -0700 (PDT) Received: from [127.0.0.1] (shekel.dreamhost.com [208.113.247.228]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by randymail-a3.g.dreamhost.com (Postfix) with ESMTP id 99396185552 for ; Tue, 10 Mar 2009 18:09:13 -0700 (PDT) Message-ID: <49B70F38.9010305@lists.goldenpath.org> Date: Tue, 10 Mar 2009 21:09:12 -0400 From: "T." User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SYSCALL_MODULE macro modified? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 01:37:07 -0000 Found 7.0's sysent.h file modified at the commonly used SYSCALL_MODULE macro, wasn't sure how I should modify my code to accommodate the change so changed the sysent.h (yikes!). No biggy right? Removed the AUE_NULL. That's all that's been added. But the argument was NULL, so what the hell else could I do? AUE_NULL didn't work. And how can you be requiring anything else where once there was NULL. And when I said NULL, I meant NULL! Boggling! This is related to some audit stuff? Anyway... #define SYSCALL_MODULE(name, offset, new_sysent, evh, arg) \ static struct syscall_module_data name##_syscall_mod = { \ evh, arg, offset, new_sysent, { 0, NULL, AUE_NULL } \ }; \ \ static moduledata_t name##_mod = { \ #name, \ syscall_module_handler, \ &name##_syscall_mod \ }; \ DECLARE_MODULE(name, name##_mod, SI_SUB_SYSCALLS, SI_ORDER_MIDDLE)