DragonFly BSD
DragonFly bugs List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: pty support in php5


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Sep 2004 10:31:57 -0700 (PDT)

: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@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]