Messages in this thread | | | Date | Thu, 23 Mar 2000 22:10:18 -0300 (BRT) | From | Augusto Cesar Radtke <> | Subject | Re: Finding process' argv from task_struct |
| |
On Thu, 23 Mar 2000, Krisztian Flautner wrote:
> > Thanks for the reply for my previous message. I should > have been clearer: I would like to find out the command line > of the program given a pointer to its task_struct. argv[0] > should be enough but the rest would not hurt either. > How do I do this?
Check task_struct->mm->arg_start and task_struct->mm->arg_end.
-augusto
- 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/
| |