Commit Graph

9 Commits

Author SHA1 Message Date
Huy Minh
5053e20778 kernel: switch to syscall_work if CONFIG_GENERIC_ENTRY is enabled (#12)
From Kernel 5.11 it migrate to syscall_work instead of tif_*, so check for CONFIG_GENERIC_ENTRY and use syscall_work instead of TIF_SECCOMP

https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2382193.html
2022-12-20 14:54:42 +08:00
weishu
758c8eb845 kernel: fix compile errors & warnings on android13-5.15 gki 2022-12-20 10:51:40 +07:00
SsageParuders
c5da14ae4b need to import namespace (#7)
use some symbols, such as filp_open , from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it
2022-12-20 10:21:57 +08:00
Nullptr
85d4cbd92d Fix su file not found after su (#5) 2022-12-19 19:37:26 +08:00
weishu
223f5588df kernel: always disable seccomp 2022-12-19 17:14:38 +07:00
weishu
be91d4edaf kernel: emit compile error when KPROBES disabled 2022-12-19 12:12:57 +07:00
weishu
e9ed28077f kernel: add su compat mode 2022-12-14 14:55:29 +07:00
weishu
0d8785ec78 kernel: support x86_64 2022-12-12 13:51:09 +07:00
tiann
51c84400cf Init 2022-12-09 22:04:40 +08:00