Re: argv[0] in execvp()

From: Alex Vinokur (alexvn_at_x-privat.org)
Date: 11/27/05


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


Relevant Pages