Hey, I did not think you can run the insmod command without root privileges :-D I also have a kernel compiled with module support. That's why your post was not really helpful. But thanks anyway. The module is working now. Unfortunately, the path to the file contained a space in the string.
greetings bloxtr On Dec 20, 10:50 pm, Bridgette <tbridge...@yahoo.com> wrote: > hi bloxtr, > > There are a quite a few things with your module that you need to > correct...google the adore lkm and it will lead you to answers for what you > are doing. :) > > And you will need to gain root access to the device for accessing /data/data > directory. > > ________________________________ > From: bloxtr <brian0...@googlemail.com> > To: android-kernel@googlegroups.com > Sent: Tuesday, December 20, 2011 10:19 AM > Subject: [android-kernel] Android Kernel Module Programming > > I've programmed a kernel module. The module is part of a thesis on the > subject of Smartphone Security. The module reads a file and send its content > over a UDP socket. > The module is working correctly on Ubuntu. I've compiled it for the right > android kernel (2.6.29). Under Android: Insmod works correctly. I get some > errors when a UDP packet is received. I know, it has something to do with the > file reading. > I've already published the source code and the error messages on > stackoverflow:http://stackoverflow.com/questions/8555456/android-kernel-module-prog... > I hope that someone could held me. > > Thank's > bloxtr > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website:http://groups.google.com/group/android-kernel -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel