pty support in php5

Matthew Dillon dillon at apollo.backplane.com
Mon Sep 6 10:34:16 PDT 2004


:The files itself are not the problem and ptx isn't either. To correctly
:and fully implement Unix98 we either need a setuid helper app like glibc
:provided for a while to chown the terminal or alternatively provide a
:pseudofilesystem for terminals. I'm looking at the second alternative
:because it is the safer and better approach to this problem.
:
:Joerg

    It might not be necessary to have a pseudofilesystem for terminals.
    Since the terminal need only be 'owned' while it is in an open state,
    it should be possible to temporarily override the ownership that
    VOP_ACCESS, stat, and friends report by adding a user structural
    reference / hook to the device structure which the VOP code can tap
    off of.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Bugs mailing list