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: fix sometimes sucompat can not toggle by manager #2484

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

AlexLiuDev233
Copy link
Contributor

When the manager is already running, if other programs / kernel toggle the sucompat enable status,
The manager "Disable SU Compat" toggle button can not work, kmesg print "cmd enable su but no need to change."

I think we should still return reply_ok when the syscall value is consistent with the kernel, which would fix the issue.

@tiann tiann merged commit 931abab into tiann:main Mar 1, 2025
20 checks passed
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Mar 1, 2025
When the manager is already running, if other programs / kernel toggle
the sucompat enable status,
The manager "Disable SU Compat" toggle button can not work, kmesg print
"cmd enable su but no need to change."

I think we should still return reply_ok when the syscall value is
consistent with the kernel, which would fix the issue.
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Mar 1, 2025
When the manager is already running, if other programs / kernel toggle
the sucompat enable status,
The manager "Disable SU Compat" toggle button can not work, kmesg print
"cmd enable su but no need to change."

I think we should still return reply_ok when the syscall value is
consistent with the kernel, which would fix the issue.
backslashxx pushed a commit to backslashxx/KernelSU that referenced this pull request Mar 1, 2025
When the manager is already running, if other programs / kernel toggle
the sucompat enable status,
The manager "Disable SU Compat" toggle button can not work, kmesg print
"cmd enable su but no need to change."

I think we should still return reply_ok when the syscall value is
consistent with the kernel, which would fix the issue.
YumeMichi added a commit to YumeMichi/KernelSU that referenced this pull request Mar 4, 2025
* 'main' of https://github.com/tiann/KernelSU:
  build(deps): bump the maven group across 1 directory with 5 updates (tiann#2485)
  website: fix minor typos (tiann#2482)
  Set KSU_APP_PROFILE_VER for shell (tiann#2481)
  kernel: fix sometimes sucompat can not toggle by manager (tiann#2484)
  Avoid popping back stack right after navigation (tiann#2477)
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