Re: argv[0] in execvp()
From: Alex Vinokur (alexvn_at_x-privat.org)
Date: 11/27/05
- Next message: Alex Vinokur: "Re: How to pass arguments with '*' to execvp()?"
- Previous message: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- In reply to: Gordon Burditt: "Re: argv[0] in execvp()"
- Next in thread: Måns Rullgård: "Re: argv[0] in execvp()"
- Reply: Måns Rullgård: "Re: argv[0] in execvp()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Nov 2005 17:28:09 +0100
"Gordon Burditt" <gordonb.4a1p6@burditt.org> wrote in message news:11ohbueegkqnua8@corp.supernews.com...
[snip]
> Reasons for passing strange stuff in argv[0]:
>
> - To hide (poorly) what you are doing from people running "ps"
What is the relationship between "ps" and argv[0]?
> - To exploit security holes in setuid programs.
Similar question: what is the relationship between setuid programs and argv[0]?
[snip]
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
- Next message: Alex Vinokur: "Re: How to pass arguments with '*' to execvp()?"
- Previous message: Pascal Bourguignon: "Re: Three processes intercommunicating(both ways) using pipes, (six pipes??)"
- In reply to: Gordon Burditt: "Re: argv[0] in execvp()"
- Next in thread: Måns Rullgård: "Re: argv[0] in execvp()"
- Reply: Måns Rullgård: "Re: argv[0] in execvp()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|