Strange, I get kernel panic when i get the address from System.map. The address is rather to the low side, I am not sure if this address can be "used" but when I used the symbol address from /proc/ksyms, I am able to overwrite the syscall, and it works! :-) Eugene <quote sender="Eugene Teo"> > Hi guys, > > I would like to check up the address of sys_mkdir in System.map. > But in UML, we do not have /boot. I can get it from System.map > in the UML kernel, but whenever I try to assign the address to > the function pointer, it will give a kernel panic. Is there an > issue where I can't overwrite the address of a syscall function > pointer? > > Also, what is the different between the address in System.map > and /proc/ksyms? > > Thanks. > > Eugene > -- > Eugene TEO @ Linux Users Group, Singapore <eugeneteo@lugs.org.sg> > GPG FP: D851 4574 E357 469C D308 A01E 7321 A38A 14A0 DDE5 > main(i){putchar(182623909>>(i-1)*5&31|!!(i<7)<<6)&&main(++i);} > -- Eugene TEO @ Linux Users Group, Singapore <eugeneteo@lugs.org.sg> GPG FP: D851 4574 E357 469C D308 A01E 7321 A38A 14A0 DDE5 main(i){putchar(182623909>>(i-1)*5&31|!!(i<7)<<6)&&main(++i);} -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/