Skip to content

kernel:Add Huawei hisi check #1545

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

Merged
merged 4 commits into from
Mar 28, 2024
Merged

kernel:Add Huawei hisi check #1545

merged 4 commits into from
Mar 28, 2024

Conversation

Coconutat
Copy link
Contributor

Use huawei_hisi_check.h to determine whether it is an old Huawei HiSilicon device.
Solve:

  1. Compatible with non-GKI Huawei HiSilicon devices
  2. Solve different bugs in EMUI of different system versions
  3. Does not affect other devices

Use huawei_hisi_check.h to determine whether it is an old Huawei HiSilicon device.
solve:
1. Compatible with non-GKI Huawei HiSilicon devices
2. Solve different bugs in EMUI of different system versions
3. Does not affect other devices
@tiann tiann merged commit 4f05fe2 into tiann:main Mar 28, 2024
Coconutat added a commit to Coconutat/KernelSU_backup that referenced this pull request Mar 30, 2024
Use huawei_hisi_check.h to determine whether it is an old Huawei
HiSilicon device.
Solve:
1. Compatible with non-GKI Huawei HiSilicon devices
2. Solve different bugs in EMUI of different system versions
3. Does not affect other devices
itswill00 pushed a commit to itswill00/KernelSU-Next-4.14 that referenced this pull request Jan 19, 2025
Use huawei_hisi_check.h to determine whether it is an old Huawei
HiSilicon device.
Solve:  
1. Compatible with non-GKI Huawei HiSilicon devices
2. Solve different bugs in EMUI of different system versions
3. Does not affect other devices
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 3, 2025
Removed/Skipped: (-3)
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff/KernelSU @ 5ec1cff@cfa3aac (+21)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 3, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff/KernelSU @ 5ec1cff@cfa3aac (+21)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 4, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff/KernelSU @ 5ec1cff@cfa3aac (+21)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 4, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 6, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 9, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 9, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 9, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 13, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 14, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 14, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: clear apk_path_hash_list every fucking time
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 14, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 14, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 14, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 14, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 14, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+13)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: core_hook: unconditional umount for /system/etc/hosts (tiann#1494)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 16, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+12)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 16, 2025
Removed/Skipped: (-3)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+13)
	manager: show module id on module page (tiann#2365)
	allow build lkm manually (#2)
	kernel: core_hook: unconditional umount for /system/etc/hosts (tiann#1494)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 16, 2025
Removed/Skipped: (-6)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf
	kernel: add support for disable sucompat
		- upstream tiann/KernelSU@2096bd7
	kernel: Allow to re-enable sucompat
		- upstream tiann/KernelSU@4593ae8
	kernel: remove unused CONFIG guard becuase GKI kernel enable kprobe by default
		- upstream tiann/KernelSU@500ff9b

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+13)
	manager: show module id on module page (tiann#2365)
	kernel: drop LKM and kprobe support
	kernel: add placeholder for sucompat enable/disable
	kernel: core_hook: unconditional umount for /system/etc/hosts (tiann#1494)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Feb 16, 2025
Removed/Skipped: (-6)
	kernel:Add Huawei hisi check (tiann#1545)
		- upstream tiann/KernelSU@4f05fe2
		- superceded by `kernel: expose allowlist workaround as Kconfig option`
	[1.0] Drop Non-GKI Support (tiann#1483)
		- upstream tiann/KernelSU@898e9d4
	Drop some legacy codes (tiann#1981)
		- upstream tiann/KernelSU@fd09ccf
	kernel: add support for disable sucompat
		- upstream tiann/KernelSU@2096bd7
	kernel: Allow to re-enable sucompat
		- upstream tiann/KernelSU@4593ae8
	kernel: remove unused CONFIG guard becuase GKI kernel enable kprobe by default
		- upstream tiann/KernelSU@500ff9b

Added from 5ec1cff@7525490 (+22)
	implement magic mount
	no need to deny relabel
	restorecon: set adb_file to system_file for module files
	magic_mount: use trusted.overlay.opaque
	chore: fmt
	magic_mount: supports whiteout
	chore: refine code
	magic_mount: fix
	log: make verbose logging optional
	magic_mount: refine
	ksud: fix disable / enable modules
	ksud: fix odm not magic-mounted
	manager: no need to check overlayfs
	ksud: fix partition link
	ksud: fix clone symlink
	ksud: refine tmpfs
	ksud: add KSU_MAGIC_MOUNT to env (5ec1cff#5)
	manager: remove shrink image
	use module dir name as real id
	allow restore uninstalled module
	ksud: make tmpfs and magic mount optional
	ksud: fix stat

Personal changes: (+13)
	manager: show module id on module page (tiann#2365)
	kernel: drop LKM and kprobe support
	kernel: add placeholder for sucompat enable/disable
	kernel: core_hook: unconditional umount for /system/etc/hosts (tiann#1494)
	kernel: throne_tracker: re-initialize apk_path_hash_list on search_manager
	kernel: expose allowlist workaround as Kconfig option
	kernel/core_hook: use upstream ksu_umount_mnt
	kernel: handle easy backports
	kernel: handle harder backports
	workflows: debloat
	dummy.keystore
	manager:  failure mode dummy demo
	manager: unofficial build
	KernelSU v1.0.3+magic

Warning: Managers built from this repo has a known keystore.
See dummy.keystore.

Make sure to also chant, "thank you 5ec1cff" before you sleep.

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 11, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 11, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 11, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 11, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 11, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 12, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 12, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 12, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Jun 12, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
backslashxx pushed a commit to backslashxx/KernelSU that referenced this pull request Jun 12, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Jun 13, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
backslashxx pushed a commit to backslashxx/KernelSU that referenced this pull request Jun 13, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 13, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 13, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 13, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Jun 14, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
backslashxx pushed a commit to backslashxx/KernelSU that referenced this pull request Jun 14, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 22, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 22, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 22, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 22, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 23, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 23, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 24, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 25, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Jun 25, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
backslashxx pushed a commit to backslashxx/KernelSU that referenced this pull request Jun 25, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 25, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 25, 2025
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support

Reverts `kernel:Add Huawei hisi check (tiann#1545)`
	- upstream tiann/KernelSU@4f05fe2
	- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit

other changes and cleanups
	sucompat: ksu_handle_stat(), remove dead ifdef.
		- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
	LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
		- reported by Sinclair19
		- fix by including version.h
	fatal_signal_pending, ksud.c
		- add compat by including sched.h or sched/signal.h conditionally
		- ref: torvalds/linux@2a1f062

Signed-off-by: backslashxx <[email protected]>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Jun 25, 2025
Useful for situations where the SU allowlist is not kept after a reboot.
As per upstream this is only used for < 4.10 and Huawei HiSilicon devices.
but theres user reports having issues even on 4.14/4.19 samsung kernels.
Expose this option so users affected can opt-in.

This supercedes ` kernel:Add Huawei hisi check (tiann#1545) `

References:
	tiann@f57d351
	tiann@b61cb30

Reviewed-by: Alex <[email protected]>
Signed-off-by: backslashxx <[email protected]>
Co-Authored-By: ExtremeXT <[email protected]>
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