All of lore.kernel.org
 help / color / mirror / Atom feed
From: varkab@cdac.in (Varka Bhadram)
To: kernelnewbies@lists.kernelnewbies.org
Subject: get_user() and put_user() missing in syscall list
Date: Mon, 2 Jun 2014 14:07:10 +0530 (IST)	[thread overview]
Message-ID: <311309562.6863.1401698230220.JavaMail.open-xchange@webmail.cdac.in> (raw)
In-Reply-To: <CAEK-7J+c2owO9Kvs=pe701SKAvxJsXbGuq9-m0M6SHLA2uCyYA@mail.gmail.com>

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 <mail.dipanjan.das@gmail.com> 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 <varkab at cdac.in <mailto:varkab@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#L239>
> >    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>
> > 
> >    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 <mail.dipanjan.das@gmail.com> wrote:
> > <http://lxr.free-electrons.com/source/arch/x86/include/asm/uaccess.h#L239>
> > 
> >     > > > 
> > >     Hi,
> > > 
> > >     Here's an exhaustive list
> > > <http://man7.org/linux/man-pages/man2/syscalls.2.html> 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 at kernelnewbies.org
> > > <mailto:Kernelnewbies@kernelnewbies.org>
> > >     http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> > > <http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies>
> > > 
> > >    > > 
> > 
> > 
> >   -------------------------------------------------------------------------------------------------------------------------------
> >    [ C-DAC is on Social-Media too. Kindly follow us at:
> >    Facebook: https://www.facebook.com/CDACINDIA
> > <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 at 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.
-------------------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140602/0b8382e0/attachment.html 

      parent reply	other threads:[~2014-06-02  8:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02  5:59 get_user() and put_user() missing in syscall list Dipanjan Das
2014-06-02  8:13 ` Varka Bhadram
2014-06-02  8:19   ` Dipanjan Das
2014-06-02  8:28     ` Sudip Mukherjee
2014-06-02  8:37     ` Varka Bhadram [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=311309562.6863.1401698230220.JavaMail.open-xchange@webmail.cdac.in \
    --to=varkab@cdac.in \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.