Author marcelo_fernandez
Recipients amaury.forgeotdarc, asksol, elprans, exarkun, flub, giampaolo.rodola, iElectric, loewis, marcelo_fernandez, piro, serverhorror
Date 2009-12-06.17:26:31
SpamBayes Score 7.52775e-09
Marked as misclassified No
Message-id <>
Great, piro!

I'm taking a look at it, and it seems to use setproctitle() in BSD, and 
writes over the argv array "in most Sys-V like systems"; this includes 

My question is because I think there's a better and supported method for 
Linux, that is, using prctl [1]. I read somewhere that changing argv 
causes some inconsistencies between programs who read /sys files, /proc 
files... or I don't remember what, but it is, in fact, not the 
*recommended* way. Prctl is. :-)

PR_SET_NAME and PR_GET_NAME parameters in prctl.h:

Could this module be altered to use a prctl call in Linux (>2.6.9)?

Thanks a lot.
Date User Action Args
2009-12-06 17:26:34marcelo_fernandezsetrecipients: + marcelo_fernandez, loewis, exarkun, amaury.forgeotdarc, giampaolo.rodola, flub, piro, serverhorror, iElectric, elprans, asksol
2009-12-06 17:26:33marcelo_fernandezsetmessageid: <>
2009-12-06 17:26:32marcelo_fernandezlinkissue5672 messages
2009-12-06 17:26:31marcelo_fernandezcreate