/proc/<pid>/cmdline and udhcpcd
Matt Whitlock
busybox at mattwhitlock.name
Wed Mar 26 11:48:38 UTC 2014
On Wednesday, 26 March 2014, at 12:46 pm, Cristian Ionescu-Idbohrn wrote:
> Is it possible to restrain from modifying the arguments for the
> command line? The problem is that the process watcher used here is
> dependant on having the original/unmodified /proc/<pid>/cmdline. If
> the watched process dies, the cmdline is used to respawn it.
> Respawning it with an erroneous command line creates a respawn loop.
Couldn't you use the 'init' applet from Busybox to achieve process watching and respawning?
More information about the busybox
mailing list