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 <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment