Fwd: why are init's arguments wiped ?

Mike Frysinger vapier at gentoo.org
Tue Feb 2 08:17:19 UTC 2016


On 02 Feb 2016 08:22, Nicolas CARRIER wrote:
> I used prctl from time to time to change a child's name, but I didn't
> think of using argv directly, to pass more information. In fact I
> discovered it was possible, when I asked this very question.

if you're using python, check out this module:
https://pypi.python.org/pypi/setproctitle

if you're using C, check out the source directly as it's all written
in C anyways and has lots of ports to different OS's.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20160202/1eae81bd/attachment.asc>


More information about the busybox mailing list