-
Pavel Emelyanov authored
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>
f429de66