Skip to contentSkip to conversation

KERNEL SYSTEM CALLS DEFINITIONS

DISCUSSION Sarita N 5 participants 5 messages Dec 9, 2001 – Dec 10, 2001

lore
Share & tools
lore

Sarita N

author
#0 lore raw

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.

#1 lore raw
Quoted 3 lines · Sarita N

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

#2 lore raw
Quoted 7 lines · Robert Love
Quoted 3 lines · Sarita N

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.

Signature · 4 lines
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/
#3 lore raw
In reply to Sarita N
Quoted 3 lines

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.

#4 lore raw
In reply to Sarita N
Quoted 8 lines · Sarita N

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

Quoted 10 lines

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/