I agree that the idea is bad....I have no choice as I can't access the entire file-system from Android user-mode app, due to Android security permissions. I don't want to root the device to mount file-system in read-write mode. The only choice is through Kernel Module.
Please clarify me, if I misunderstand anything. And also please help me resolve the error I described in my 1st mail. Thanks. On Fri, Nov 5, 2010 at 12:35 AM, Greg KH <[email protected]> wrote: > 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]<android-kernel%[email protected]> > website: http://groups.google.com/group/android-kernel > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
