On Thu, Nov 4, 2010 at 10:22 AM, Mani557 <[email protected]> wrote:
> Hi all,
>
> I developed an LKM and loaded it into android emulator. At first, I
> called filp_open("/data/", O_RDONLY, 0) from kernel module init
> function (called during insmod).

Do not do kernel open/close/reading/etc from within the kernel, it
is not allowed and bad things will happen if you try to do it.

See the kernelnewbies.org wiki for details about why this is if
you are interested.

good luck,

greg k-h

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to