cg: restore special cpuset properties
cg: restore special cpuset properties

cpuset.cpus and cpuset.mems can't be written to for the first time after they
have tasks, so the traditional mechanism of restoring properties after
restoring the tasks won't work here. Instead, we copy the parent values of the
properties into them, restore the tasks, and then restore via the traditional
mechanism the actual values of these properties.

Signed-off-by: Tycho Andersen <10c18fcb898ee6b17d6575d444b125d10b3f4d6a@canonical.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

fbocharov/criu,gablg1/criu,LK4D4/criu,gonkulator/criu,KKoukiou/criu-remote,AuthenticEshkinKot/criu,rentzsch/criu,gablg1/criu,biddyweb/criu,rentzsch/criu,eabatalov/criu,fbocharov/criu,LK4D4/criu,sdgdsffdsfff/criu,gablg1/criu,eabatalov/criu,fbocharov/criu,KKoukiou/criu-remote,LK4D4/criu,KKoukiou/criu-remote,gablg1/criu,biddyweb/criu,marcosnils/criu,eabatalov/criu,gonkulator/criu,LK4D4/criu,ldu4/criu,LK4D4/criu,ldu4/criu,svloyso/criu,efiop/criu,marcosnils/criu,LK4D4/criu,kawamuray/criu,biddyweb/criu,ldu4/criu,ldu4/criu,ldu4/criu,wtf42/criu,tych0/criu,tych0/criu,wtf42/criu,marcosnils/criu,gonkulator/criu,kawamuray/criu,efiop/criu,AuthenticEshkinKot/criu,rentzsch/criu,KKoukiou/criu-remote,gonkulator/criu,wtf42/criu,eabatalov/criu,ldu4/criu,svloyso/criu,rentzsch/criu,gablg1/criu,AuthenticEshkinKot/criu,wtf42/criu,AuthenticEshkinKot/criu,biddyweb/criu,rentzsch/criu,gonkulator/criu,KKoukiou/criu-remote,eabatalov/criu,kawamuray/criu,efiop/criu,sdgdsffdsfff/criu,AuthenticEshkinKot/criu,svloyso/criu,rentzsch/criu,tych0/criu,sdgdsffdsfff/criu,efiop/criu,kawamuray/criu,kawamuray/criu,fbocharov/criu,KKoukiou/criu-remote,gablg1/criu,eabatalov/criu,kawamuray/criu,marcosnils/criu,svloyso/criu,svloyso/criu,fbocharov/criu,efiop/criu,marcosnils/criu,svloyso/criu,efiop/criu,fbocharov/criu,biddyweb/criu,marcosnils/criu,AuthenticEshkinKot/criu,sdgdsffdsfff/criu,tych0/criu,wtf42/criu,tych0/criu,tych0/criu,sdgdsffdsfff/criu,sdgdsffdsfff/criu,wtf42/criu,biddyweb/criu,gonkulator/criu