access_process_vm,将当前进程的一段内存内容拷贝到另一个进程的内存中
The module and app code for you.#ifdef TEST_ACCESS_PROCESS_VMchar buf[4096+8] = "TEST ACCESS_PROCESS_VM";test_user_copy(){struct task_struct *t;int len = 1024*4;long addr = 0x4014d008; //this is a fixed addr printed by tfile.c, never change