This is a simple backport of the getrandom syscall. It does not include other changes to the random interface like periodic or late re-seeding which might be necessary to get good random numbers.