Re: [RFC][PATCH] Escaping the arguments of kernel messages for saneuser-space localisation

From: Alan Cox
Date: Tue Oct 09 2007 - 08:31:02 EST


> I have now found what I think is another valid use. What I have done is
> to make xprintf() emit the output directly to the kernel ring-buffer.

Thats nice.

> There is only one very small caveat (that I can see) to be mentioned:
> You can still use multiple printk() calls to append new text to a
> partial message, but you can NOT output several messages in a single
> call. I think, however, that no sanely written code would do this

A quick search suggests otherwise (eg intel_rng)


Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/