Skip to content
Commit 876dcf2f authored by Olivier Brunel's avatar Olivier Brunel Committed by David S. Miller
Browse files

umh: Add command line to user mode helpers



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: 449325b5 ("umh: introduce fork_usermode_blob() helper")
Signed-off-by: default avatarOlivier Brunel <jjk@jjacky.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c94f026f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment