Kernel Module

From: Femitha Majeed <m_femitha_at_hotmail.com>
Date: Sat, 10 Nov 2001 17:22:18 +0000

Hi,

I am trying to write a kernel module, but I get the follwing error when I do "insmod filename.o"

Unable to handle kernel NULL pointer dereference at virtual address ...

I am using kmalloc to allocate memory. I have also used filp_open to open a directory and sys_getdents to read directory. Does any of these calls cause the above problem?

I am very new to writing kernel modules. I would be grateful if you would reply to this.

Thanks,
Femitha.



Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Sat 10 Nov 2001 - 13:10:23 EST

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT