Dan Kenigsberg wrote:


I happenned to stumble on this question recently.

prctl(2) has PR_SET_NAME. An even simpler solution, that may work on non-Linux
too and may be good enough, is softlink.

From the prctl man page:
CONFORMING TO
This call is Linux-specific. IRIX has a prctl() system call (also introduced in Linux 2.1.44 as irix_prctl on the MIPS architecture), with pro-
       totype

So, it seems that writing to the argv buffer may, actually, be more platform indep than the alternative.

Shachar

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to