<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 dir="ltr"><<a href="mailto:varkab@cdac.in" target="_blank">varkab@cdac.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<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 href="http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L239" target="_blank"> http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L239</a>
</div>
<div>
<a href="http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L143" target="_blank">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 href="http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L239" target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "lxr.free-electrons.com" claiming to be</b></font> 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 href="http://man7.org/linux/man-pages/man2/syscalls.2.html" target="_blank">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 href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a>
<br><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">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 href="https://www.facebook.com/CDACINDIA" target="_blank">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><br></div>