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 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
page was obtained from the project's upstream Git repository
⟨https://github.com/SELinuxProject/selinux⟩ on 2017-03-13. 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
Security Enhanced Linux January 2005 OPEN_INIT_PTY(8)