Skip to content

Commit c1a9bb2

Browse files
committed
Test
1 parent 508272f commit c1a9bb2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ jobs:
199199
200200
curl -Ls https://github.com/backslashxx/mojito_krenol/commit/84cc3277f7fd1b79681d8cdaa6315717ae53404f.patch | head -n-12 | patch -p1 -F 3
201201
cd ../KernelSU-Next
202+
sed -i '1i \
203+
#ifdef CONFIG_KSU_LSM_SECURITY_HOOKS \
204+
#define LSM_HANDLER_TYPE static int \
205+
#else \
206+
#define LSM_HANDLER_TYPE int \
207+
#endif' ./kernel/core_hook.c
202208
curl -Ls https://github.com/backslashxx/KernelSU/commit/1fc6b935ac1a50a82c9b93872c0fc3b8c1732ce8.patch | patch -p1 -F 3
203209
204210
- name: Apply Hide Stuff Patches

0 commit comments

Comments
 (0)