Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161089AbaDBXrF (ORCPT ); Wed, 2 Apr 2014 19:47:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:52808 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932312AbaDBXrD (ORCPT ); Wed, 2 Apr 2014 19:47:03 -0400 Date: Thu, 3 Apr 2014 01:47:00 +0200 (CEST) From: Jiri Kosina To: Linus Torvalds cc: Andrew Morton , Mateusz Guzik , Greg Kroah-Hartman , Steven Rostedt , LKML , Thomas Gleixner , "H. Peter Anvin" , Borislav Petkov , Ingo Molnar , Mel Gorman , Kay Sievers Subject: Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline In-Reply-To: Message-ID: References: <20140402144219.4cafbe37@gandalf.local.home> <20140402221212.GD16570@mguzik.redhat.com> <20140402162839.d3c00e9845e89d0f092c2ce3@linux-foundation.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/