* Is it possible to get the return address in a system call function?
@ 2005-08-02 6:57 Xin Zhao
0 siblings, 0 replies; only message in thread
From: Xin Zhao @ 2005-08-02 6:57 UTC (permalink / raw)
To: linux-kernel
Let me clarify with an example:
test.c:
******
open("abc.txt", O_RDONLY);
i ++;
Apparently, after the system call "open" in the kernel, the system
will return to the instruction "i++". My question is: can we find out
the instruction pointer in sys_open? If so, how?
Thanks!
xin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-08-02 6:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 6:57 Is it possible to get the return address in a system call function? Xin Zhao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox