Finding syscalls on Linux

In order to find out about the syscalls in linux you can use quite a few sources. There are a few websites summarising the details quite nicely, one of these is http://quaff.port5.com/syscall_list.html

Alternatively if you have the kernel source you can look in the following files,

/usr/src/linux/arch/i386/kernel/entry.S
/usr/include/asm/unistd.h

Or for a more low tech solution when nothing else is available you can dissassemble the C library binary. You should be able to deduce the syscalls and their meanings from this.

objdump -S libc.a

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s