Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/130.html
Дата изменения: Thu Mar 23 12:37:38 2000
Дата индексирования: Wed Sep 15 00:49:09 2010
Кодировка:

Поисковые слова: m 103
writing/accessing modules The HyperNews Linux KHG Discussion Pages

Question: writing/accessing modules

Forum: The Linux Kernel Hackers' Guide
Keywords: module
Date: Wed, 01 Oct 1997 12:43:36 GMT
From: Jones MB <jonesmb@ziplink.net>

I am writing a module whose main purpose is to allow a user app to change the values of some variables in the kernel's memory area. Using the modules in /usr/src/linux/drivers/net/ as a starting point, I have been able to create the module. I can insmod and rmmod it successfully (configreed via printk's to syslog). I am now looking for a way for the user level application to be able to access the module. I searched high and low for info on how to do this with no success. Any pointers in the right direction are most welcome.

Thanks


Messages

1. Feedback: Use a device driver and read()/write()/ioctl() by Michael K. Johnson newest