On 08/15/2017 12:56 PM, Per Jessen wrote:
aha, getentropy() is missing, but getrandom() we have in <linux/random.h>
Thanks Per, Yes, I found getrandom() in linux.h. I was scratching my head over the discrepancy between the gcc reference stating: The getrandom function is declared in the header file sys/random.h. It is a GNU extension. and it being in linux/random.h in openSuSE? Even more bewildering is it is in sys/random.h on Arch. I suspect, but I could be wrong, that somewhere years ago, either getrandom() was originally in linux/random.h and it moved along with getentropy() to sys/random.h and openSuSE just kept it in the original location, or something similar. Do we need to file a bug to get getentropy() added to out glibc? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org