Date: Tue, 10 Mar 2009 21:09:12 -0400 From: "T." <freebsd-questions@lists.goldenpath.org> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: SYSCALL_MODULE macro modified? Message-ID: <49B70F38.9010305@lists.goldenpath.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49B70F38.9010305>