- module: a simple kernel module.
- syscall: hook
sys_call_table
, in order to append a new syscall without compiling kernel.
kallsyms_lookup_name
was no longer export after version5.7
. Therefore we cannot find any kernel function easily.- To tackle it, we can use
kprobe
, another exported method to find unexported kernel function.
- Implement thread based Fibonacci number calculation program, using
Java
andC
. - Encapsulate
<pthread.h>
intothread.h
. Available APIs:int create(void *func);
void wait(int id);
- Implement dynamic extended thread pool.
- Customize macro
BLOCK_SIZE
to fit your own needs. Default: 64. - Available APIs:
int create(void *func);
void wait(int id);
- A possible solution to Dining Philosophers problem.