Hai choroba, I'm the guy who takes the blame, as they mentioned in #devious, tho I was not at my computer today to answer there, but am AFresh1 on Twitter and Freenode as well as afresh1 AT OpenBSD.org. The main answer is that yes, perl-5.20 on OpenBSD uses the system drand48 to back rand() and other random functions. However, seeding with a known seed and testing the values won't help detect this change because we fall back to perl's drand48 if you ask for deterministic numbers since OpenBSD's random subsystem doesn't provide a facility for that on purpose. On OpenBSD drand48, as well as most all random sources, is backed by arc4random which is currently sourced from ChaCha20.

On YouTube there are several talks about it although my YAPC talk audio is broken but there are other talks ad slides available.

There are other changes we make as well including some I need to find the time to get upstream but haven't.

l8rZ,
--
andrew

In reply to Re^2: randfunc in Config by afresh1
in thread randfunc in Config by choroba

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.