File: ghost-file.proto

package info (click to toggle)
golang-github-checkpoint-restore-go-criu 7.2.0%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 1,796 kB
  • sloc: makefile: 231; ansic: 195; python: 137; sh: 110
file content (27 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// SPDX-License-Identifier: MIT

syntax = "proto2";

import "opts.proto";
import "time.proto";

message ghost_file_entry {
	required uint32		uid		= 1;
	required uint32		gid		= 2;
	required uint32		mode		= 3;

	optional uint32		dev		= 4 [(criu).dev = true];
	optional uint64		ino		= 5;
	optional uint32		rdev		= 6 [(criu).dev = true, (criu).odev = true];
	optional timeval	atim		= 7;
	optional timeval	mtim		= 8;
	optional bool		chunks		= 9;
	optional uint64		size		= 10;
	/* this field makes sense only when S_ISLNK(mode) */
	optional string		symlnk_target	= 11;
}

message ghost_chunk_entry {
	required uint64		len		= 1;
	required uint64		off		= 2;
}