Re: [PATCH 1/2] umh: Add command line to user mode helpers

From: David Miller
Date: Mon Oct 22 2018 - 22:37:51 EST


From: Olivier Brunel <jjk@xxxxxxxxxx>
Date: Sat, 20 Oct 2018 19:39:56 +0200

> User mode helpers were spawned without a command line, and because
> an empty command line is used by many tools to identify processes as
> kernel threads, this could cause some issues.
>
> Notably during killing spree on shutdown, since such helper would then
> be skipped (i.e. not killed) which would result in the process remaining
> alive, and thus preventing unmouting of the rootfs (as experienced with
> the bpfilter umh).
>
> Fixes: 449325b52b7a ("umh: introduce fork_usermode_blob() helper")
> Signed-off-by: Olivier Brunel <jjk@xxxxxxxxxx>

Applied.