]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
uuid: use boost::random:random_device 5650/head
authorSage Weil <sage@redhat.com>
Mon, 24 Aug 2015 18:51:47 +0000 (14:51 -0400)
committerSage Weil <sage@redhat.com>
Mon, 24 Aug 2015 18:51:47 +0000 (14:51 -0400)
commitdbcaa544856fcc99ab912a101c4a28e1eb3fb94e
tree2400618c0ee685fc0b4de8429b5a48597a6107cf
parent888a6337abcb5dfc9ff81c9f809253fa2ffb603d
uuid: use boost::random:random_device

The boost mt code uses uninitialized memory for extra randomness,
which is a bad idea in general but more importantly makes valgrind
unhappy.  Use /dev/urandom instead.

Unfortunately this introduces a link time dependency.. meh!

Fixes: #12736
Signed-off-by: Sage Weil <sage@redhat.com>
ceph.spec.in
configure.ac
debian/control
src/common/Makefile.am
src/include/uuid.h