This commit is contained in:
liankong
2025-04-01 12:28:59 +08:00
parent 029c7f1e2a
commit e9d0526e1b
2 changed files with 2 additions and 4 deletions

View File

@@ -1,4 +1,2 @@
obj-y += kpm.o
obj-y += compact.o
ccflags-y += -flto=thin

View File

@@ -70,7 +70,7 @@ int main(int argc, char *argv[]) {
if (strcmp(argv[1], "load") == 0 && argc >= 3) {
// 加载 KPM 模块
ret = prctl(KSU_OPTIONS, CONTROL_CODE(SUKISU_KPM_LOAD), argv[2], (argc > 3 ? argv[3] : NULL), &out);
if(out == 0) {
if(out > 0) {
printf("Success");
}
} else if (strcmp(argv[1], "unload") == 0 && argc >= 3) {