All of lore.kernel.org
 help / color / mirror / Atom feed
From: avani.rawat@gmail.com (Avantika Rawat)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Regarding getrandom syscall
Date: Sat, 18 Jun 2016 17:32:21 +0530	[thread overview]
Message-ID: <CAPusuxTiGSEzUrzoY6bHqWCo5oLy43+=CmBnng0R02H6AKvRrA@mail.gmail.com> (raw)

Hi ALL,

I am trying to use getrandom syscall in kernel 3.10.20 by following this
link

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895

i have compiled the kernel and now want to call the getrandom syscall from
userspace to generate random numbers. But i am getting following error
while calling the getrandom () from userspace.

(.text.startup+0x18): undefined reference to `getrandom'
(.text.startup+0x1c): undefined reference to `getrandom'


-- 
Regards,
Avantika Rawat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160618/6c77b282/attachment.html 

             reply	other threads:[~2016-06-18 12:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-18 12:02 Avantika Rawat [this message]
2016-06-18 13:30 ` Regarding getrandom syscall Anoop
2016-06-18 13:42   ` Sayutin Dmitry
2016-06-21 13:41     ` Avantika Rawat
2016-06-21 19:10       ` Manuel Pégourié-Gonnard
2016-06-22 14:58         ` Avantika Rawat
2016-06-22 16:15           ` Navin P.S
2016-06-22 16:40             ` Avantika Rawat
2016-06-22 17:11           ` Markus Böhme
2016-06-24 14:44             ` Avantika Rawat

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='CAPusuxTiGSEzUrzoY6bHqWCo5oLy43+=CmBnng0R02H6AKvRrA@mail.gmail.com' \
    --to=avani.rawat@gmail.com \
    --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.