Re: [android-kernel] how to access kernel custom library

2010-02-19 Thread md zafar ziya
Hi all, Write one kernel module that will use Kernel library API. Export Custom defined ioctls from kernel module to access those kernel library API. User space program will access those ioctls exported by your kernel module.(indirectly accessing Kernel Library API) BR ZAFAR ZIYA On Fri, Feb 19

Re: [android-kernel] how to access kernel custom library

2010-02-18 Thread Chris Stratton
You cannot access kernel functions from userspace (jni, etc) unless there exists a userspace interface in the kernel, such as a device driver exporting a device file, proc file, etc. If there does not already exist one you would need to write and load a kernel module, which requires root permissio

Re: [android-kernel] how to access kernel custom library

2010-02-18 Thread Greg KH
On Thu, Feb 18, 2010 at 3:53 AM, genxsol wrote: > Hi Experts, > > can anybody direct me to any sample program/documentation to access > any custom library in kernal at the application level. > > custom library can be any library embedded by  phone manufacturer. You don't do this at the kernel lev

[android-kernel] how to access kernel custom library

2010-02-18 Thread genxsol
Hi Experts, can anybody direct me to any sample program/documentation to access any custom library in kernal at the application level. custom library can be any library embedded by phone manufacturer. is this possible to access such a library through JNI interface or anything else shall i need