lkml.org 
[lkml]   [2014]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline
    From
    On Fri, Apr 4, 2014 at 11:21 AM, Andy Lutomirski <luto@amacapital.net> wrote:
    >
    > I'm using /dev/kmsg in virtme so that I can easily capture, with
    > timestamps, the ten or so log lines that it produces. It would be sad
    > if I had to worry about small ratelimits here.

    So the _default_ rate limits (which is what my example patch used) are
    almost certainly not appropriate for /dev/kmsg.

    It would be good to hear suggestions for what *would* be reasonable.
    Because it does sound like we'll have to add rate limiting.

    Most users will never notice. The whole "writable /dev/kmsg" may go
    back to 2002, but there aren't _that_ many users, and pretty much all
    I've ever seen tend to write the occasional "I started up" messages or
    other very small notes. I had to write a test-script to trigger even
    the (very draconian) default ratelimits.

    Linus


    \
     
     \ /
      Last update: 2014-04-04 21:21    [W:4.691 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site