Re: linux-kernel-digest V1 #2839 (writable /proc/<pid>/cmdli

Peter Horton (
Sat, 5 Dec 1998 21:06:26 +0000 (GMT)

On Sat, 5 Dec 1998, Meelis Roos wrote:

> PJ> On linux all that is required is coping a new string into argv[0]. This is
> Will it fit? If my current arv is "a.out" can I write "aaaa.out" there?

The environment follows the command line arguments, so there is a bit of
room if you don't mind trashing the environment. Try 'cat'ing
/proc/X/environ of 'sendmail' ...


|           |
|         |
|    |
|  |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at