Delta intercepts data and divert it to different storage directories.
- Compile libwrite_hook
$ gcc -g -shared -fPIC -pthread -ldl -w -o libwrite_hook.so lib/libwrite_v3.c -Ddebug- Compile Test Code
Compile with sharelibrary, this will use intercepted syscall open/write
$ gcc large_write.c -o large_write -g -L. -lwrite_hook -Wl,-rpath=. -lpthread -DacclOr, you can directly compile
$ gcc -o large_write_no_accl large_write.c- Test and Compare
$ ./large_write
...
$ ./large_write_no_accl
...