Re: [Toybox] [PATCH] xgetrandom: use getrandom result if it succeeds

2018-08-03 Thread Rob Landley
On 07/18/2018 12:15 AM, Patrick Oppenlander wrote: > Currently xgetrandom always uses the fallback path even if getrandom returns > success. Finally did the proper fix to the xgetrandom() cross compiler issue (where the cross compiler supports it but the host doesn't so the config2help.c build

Re: [Toybox] [PATCH] xgetrandom: use getrandom result if it succeeds

2018-07-18 Thread Rob Landley
On 07/18/2018 12:15 AM, Patrick Oppenlander wrote: > Currently xgetrandom always uses the fallback path even if getrandom returns > success. > > Patrick Yeah, it's broken in some cross compiling setups too, if your cross compiler has sys/random.h but the host toolchain doesn't building

[Toybox] [PATCH] xgetrandom: use getrandom result if it succeeds

2018-07-17 Thread Patrick Oppenlander
Currently xgetrandom always uses the fallback path even if getrandom returns success. Patrick >From 43d8947b9448a0212198551acd6a0ac6a01a0486 Mon Sep 17 00:00:00 2001 From: Patrick Oppenlander Date: Wed, 18 Jul 2018 15:09:13 +1000 Subject: [PATCH] xgetrandom: use getrandom result if it succeeds