system call

Rajat Sharma fs.rajat at gmail.com
Sat Jun 11 05:58:24 EDT 2011


search for SYSCALL_DEFINE<X>(syscall) in linux source e.g.

SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, int,
mode) in fs/open.c

here <X> depends on number of arguments to system call: 3 in case of open.

you would find open, read, write and close in fs directory only.

-Rajat

On Sat, Jun 11, 2011 at 3:09 PM, Venkateswarlu P
<p.venkatesh551 at gmail.com> wrote:
>
>
> Where do i find system call implementation code?
>
> for  read, write, open, close
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



More information about the Kernelnewbies mailing list