diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 0a14037a8..b1af51a0e 100755 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -820,6 +820,12 @@ static ssize_t devkmsg_write(struct kiocb *iocb, struct iov_iter *from) } } + if ((strstr(line, "healthd")) || (strstr(line, "logd")) || + strstr(line, "dashd")) { + kfree(buf); + return len; + } + devkmsg_emit(facility, level, "%s", line); kfree(buf); return ret;