Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit b873420

Browse files
committed
KernelSU v1.0.3+magic
Added from 5ec1cff@b28789a (+23) implement magic mount 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 reformat rust codes ksud: probe for more workdir candidates (5ec1cff#12) Personal changes: (+17) manager: show module id on module page (tiann#2365) kernel: drop LKM and kprobes support kernel: restore compat code required for old kernels kernel: expose allowlist workaround as Kconfig option kernel: require backports kernel: expose KSU_LSM_SECURITY_HOOKS on Kconfig kernel: backport support for sucompat disable/enable kernel: ksud: add ksu_handle_execve_ksud kernel: throne_tracker: init and clean apk_path_hash_list on search_manager kernel: core_hook: try umount /system/etc/hosts (tiann#1494) kernel: core_hook: log umounts to dmesg workflows: debloat dummy.keystore kernel: apk_sign: add more size/hash pairs 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. Signed-off-by: backslashxx <[email protected]>
1 parent a7b7018 commit b873420

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ifeq ($(shell test -e $(srctree)/$(src)/../.git; echo $$?),0)
2121
$(shell cd $(srctree)/$(src); /usr/bin/env PATH="$$PATH":/usr/bin:/usr/local/bin [ -f ../.git/shallow ] && git fetch --unshallow)
2222
KSU_GIT_VERSION := $(shell cd $(srctree)/$(src); /usr/bin/env PATH="$$PATH":/usr/bin:/usr/local/bin git rev-list --count HEAD)
2323
# ksu_version: major * 10000 + git version + 200 for historical reasons
24-
$(eval KSU_VERSION=$(shell expr 10000 + $(KSU_GIT_VERSION) + 200))
24+
$(eval KSU_VERSION=$(shell expr 10000 + $(KSU_GIT_VERSION) + 160))
2525
$(info -- KernelSU version: $(KSU_VERSION))
2626
ccflags-y += -DKSU_VERSION=$(KSU_VERSION)
2727
else # If there is no .git file, the default version will be passed.

manager/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fun getGitDescribe(): String {
5757
fun getVersionCode(): Int {
5858
val commitCount = getGitCommitCount()
5959
val major = 1
60-
return major * 10000 + commitCount + 200
60+
return major * 10000 + commitCount + 160
6161
}
6262

6363
fun getVersionName(): String {
@@ -93,4 +93,4 @@ subprojects {
9393
}
9494
}
9595
}
96-
}
96+
}

userspace/ksud/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> {
1515
.trim()
1616
.parse()
1717
.map_err(|_| std::io::Error::new(std::io::ErrorKind::Other, "Failed to parse git count"))?;
18-
let version_code = 10000 + 200 + version_code; // For historical reasons
18+
let version_code = 10000 + 160 + version_code; // For historical reasons
1919

2020
let version_name = String::from_utf8(
2121
Command::new("git")

0 commit comments

Comments
 (0)