Regarding getrandom syscall

Avantika Rawat avani.rawat at gmail.com
Sat Jun 18 08:02:21 EDT 2016


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 


More information about the Kernelnewbies mailing list