tty: Make tty_get_sid_pgrp() to use parasite code
tty: Make tty_get_sid_pgrp() to use parasite code

We need to use namespace local sid/pgid parameters
assigned on tty link, thus use parasite helper.

Otherwise we might fail on restoring controlling
terminal inside namespace (though everything else
will work even without this patch).

Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

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