[lkml]   [1997]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: /proc/PID/fd/0 design "bug"
                        Hello, Lars!

    On Sun, 21 Dec 1997, Lars Marowsky-Bree wrote:

    >stdin of any process is accessible via /proc/PID/fd/0.
    >So I guess you should be able to enter arbitrary text into any running
    >program by doing "echo COMMAND >>/proc/PID/fd/0".
    >This doesn't work. (2.0.32) It should work at least for tty based process.
    >Is this a bug or intentionally?

    /proc/PID/fd has rights of this process is run.
    So you only can affect your own processes. ( assuming you are not root )

    Experience is what you get when you were expecting something else.

    With best of best regards, Pawel S. Veselov (aka Black Angel)
    internet : ( mail,finger,talk )
    Web page :

     \ /
      Last update: 2005-03-22 13:40    [W:0.023 / U:2.912 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site