Hello,
I am a grad student at the university of nebraska lincoln.
I have to build a tool in C that would caputure the system calls and signals between a user application adn the operating system.
I have started studying the Linux kernel. Can I know how to go about it. Where , in which Kernel file can I find the definitions of the various system calls - how have they been implemented in the kernel?
How do I go about the project?
Thanks and regards,
Sarita Navuluru.
On Sun, 2001-12-09 at 17:51, Sarita N wrote:
> I am a grad student at the university of nebraska lincoln.
> I have to build a tool in C that would caputure the system calls and
> signals between a user application adn the operating system.
I sure hope this isn't a thesis topic ... see strace(1).
Robert Love
On 9 Dec 2001, Robert Love wrote:
> On Sun, 2001-12-09 at 17:51, Sarita N wrote:
>
> > I am a grad student at the university of nebraska lincoln.
> > I have to build a tool in C that would caputure the system calls and
> > signals between a user application adn the operating system.
>
> I sure hope this isn't a thesis topic ... see strace(1).
see also syscalltrack (http://syscalltrack.sf.net) for a different
approach to the same task.
--
mulix
http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/
> I have to build a tool in C that would caputure the system calls and
> signals between a user application and the operating system.
See 'man ptrace' for the ptrace system call which does it all for you.
Frank.
On 9 Dec 2001, Sarita N wrote:
>
> Hello,
> I am a grad student at the university of nebraska lincoln.
> I have to build a tool in C that would caputure the system calls and signals between a user application adn the operating system.
>
> I have started studying the Linux kernel. Can I know how to go about it. Where , in which Kernel file can I find the definitions of the various system calls - how have they been implemented in the kernel?
>
> How do I go about the project?
a) look at strace
b) look at memtrace (probably simpler than strace to understand)
http://volodya-project.sf.net - memtrace is a part of
"Preload" package.
Vladimir Dergachev
>
> Thanks and regards,
> Sarita Navuluru.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>