Commit Graph

1042 Commits

Author SHA1 Message Date
Trịnh Văn Lợi
728b9d543a Update Vietnamese strings (#678) 2023-06-23 17:30:04 +08:00
raystef66
ca16500a51 Update Flemish/Dutch translation (#677) 2023-06-23 09:31:58 +08:00
Ali Beyaz
12a188c7ea Translated latest strings to Turkish (#676) 2023-06-23 09:31:23 +08:00
weishu
7a564ce382 manager: update card color 2023-06-23 00:35:35 +08:00
Igor Sorocean
cf3e0ec2f6 manager: update ro translation (#674) 2023-06-23 00:32:26 +08:00
weishu
02ed563a67 manager: add a simple manager updater, close #627 2023-06-23 00:31:36 +08:00
weishu
b66fe74589 manager: don't remember state when process died. 2023-06-22 23:24:35 +08:00
weishu
c24c628b36 manager: fix module install 2023-06-22 23:20:13 +08:00
weishu
a09a1d1f04 manager: fix download state 2023-06-22 19:46:26 +08:00
weishu
712d2fd742 manager: fix update button 2023-06-22 19:29:37 +08:00
weishu
c15f0a69fd manager: support module update online 2023-06-22 18:40:28 +08:00
weishu
7ab0583a0d ksud: respect the skip_mount flag of module 2023-06-22 17:00:02 +08:00
weishu
9787aa9734 ksud: increase reserved size to 256M 2023-06-22 16:48:13 +08:00
weishu
aeda3f462d manager: set keyboard options for inputtext 2023-06-22 16:46:41 +08:00
weishu
f87d6eb97d kernel: fix incorrect umount for apps 2023-06-22 15:17:32 +08:00
weishu
a0abe9db68 Revert "kernel: use vfs_fstatat on kernel 5.10+, vfs_statx may have cfi."
This reverts commit d2647b2f4d.
2023-06-22 14:37:17 +08:00
weishu
fc4f0b285a kernel: don't alloc groups for default groups 2023-06-22 13:42:28 +08:00
weishu
22e3e1fc0e Revert "kernel: getname might sleep in kprobe handler (#670)"
This reverts commit 7fa7b5b875.
2023-06-22 12:54:30 +08:00
weishu
7fa7b5b875 kernel: getname might sleep in kprobe handler (#670) 2023-06-22 10:54:50 +08:00
Ali Beyaz
e6c1f5b597 Update latest strings to Turkish (#662) 2023-06-20 18:45:24 +08:00
raystef66
b9f72bd24c Update Flemish/Dutch translation (#665) 2023-06-20 18:44:04 +08:00
weishu
d2647b2f4d kernel: use vfs_fstatat on kernel 5.10+, vfs_statx may have cfi. 2023-06-20 18:42:41 +08:00
Howard Wu
eb3ff15889 ci: Fix kernel version (#666) 2023-06-20 18:10:07 +08:00
Azeroth
6731d33ca3 Fix typo (#667)
Fixed typo in this section
https://kernelsu.org/guide/installation.html#patch-boot-img-manully
2023-06-20 17:58:05 +08:00
Ikko Eltociear Ashimine
3863d19745 kernel: fix typo in allowlist.c (#663)
creat -> create
2023-06-20 11:03:09 +08:00
Coconut
29169ddeb9 kernel:Fix the issue of incompatible __maybe_unused in the GCC compiler kernel used in versions 4.4. x to 4.9. x. (#660) 2023-06-20 10:35:07 +08:00
weishu
b8d28c69d3 manager: Add selinux rules UI 2023-06-19 22:20:40 +08:00
Muhammad Fadlyas
48d05eafda Update Indonesian translation (#659) 2023-06-19 20:07:47 +08:00
weishu
f8346380f6 kernel: Enforcement of Manager Signature Verification 2023-06-19 17:57:19 +08:00
exer
b87d4f20b0 [add device]: Sony Tama (XZ2/c/p, XZ3) (#656) 2023-06-18 17:06:41 +08:00
weishu
0eb960826d kernel: allow uid 1000(system_uid) to grant root. close #645 2023-06-18 13:00:37 +08:00
weishu
f2d9900c45 kernel: fix compile err. close #647 2023-06-18 12:51:34 +08:00
weishu
a644e4e794 ci: support deprecated kernel versions (#648) 2023-06-18 12:47:29 +08:00
github-actions[bot]
7aeae0d2af [add device]: (#650)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/644

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-17 23:11:41 +08:00
Ylarod
56cf3809e4 fix add-device (#649) 2023-06-17 22:07:39 +08:00
Gustavo Mendes
076d6c1a2b Update Portuguese brazilian translation (#643)
Signed-off-by: Gustavo Mendes <gusttavo.me@outlook.com>
2023-06-17 21:14:36 +08:00
Ali Beyaz
b7cca2a4fd Fixed some Turkish strings again (#646) 2023-06-17 21:14:09 +08:00
Rem01Gaming
4557bcefc0 Update Indonesian translation (#634) 2023-06-16 20:50:31 +08:00
Ali Beyaz
e0930746af Fixed some Turkish strings (#640) 2023-06-16 20:50:13 +08:00
SupeChicken666
25189ef633 Add CI workflow for ChromeOS ARCVM (#641)
All changes are tested on my fork (the Telegram error was fixed in
9b16150):
https://github.com/supechicken/KernelSU/actions/runs/5287864543

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2023-06-16 20:49:51 +08:00
Juhyung Park
9fa6a0ce85 Hook improvements (take 2) (#563)
Hi @tiann.

Thanks for the great project, I had great fun playing around with it.

This PR mainly tries to further minimize the possible delays caused by
KernelSU hooking.

There are 3 major changes:
- Processes with 0 < UID < 2000 are blocked straight-up before going
through the allow_list.
I don't see any need for such processes to be interested in root, and
this allows returning early before going through a more expensive
lookup.
If there's an expected breakage due to this change, I'll remove it. Let
me know.
- A page-sized (4K) bitmap is added.
This allows O(1) lookup for UID <= 32767.
This speeds up `ksu_is_allow_uid()` by about 4.8x by sacrificing a 4K
memory. IMHO, a good trade-off.
Most notably, this reduces the 99.999% result previously from worrying
milliseconds scale to microseconds scale.
For UID > 32767, another page-sized (4K) sequential array is used to
cache allow_list.

Compared to the previous PR #557, this new approach gives another nice
25% performance boost in average, 63-96% boost in worst cases.

Benchmark results are available at
https://docs.google.com/spreadsheets/d/1w_tO1zRLPNMFRer49pL1TQfL6ndEhilRrDU1XFIcWXY/edit?usp=sharing

Thanks!

---------

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
2023-06-16 19:53:15 +08:00
weishu
6b326ffbff kernel: fix warning on x86_64, close #637 2023-06-16 19:32:48 +08:00
Ali Beyaz
81d13c9e85 Translated latest 3 strings to Turkish (#630) 2023-06-14 11:03:42 +08:00
Pegioner
6eda73bb3b Update Russian translation and typo fix (#631) 2023-06-14 11:03:27 +08:00
Igor Sorocean
39737b5ae8 Update ro translation (#629) 2023-06-13 19:23:48 +08:00
raystef66
c1403a203b Update Flemish/Dutch translation (#626) 2023-06-13 14:22:45 +08:00
Hikari-no-Tenshi
d3c0d69e0a manager: Make more strings translatable (#622)
Co-authored-by: weishu <twsxtd@gmail.com>
2023-06-13 12:51:03 +08:00
Ali Beyaz
127b8d810b Turkish translation (#618) 2023-06-13 12:11:12 +08:00
YuKongA
ed5f0d3e29 ci: upgrade kernel branches (#614)
* Add android12-5.10.177 & android13-5.10.177
2023-06-10 20:40:50 +08:00
weishu
b47425d3ff ci: Fix incorrect patch level for a13 kernel. close #601 2023-06-10 20:12:15 +08:00