mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
img: Open images for dump in O_WRONLY mode
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
618c17b6f8
commit
f32f4ffa76
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ extern bool ns_per_id;
|
|||
#define O_OPT (O_PATH)
|
||||
#define O_NOBUF (O_DIRECT)
|
||||
|
||||
#define O_DUMP (O_RDWR | O_CREAT | O_TRUNC)
|
||||
#define O_DUMP (O_WRONLY | O_CREAT | O_TRUNC)
|
||||
#define O_SHOW (O_RDONLY | O_NOBUF)
|
||||
#define O_RSTR (O_RDONLY)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue