Skip to content

Conversation

@aviraxp
Copy link
Collaborator

@aviraxp aviraxp commented Sep 7, 2025

Rethink about this patch, isolated process which directly forks from zygote is just like normal app, so there is no reason apps won't crash but Isolated process will. Also zygote reopens fd before actually fork, so it should be fine.

This reverts commit 2a1741d.

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit 2a1741d.
@aviraxp aviraxp requested a review from Ylarod September 7, 2025 14:24
@yujincheng08 yujincheng08 enabled auto-merge (squash) September 7, 2025 14:30
@yujincheng08 yujincheng08 requested a review from Copilot September 7, 2025 14:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts a previous change to handle isolated processes differently when unmounting overlayfs. The change rethinks the logic for isolated processes that fork directly from zygote, treating them like normal applications rather than avoiding unmounting operations.

  • Reverts special handling that prevented unmounting for isolated processes
  • Refactors function names to clarify their purpose (renaming functions for better clarity)
  • Ensures isolated processes forked from zygote are properly handled with unconditional unmounting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@yujincheng08 yujincheng08 merged commit 4d3560b into main Sep 7, 2025
20 checks passed
@yujincheng08 yujincheng08 deleted the isolated branch September 7, 2025 15:28
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
…nn/KernelSU#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
…nn/KernelSU#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
-remove some extra spaces from (TG) patch
-try_umount -> ksu_try_umount if not CONFIG_KSU_SUSFS_TRY_UMOUNT (ksu_handle_setuid)

-7/10/25: selinux/rules: fix merge conflict with previous change (Fix illegal RCU lock usage):
__4d633a1
-7/14/25: core_hook: fix merge conflict with previous change (remove redundant get_cred_rcu):
__bd03c29
-7/20/25: ksud: fix merge conflict with previous change (guard syscall hook types):
__45ad73e
-7/20/26: core_hook: fix merge conflict with previous change (support for KernelNoSU):
__948975b
-7/24/25: core_hook: fix merge conflict with previous change (allow only perms ... and guard kernelnosu perms):
__3f4c23a
-8/10/25: Kconfig: fix merge conflict with previous change (nest ksun switch manager support)
__e0c4613
-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
- 1. We flag the zygote spawned process TIF_PROC_ROOT_NOT_ALLOWED durint ksu_set_uid() if it is not root allowed
- 2. THen we ust check the flag before going into any ksu syscall handlers in sucompat.c, because it is just a check
of a bit flag so it is ultra fast for non root allowed process which is bascially and theoretically side channel
attacks free
- 3. Other processes that are not flagged with TIF_PROC_ROOT_NOT_ALLOWED will just go thru the ksu syscall handlers
just the same as before

-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
-sucompat: retain logic (ksu_is_allow_uid)
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
- In order to reduce the extra patch code and increase the rate of hunk succeed, we do not rename the symbols in KernelSU drvier but instead do it all in kernel/kallsym.c

- Make susfs_starts_with() global as it maybe useful in future

-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1

-Revert (Ref: 'kernel: implement susfs v1.5.8 KernelSU Next v1.0.8') -
__resolves 'undefined symbols': ksu_is_manager_apk, is_manager, track_throne:
____apk_sign, throne_tracker: ksu_is_manager_apk -> is_manager_apk
____manager: ksu_is_manager -> is_manager
____throne_tracker: ksu_track_throne -> track_throne
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
…nn/KernelSU#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
…nn/KernelSU#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
-remove some extra spaces from (TG) patch
-try_umount -> ksu_try_umount if not CONFIG_KSU_SUSFS_TRY_UMOUNT (ksu_handle_setuid)

-7/10/25: selinux/rules: fix merge conflict with previous change (Fix illegal RCU lock usage):
__4d633a1
-7/14/25: core_hook: fix merge conflict with previous change (remove redundant get_cred_rcu):
__bd03c29
-7/20/25: ksud: fix merge conflict with previous change (guard syscall hook types):
__45ad73e
-7/20/26: core_hook: fix merge conflict with previous change (support for KernelNoSU):
__948975b
-7/24/25: core_hook: fix merge conflict with previous change (allow only perms ... and guard kernelnosu perms):
__3f4c23a
-8/10/25: Kconfig: fix merge conflict with previous change (nest ksun switch manager support)
__e0c4613
-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
- 1. We flag the zygote spawned process TIF_PROC_ROOT_NOT_ALLOWED durint ksu_set_uid() if it is not root allowed
- 2. THen we ust check the flag before going into any ksu syscall handlers in sucompat.c, because it is just a check
of a bit flag so it is ultra fast for non root allowed process which is bascially and theoretically side channel
attacks free
- 3. Other processes that are not flagged with TIF_PROC_ROOT_NOT_ALLOWED will just go thru the ksu syscall handlers
just the same as before

-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
-sucompat: retain logic (ksu_is_allow_uid)
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
- In order to reduce the extra patch code and increase the rate of hunk succeed, we do not rename the symbols in KernelSU drvier but instead do it all in kernel/kallsym.c

- Make susfs_starts_with() global as it maybe useful in future

-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1

-Revert (Ref: 'kernel: implement susfs v1.5.8 KernelSU Next v1.0.8') -
__resolves 'undefined symbols': ksu_is_manager_apk, is_manager, track_throne:
____apk_sign, throne_tracker: ksu_is_manager_apk -> is_manager_apk
____manager: ksu_is_manager -> is_manager
____throne_tracker: ksu_track_throne -> track_throne
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
-remove some extra spaces from (TG) patch
-try_umount -> ksu_try_umount if not CONFIG_KSU_SUSFS_TRY_UMOUNT (ksu_handle_setuid)

-7/10/25: selinux/rules: fix merge conflict with previous change (Fix illegal RCU lock usage):
__4d633a1
-7/14/25: core_hook: fix merge conflict with previous change (remove redundant get_cred_rcu):
__bd03c29
-7/20/25: ksud: fix merge conflict with previous change (guard syscall hook types):
__45ad73e
-7/20/26: core_hook: fix merge conflict with previous change (support for KernelNoSU):
__948975b
-7/24/25: core_hook: fix merge conflict with previous change (allow only perms ... and guard kernelnosu perms):
__3f4c23a
-8/10/25: Kconfig: fix merge conflict with previous change (nest ksun switch manager support)
__e0c4613
-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
- 1. We flag the zygote spawned process TIF_PROC_ROOT_NOT_ALLOWED durint ksu_set_uid() if it is not root allowed
- 2. THen we ust check the flag before going into any ksu syscall handlers in sucompat.c, because it is just a check
of a bit flag so it is ultra fast for non root allowed process which is bascially and theoretically side channel
attacks free
- 3. Other processes that are not flagged with TIF_PROC_ROOT_NOT_ALLOWED will just go thru the ksu syscall handlers
just the same as before

-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
-sucompat: retain logic (ksu_is_allow_uid)
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 7, 2025
- In order to reduce the extra patch code and increase the rate of hunk succeed, we do not rename the symbols in KernelSU drvier but instead do it all in kernel/kallsym.c

- Make susfs_starts_with() global as it maybe useful in future

-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1

-Revert (Ref: 'kernel: implement susfs v1.5.8 KernelSU Next v1.0.8') -
__resolves 'undefined symbols': ksu_is_manager_apk, is_manager, track_throne:
____apk_sign, throne_tracker: ksu_is_manager_apk -> is_manager_apk
____manager: ksu_is_manager -> is_manager
____throne_tracker: ksu_track_throne -> track_throne
AzyrRuthless pushed a commit to AzyrRuthless/KernelSU-Next that referenced this pull request Sep 8, 2025
…nn/KernelSU#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.
AzyrRuthless pushed a commit to AzyrRuthless/KernelSU-Next that referenced this pull request Sep 8, 2025
-remove some extra spaces from (TG) patch
-try_umount -> ksu_try_umount if not CONFIG_KSU_SUSFS_TRY_UMOUNT (ksu_handle_setuid)

-7/10/25: selinux/rules: fix merge conflict with previous change (Fix illegal RCU lock usage):
__pershoot@4d633a1
-7/14/25: core_hook: fix merge conflict with previous change (remove redundant get_cred_rcu):
__pershoot@bd03c29
-7/20/25: ksud: fix merge conflict with previous change (guard syscall hook types):
__pershoot@45ad73e
-7/20/26: core_hook: fix merge conflict with previous change (support for KernelNoSU):
__pershoot@948975b
-7/24/25: core_hook: fix merge conflict with previous change (allow only perms ... and guard kernelnosu perms):
__pershoot@3f4c23a
-8/10/25: Kconfig: fix merge conflict with previous change (nest ksun switch manager support)
__pershoot@e0c4613
-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
luyanci pushed a commit to luyanci/KernelSU that referenced this pull request Sep 8, 2025
…nn#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit 2a1741d.
rifsxd pushed a commit to KernelSU-Next/KernelSU-Next that referenced this pull request Sep 10, 2025
…nn/KernelSU#2747) (#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 10, 2025
-remove some extra spaces from (TG) patch
-try_umount -> ksu_try_umount if not CONFIG_KSU_SUSFS_TRY_UMOUNT (ksu_handle_setuid)

-7/10/25: selinux/rules: fix merge conflict with previous change (Fix illegal RCU lock usage):
__4d633a1
-7/14/25: core_hook: fix merge conflict with previous change (remove redundant get_cred_rcu):
__bd03c29
-7/20/25: ksud: fix merge conflict with previous change (guard syscall hook types):
__45ad73e
-7/20/26: core_hook: fix merge conflict with previous change (support for KernelNoSU):
__948975b
-7/24/25: core_hook: fix merge conflict with previous change (allow only perms ... and guard kernelnosu perms):
__3f4c23a
-8/10/25: Kconfig: fix merge conflict with previous change (nest ksun switch manager support)
__e0c4613
-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 10, 2025
- 1. We flag the zygote spawned process TIF_PROC_ROOT_NOT_ALLOWED durint ksu_set_uid() if it is not root allowed
- 2. THen we ust check the flag before going into any ksu syscall handlers in sucompat.c, because it is just a check
of a bit flag so it is ultra fast for non root allowed process which is bascially and theoretically side channel
attacks free
- 3. Other processes that are not flagged with TIF_PROC_ROOT_NOT_ALLOWED will just go thru the ksu syscall handlers
just the same as before

-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
-sucompat: retain logic (ksu_is_allow_uid)
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 10, 2025
- In order to reduce the extra patch code and increase the rate of hunk succeed, we do not rename the symbols in KernelSU drvier but instead do it all in kernel/kallsym.c

- Make susfs_starts_with() global as it maybe useful in future

-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1

-Revert (Ref: 'kernel: implement susfs v1.5.8 KernelSU Next v1.0.8') -
__resolves 'undefined symbols': ksu_is_manager_apk, is_manager, track_throne:
____apk_sign, throne_tracker: ksu_is_manager_apk -> is_manager_apk
____manager: ksu_is_manager -> is_manager
____throne_tracker: ksu_track_throne -> track_throne
pershoot pushed a commit to pershoot/KernelSU-Next that referenced this pull request Sep 10, 2025
-remove some extra spaces from (TG) patch
-try_umount -> ksu_try_umount if not CONFIG_KSU_SUSFS_TRY_UMOUNT (ksu_handle_setuid)

-7/10/25: selinux/rules: fix merge conflict with previous change (Fix illegal RCU lock usage):
__4d633a1
-7/14/25: core_hook: fix merge conflict with previous change (remove redundant get_cred_rcu):
__bd03c29
-7/20/25: ksud: fix merge conflict with previous change (guard syscall hook types):
__45ad73e
-7/20/26: core_hook: fix merge conflict with previous change (support for KernelNoSU):
__948975b
-7/24/25: core_hook: fix merge conflict with previous change (allow only perms ... and guard kernelnosu perms):
__3f4c23a
-8/10/25: Kconfig: fix merge conflict with previous change (nest ksun switch manager support)
__e0c4613
-9/7/25: core_hook: fix merge conflict with previous change (Unmount isolated process)
__'Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747)'

-https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-6.1
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 17, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 17, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 17, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 17, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 19, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 19, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 30, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 30, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 31, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Oct 31, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Nov 4, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
pershoot added a commit to pershoot/KernelSU-Next that referenced this pull request Nov 4, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
beingashwani pushed a commit to Marble-Development-SM8450/android_kernel_xiaomi_sm8450 that referenced this pull request Nov 5, 2025
…lly (tiann/KernelSU#2747) (#776)"

This reverts commit cee92d6926eb7c915ef06ceb449fa388a1e246c2.
renzyprjkt pushed a commit to renzyprjkt/KernelSU-Next that referenced this pull request Nov 13, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
renzyprjkt pushed a commit to renzyprjkt/KernelSU-Next that referenced this pull request Nov 13, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
renzyprjkt pushed a commit to renzyprjkt/KernelSU-Next that referenced this pull request Nov 13, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
renzyprjkt pushed a commit to renzyprjkt/KernelSU-Next that referenced this pull request Nov 13, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
renzyprjkt pushed a commit to renzyprjkt/KernelSU-Next that referenced this pull request Nov 13, 2025
…nn/KernelSU#2747) (KernelSU-Next#776)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit tiann/KernelSU@2a1741d.

Co-authored-by: Wang Han <[email protected]>

-10/7/25: fix mismerge (add missing do_umount label)

-This is temp., to allow history from the proceeding changes to remain in-tact.
renzyprjkt pushed a commit to renzyprjkt/KernelSU-Next that referenced this pull request Nov 13, 2025
…lly (tiann/KernelSU#2747) (KernelSU-Next#776)"

This reverts commit cf3b0da196df6942d54d5f5321fb112299c5f50c.

-10/7/25: carry-over mismerge fix from:
 'Unmount isolated process which forks from zygote unconditionally'
Flopster101 added a commit to ProtonKernel/Proton that referenced this pull request Nov 13, 2025
0d6bdc6364cb New Crowdin updates (#806)
d9239343e697 kernel: auto patch struct seccomp to include filter_count
84a8eef2d217 manager: modify warning message for root grant failure and add  tap to restart option
e37c14b9f603 magic mount: make mount points read only
26ee31e01c6c kernel: remove KSU_SWITCH_MANAGER logic
4df1cf0f5724 New Crowdin updates (#794)
6212a6907769 Update english strings & readme (#783)
21c879d49e1d Fix rustfmt again (#788)
2c02db6323f1 ci: update workflows (#724)
b01e8503cd97 deps: update (#723)
04c6bbf035cb kernel: Remove duplicate include in core_hook (#784)
8edb892792dc fix rustfmt (#722)
49ffbae2ce1d Added Crowdin localized status in README_UA (#690)
9708c953efb7 Update README_RU.md (#683)
4ff58a33bc19 docs: Update Buglarian README (#667)
91dcdebb8b85 docs: Update Polish README (#641)
17a7ad9c8ee0 Edit Security to Contribution and add Crowdin link to README (#639)
dad404e7b591 fix typos in readme (#638)
44360ffa25a2 New Crowdin updates (#701)
04c128694707 Fix mount not working in android 8/9 (#741)
cee92d6926eb Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747) (#776)
5bdb938e845f fix 'for' loop problem (tiann/KernelSU#2745) (#772)
429ae53c5c8d Strip JNI debug logs on release build (#2732)
43c600f295a9 ksud: updated resetprop
316a679260a0 manager: Optimized import, optimized all libsu shell calls, and fixed WebUI memory leaks (#754)
a540992e9b63 Reset seccomp filter count when escaping to root (tiann/KernelSU#2708) (#743)
ba16e0c83ffa kernel: selinux: rules: Micro-optimize get_policydb() and fix illegal RCU lock usage in handle_sepolicy() (tiann/KernelSU#2695) (#721)
fa5c545b4bee ksud_overlayfs: change custom sparse file name
1de68a8ed2a0 Revert "userspace: implement OSS ksuinit"
e0c461322bca kernel: nest ksun switch manager support under CONFIG_KSU_SWITCH_MANAGER config default as disabled
edb99a2c1a87 userspace: implement OSS ksuinit
eaab98b7ecb2 ci(workflows): add artifact caching to build-manager-ci and build-manager-spoofed workflows (#702)
aa37bcc3683f New Crowdin updates (#660)
107cd4add0ca Update README.md
94c4b41ea3de README: updated
0bde9047b935 manager: add -spoof string to apk output
bc9927b9b66e POC: load icon app via ksu://icon/[packageName] (#674)
d4f4c0a0ccad Syscall Hooks (#686)
0aaae919c08a userspace/su: add ndk compatible su from kernelnosu
3f4c23a34f4f kernel: allow only perms for /{system | vendor | product | system_ext}/bin/su path kernel: guard kernelnosu perms if not using KSU_KPROBES_HOOK
d69a72c6586b src: build script for a full featured manager
adbff41a2215 ksud: decide best partition to direct flash LKM
512f84504ec1 ksud: create our own new ramdisk when no compatible ramdisk found
c44f48c8a410 Update README.md
5c6c3870a01c ksud_magic: fix rust fmt
c6b54406829d manager | ksud: Add toggle for global mount namespace (#99)
a917314e8439 manager: fixed sus_su features
948975ba35be kernel: core_hook: add support for KernelNoSU
45ad73e9dd86 kernel: guard syscall hook types
892a62afdf0b manager: bump MINIMAL_SUPPORTED_KERNEL to 12797
d61de07c2189 kernel: implement  v2_signature size/hash override from userspace through kernel module parameter
4382dca515b5 ksud: do backup for vendor_boot partition
2c9078e038bc kernel: use ksu_strncpy_from_user_retry when kprobes hook sucompat pagefaults
81f4f09d0c6f ksud: Address pagefault in ksu_handle_execveat_ksud (#662)

git-subtree-dir: drivers/kernelsu
git-subtree-split: 0d6bdc6364cbfc73517dcfdf7ab23b0ba8045553
sidex15 added a commit to sidex15/KernelSU-Next that referenced this pull request Nov 15, 2025
xvergilantte added a commit to xvergilantte/KernelSU-Next that referenced this pull request Nov 17, 2025
Flopster101 added a commit to FlopKernel-Series/flop_s5e8825_kernel that referenced this pull request Nov 21, 2025
ad8a8446ef37 Fix kernel panics caused by thread info flag corruption (#909)
0fc4b726ac35 New kernel releases (#878)
e11cab38f150 Don't write newline character to cgroup node (#2804)
69be375db10a Revert "kernel: harden prctl check"
11643ee685cb Revert "kernel: align prctl harden commit from backslashxx/KernelSU"
478394a6e1ce kernel: align prctl harden commit from backslashxx/KernelSU SQUASHED: * kernel: harden barriers for arm/arm64 * kernel: core_hook: harden prctl handler
f40fe9b9e1e6 manager: add version tag to update card
f1c97b507efe kernel: harden prctl check
300a13f65775 kernel: handle throned UID change if manager is reinstall or changed
d4b7ffbbe19d kernel: scan /data/user_de/0 for actual UID (#155)
693ac0be5579 Revert "Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747) (#776)"
bab8669988dd manager: move settings button to topbar
3d98ed7f83b5 manager: improvements and ui overhaul v2
f41fe20d9942 manager: fix zygisk implementation module path
dbd6accea8ea New Crowdin updates (#816)
363e80821a85 kernel: manager: get kernel driver version tag
e76ef97d4b91 manager: get zygisk implementation and version info
2f408a2b6570 manager: improve bottom bar destination animations
1293848c2307 manager: improve topbar icon animation
261ac2ea47e8 manager: update icons and improve ABI string in Home screen
4e2d30ca9ad7 manager: webui: allow download file
2a0f19a3ab4c manager: webui: allow file upload
ea3825b56fae manager: enhance navigation transitions for detail and tab screens
ab360c26ee3f manager: downgrade navigation lib version due to buggy transition for module install intent
2033d502a1c1 ci: add linux build target for ksud on ci manager workflows
d7b24fbbe13a manager: add new file management apis (listFile, readFile, writeFile, removeFile, moveFile, copyFile)
b65369717278 manager: improve manager variant update mechanism
0576b5736a7c manager: make module and superuser count card more compact
bb8402e8e804 manager: minor improvements to update card
b86e3821a0b9 ksud: add linux support
9d3309558b0d manager: implement insets for webui-next

git-subtree-dir: drivers/kernelsu
git-subtree-split: ad8a8446ef37dbe1bad1c933a96ee2975485882d
Flopster101 added a commit to FlopKernel-Series/flop_trinket-mi_kernel that referenced this pull request Nov 23, 2025
ad8a8446ef37 Fix kernel panics caused by thread info flag corruption (#909)
0fc4b726ac35 New kernel releases (#878)
e11cab38f150 Don't write newline character to cgroup node (#2804)
69be375db10a Revert "kernel: harden prctl check"
11643ee685cb Revert "kernel: align prctl harden commit from backslashxx/KernelSU"
478394a6e1ce kernel: align prctl harden commit from backslashxx/KernelSU SQUASHED: * kernel: harden barriers for arm/arm64 * kernel: core_hook: harden prctl handler
f40fe9b9e1e6 manager: add version tag to update card
f1c97b507efe kernel: harden prctl check
300a13f65775 kernel: handle throned UID change if manager is reinstall or changed
d4b7ffbbe19d kernel: scan /data/user_de/0 for actual UID (#155)
693ac0be5579 Revert "Unmount isolated process which forks from zygote unconditionally (tiann/KernelSU#2747) (#776)"
bab8669988dd manager: move settings button to topbar
3d98ed7f83b5 manager: improvements and ui overhaul v2
f41fe20d9942 manager: fix zygisk implementation module path
dbd6accea8ea New Crowdin updates (#816)
363e80821a85 kernel: manager: get kernel driver version tag
e76ef97d4b91 manager: get zygisk implementation and version info
2f408a2b6570 manager: improve bottom bar destination animations
1293848c2307 manager: improve topbar icon animation
261ac2ea47e8 manager: update icons and improve ABI string in Home screen
4e2d30ca9ad7 manager: webui: allow download file
2a0f19a3ab4c manager: webui: allow file upload
ea3825b56fae manager: enhance navigation transitions for detail and tab screens
ab360c26ee3f manager: downgrade navigation lib version due to buggy transition for module install intent
2033d502a1c1 ci: add linux build target for ksud on ci manager workflows
d7b24fbbe13a manager: add new file management apis (listFile, readFile, writeFile, removeFile, moveFile, copyFile)
b65369717278 manager: improve manager variant update mechanism
0576b5736a7c manager: make module and superuser count card more compact
bb8402e8e804 manager: minor improvements to update card
b86e3821a0b9 ksud: add linux support
9d3309558b0d manager: implement insets for webui-next

git-subtree-dir: drivers/kernelsu
git-subtree-split: ad8a8446ef37dbe1bad1c933a96ee2975485882d
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Dec 31, 2025
…nn#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit 2a1741d.
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Dec 31, 2025
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 3, 2026
…nn#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit 2a1741d.
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 3, 2026
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 5, 2026
…nn#2747)

Rethink about this patch, isolated process which directly forks from
zygote is just like normal app, so there is no reason apps won't crash
but Isolated process will. Also zygote reopens fd before actually fork,
so it should be fine.

This reverts commit 2a1741d.
u9521 pushed a commit to u9521/KernelSU that referenced this pull request Jan 5, 2026
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.

6 participants