On Aug 23, 2006, at 9:56 PM, Joseph Koshy wrote:
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
Thank you.
Kim
--
Kim Shrier - principal, Shrier and Deihl - mailto:[EMAIL PROTECTED]
Remote Unix Network Admin, Security, Internet Software Development
Tinker Internet Services - Superior FreeBSD-based Web Hosting
http://www.tinker.com/
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"