Re: Changing argv[0] under Linux.

DervishD (raul@pleyades.net)
Tue, 21 Jan 2003 16:33:37 +0100


> The method used in INN is to make arg 1 some space. So

Unfortunately, the process in this case is 'init', so we cannot
easily do this :((

> Some systems have setproctitle() but it doesn't appear to be posix.

Linux doesn't have setproctitle(), AFAIK, and seems to belong to
NetBSD :??? What a pity, because will be a very clean solution :7

Thanks a lot for answering :)
Raśl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/