Re: [PATCH] printk: implement printk_buf overflow warning
From: Tejun Heo
Date: Wed Feb 13 2008 - 19:14:59 EST
Andrew Morton wrote:
> On Wed, 13 Feb 2008 18:03:12 +0900
> Tejun Heo <htejun@xxxxxxxxx> wrote:
>
>> printk silently truncates messages longer than 1024 - 1 bytes.
>> Implement overflow detection and append "$PRINTK_BUF_OVERFLOW$\n" to
>> truncated messages.
>
> I don't think I've ever heard of anyone managing to overflow the printk
> buffer and it's hard to imagine how a sane person could manage to do this.
>
> I assume this is happening because of changes in your other patchset, and
> that this change is hence associated with those changes and should probably
> be a part of the same patch series?
I thought this went well with the recursion warning. I'll move it into
the mprintk patchset.
Thanks.
--
tejun
--
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/