Commit Graph

593 Commits

Author SHA1 Message Date
weishu
f422b16750 kernel: reset avc cache for sepolicy
Co-authored-by: sekaiacg <sekaiacg@gmail.com>
2023-02-12 13:09:00 +07:00
weishu
850482d03b kernel: disable inofity for fd opened for manager 2023-02-12 12:15:58 +07:00
github-actions[bot]
7074a4231b [add device]: (#229)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/228

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-11 19:55:23 +08:00
rxuglr
4dad337557 manager: Add Russian language (#225) 2023-02-11 15:26:55 +08:00
tiann
f8dd5d684c ksud: don't hardcode system unzip becuase we use busybox now 2023-02-10 18:51:22 +08:00
f19
b2b4ca9f78 fix KSU_GIT_VERSION is not defined while importing KSU by 'git submodule add' (#224)
.git is a text file while the module is imported by 'git submodule add'.
2023-02-10 16:34:47 +08:00
Re*Index. (ot_inc)
5786eb0ef1 Added Japanese language to KernelSU Manager (#223)
Japanese translation added.
2023-02-09 23:51:53 +08:00
tiann
c9dff16cdb website: Update installation 2023-02-09 14:04:41 +08:00
tiann
db9f2b8990 ksud: e2fsck before resize2fs 2023-02-09 13:53:07 +08:00
tiann
dfb702196c website: Update installation 2023-02-09 10:51:16 +08:00
tiann
e264c31d55 website: Update installation instruction 2023-02-09 09:28:16 +08:00
tiann
94e83b3bc7 ci: Fix release build 2023-02-08 23:58:47 +08:00
weishu
fcef6215c8 Add release ci (#218) 2023-02-08 22:31:43 +08:00
github-actions[bot]
661bf27433 [add device]: (#220)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/219

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-08 22:18:05 +08:00
tiann
b513707994 ksud: Add KSU_KERNEL_VER_CODE 2023-02-08 15:09:36 +08:00
tiann
cb26adb43a ksud: clippy 2023-02-08 12:33:00 +08:00
tiann
3f24bb9251 ksud: Fix module operation order 2023-02-08 12:26:33 +08:00
tiann
f2647c6469 ksud: Fix confliction with stock system overlayfs 2023-02-08 12:14:31 +08:00
Aquarius223
f0c4ecb872 kernel: Correctly judge the version of selinux_state (#214)
* Merged related changes in android-common-kernel-4.14.163 [1] Handle
correct checks for older versions (below 4.14.163, 4.9, 4.4)
* fixes 632cf747, it is required in 4.14.163 kernel, it is not needed in
4.14.163 and later

[1]: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commits/1cfd8419

Change-Id: Iade104312d058a249667ca836259d5608418bb55

Co-authored-by: admin <paper@localhost>
2023-02-07 15:02:48 +08:00
初羽
632cf74767 kernel: selinux: Fix build error (#213)
* 47f4f9e although fixed some typo, but since there is no include avc.h,
this will cause the build to fail
* Error:


/mnt/HDD/fish/aospa/kernel/msm-4.9/drivers/staging/ksu/selinux/selinux.c:60:2:
error: use of undeclared identifier 'selinux_enforcing'
        selinux_enforcing = enforce;
        ^

/mnt/HDD/fish/aospa/kernel/msm-4.9/drivers/staging/ksu/selinux/selinux.c:81:9:
error: use of undeclared identifier 'selinux_enforcing'
        return selinux_enforcing;
               ^
2 errors generated.

Change-Id: I4cc8917b2b73ca467873222e02d498da8718988e
2023-02-07 09:50:55 +08:00
小さい猫
47f4f9ed08 kernel: selinux: fix more typos introduced in #166 (#212)
i didn't realize these typos in #181

Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2023-02-06 16:31:26 +08:00
weishu
91db0b3248 kernel: allow use without git submodule 2023-02-06 15:30:58 +07:00
tiann
cae5542cd3 ksud: clippy 2023-02-06 09:16:15 +08:00
tiann
465921260b ksud: don't mount module when in safe mode 2023-02-06 08:58:02 +08:00
tiann
c867067dd3 ksud: pass KSU_VER and KSU_VER_CODE to installer script 2023-02-06 08:53:18 +08:00
weishu
eb0cac3522 kernel: make sure KernelSU is a submodule to avoding incorrect git version 2023-02-05 16:31:50 +07:00
Daybit
2463f4252d [add device]:Pixel4XL (#210)
[add device]:Pixel4XL
2023-02-05 13:21:40 +08:00
github-actions[bot]
fb344d8702 [add device]: (#209)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/208

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-05 11:42:58 +08:00
Amicia De Rune
be78e9a18e manager: update translation ID language (#207)
Signed-off-by: RooGhz720 <rooghz720@gmail.com>

Signed-off-by: RooGhz720 <rooghz720@gmail.com>
2023-02-05 07:15:21 +08:00
f19
9b8f8fac99 kernel: fix filp_open on older kernel's kworker (#205)
On older kernel, kworker missing keyring from init process , and this
keyring is related to FBE , which causes filp_open return ENOKEY or
other errors.To fix this,just install init's keyring to per
kworkers.This works on Kernel 4.4 and 4.9.
2023-02-05 07:14:59 +08:00
小さい猫
1c07bcf7e6 website: document the replacement of do_faccessat for some non-GKI (#206)
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2023-02-04 21:56:04 +08:00
github-actions[bot]
8ee557eddd [add device]: (#204)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/203

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-04 15:35:26 +08:00
skbeh
df0ebb3012 ci: add CI for clippy, rustfmt and shell scripts (#193) 2023-02-04 13:52:20 +08:00
VINC3NT
c945367cbe [add device]: Redmi K40s / POCO F4 (#201) 2023-02-04 13:36:01 +08:00
skbeh
b46a6a3684 ksud, kernel: update explanation and fix some issues (#194) 2023-02-04 13:16:51 +08:00
weishu
1b2a6fb6bc kernel: unify version 2023-02-03 23:01:02 +07:00
github-actions[bot]
4e26aa16ef [add device]: Redmi K40 / POCO F3 (#198)
Redmi K40 / POCO F3 has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/197

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-03 23:33:36 +08:00
tiann
a8e85f65eb ksud: Fix incorrect dependency 2023-02-03 23:19:22 +08:00
tiann
866b0a7dc6 ksud: unify version 2023-02-03 21:02:11 +08:00
github-actions[bot]
9ed8091fe5 [add device]: (#196)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/195

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-03 19:12:44 +08:00
tiann
e1007b42e9 manager: Add send log 2023-02-03 18:14:42 +08:00
tiann
94462f8521 ksud: Fix macOS compile 2023-02-03 14:46:48 +08:00
tiann
ae866c8013 ksud: Fix script exec 2023-02-03 14:26:26 +08:00
github-actions[bot]
483a55e703 [add device]: Redmi Note 9 Pro/ Mi 10T Lite/ Mi 10i (#190)
Redmi Note 9 Pro/ Mi 10T Lite/ Mi 10i has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/189

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-03 14:12:24 +08:00
Huy Minh
4bc1fb0943 website: vi_VN: Update FAQs (#191) 2023-02-03 14:03:05 +08:00
tiann
3c8e27c012 ksud: support sepolicy check 2023-02-03 13:16:17 +08:00
tiann
e1eb951cb0 website: Add some faq 2023-02-03 11:11:41 +08:00
tiann
48a99cb69b ksud: fix module update 2023-02-03 10:05:09 +08:00
tiann
297809f24d ksud: restore syscon before module install script; this revert 1f44907a74 2023-02-03 10:00:52 +08:00
tiann
c5dbf1c7c2 ksud: tweaks for setcon 2023-02-03 09:55:03 +08:00