Override kernel functions in one module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to override some functions (e.g. kmalloc) so that these functions will affect only on specified modules. I am going to simulate older version in this way. This is useful to run binary-only modules. Is there any way to do this?

A solution which makes a wrapper module would be better than overriding all functions in export table.

Thanks.
-- 
Bi Cờ Lao
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux