Creating and associating a virtual pseudo TTY with a running process
Abstract
Creating and associating a virtual pseudo tty device with a running process. A pool of virtual pseudo tty devices composed of a number of special character-oriented device files is created and associated with a sub-directory in the device file system. In response to receiving a process id (PID) of a running process, an unassociated virtual pseudo tty device in the pool of virtual pseudo tty devices is assigned to the running process. The association of the running process and the virtual pseudo tty device is accomplished by locating and modifying the running process's controlling tty in the running process's u-block to point to the assigned unassociated virtual pseudo tty device. Following which, the running process id and the associated virtual pseudo tty device are saved in a virtual pseudo tty mapping table thus allowing the running process to be disassociated from a physical console or pseudo tty device.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 1.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method executed in a computer system for creating and associating a virtual pseudo tty device with a running process, the method comprising: creating a pool of virtual pseudo tty devices, wherein the creating a pool of virtual pseudo devices includes creating a sub-directory and a plurality of virtual pseudo tty devices associated with the sub-directory; and assigning, in response to receiving a process identification (PID) of the running process, a virtual pseudo tty device in the pool of virtual pseudo tty devices to the running process, the assigning comprising: retrieving a next free vir
- Claim 2Depends on #1
The method as recited in claim 1 , wherein the assigning further comprises verifying t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (2)
- Morgan, David, "Workings of a Virtual Private Network in Linux", ACM, 1998, 8 pages.
- N. Zeldovich et. al., "Making Information Flow Explicit in HiStar", 7th USENIX Symposium on Operating Systems Design and Implementation, 2006, pp. 263-278.