Linux Kernel Modda Dosya Okumak
#include <linux/module.h> #include <linux/kernel.h> #include <linux/fs.h> #include <asm/uaccess.h> #include <linux/syscalls.h> SYSCALL_DEFINE2(deneme_syscall, int, a, int, b) { struct file *f; char buf[2048]; mm_segment_t fs; int i; for(i=0;i<128;i++) buf[i] = 0; f…