manager: Add module UI

This commit is contained in:
tiann
2023-01-01 16:51:14 +08:00
parent 00b4025325
commit d6dabf7b24
15 changed files with 375 additions and 23 deletions

View File

@@ -16,3 +16,5 @@ add_library(kernelsu
find_library(log-lib log)
target_link_libraries(kernelsu ${log-lib})
add_executable(libksu.so su.c)

View File

@@ -0,0 +1,10 @@
#include <unistd.h>
#include <stdlib.h>
#include <sys/prctl.h>
int main(){
int32_t result = 0;
prctl(0xdeadbeef, 0, 0, 0, &result);
system("/system/bin/sh");
return 0;
}