Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbaDCKnK (ORCPT ); Thu, 3 Apr 2014 06:43:10 -0400 Received: from unicorn.mansr.com ([81.2.72.234]:51684 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032AbaDCKnH convert rfc822-to-8bit (ORCPT ); Thu, 3 Apr 2014 06:43:07 -0400 X-Greylist: delayed 528 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Apr 2014 06:43:06 EDT From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Linus Torvalds Cc: Jiri Kosina , 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 References: <20140402144219.4cafbe37@gandalf.local.home> <20140402221212.GD16570@mguzik.redhat.com> <20140402162839.d3c00e9845e89d0f092c2ce3@linux-foundation.org> Date: Thu, 03 Apr 2014 11:34:15 +0100 In-Reply-To: (Linus Torvalds's message of "Wed, 2 Apr 2014 16:52:59 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: > On Wed, Apr 2, 2014 at 4:47 PM, Jiri Kosina wrote: >> >> Which doesn't really protect you from tasks that do open()/write()/close() >> cycle for /dev/kmsg write every 2ms though. > > I don't think we should try to protect against wilful bad behavior > unless that is shown to be necessary. Yeah, if it turns out that > systemd really does that just to mess with us, we'd need to extend it, > but in the absence of proof to the contrary, maybe this simple > attached patch works? Once is an accident. Twice is incompetence. Three times is malice. -- M?ns Rullg?rd mans@mansr.com -- 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/