diff options
| author | Michael S. Tsirkin | 2015-10-01 14:50:52 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-10-02 16:04:32 +0200 |
| commit | 6fdac09370530be0cc6fe9e8d425c0670ba994b1 (patch) | |
| tree | 852867b9e0435ae10956d00dc5267a7604ce1d2f /include/exec/exec-all.h | |
| parent | vhost-user-test: use tmpfs by default (diff) | |
| download | qemu-6fdac09370530be0cc6fe9e8d425c0670ba994b1.tar.gz qemu-6fdac09370530be0cc6fe9e8d425c0670ba994b1.tar.xz qemu-6fdac09370530be0cc6fe9e8d425c0670ba994b1.zip | |
vhost-user-test: fix predictable filename on tmpfs
vhost-user-test uses getpid to create a unique filename. This name is
predictable, and a security problem. Instead, use a tmp directory
created by mkdtemp, which is a suggested best practice.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
