손지언

tlqkf

...@@ -30,6 +30,7 @@ unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){ ...@@ -30,6 +30,7 @@ unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){
30 int __init Hook_Init(void){ 30 int __init Hook_Init(void){
31 sys_write_orig = (void *)g_puSysTableAddr[__NR_write]; 31 sys_write_orig = (void *)g_puSysTableAddr[__NR_write];
32 32
33 + printk("외않되?\n");
33 __asm__ __volatile__("mrc p15, 0, %0, c3, c0" : "=r"(g_uPrevAP)); 34 __asm__ __volatile__("mrc p15, 0, %0, c3, c0" : "=r"(g_uPrevAP));
34 __asm__ __volatile__("mrc p15, 0, %0, c3, c0" : : "r"(g_uNewAP)); 35 __asm__ __volatile__("mrc p15, 0, %0, c3, c0" : : "r"(g_uNewAP));
35 36
......
...@@ -30,4 +30,4 @@ __attribute__((section(".modinfo"))) = ...@@ -30,4 +30,4 @@ __attribute__((section(".modinfo"))) =
30 "depends="; 30 "depends=";
31 31
32 32
33 -MODULE_INFO(srcversion, "A8B6D680BDB7800A900C22D"); 33 +MODULE_INFO(srcversion, "C9222200A71E34F955A2A67");
......