Re: Changing argv[0] under Linux.

From: DervishD (raul@pleyades.net)
Date: Tue Jan 21 2003 - 10:33:37 EST


> 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/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:26 EST