From: Douglas Ray <dougray@cpan.org>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: GRUB2 on OpenBSD 5.3-amd64: linking problem
Date: Sat, 31 Aug 2013 03:33:45 +1000 [thread overview]
Message-ID: <5220D779.9040106@cpan.org> (raw)
In-Reply-To: <52172BDA.4030409@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2143 bytes --]
On 23/08/13 7:31 PM, Vladimir '?-coder/phcoder' Serbinenko wrote:
> On 23.08.2013 11:26, Ilya Bakulin wrote:
>> On Thursday 22 August 2013 20:16:48 Vladimir '?-coder/phcoder' Serbinenko
>> wrote:
>>> On 21.08.2013 21:06, Vladimir '?-coder/phcoder' Serbinenko wrote:
>>>> Based on your work, current WIP patch. I've committed some parts of your
>>>> patch as well as my own fixes. Remainder is attached
>>>> Current problems:
>>>> -double/float is mostly a kludge
>>>> -build-grub-mkfont
>>>> -nm on OpenBSD doesn't accept same options as GNU one.
>>> Only the first problem still remains.
>> I have just tested the compilation of the latest revision (5148) and confirm
>> that it compiles OK!
>> There is a warning about random generator not being secure in
>> util/grub-mkpasswd-pbkdf2.c, which may be supressed by adding "&& ! defined
>> (__OpenBSD__)" to the defines list.
> To do this we need a confirmation that reading from /dev/urandom is
> indeed the right way to access PRNG on OpenBSD and that it gives us
> cryptographically good random.
>
What would you consider adequate confirmation?
I understand there was a problem with random and urandom in
OpenBSD up to 4.9, though arandom was good.
calomel.org asserts that, as of OpenBSD 5.1, all their random devices
use the arc4 library; /dev/urandom now gives as good as /dev/arandom.
The following 'ent' analysis is presented for /dev/arandom:
-----------------------------------------------------
user@machine: ./ent output
Entropy = 7.999956 bits per byte.
Optimum compression would reduce the size
of this 419430400 byte file by 0 percent.
Chi square distribution for 419430400 samples is 257.21, and randomly
would exceed this value 44.95 percent of the times.
Arithmetic mean value of data bytes is 127.5178 (127.5 = random).
Monte Carlo value for Pi is 3.144255776 (error 0.08 percent).
Serial correlation coefficient is -0.000120 (totally uncorrelated = 0.0).
-----------------------------------------------------
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
[-- Attachment #2: Type: text/html, Size: 3333 bytes --]
next prev parent reply other threads:[~2013-08-30 17:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201308091537.37473.Ilya_Bakulin@genua.de>
[not found] ` <520A9F30.6080901@gmail.com>
2013-08-14 8:59 ` GRUB2 on OpenBSD 5.3-amd64: linking problem Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-14 13:09 ` Ilya Bakulin
2013-08-14 13:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-14 13:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-14 13:49 ` Grégoire Sutre
2013-08-14 15:16 ` Ilya Bakulin
2013-08-14 16:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-16 14:33 ` Ilya Bakulin
2013-08-16 14:41 ` Grégoire Sutre
2013-08-16 14:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-15 15:00 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-15 23:12 ` Grégoire Sutre
[not found] ` <52150FC5.3040109@gmail.com>
[not found] ` <52165590.4050207@gmail.com>
[not found] ` <201308231126.22583.Ilya_Bakulin@genua.de>
2013-08-23 9:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-23 11:53 ` Ilya Bakulin
2013-08-30 17:33 ` Douglas Ray [this message]
2013-09-18 11:49 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-09-23 15:59 ` Ilya Bakulin
2013-09-23 16:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-07 9:05 ` Ilya Bakulin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5220D779.9040106@cpan.org \
--to=dougray@cpan.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).