lkml.org 
[lkml]   [1998]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-kernel-digest V1 #2839 (writable /proc/<pid>/cmdli
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' ...

P.

---
| pdh@colonel-panic.com |
| pdh@berserk.demon.co.uk |
| http://www.colonel-panic.com |
| http://www.berserk.demon.co.uk |




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.079 / U:1.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site