Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kallsyms_lookup_name unexported in newer kernel #6

Closed
mothran opened this issue Jul 4, 2020 · 1 comment
Closed

kallsyms_lookup_name unexported in newer kernel #6

mothran opened this issue Jul 4, 2020 · 1 comment

Comments

@mothran
Copy link

mothran commented Jul 4, 2020

While attempting to build the module on a newer kernel I hit build error:
ERROR: modpost: "kallsyms_lookup_name" [src/afl_snapshot.ko] undefined!

Turns out recent patches to the kernel have unexported the kallsyms_lookup_name symbol so it can't be easily used in out-of-tree builds [1][2]. It's possible I might have missed something in my setup though.

Kernel version: 5.7.7-arch1-1

References:
[1] https://lkml.org/lkml/2020/2/21/1269
[2] https://lwn.net/Articles/813350/

@andreafioraldi
Copy link
Member

Maybe fixed in 0620b07
Can you try to checkout that commit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants