URL:
https://github.com/SSSD/sssd/pull/838
Title: #838: FIPS140 compliant usage of PRNG
frozencemetery commented:
"""
IMO, you should be using `getrandom()` (with no flags) in preference to srand, or reading
/dev/[u]random, etc. You're guaranteed to have getrandom from kernel 3.17 onward.
This matches what we do in krb5.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/838#issuecomment-506437810