<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
http://stackoverflow.com/questions/20172111/difference-between-system-api-and-system-call-api
</div>
<div>
http://stackoverflow.com/questions/17219898/what-is-the-difference-between-linux-kernel-api-system-calls-system-inter
</div>
<div>
 
</div>
<div>
These two links will give the diffrence b/w them...
</div>
<div>
 
</div>
<div>
<br/>On June 2, 2014 at 1:49 PM Dipanjan Das <mail.dipanjan.das@gmail.com> wrote:
</div>
<div style="position: relative;">
<blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
<div dir="ltr">
<br/>
<div>
I am new to Linux kernel stuffs. How are Kernel API and syscalls differ from each other?
</div>
</div>
<div class="gmail_extra">
<br/>
<br/>
<div class="gmail_quote">
On 2 June 2014 13:43, Varka Bhadram
<span><<a target="_blank" href="mailto:varkab@cdac.in">varkab@cdac.in</a>></span> wrote:
<br/>
<blockquote style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<span style="text-decoration: underline;"></span>
<div>
<div>
These two are not the system calls. they are the Kernel API's to transfer the data from user address space to the kernel address space.
</div>
<div>
 
</div>
<div>
please see:
<a target="_blank" href="http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L239"> http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L239</a>
</div>
<div>
<a target="_blank" href="http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L143">http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L143</a>
</div>
<div>
 
</div>
<div>
Regards,
</div>
<div>
Varka Bhadram
</div>
<div>
<br/>
<a target="_blank" href="http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L239"><span style="color: red;"><strong>MailScanner has detected a possible fraud attempt from "lxr.free-electrons.com" claiming to be</strong></span> On June 2, 2014 at 11:29 AM Dipanjan Das <mail.dipanjan.das@gmail.com> wrote:</a>
</div>
<div>
<blockquote style="margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
<div dir="ltr">
<div>
 
</div>
<div>
Hi,
</div>
<div>
 
</div>
<div>
Here's an
<a target="_blank" href="http://man7.org/linux/man-pages/man2/syscalls.2.html">exhaustive list</a> of Linux syscall, but I can't find get_user() and put_user() API. Why is it so? What am I missing?
</div>
</div> _______________________________________________
<br/>Kernelnewbies mailing list
<br/>
<a target="_blank" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a>
<br/>
<a target="_blank" href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a>
</blockquote>
<br/> 
</div>
<br/>-------------------------------------------------------------------------------------------------------------------------------
<br/>[ C-DAC is on Social-Media too. Kindly follow us at:
<br/>Facebook:
<a target="_blank" href="https://www.facebook.com/CDACINDIA">https://www.facebook.com/CDACINDIA</a> & Twitter: @cdacindia ]
<br/>
<br/>This e-mail is for the sole use of the intended recipient(s) and may
<br/>contain confidential and privileged information. If you are not the
<br/>intended recipient, please contact the sender by reply e-mail and destroy
<br/>all copies and the original message. Any unauthorized review, use,
<br/>disclosure, dissemination, forwarding, printing or copying of this email
<br/>is strictly prohibited and appropriate legal action will be taken.
<br/>-------------------------------------------------------------------------------------------------------------------------------
</div>
</blockquote>
</div>
</div> _______________________________________________
<br/>Kernelnewbies mailing list
<br/>Kernelnewbies@kernelnewbies.org
<br/>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
</blockquote>
<br/> 
</div>
<br />-------------------------------------------------------------------------------------------------------------------------------
<br />[ C-DAC is on Social-Media too. Kindly follow us at:
<br />Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
<br />
<br />This e-mail is for the sole use of the intended recipient(s) and may
<br />contain confidential and privileged information. If you are not the
<br />intended recipient, please contact the sender by reply e-mail and destroy
<br />all copies and the original message. Any unauthorized review, use,
<br />disclosure, dissemination, forwarding, printing or copying of this email
<br />is strictly prohibited and appropriate legal action will be taken.
<br />-------------------------------------------------------------------------------------------------------------------------------
</body></html>