diff options
| author | Richard Henderson | 2019-03-14 05:05:54 +0100 |
|---|---|---|
| committer | Richard Henderson | 2019-05-22 18:38:54 +0200 |
| commit | e9979ca64e5e4a150f5346de3982f02f54c41076 (patch) | |
| tree | 805b55dc96771648f51a8a2a3782fa9abf8e994c /include | |
| parent | crypto: Do not fail for EINTR during qcrypto_random_bytes (diff) | |
| download | qemu-e9979ca64e5e4a150f5346de3982f02f54c41076.tar.gz qemu-e9979ca64e5e4a150f5346de3982f02f54c41076.tar.xz qemu-e9979ca64e5e4a150f5346de3982f02f54c41076.zip | |
crypto: Use O_CLOEXEC in qcrypto_random_init
Avoids leaking the /dev/urandom fd into any child processes.
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
