The proper way to open a file from inside the kernel

Kim Shrier kim at tinker.com
Wed Aug 23 22:25:45 UTC 2006


Hello,

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?

Thanks,
Kim
--
  Kim Shrier - principal, Shrier and Deihl - mailto:kim at tinker.com
Remote Unix Network Admin, Security, Internet Software Development
   Tinker Internet Services - Superior FreeBSD-based Web Hosting
                      http://www.tinker.com/




More information about the freebsd-hackers mailing list