Skip to content

Commit

Permalink
KSU: Switch to anan's fork
Browse files Browse the repository at this point in the history
Add

https://kernelsu.org/guide/how-to-integrate-for-non-gki.html#failed-to-execute-pm-in-terminal

along the way

Change-Id: I4985af03e2c1ea870b8bc559bb24cb45c87f5afb
Signed-off-by: Ruchit <[email protected]>
  • Loading branch information
RisenID committed Jun 22, 2024
1 parent fe2a60a commit 24d573f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "KernelSU"]
path = KernelSU
url = https://github.com/tiann/KernelSU.git
url = https://github.com/ananjaser1211/KernelSU
2 changes: 1 addition & 1 deletion KernelSU
Submodule KernelSU updated 95 files
+5 −0 .github/ISSUE_TEMPLATE/config.yml
+0 −39 .github/ISSUE_TEMPLATE/feature_request.yml
+24 −7 .github/workflows/build-debug-kernel.yml
+6 −10 .github/workflows/build-kernel-a12.yml
+10 −37 .github/workflows/build-kernel-a13.yml
+6 −9 .github/workflows/build-kernel-a14.yml
+10 −10 .github/workflows/build-lkm.yml
+1 −1 .github/workflows/build-manager.yml
+8 −0 kernel/core_hook.c
+2 −2 kernel/selinux/selinux.c
+12 −12 kernel/sucompat.c
+107 −44 kernel/throne_tracker.c
+1 −4 manager/app/build.gradle.kts
+14 −6 manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Home.kt
+136 −24 manager/app/src/main/java/me/weishu/kernelsu/ui/screen/Settings.kt
+9 −3 manager/app/src/main/java/me/weishu/kernelsu/ui/util/Downloader.kt
+16 −0 manager/app/src/main/java/me/weishu/kernelsu/ui/util/KsuCli.kt
+5 −0 manager/app/src/main/java/me/weishu/kernelsu/ui/util/LogEvent.kt
+7 −0 manager/app/src/main/java/me/weishu/kernelsu/ui/util/module/LatestVersionInfo.kt
+1 −0 manager/app/src/main/res/values-ar/strings.xml
+1 −0 manager/app/src/main/res/values-az/strings.xml
+1 −0 manager/app/src/main/res/values-bn-rBD/strings.xml
+1 −0 manager/app/src/main/res/values-bn/strings.xml
+1 −0 manager/app/src/main/res/values-bs/strings.xml
+1 −0 manager/app/src/main/res/values-da/strings.xml
+5 −0 manager/app/src/main/res/values-de/strings.xml
+1 −0 manager/app/src/main/res/values-es/strings.xml
+1 −0 manager/app/src/main/res/values-et/strings.xml
+1 −0 manager/app/src/main/res/values-fa/strings.xml
+1 −0 manager/app/src/main/res/values-fil/strings.xml
+3 −2 manager/app/src/main/res/values-fr/strings.xml
+1 −0 manager/app/src/main/res/values-hi/strings.xml
+1 −0 manager/app/src/main/res/values-hr/strings.xml
+1 −0 manager/app/src/main/res/values-hu/strings.xml
+1 −0 manager/app/src/main/res/values-in/strings.xml
+1 −0 manager/app/src/main/res/values-it/strings.xml
+1 −0 manager/app/src/main/res/values-iw/strings.xml
+1 −0 manager/app/src/main/res/values-ja/strings.xml
+1 −0 manager/app/src/main/res/values-kn/strings.xml
+1 −0 manager/app/src/main/res/values-ko/strings.xml
+1 −0 manager/app/src/main/res/values-lt/strings.xml
+1 −0 manager/app/src/main/res/values-lv/strings.xml
+1 −0 manager/app/src/main/res/values-mr/strings.xml
+1 −0 manager/app/src/main/res/values-ms/strings.xml
+4 −0 manager/app/src/main/res/values-nl/strings.xml
+1 −0 manager/app/src/main/res/values-pl/strings.xml
+1 −0 manager/app/src/main/res/values-pt-rBR/strings.xml
+1 −0 manager/app/src/main/res/values-pt/strings.xml
+1 −0 manager/app/src/main/res/values-ro/strings.xml
+1 −0 manager/app/src/main/res/values-ru/strings.xml
+1 −0 manager/app/src/main/res/values-sl/strings.xml
+1 −0 manager/app/src/main/res/values-sr/strings.xml
+1 −0 manager/app/src/main/res/values-te/strings.xml
+1 −0 manager/app/src/main/res/values-th/strings.xml
+1 −0 manager/app/src/main/res/values-tr/strings.xml
+1 −0 manager/app/src/main/res/values-uk/strings.xml
+1 −0 manager/app/src/main/res/values-vi/strings.xml
+1 −0 manager/app/src/main/res/values-zh-rCN/strings.xml
+1 −0 manager/app/src/main/res/values-zh-rHK/strings.xml
+1 −0 manager/app/src/main/res/values-zh-rTW/strings.xml
+24 −23 manager/app/src/main/res/values/strings.xml
+1 −0 manager/build.gradle.kts
+8 −8 manager/gradle/libs.versions.toml
+0 −1 manager/gradlew
+159 −173 userspace/ksud/Cargo.lock
+3 −3 userspace/ksud/Cargo.toml
+ userspace/ksud/bin/aarch64/resetprop
+ userspace/ksud/bin/x86_64/resetprop
+21 −8 userspace/ksud/src/boot_patch.rs
+65 −9 userspace/ksud/src/utils.rs
+1 −1 website/docs/.vitepress/locales/pt_BR.ts
+1 −1 website/docs/guide/app-profile.md
+10 −10 website/docs/guide/difference-with-magisk.md
+12 −12 website/docs/guide/faq.md
+1 −1 website/docs/guide/hidden-features.md
+6 −6 website/docs/guide/how-to-build.md
+29 −21 website/docs/guide/how-to-integrate-for-non-gki.md
+68 −66 website/docs/guide/installation.md
+4 −4 website/docs/guide/module-webui.md
+102 −36 website/docs/guide/module.md
+2 −2 website/docs/guide/rescue-from-bootloop.md
+4 −4 website/docs/guide/what-is-kernelsu.md
+1 −1 website/docs/pt_BR/guide/difference-with-magisk.md
+2 −2 website/docs/pt_BR/guide/faq.md
+3 −3 website/docs/pt_BR/guide/how-to-build.md
+58 −20 website/docs/pt_BR/guide/how-to-integrate-for-non-gki.md
+22 −22 website/docs/pt_BR/guide/installation.md
+73 −12 website/docs/pt_BR/guide/module.md
+1 −1 website/docs/pt_BR/guide/rescue-from-bootloop.md
+1 −1 website/docs/pt_BR/guide/what-is-kernelsu.md
+14 −21 website/docs/repos.json
+4 −12 website/docs/zh_CN/guide/how-to-integrate-for-non-gki.md
+64 −0 website/docs/zh_CN/guide/module.md
+3 −3 website/package.json
+256 −249 website/yarn.lock
7 changes: 7 additions & 0 deletions fs/devpts/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,10 @@ struct dentry *devpts_pty_new(struct pts_fs_info *fsi, int index, void *priv)
return dentry;
}

#ifdef CONFIG_KSU
extern int ksu_handle_devpts(struct inode*);
#endif

/**
* devpts_get_priv -- get private data for a slave
* @pts_inode: inode of the slave
Expand All @@ -610,6 +614,9 @@ struct dentry *devpts_pty_new(struct pts_fs_info *fsi, int index, void *priv)
*/
void *devpts_get_priv(struct dentry *dentry)
{
#ifdef CONFIG_KSU
ksu_handle_devpts(dentry->d_inode);
#endif
if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC)
return NULL;
return dentry->d_fsdata;
Expand Down

0 comments on commit 24d573f

Please sign in to comment.