diff options
| author | Max Reitz | 2018-05-09 23:53:36 +0200 |
|---|---|---|
| committer | Max Reitz | 2018-06-11 16:18:45 +0200 |
| commit | f45b638f9f967cdbea4e24704bd16a858ddcde03 (patch) | |
| tree | c55ad38826998619b3768fa17339b783f0104b49 /linux-user/linux_loop.h | |
| parent | block/file-posix: File locking during creation (diff) | |
| download | qemu-f45b638f9f967cdbea4e24704bd16a858ddcde03.tar.gz qemu-f45b638f9f967cdbea4e24704bd16a858ddcde03.tar.xz qemu-f45b638f9f967cdbea4e24704bd16a858ddcde03.zip | |
iotests: Add creation test to 153
This patch adds a test case to 153 which tries to overwrite an image
(using qemu-img create) while it is in use. Without the original user
explicitly sharing the necessary permissions (writing and truncation),
this should not be allowed.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20180509215336.31304-4-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
