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

From
David Miller <davem@davemloft.net>
Date
2018-10-23 02:37:50
Also in
lkml
Reply to
Olivier Brunel, 2018-10-20
From: Olivier Brunel <redacted>
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 <redacted>
Applied.
Thread (13 messages) 13 messages, 3 authors, last reply 2018-10-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help