Commit 077d21b
committed
KernelSU v3.2.4+
Changes on top of upstream (+89):
manager: keep api 29 support
manager: QOL
manager: restore api 26 support
manager: fix search bar focus bug on Android 8
manager: Adjust for Android v7.1 support (#31)
manager: fixup updates
workflows: debloat
dummy.keystore
ksud: add armeabi-v7a support
workflows: scripts: workaround armv7/a triple mismatch
kernel:
kernel: prepare for legacy support
kernel: uapi: fix portability
kernel: build: migrate to unity build
kernel: init lsm_hook infrastructure
kernel: lsm_hook: introduce selinux_ops LSM tampering for < 4.2
kernel: lsm_hook: introduce ARM64 branch patching for 6.8+
kernel: pkg_observer: initialize for downstream
kernel: setuid_hook: disable seccomp for manager and allowed uids
kernel: app_profile: adapt disable_seccomp to legacy
kernel: selinux/sepolicy: handle selinux policydb backports
kernel: selinux/sepolicy: abstract avtab slot access for compat
kernel: selinux/rules: backport handle_sepolicy to legacy policydb
kernel: selinux/rules: Pin task to current CPU to avoid cross-CPU rwlock release
kernel: supercall: provide sys_reboot handler
kernel: supercalls: tweak sys_reboot fd install
kernel: adapt "namespace support" feature to old kernels
kernel: allowlist: always allow shell for su on CONFIG_KSU_DEBUG
kernel: file_wrapper: handle anon_inode_getfile for old kernels
kernel: supercalls: partial backport of do_manage_mark
kernel: compat: screw path_umount backport, call sys_umount directly
kernel: app_profile: shim escape_with_root_profile
kernel: throne_tracker: fixup deadlocks on iterate_dir
kernel: throne_tracker: offload to kthread (tiann#2632)
kernel: allowlist: escape allowlist handling to kthread
kernel: ksud/lsm_hook: migrate ksu_install_rc_hook to security_file_permission LSM
kernel: ksud: handle newfstat rc size injection
kernel: ksud: wire up jump_label on vfs_read controlled hooks
kernel: ksud: read: add fallback to /init.rc
kernel: ksud: read: move second stage apply on read hook
kernel: ksud: read: grab init_session_keyring on read hook
kernel: ksud: replace input hook with an input handler
kernel: sucompat: squash reworked sucompat changes
kernel: lsm_hook: bprm: escape init ksud call to root for 3.x
kernel: lsm_hook: bprm: escape init ksud call to root for < 4.14
kernel: ksud: spit a kthread as unhook watchdog
kernel: file_wrapper: handle more compat
kernel: file_wrapper: handle readdir and iterate compat for UL
kernel: syscall_table_hook: introduce syscall table tampering
kernel: syscall_table_hook: wire up sucompat unhooking
kernel: sucompat: wire up jump label for sucompat unhooking
kernel: kp_ksud: restore kprobes for early-boot and used-once hooks
kernel: branch_link_hook: introduce arm64 branch link callsite hijacking
kernel: feature: sulog: adjust for downstream
kernel: feature: adbroot: adjust for downstream
kernel: feature: wire up a smaller selinux_hide implementation
kernel: lsm_hook: wire up setprocattr lsm hack for selinux_hide
kernel: supercalls: expose ksu_set_manager_appid to sys_reboot
kernel: supercalls: allow userspace to pull list entries (tiann#3040)
kernel: tiny_sulog: basic ringbuffer, timestamped su log
kernel: supercalls: expose ksuver override
kernel: supercalls: expose spoof uname function to userspace
kernel: supercalls: expose ksuflags override
kernel: apk_sign: casting to char for strcmp -> memcmp
kernel: apk_sign: migrate generic_file_llseek -> vfs_llseek
kernel: throne_tracker: resolve s_magic for < 3.9
kernel: ksud: handle conditional read_iter requirement for < 3.16
kernel: throne_tracker: handle filldir_t ABI mismatch on <= 3.18
kernel: sucompat: bruteforce writeable stack from start_stack for < 3.8
kernel: compat: no ext4_unregister_sysfs, no problem
kernel: compat: provide good-enough strscpy replacement
kernel: compat: d_is_reg to S_ISREG
kernel: compat: handle alloc_uid for < 3.5
kernel: compat: iterate_dir -> vfs_readdir compat for < 3.11
kernel: compat: provide bin2hex compat for < 3.18
kernel: compat: file_inode compat for < 3.9
kernel: compat: provide selinux_inode/selinux_cred wrappers for < 5.1
kernel: compat: no-op groups_sort if unavailable
kernel: compat: define U16_MAX if absent
kernel: compat: fix sulog/adbroot compile for legacy
kernel: compat: inline newer kernel_read / kernel_write for < 4.14
kernel: apk_sign, throne_tracker: heap-ify search_manager/check_block
kernel: compat: handle UL compat for refactored allowlist
kernel: apk_sign: fix return check for ksu_sha256
kernel: apk_sign: add more size/hash pairs
kernel: ksu: printout quirks / backports / etc on init
HACK: kernel: bypass tf out of uid_t/gid_t strict type checks
kernel: build: sucompat: hide / inline hook fns on syscall table hook
KernelSU v3.2.4+
Warning: Managers built from this repo has a known keystore.
See dummy.keystore.
Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>1 parent 92d6a97 commit 077d21b
4 files changed
Lines changed: 95 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments