2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

creds: fail to dump when creds in thread group don't match

Since we don't support dumping per-thread creds, let's at least fail to
dump if the creds don't match.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Tycho Andersen
2015-06-18 11:59:19 -06:00
committed by Pavel Emelyanov
parent f8502fc3d1
commit e0b24e21d3
8 changed files with 53 additions and 26 deletions

View File

@@ -88,6 +88,8 @@ struct proc_status_creds {
int seccomp_mode;
};
bool proc_status_creds_eq(struct proc_status_creds *o1, struct proc_status_creds *o2);
struct mount_info;
struct fstype {
char *name;