Re: Manipulating Environment Variables of an Already running process
Hatem Nassrat <[email protected]>
| Newsgroups | gmane.linux.newbie |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Oct 13, 2010 at 7:40 PM, Joel Fernandes <[email protected]> wrote: > You could probably do it with ptrace(2) with request = PTRACE_POKEDATA I think thats it! I have been playing around with gdb thanks to this hint. I have attached to a running bash terminal and trying to mess with it, not getting very far but I think this is how it can be done :) -- Hatem Nassrat -- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs