Commit Graph

21 Commits

Author SHA1 Message Date
weishu 7da5189377 kernel: add uid observer, correctly prune uid allowlist when app is installed/uninstalled. 2023-01-17 12:44:38 +07:00
weishu 8180106ccf kernel: fix am/pm error in app's su 2023-01-16 15:48:40 +07:00
Ylarod 2815801ecd kernel: add prefix for functions in sepolicy (#49)
* kernel: add prefix for functions in sepolicy

* ci: fix 5.15 compile error
2023-01-13 20:05:52 +08:00
セリカ・シルフィル 395090ae3e Fix error for some non-GKI kernel source code (#45)
Idea from @Dreamail
2023-01-12 15:11:51 +08:00
weishu 0caaf53c52 kernel: backport to 4.19 (#36) 2023-01-10 23:20:32 +08:00
Ylarod 9d19d9b9f0 kernel: improve include (#35) 2023-01-10 19:44:43 +08:00
YuKongA 07176fdecb kernel: CI build for 5.15.y (#30) 2023-01-07 16:39:19 +08:00
weishu 808f4b8875 kernel: inject userspace init events 2023-01-01 23:54:54 +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 d9a2356edc kernel: support xperms for sepolicy 2022-12-27 17:43:58 +07:00
weishu f610e321d2 kernel: fix sepolicy db size incorrect 2022-12-27 15:55:54 +07:00
Ylarod ba1ae8d7ff 🚨 [kernel] remove warnings (#20) 2022-12-24 09:18:38 +08:00
weishu 2bdd7c3868 kernel: fix compile err 2022-12-23 10:46:19 +07:00
weishu e44b1c2a95 kernel: don't apply rules for permissive/disabled selinux 2022-12-23 08:59:57 +07:00
weishu 5f1d813635 kernel: add selinux rules for allowlist 2022-12-23 08:15:35 +07:00
weishu c17aed0d02 kernel: improve selinux for su context 2022-12-22 22:10:17 +07:00
weishu fa4362ddd6 kernel: avoding other root process being kprobed 2022-12-21 20:50:55 +07:00
SsageParuders db153671c8 kernel: add ccflags (#11)
make `Mixing declarations and code is a C99 extension`  disappear
2022-12-20 14:04:14 +08:00
weishu 84ebb6800a kernel: don't setenforce if kernel is already permissive 2022-12-12 22:19:17 +07:00
weishu b1a33f869b kernel: make allowlist available cross boot 2022-12-12 11:17:51 +07:00
tiann 2f6031ad67 Init 2022-12-09 22:04:40 +08:00