mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
Dumping them is performed via parasite, since calling the getgroups is the only way of getting the complete list. Currently the nr of groups to dump is limited explicitly with the size of shared memory between crtools and parasite. This is MUCH more that we have seen on real apps so far. Restoring is done early, before restorer blob not to carry the undefined array of grpous in there. This is OK, since groups do not affect us at that point and are not affected by subsequent creds restore. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
20 lines
427 B
Protocol Buffer
20 lines
427 B
Protocol Buffer
message creds_entry {
|
|
required uint32 uid = 1;
|
|
required uint32 gid = 2;
|
|
required uint32 euid = 3;
|
|
required uint32 egid = 4;
|
|
required uint32 suid = 5;
|
|
required uint32 sgid = 6;
|
|
required uint32 fsuid = 7;
|
|
required uint32 fsgid = 8;
|
|
|
|
repeated uint32 cap_inh = 9;
|
|
repeated uint32 cap_prm = 10;
|
|
repeated uint32 cap_eff = 11;
|
|
repeated uint32 cap_bnd = 12;
|
|
|
|
required uint32 secbits = 13;
|
|
|
|
repeated uint32 groups = 14;
|
|
}
|