]> err.no Git - systemd/commit
exec: include path name of binary we are about to execute when renaming forked off...
authorLennart Poettering <lennart@poettering.net>
Wed, 1 Feb 2012 21:33:15 +0000 (22:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Feb 2012 21:33:15 +0000 (22:33 +0100)
commit5d6b158473100a7a85e790f8ead0b826baa13b5e
treeb85b3165d677dcccb639b6678023206edce2fdc3
parenta6927d7ffc18c51fbb9940f5f1e89f5c7695ed63
exec: include path name of binary we are about to execute when renaming forked off processes

Immediately after forking off a process change the comm name and argv[0]
to "(foobar)" where "foobar" is the basename of the path we are about to
execute.

This should be useful when charting boot progress.
src/execute.c
src/main.c
src/util.c