NAME | SYNOPSIS | DESCRIPTION | AUTHOR | COLOPHON
OPEN_INIT_PTY(8) NSA OPEN_INIT_PTY(8)
open_init_pty - run an program under a pseudo terminal
open_init_pty SCRIPT [[ARGS]...]
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.
This manual page was written by Manoj Srivastava <firstname.lastname@example.org>, for the Debian GNU/Linux system.
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 2022-12-17. (At that time, the date of the most recent commit that was found in the repository was 2022-12-16.) 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@example.com Security Enhanced Linux January 2005 OPEN_INIT_PTY(8)