/proc/<pid>/cmdline and udhcpcd

Cathey, Jim jcathey at ciena.com
Wed Mar 26 17:19:10 UTC 2014


This long predates Linux.  Some small
percentage of programs rely upon being
able to modify the argv array.  This
is especially valuable to programs
that fork heavily but that do not exec.
The individual tines may thus be labeled
with their roles so that they can be
identified in ps, for example.  Our big
server process does this.

Handy if you want to, oh, say _debug_
one of them, or even kill it.

Obliteration of sensitive information has
already been mentioned.  There may be
other reasons.

-- Jim



More information about the busybox mailing list