diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2018-09-06 16:01:20 +0200 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2018-09-06 16:01:20 +0200 |
commit | 8647a3478674979cca582774168a6f220de171ef (patch) | |
tree | 2a5cfcf4f4669a2bdd7cde39afaa52144e11a25e /plugins/samples/SamplePost.c | |
parent | d3edd5fd994c35f7eb574c3c862d0c08b309cafb (diff) |
afb-session: Use ad-hoc pseudo-random uuid
The use of the generator given by the lib uuid
implies the use of the system call 'getrandom'
without the flag GRND_NONBLOCK. It has a weird
effect on boot because many binders require
the generation of uuid at the same time but
getrandom is subject to starving.
This introduced a tiny pseudo-random generation
of UUID that does not implies the use of 'getrandom'.
Bug-AGL: SPEC-1655
Change-Id: I5131072881d7a53f0edda9e36762985c96a04550
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'plugins/samples/SamplePost.c')
0 files changed, 0 insertions, 0 deletions