Re: get_user() and put_user() missing in syscall list

2014-06-02 Thread Varka Bhadram
http://stackoverflow.com/questions/20172111/difference-between-system-api-and-system-call-api
http://stackoverflow.com/questions/17219898/what-is-the-difference-between-linux-kernel-api-system-calls-system-inter

These two links will give the diffrence b/w them...


On June 2, 2014 at 1:49 PM Dipanjan Das  wrote:

> 
>  I am new to Linux kernel stuffs. How are Kernel API and syscalls differ from
> each other?
> 
> 
>  On 2 June 2014 13:43, Varka Bhadram mailto:var...@cdac.in> >
> wrote:
>> >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.
> > 
> >please see:
> > 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#L143
> > 
> > 
> >Regards,
> >Varka Bhadram
> > 
> >MailScanner has detected a possible fraud attempt from
> > "lxr.free-electrons.com" claiming to be On June 2, 2014 at 11:29 AM Dipanjan
> > Das  wrote:
> > 
> > 
> > > > > 
> > > Hi,
> > > 
> > > Here's an exhaustive list
> > >  of Linux syscall,
> > > but I can't find get_user() and put_user() API. Why is it so? What am I
> > > missing?
> > > ___
> > > Kernelnewbies mailing list
> > > Kernelnewbies@kernelnewbies.org
> > > 
> > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> > > 
> > > 
> > >> > 
> > 
> > 
> >   
> > ---
> >[ C-DAC is on Social-Media too. Kindly follow us at:
> >Facebook: https://www.facebook.com/CDACINDIA
> >  & Twitter: @cdacindia ]
> > 
> >This e-mail is for the sole use of the intended recipient(s) and may
> >contain confidential and privileged information. If you are not the
> >intended recipient, please contact the sender by reply e-mail and destroy
> >all copies and the original message. Any unauthorized review, use,
> >disclosure, dissemination, forwarding, printing or copying of this email
> >is strictly prohibited and appropriate legal action will be taken.
> > 
> >   
> > ---
> >  >  ___
>  Kernelnewbies mailing list
>  Kernelnewbies@kernelnewbies.org
>  http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 

---
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
---

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: get_user() and put_user() missing in syscall list

2014-06-02 Thread Sudip Mukherjee
On Mon, Jun 2, 2014 at 1:49 PM, Dipanjan Das 
wrote:

>
> I am new to Linux kernel stuffs. How are Kernel API and syscalls differ
> from each other?
>

syscalls are system calls which which will be used by your application in
user space. syscalls table will map the userspace syatem call with the
related function in kernel space.
kernel API are the functions which can only be used in kernel space and
they do not have any existence in userspace.

Regards
Sudip
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: get_user() and put_user() missing in syscall list

2014-06-02 Thread Dipanjan Das
I am new to Linux kernel stuffs. How are Kernel API and syscalls differ
from each other?


On 2 June 2014 13:43, Varka Bhadram  wrote:

>   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.
>
>  please see:
> 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#L143
>
>  Regards,
>  Varka Bhadram
>
> *MailScanner has detected a possible fraud attempt from
> "lxr.free-electrons.com" claiming to be* On June 2, 2014 at 11:29 AM
> Dipanjan Das  wrote:
> 
>
>
>  Hi,
>
>  Here's an exhaustive list
>  of Linux syscall,
> but I can't find get_user() and put_user() API. Why is it so? What am I
> missing?
>  ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> ---
>
> [ C-DAC is on Social-Media too. Kindly follow us at:
> Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
>
> This e-mail is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. If you are not the
> intended recipient, please contact the sender by reply e-mail and destroy
> all copies and the original message. Any unauthorized review, use,
> disclosure, dissemination, forwarding, printing or copying of this email
> is strictly prohibited and appropriate legal action will be taken.
> ---
>
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: get_user() and put_user() missing in syscall list

2014-06-02 Thread Varka Bhadram
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.

please see:
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#L143


Regards,
Varka Bhadram

On June 2, 2014 at 11:29 AM Dipanjan Das  wrote:


> 
>  Hi,
> 
>  Here's an exhaustive list
>  of Linux syscall, but I
> can't find get_user() and put_user() API. Why is it so? What am I missing?
>  ___
>  Kernelnewbies mailing list
>  Kernelnewbies@kernelnewbies.org
>  http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 

---
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
---

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


get_user() and put_user() missing in syscall list

2014-06-01 Thread Dipanjan Das
Hi,

Here's an exhaustive list
 of Linux syscall,
but I can't find get_user() and put_user() API. Why is it so? What am I
missing?
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies