Commit Graph

8 Commits

Author SHA1 Message Date
Ylarod
3d07b7285b kernel: refact (#113)
* refact

* sort inlude

* update

* unregister execve kprobe

* update log

* don't unregister if not in kprobe

* opt for no kprobe

* opt for no kprobe

* stop debug

* don't forget to call ksu_uid_observer_exit

* rename core to core_hook

* direct call do_persistent_allow_list

* add prefix

* use getter, add warn

* add wrapper

* run clang-format

clang-format --style="{BasedOnStyle: InheritParentConfig, SortIncludes: true}" -i kernel/**/*.[ch]

* try fix wsa x64 build
2023-01-25 21:53:19 +08:00
Ylarod
6ea1a36f27 kernel: add missing header (#110) 2023-01-24 22:32:16 +08:00
chen2021-web
9150cfedd7 backport to 4.14 (#59) 2023-01-15 15:34:15 +08:00
weishu
cb78faaf22 kernel: fix typo for PT_PARAM_REG 2023-01-09 07:24:23 +07:00
weishu
ece756faed kernel: add PT_REGS_PARAM6 2023-01-06 21:51:09 +07:00
weishu
95656d61ad misc: code format(use kernel code stype: https://www.kernel.org/doc/html/v6.1/process/coding-style.html 2022-12-27 18:21:10 +07:00
weishu
ccf0675f8a kernel: fix memory leaks and x86_64 args 2022-12-14 16:26:53 +07:00
weishu
facd3d90f2 kernel: support x86_64 2022-12-12 13:51:09 +07:00