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

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, / \ 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    [W:0.052 / U:2.200 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site