NAME | SYNOPSIS | DESCRIPTION | AUTHOR | COLOPHON

OPEN_INIT_PTY(8)                     NSA                    OPEN_INIT_PTY(8)

NAME         top

       open_init_pty - run an program under a pseudo terminal

SYNOPSIS         top

       open_init_pty SCRIPT [[ARGS]...]

DESCRIPTION         top

       Run a program under a pseudo terminal. This is used by run_init to
       run actually run the program after setting up the proper context.
       This program acquires a new Pseudo terminal, forks a child process
       that binds to the pseudo terminal, and then sits around and connects
       the physical terminal it was invoked upon with the pseudo terminal,
       passing keyboard input into to the child process, and passing the
       output of the child process to the physical terminal.
       It sets up the pseudo terminal properly based on the physical
       terminal attributes, and then sets the user's terminal to RAW mode,
       taking care to reset it on exit.

AUTHOR         top

       This manual page was written by Manoj Srivastava
       <srivasta@debian.org>, for the Debian GNU/Linux system.

COLOPHON         top

       This page is part of the selinux (Security-Enhanced Linux user-space
       libraries and tools) project.  Information about the project can be
       found at ⟨https://github.com/SELinuxProject/selinux/wiki⟩.  If you
       have a bug report for this manual page, see 
       ⟨https://github.com/SELinuxProject/selinux/wiki/Contributing⟩.  This
       page was obtained from the project's upstream Git repository 
       ⟨https://github.com/SELinuxProject/selinux⟩ on 2017-07-05.  If you
       discover any rendering problems in this HTML version of the page, or
       you believe there is a better or more up-to-date source for the page,
       or you have corrections or improvements to the information in this
       COLOPHON (which is not part of the original manual page), send a mail
       to man-pages@man7.org
Security Enhanced Linux         January 2005                OPEN_INIT_PTY(8)