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)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"