diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-27 12:43:05 +0100 |
---|---|---|
committer | Greg Kurz <gkurz@linux.vnet.ibm.com> | 2015-11-30 12:31:53 +0100 |
commit | 49f817caaf4460f4a8dfca190f31a57569fc9efe (patch) | |
tree | cffe0b89c1206068620cf290c08079117cce6963 /block/null.c | |
parent | 714487515dbe0c65d5904251e796cd3a5b3579fb (diff) | |
download | qemu-49f817caaf4460f4a8dfca190f31a57569fc9efe.zip qemu-49f817caaf4460f4a8dfca190f31a57569fc9efe.tar.gz qemu-49f817caaf4460f4a8dfca190f31a57569fc9efe.tar.bz2 |
fsdev-proxy-helper: avoid TOC/TOU race
There is a minor time of check/time of use race between statfs and chroot.
It can be fixed easily by stat-ing the root after it has been changed.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Diffstat (limited to 'block/null.c')
0 files changed, 0 insertions, 0 deletions