lkml.org 
[lkml]   [1997]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject/proc/PID/fd/0 design "bug"
Hi,

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?


--
Lars Marowsky-Bree :homepage email: \ geek, BOFH, psychopath, magician, /
http://teuto.net/~lmb/ lmb@teuto.net \ killer, looney, genius, pervert /
pgp-key-id: 0x09e360c5 / ff 2a 82 e8 6b 85 79 23 9c da b5 81 d4 fc 29 e6
< to prevent forgery, all email by me is signed with PGP >
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans