You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kernel: restore compat code required for old kernels
This commit restores compatibility code needed that was removed at tiann/KernelSU@898e9d4 .
where upstream dropped all pre-5.10 support
Reverts `kernel:Add Huawei hisi check (tiann#1545)`
- upstream tiann/KernelSU@4f05fe2
- superceded by `kernel: expose allowlist workaround as Kconfig option` on next commit
other changes and cleanups
sucompat: ksu_handle_stat(), remove dead ifdef.
- just use `ksu_handle_stat(&dfd, &filename->name, &flags);` if you want to hook vfs_statx on 6.1
LINUX_VERSION_CODE / KERNEL_VERSION, ksu.c
- reported by Sinclair19
- fix by including version.h
fatal_signal_pending, ksud.c
- add compat by including sched.h or sched/signal.h conditionally
- ref: torvalds/linux@2a1f062
selinux_state.ss, core_hook.c
- remove rcu_dereference use
- ref: tiann#2695
seccomp.filter_count, core_hook.c
- reset this only for 5.9 and up as it only exists there
- ref: tiann#2708, gregkh/linux@c818c03
vfs_getattr, throne_tracker.c
- add compat by using old fn signature on < 4.11
- ref: tiann#2757
Signed-off-by: backslashxx <[email protected]>
0 commit comments