open_init_pty(8) — Linux manual page

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
       <[email protected]>, 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 2023-12-22.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2023-05-11.)  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
       [email protected]

Security Enhanced Linux       January 2005              OPEN_INIT_PTY(8)