| 1 |
// SPDX-License-Identifier: MIT |
| 2 |
|
| 3 |
syntax = "proto2"; |
| 4 |
|
| 5 |
import "opts.proto"; |
| 6 |
import "time.proto"; |
| 7 |
|
| 8 |
message ghost_file_entry { |
| 9 |
required uint32 uid = 1; |
| 10 |
required uint32 gid = 2; |
| 11 |
required uint32 mode = 3; |
| 12 |
|
| 13 |
optional uint32 dev = 4 [(criu).dev = true]; |
| 14 |
optional uint64 ino = 5; |
| 15 |
optional uint32 rdev = 6 [(criu).dev = true, (criu).odev = true]; |
| 16 |
optional timeval atim = 7; |
| 17 |
optional timeval mtim = 8; |
| 18 |
optional bool chunks = 9; |
| 19 |
optional uint64 size = 10; |
| 20 |
/* this field makes sense only when S_ISLNK(mode) */ |
| 21 |
optional string symlnk_target = 11; |
| 22 |
} |
| 23 |
|
| 24 |
message ghost_chunk_entry { |
| 25 |
required uint64 len = 1; |
| 26 |
required uint64 off = 2; |
| 27 |
} |