bootchartd: prevent premature stop by device mapper
authorUwe Geuder <busybox2017-ugeuder@snkmail.com>
Wed, 19 Jul 2017 19:08:08 +0000 (22:08 +0300)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 20 Jul 2017 11:39:41 +0000 (13:39 +0200)
commit9e2e0ff4ba7f4327ff35e353faba5bf234a70672
tree74dfca7d2a7f4cd6f33bd5d1fe669666c7d56e6e
parent1ef3ce91c70cb6a536438132d3202ccb3eddadbc
bootchartd: prevent premature stop by device mapper

Kernel thread kdmflush was recognized as display manager kdm,
check for string length.

Signed-off-by: Uwe Geuder <busybox2017-ugeuder@snkmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
init/bootchartd.c