On Mon, Mar 28, 2005 at 08:41:19AM +0200, Alejandro Sánchez Acosta wrote: > Perhaps you can use netlink to communicate userland-kernelland, or you can > write a new system-call or use some virtual filesystem like proc or using > libfs to read data from userspace. Creating a system call to get data from userspace is reinventing the wheel in an octangular way because it makes the userland part rather difficult while the kernel interface is almost the same (it uses copy_from_user()). Just create a character device, let userland open(), read(), and write() it. It's all documented in Linux Device Drivers, 3rd edition (available for free at lwn.net). Erik -- Erik Mouw J.A.K.Mouw@xxxxxxxxxxxxxx mouw@xxxxxxxxxxxx
Attachment:
signature.asc
Description: Digital signature