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, 2010 at 12:13 AM, Chris Stratton <cs07...@gmail.com> wrote:

> 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
> permission.  Research linux kernel modules / device drivers in general as
> this is not an android question.
>
> But more practically, what functionality are you actually trying to
> accomplish?  What calls to which library?
>
> On Feb 18, 2010 12:46 PM, "genxsol" <genx...@gmail.com> 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.
>
> is this possible to access such a library through JNI interface or
> anything else shall i need to explore?
>
> any kind of help is appreciated
>
> Thanks
>
> --
> unsubscribe: 
> android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-kernel
>
>  --
> unsubscribe: 
> android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-kernel
>

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to