All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux syscall list
@ 2003-08-05  9:06 Rafael Costa dos Santos
  2003-08-05 18:10 ` Steven
  2003-08-06 10:47 ` Jose Celestino
  0 siblings, 2 replies; 6+ messages in thread
From: Rafael Costa dos Santos @ 2003-08-05  9:06 UTC (permalink / raw)
  To: linux-c-programming

Hi all,

Where can I find the last linux syscall list ?

-- 
Rafael Costa dos Santos

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

* linux syscall list
@ 2003-08-05  9:33 Rafael Costa dos Santos
  2003-08-05 12:54 ` Muli Ben-Yehuda
  2003-08-05 13:13 ` Richard B. Johnson
  0 siblings, 2 replies; 6+ messages in thread
From: Rafael Costa dos Santos @ 2003-08-05  9:33 UTC (permalink / raw)
  To: linux-kernel

Hi all,

Where can I find the last linux syscall list ?

-- 
Rafael Costa dos Santos

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

* Re: linux syscall list
  2003-08-05  9:33 linux syscall list Rafael Costa dos Santos
@ 2003-08-05 12:54 ` Muli Ben-Yehuda
  2003-08-05 13:13 ` Richard B. Johnson
  1 sibling, 0 replies; 6+ messages in thread
From: Muli Ben-Yehuda @ 2003-08-05 12:54 UTC (permalink / raw)
  To: Rafael Costa dos Santos; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

On Tue, Aug 05, 2003 at 09:33:16AM +0000, Rafael Costa dos Santos wrote:
> Hi all,
> 
> Where can I find the last linux syscall list ?

There is no formal list that I know of. You can look at
arch/i386/kernel/entry.S for the names and numbers of syscalls, but
for the parameters you would have to grep around for the system call
definition. 

For the syscalltrack project we have a close to complete of syscalls
and their parameters for 2.4, i386, at
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/syscalltrack/syscalltrack/module/syscalls.dat?rev=1.18

Note that such a list is of limited useful utility unless it is tied
to a specific kernel version, since the kernel gains new syscalls
occasionally. Patches to update the list to 2.5 will be happily
accepted ;-)

Cheers, 
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org
http://www.livejournal.com/~mulix/


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: linux syscall list
  2003-08-05  9:33 linux syscall list Rafael Costa dos Santos
  2003-08-05 12:54 ` Muli Ben-Yehuda
@ 2003-08-05 13:13 ` Richard B. Johnson
  1 sibling, 0 replies; 6+ messages in thread
From: Richard B. Johnson @ 2003-08-05 13:13 UTC (permalink / raw)
  To: Rafael Costa dos Santos; +Cc: linux-kernel

On Tue, 5 Aug 2003, Rafael Costa dos Santos wrote:

> Hi all,
>
> Where can I find the last linux syscall list ?
>
> --
> Rafael Costa dos Santos

../linux-$vers/include/asm/unistd.h

contains the syscall numbers.


Cheers,
Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
            Note 96.31% of all statistics are fiction.


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

* Re: Linux syscall list
  2003-08-05  9:06 Linux " Rafael Costa dos Santos
@ 2003-08-05 18:10 ` Steven
  2003-08-06 10:47 ` Jose Celestino
  1 sibling, 0 replies; 6+ messages in thread
From: Steven @ 2003-08-05 18:10 UTC (permalink / raw)
  To: Rafael Costa dos Santos; +Cc: linux-c-programming

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

> Where can I find the last linux syscall list ?
The system call table for an x86 Linux kernel is at the end of
arch/i386/kernel/entry.S.  The __NR_ constants are defined in
include/asm-i386/unistd.h.

Sorry, but I don't know the equivalents for other architectures.

Steven Smith,
sos22@cam.ac.uk.

[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]

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

* Re: Linux syscall list
  2003-08-05  9:06 Linux " Rafael Costa dos Santos
  2003-08-05 18:10 ` Steven
@ 2003-08-06 10:47 ` Jose Celestino
  1 sibling, 0 replies; 6+ messages in thread
From: Jose Celestino @ 2003-08-06 10:47 UTC (permalink / raw)
  To: Rafael Costa dos Santos; +Cc: linux-c-programming

Words by Rafael Costa dos Santos [Tue, Aug 05, 2003 at 09:06:33AM +0000]:
> Hi all,
> 
> Where can I find the last linux syscall list ?
> 

In the source of course:

cd /usr/src/linux

egrep -hr '^asmlinkage.+\ +sys_.+\(' *

-- 
Jose Celestino | http://xpto.org/~japc/files/japc-pgpkey.asc
----------------------------------------------------------------
"Lately, the only thing keeping me from becoming a serial killer is
my distaste for manual labor."        -- Dilbert

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

end of thread, other threads:[~2003-08-06 10:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-05  9:33 linux syscall list Rafael Costa dos Santos
2003-08-05 12:54 ` Muli Ben-Yehuda
2003-08-05 13:13 ` Richard B. Johnson
  -- strict thread matches above, loose matches on Subject: below --
2003-08-05  9:06 Linux " Rafael Costa dos Santos
2003-08-05 18:10 ` Steven
2003-08-06 10:47 ` Jose Celestino

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.