Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6502

Questions about Linux kernel modules

$
0
0

The Linux Debian family 4.10 and later seem to have some rules affecting kernel modules. When trying to add a hook list while building a kernel module, we get an undefined symbolic link error as shown below.

WARNING: "security_add_hooks" [home/kernel/driver.ko] undefined!

In the /include/linux/lsm_hook.h file, functions that were previously implemented as inline have been changed to extern so that the implementation is omitted and dependent on the object.

extern void security_add_hooks(struct security_hook_list *hooks, int count, char *lsm);

How should I solve it?

Thanks in advance.


Viewing all articles
Browse latest Browse all 6502

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>