Re: [LEDE-DEV] [PATCH ubox] getrandom: add helper for getrandom() syscall

2016-06-09 Thread John Crispin
its a vm that takes a few moments to get the real time hen coming out of sleep ;) On 09/06/2016 17:02, Etienne Champetier wrote: > Hi, > > Everything is fine except your computer clock ;) > ubox commit: > authorEtienne CHAMPETIER > Thu, 9 Jun 2016 16:03:00 +0300 (13:03 +) > committe

Re: [LEDE-DEV] [PATCH ubox] getrandom: add helper for getrandom() syscall

2016-06-09 Thread Etienne Champetier
Hi, Everything is fine except your computer clock ;) ubox commit: authorEtienne CHAMPETIER Thu, 9 Jun 2016 16:03:00 +0300 (13:03 +) committerJohn Crispin Wed, 8 Jun 2016 01:19:24 +0300 (00:19 +0200) staging commit: authorJohn Crispin Wed, 8 Jun 2016 01:22:16 +0300 (

Re: [LEDE-DEV] [PATCH ubox] getrandom: add helper for getrandom() syscall

2016-06-09 Thread John Crispin
Hi Etienne, pushed the patch to ubox.git and updated the ubox package inside my staging tree. should the tool be installed to /usr/bin ? if not let me know and i will fix the staged commit. John On 09/06/2016 15:03, Etienne CHAMPETIER wrote: > getrandom() was introduced in version 3.17 o

[LEDE-DEV] [PATCH ubox] getrandom: add helper for getrandom() syscall

2016-06-09 Thread Etienne CHAMPETIER
getrandom() was introduced in version 3.17 of the Linux kernel. By default getrandom() block until /dev/urandom pool has been initialized and then read from it. Read buffer is 256 bytes so getrandom() calls always succeed. First usage will be to save a seed for /dev/urandom. Signed-off-by: Etienn