Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752976AbaDCRKz (ORCPT ); Thu, 3 Apr 2014 13:10:55 -0400 Received: from terminus.zytor.com ([198.137.202.10]:38031 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752300AbaDCRKw (ORCPT ); Thu, 3 Apr 2014 13:10:52 -0400 Message-ID: <533D95C9.1020601@zytor.com> Date: Thu, 03 Apr 2014 10:09:29 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "Theodore Ts'o" , Joerg Roedel , Linus Torvalds , Jiri Kosina , Andrew Morton , Mateusz Guzik , Greg Kroah-Hartman , Steven Rostedt , LKML , Thomas Gleixner , 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> <20140403104308.GP13491@8bytes.org> <20140403170541.GA19010@thunk.org> In-Reply-To: <20140403170541.GA19010@thunk.org> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/03/2014 10:05 AM, Theodore Ts'o wrote: > > So there are so many other ways of solving this problem without trying > to abuse the kernel logging facilities (which were never intended to > be a general-purpose syslog replacement). I suspect some systemd > developer was being lazy.... > Having the kernel be the keeper of the logging IPC isn't at all unreasonable. However, kmsg in its current form isn't adequate. Augmenting it into a proper logging IPC might be the right thing to do. (Hmm... new IPC... does this sound a bit like kdbus to anyone?) The original motivation for /dev/kmsg was of course in the context of klibc to maintain the current behavior of the items I was hoping to move from kernel to user space. -hpa -- 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/