Example of Dynamic Loadable Kernel Module in Android

Example of Dynamic Loadable Kernel Module in Android

Monday, Nov 16, 2020

@ Aeric

Example of dynamic loadable Kernel module in Android What is kernel module Mostly use on driver or hardware related Different to userspace process Reducing linux kernel, makes linux more flexible Customize specific functionally system kernel module fundamental knowledge Command > lsmod --> List current kernel module (or $ cat /proc/modules) > insmod ${XXX.ko} --> Load XXX.ko > rmmod ${XXX.ko} --> Remove XXXX.ko Coding Include init and exit func at least Must #include <linux/module.

About Me

Hi, my name is Aeric

This is my blog.