Commit 848215b6 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

tty: Drop sid/pgid test from verify_info

Since we've started fetching sid/pgid from the
dumpee context we're allowed to obtain sid/pgid
on a slave peer. This is perfectly valid. So
drop this test.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 2b816a59
......@@ -784,14 +784,6 @@ static int verify_info(struct tty_info *info)
verify_termios(info->tfe->id, info->tie->termios))
return -1;
if (!pty_is_master(info)) {
if (info->tie->sid || info->tie->pgrp) {
pr_err("Found sid %d pgrp %d on slave peer %x\n",
info->tie->sid, info->tie->pgrp, info->tfe->id);
return -1;
}
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment