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

change warning about disable kprobes #549

Merged
merged 1 commit into from
May 23, 2023
Merged

change warning about disable kprobes #549

merged 1 commit into from
May 23, 2023

Conversation

dabao1955
Copy link
Contributor

According to the instructions in #479, integrating kernelSU can not require enabling kprobes, but when manually integrating KernelSU in android kernel 4.4-4.9, the following error may appear:

In file included from /home/synaptic/android_kernel_oppo_sdm660/drivers/
/home/synaptic/android_kernel_oppo_sdm660/drivers/kernelsu/uid_observer.c:12:0:
/drivers/kernelsu/ksu.c:60:2: warning: #warning"KPROBES is disabled, KernelSU may not work, please check https://kernelsu.org/guide/how-to-integrate-for-non-gki.html"
[-Wcpp]
error, forbidden warning: ksu.c:60
make[3]: *** [/home/synaptic/android_kernel_oppo_sdm660/scripts/Makefile.build:282: drivers/kernelsu/uid_observer.o] Error 1

kernel/ksu.c Show resolved Hide resolved
@tiann tiann merged commit d014947 into tiann:main May 23, 2023
13 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants