This is the first project for Operating System in SJTU, semester 2022 Spring.
The project is composed of 4 sub-problems.
The source file is ptree_module/ptree_mod.c
with the corresponding makefile ptree_module/Makefile
.
Execute cd ptree_module&&make
and then get the target module file ptree_module/ptree_mod.ko
.
The source file is ptree/jni/ptree.c
with the corresponding makefile ptree/jni/Android.mk
.
Execute cd ptree/jni&&ndk-build
and then get the target file ptree/libs/armeabi/ptree
.
The source file is ptree_gen/jni/ptree_gen.c
with the corresponding makefile ptree_gen/jni/Android.mk
.
Execute cd ptree_gen/jni&&ndk-build
and then get the target file ptree_gen/libs/armeabi/ptree_gen
.
The source file is encryption/jni/server.c
and encryption/jni/client.c
with the corresponding makefile encryption/jni/Android.mk
.
Execute cd encryption/jni&&ndk-build
and then get the target file encryption/libs/armeabi/server
and encryption/libs/armeabi/client
.