Skip to content
Commit 1a86283b authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov
Browse files

tty: open all terminals with O_NOCTTY



Otherwise the kernel can set it as a control terminal for the currect
session and CRIU will not be able to set it as a control terminal for
the target process.

Reported-by: default avatarAndrey Ryabinin <aryabinin@virtuozzo.com>
Acked-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent bea76a01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment