Date: Thu, 11 Aug 2005 00:29:23 +0400 From: Sergey Uvarov <uvarovsl@mail.pnpi.spb.ru> To: freebsd-hackers@freebsd.org Subject: preferable way to control kernel module Message-ID: <42FA63A3.4040802@mail.pnpi.spb.ru>
next in thread | raw e-mail | index | archive | help
Hello hackers, I'm writing a kernel module for my own needs. AFAIK the following methods could be used: 1) allocate not used system call with help of SYSCALL_MODULE macro 2) allocate proprieatry oid via SYSCTL_OID(OID_AUTO) and write an appropriate sysctl handler(s) 3) add a file in /dev and use ioctl(2) call What is a preferable way to control my module? Thanks in advance, Sergey.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42FA63A3.4040802>