lkml.org 
[lkml]   [2014]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline
On Wed, 2 Apr 2014, Linus Torvalds wrote:

> > Could be done per-fd: put a struct ratelimit_state into struct
> > devkmsg_user.
>
> Yeah, what Andrew said. My suggestion of per-task or per-cred is
> obviously moronic in comparison.

Which doesn't really protect you from tasks that do open()/write()/close()
cycle for /dev/kmsg write every 2ms though.

--
Jiri Kosina
SUSE Labs


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