public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* KERNEL SYSTEM CALLS DEFINITIONS
@ 2001-12-09 22:51 Sarita  N
  2001-12-09 23:06 ` Robert Love
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sarita  N @ 2001-12-09 22:51 UTC (permalink / raw)
  To: linux-kernel


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. 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KERNEL SYSTEM CALLS DEFINITIONS
  2001-12-09 22:51 KERNEL SYSTEM CALLS DEFINITIONS Sarita  N
@ 2001-12-09 23:06 ` Robert Love
  2001-12-10  7:52   ` mulix
  2001-12-10 12:59 ` Frank Cornelis
  2001-12-10 13:31 ` volodya
  2 siblings, 1 reply; 5+ messages in thread
From: Robert Love @ 2001-12-09 23:06 UTC (permalink / raw)
  To: Sarita N; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KERNEL SYSTEM CALLS DEFINITIONS
  2001-12-09 23:06 ` Robert Love
@ 2001-12-10  7:52   ` mulix
  0 siblings, 0 replies; 5+ messages in thread
From: mulix @ 2001-12-10  7:52 UTC (permalink / raw)
  To: Robert Love; +Cc: Sarita N, linux-kernel

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/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KERNEL SYSTEM CALLS DEFINITIONS
  2001-12-09 22:51 KERNEL SYSTEM CALLS DEFINITIONS Sarita  N
  2001-12-09 23:06 ` Robert Love
@ 2001-12-10 12:59 ` Frank Cornelis
  2001-12-10 13:31 ` volodya
  2 siblings, 0 replies; 5+ messages in thread
From: Frank Cornelis @ 2001-12-10 12:59 UTC (permalink / raw)
  To: Sarita N; +Cc: linux-kernel


> 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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: KERNEL SYSTEM CALLS DEFINITIONS
  2001-12-09 22:51 KERNEL SYSTEM CALLS DEFINITIONS Sarita  N
  2001-12-09 23:06 ` Robert Love
  2001-12-10 12:59 ` Frank Cornelis
@ 2001-12-10 13:31 ` volodya
  2 siblings, 0 replies; 5+ messages in thread
From: volodya @ 2001-12-10 13:31 UTC (permalink / raw)
  To: Sarita N; +Cc: linux-kernel



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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-12-10 13:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-09 22:51 KERNEL SYSTEM CALLS DEFINITIONS Sarita  N
2001-12-09 23:06 ` Robert Love
2001-12-10  7:52   ` mulix
2001-12-10 12:59 ` Frank Cornelis
2001-12-10 13:31 ` volodya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox