-
Notifications
You must be signed in to change notification settings - Fork 9
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
AUR issues, compilation issues, insmod issues. #10
Comments
tell me ur kernel versionnnnnnnnn |
5.11.11-arch1-1 |
The "patch" that I did resulted in this message in dmesg: |
After disabling the livepatch of the source file: So I tried a command but:
But when I used I could open a pull request but my knowledge about linux driver development is limited, if I knew the cause of this I would've made a pull request. Anyways my patch is: in kallsyms.c change it to kprobes instead of livepatch aka copy and paste the kallsyms_kp.c from h33p's repo. |
Yeah i'm on 5.10 and it still works, something probably changed but it looks like you figured it out.
I'll probably get around to it when I update distro, thanks for the info. Also I didn't even know this was on the AUR lol.
|
Hello, I wanted to check this out and firstly I tried to install from AUR but it kept failing with [code block 1]
So I tried to compile it myself and the same errors occured. I swapped FTRACE_OPS_FL_RECURSION_SAFE with FTRACE_OPS_FL_RECURSION, changed ftrace_thunk's last parameters type from
pt_regs regs
toftrace_regs fregs
and addedstruct pt_regs *regs = ftrace_get_regs(fregs);
(solution from) and lastly I changed h33p's kallsyms thing from livepatch to kprobes.It compiled successfully but when I tried to insmod it, I got
invalid module format
I can successfully compile and insmod h33p's kallsyms-mod.
The build error at /var/lib is:
The text was updated successfully, but these errors were encountered: