Hi! Here is a ported vtty series, build and boot tested only obviously. I think we might revisit this code and rework more deeply once we manage to run containers inside so I would be able to manipulate vtty console from userspace level.
https://jira.sw.ru/browse/PSBM-134014 Andrey Vagin (1): ve/kbd: add file kbd_bind in sysfs, which allow unbind keyboard from tty (v2) Cyrill Gorcunov (6): ve/tty: Provide interface for current tty inheritance ve/tty: vt -- Implement per VE support for console and terminals ve/vtty: Don't zap termios fields on slave peer ve/vtty: Make indices to match pcs6 scheme ve/vtty: Don't close unread master peer if slave is nonzero ve/vtty: Don't free console mapping until no clients left Konstantin Khlebnikov (1): ve/tty: TIOSAK Secure Attention Key ioctl arch/powerpc/include/uapi/asm/ioctls.h | 2 + drivers/input/input.c | 2 +- drivers/tty/n_tty.c | 6 + drivers/tty/pty.c | 528 +++++++++++++++++++++++++ drivers/tty/tty_io.c | 73 +++- drivers/tty/vt/keyboard.c | 74 +++- include/linux/ve.h | 13 +- include/uapi/asm-generic/ioctls.h | 2 + kernel/ve/ve.c | 91 +++++ kernel/ve/vecalls.c | 3 + 10 files changed, 781 insertions(+), 13 deletions(-) base-commit: dd9fd627ae5764d17efa1a432a7b771d65de1c71 -- 2.31.1 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel