ShirkNeko
|
ebc16583fb
|
[skip ci]:kernel: kpm: add compatibility for kernel 4.14 and lower (#76)
manger: Fix and simplify back gesture
`thread_pid` is not defined in kernel 4.14 and lower, leading to compilation issue.
To fix this, use `pids[PIDTYPE_PID].pid` for kernel versions 4.14 and lower.
Else use `thread_pid` for kernel versions 4.19 and higher.
Reference: 107717913b/tracee/tracee.bpf.c (L354)
Co-authored-by: sidex15 <24408329+sidex15@users.noreply.github.com>
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
|
2025-05-19 21:30:13 +08:00 |
|
liankong
|
1944a49fd8
|
添加super_access对task_struct的支持
|
2025-04-13 14:41:06 +08:00 |
|
ShirkNeko
|
06324def38
|
更新super_access.c to remove redundant macro definitions and optimize conditional compilation; use resource strings instead of hard-coded text in MoreSettings.kt; add theme color string resource in strings.xml
|
2025-04-13 01:33:40 +08:00 |
|
ShirkNeko
|
70259a5ec5
|
清理super_access.c中的多余空行
|
2025-04-12 17:00:14 +08:00 |
|
ShirkNeko
|
a63057c594
|
Merge branch 'dev' into main
|
2025-04-12 16:55:20 +08:00 |
|
ShirkNeko
|
712d0f3342
|
更新super_access.c以支持不同内核版本的结构体成员定义
|
2025-04-12 16:29:13 +08:00 |
|
ShirkNeko
|
d6084aeca1
|
在super_access.c中添加对linux/version.h的引用,并定义KERNEL_VERSION_6_6宏,以支持不同内核版本的条件编译
|
2025-04-12 16:09:13 +08:00 |
|
ShirkNeko
|
562b9624d7
|
移除对linux/nsproxy.h的引用,并添加对../fs/mount.h的引用
|
2025-04-12 15:49:00 +08:00 |
|
ShirkNeko
|
a68d5e8bbe
|
在super_access.c中添加对linux/nsproxy.h的引用
|
2025-04-12 15:02:22 +08:00 |
|
ShirkNeko
|
d45aa8197e
|
Remove unnecessary header file fs/mount.h and use linux/mount.h instead.
|
2025-04-12 14:54:10 +08:00 |
|
liankong
|
e3750ccd51
|
完善super_access
|
2025-04-12 10:35:08 +08:00 |
|
liankong
|
a712efe9d8
|
添加super_access机制
|
2025-04-12 00:34:37 +08:00 |
|
liankong
|
569183efe9
|
添加super_access机制
|
2025-04-11 15:19:18 +08:00 |
|
ShirkNeko
|
8972327faa
|
manager: add KPM module with control codes and compact symbol handling
|
2025-03-29 21:04:54 +08:00 |
|