[okl4-developer] the return address from wombat linux system call

최수길 hips05 at naver.com
Thu Nov 6 18:19:26 EST 2008


Hello
 
I am trying to implement system call hooking in wombat linux.
 
I want to do some security check before allowing normal system call processing.
 
I found out that the function syscall_loop() in arch/l4/kernel/main.c is the right place to add the security check mechanism.
 
One of the information I need to know is the address of instruction which will be executed after returning from system call processing.
 
In ARM architecture, the return address is stored in lr(link register).
 
But, in case of L4, the lr doesn't seem to hvae the value of return address.
 
Can anyone help me to identify the return address? (the return address in the process' own address space)
 
Regards,
 
SuGil 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20081106/d6f512a4/attachment.htm 


More information about the Developer mailing list