Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 00:50:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230876] save-entropy: Sync saved random data
Message-ID:  <bug-230876-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230876

            Bug ID: 230876
           Summary: save-entropy: Sync saved random data
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: cem@freebsd.org

libexec/save-entropy/save-entropy.sh should probably fsync the directory it
modifies as well as the new file it creates to ensure newly saved entropy m=
akes
it to disk in the event of a crash.

(The entire point of save-entropy is to make saved-entropy RNG seeding
crash-resistant =E2=80=94 otherwise we could just rely on rc.d/random's shu=
tdown
component.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230876-227>