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

kernel: Adapt to low version Android init process #973

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

longhuan1999
Copy link
Contributor

  1. Adapt to low version Android init process
  2. Add stop hook output
  3. Fix output with missing line breaks

@longhuan1999 longhuan1999 changed the title kernel: Fix output with missing line breaks kernel: Adapt to low version Android init process Sep 19, 2023
kernel/ksud.c Outdated Show resolved Hide resolved
kernel/ksud.c Show resolved Hide resolved
@longhuan1999 longhuan1999 force-pushed the init-below-10 branch 2 times, most recently from c90a25b to 9345f8d Compare September 19, 2023 06:44
@longhuan1999 longhuan1999 requested a review from tiann September 19, 2023 06:47
kernel/ksud.c Outdated Show resolved Hide resolved
@longhuan1999 longhuan1999 force-pushed the init-below-10 branch 4 times, most recently from 80fbbc1 to cc63038 Compare September 25, 2023 07:25
kernel/ksud.c Outdated Show resolved Hide resolved
kernel/ksud.c Outdated Show resolved Hide resolved
@longhuan1999 longhuan1999 force-pushed the init-below-10 branch 2 times, most recently from c2beb38 to 556a3bf Compare September 25, 2023 07:40
kernel/ksud.c Outdated Show resolved Hide resolved
@longhuan1999 longhuan1999 force-pushed the init-below-10 branch 2 times, most recently from 395581d to ed3c506 Compare September 25, 2023 08:05
@tiann tiann enabled auto-merge (squash) October 2, 2023 03:22
@tiann tiann merged commit 54ee400 into tiann:main Oct 2, 2023
16 checks passed
@longhuan1999 longhuan1999 deleted the init-below-10 branch October 13, 2023 00:54
tiann pushed a commit that referenced this pull request Oct 23, 2023
#973 __never_use_envp 被改名为 envp 并使用。

这导致 GKI 版本一旦代码运行到
[213](https://github.com/tiann/KernelSU/blob/344c08bb79ba12b692016750cda363f9f3500182/kernel/ksud.c#L213)
行(或许只有 WSA 等类似情况会跑到这?),就会触发一个空指针解引用。

此PR意在修复此问题,且已在WSA上测试。
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request Jan 6, 2024
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request Feb 6, 2024
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request Mar 3, 2024
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request Apr 6, 2024
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request Apr 6, 2024
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request Apr 13, 2024
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request May 3, 2024
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request Jun 5, 2024
xiangfeidexiaohuo added a commit to xiangfeidexiaohuo/KernelSU that referenced this pull request Aug 23, 2024
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.

2 participants