Actions
Bug #15494
closedFix Random.urandom in a chroot on OpenBSD
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-openbsd]
Description
r64625 broke Random.urandom
because it uses OpenBSD
as a macro when it is not defined. You must include the sys/param.h
header to define the macro. I've tested the attached patch and it fixes Random.urandom
usage inside a chroot on OpenBSD.
This will need to be backported to 2.6.
Files
Actions
Like0
Like0Like0