svn commit: r253786 - in head/sys: dev/random modules/padlock_rng modules/rdrand_rng modules/yarrow_rng

Andrey Chernov ache at freebsd.org
Tue Jul 30 19:24:09 UTC 2013


On 30.07.2013 22:50, David O'Brien wrote:
> Hi DES,
> Where was this policy published or communicated?
> There is no MAINTAINER line in sys/dev/random/, nor an entry in
> /usr/src/MAINTAINERS.  It is hard to follow some policy that cannot
> be found.

~5 years ago I was forced to stop commits due to this policy invented on
the fly and differently applied by different secteam@ members. Sad story.

> Do you have any specific concerns?

What about arc4rand_iniseed_state code dead without yarrow loaded?

randomdev_soft.c:
void
random_yarrow_unblock(void)
{
        if (!random_systat.seeded) {
                random_systat.seeded = 1;
                selwakeuppri(&random_systat.rsel, PUSER);
                wakeup(&random_systat);
        }
        (void)atomic_cmpset_int(&arc4rand_iniseed_state, ARC4_ENTR_NONE,
            ARC4_ENTR_HAVE);
}



-- 
http://ache.vniz.net/
bitcoin:1G6ugdNY6e5jx1GVnAU2ntj2NEfmjKG85r


More information about the svn-src-head mailing list