We don't want to filter user space data which comes from /dev/kmsg. Signed-off-by: Marc Andre Tanner <mat@xxxxxxxxxxxxxx> --- drivers/char/mem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/mem.c b/drivers/char/mem.c index afa8813..ba48b82 100644 --- a/drivers/char/mem.c +++ b/drivers/char/mem.c @@ -850,7 +850,7 @@ static ssize_t kmsg_write(struct file * file, const char __user * buf, ret = -EFAULT; if (!copy_from_user(tmp, buf, count)) { tmp[count] = 0; - ret = printk("%s", tmp); + ret = printk_unfiltered("%s", tmp); if (ret > count) /* printk can add a prefix */ ret = count; -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html