svn commit: r300098 - head/usr.sbin/makefs

Pedro Giffuni pfg at FreeBSD.org
Wed May 18 15:11:57 UTC 2016


On 05/17/16 20:12, Ed Maste wrote:
> On 18 May 2016 at 00:22, Pedro F. Giffuni <pfg at freebsd.org> wrote:
>> Author: pfg
>> Date: Wed May 18 00:22:52 2016
>> New Revision: 300098
>> URL: https://svnweb.freebsd.org/changeset/base/300098
>>
>> Log:
>>   makefs(8): Clarify the comment concerning seeding.
>>
>>   Avoid giving the impression makefs currently supports reproduceable
>>   builds.
>
> Thanks!
>
> It might make sense to seed based on SOURCE_DATE_EPOCH
> (https://reproducible-builds.org/specs/source-date-epoch/) if set, and
> later on we ought to add an option to set the seed on the command
> line.
>

Interesting. FWIW, NetBSD did some other changes but they basically
removed the seeding which may be mildly dangerous in this case
(makefs uses random() in other places without seeding).

> But, there are a lot of other reproducible build tasks that are
> probably more important to tackle before this.
>

Yes, I am not really very interested in reproducible builds but this
is one of the cases where we cannot go blindly replacing random()
with arc4random().

Pedro.


More information about the svn-src-head mailing list