Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751395AbeAPCJv (ORCPT + 1 other); Mon, 15 Jan 2018 21:09:51 -0500 Received: from mail-pg0-f48.google.com ([74.125.83.48]:46457 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbeAPCJs (ORCPT ); Mon, 15 Jan 2018 21:09:48 -0500 X-Google-Smtp-Source: ACJfBou4UybpmV+iXVZyKlKGrg38uxbUGF8yBuklECAYZ5HGmqeTsfhmx4ppJXdBIJ67AuAueuNnnQ== Date: Tue, 16 Jan 2018 11:09:43 +0900 From: Sergey Senozhatsky To: Steven Rostedt Cc: Dan Aloni , Sergey Senozhatsky , linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Petr Mladek , Linus Torvalds , Peter Zijlstra , Andrew Morton , Kees Cook Subject: Re: [PATCHv2 5/7] printk: allow kmsg to be encrypted using public key encryption Message-ID: <20180116020943.GC6607@jagdpanzerIV> References: <20180113213441.52047-1-dan@kernelim.com> <20180113213441.52047-6-dan@kernelim.com> <20180114014801.GC1701@tigerII.localdomain> <20180114080108.GA69022@gmail.com> <20180115075231.0d435fec@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180115075231.0d435fec@gandalf.local.home> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On (01/15/18 07:52), Steven Rostedt wrote: [..] > I'm very skeptical that such an approach has much benefit. From the > email referenced above: agreed. dmesg can be SECURITY_DMESG_RESTRICT. so the patch is *probably* aiming the systems in which anyone can read dmesg, but we kinda don't want that to happen. may be I'm missing the point. > > I am not sure that desktop and power users would like to have their > > kernel message encrypted, but there are scenarios such as in mobile > > devices, where only the developers, makers of devices, may actually > > benefit from access to kernel prints messages, and the users may be > > more protected from exploits. > > Do you have any backing from makers of such devices? I'd like to hear > from Google's Android team or whoever that would turn this feature on. > > I would be hard pressed to add such a feature if it's never used. right. -ss