I am experimenting with modifying a kernel module and I need to be able to open/read/write/close a file from within the module. Is there a preferred way to do this? Are there any locking or buffering issues that I need to be aware of?
sys/kern/kern_alq.c:alq_open() and sys/kern/kern_ktrace.c:ktrace() have examples. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"