A small fun project to make any file in linux system immutable/non writable by hooking sys_openat
and sys_write
system calls using ftrace.
fh_sys_openat
funtion.make
from terminalsudo insmod immutable_file.ko
Reference for: https://nixhacker.com/hooking-syscalls-in-linux-using-ftrace