From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BD48C433E0 for ; Fri, 19 Mar 2021 18:56:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E93966198E for ; Fri, 19 Mar 2021 18:56:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231266AbhCSS4i (ORCPT ); Fri, 19 Mar 2021 14:56:38 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:56742 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231261AbhCSSzp (ORCPT ); Fri, 19 Mar 2021 14:55:45 -0400 Received: from 1.is.james.uk.vpn ([10.172.254.24] helo=malefic) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lNKHU-0000QK-Mt; Fri, 19 Mar 2021 18:55:32 +0000 Received: from james by malefic with local (Exim 4.94 #2 (Debian)) id 1lNKHT-00CrFO-NC; Fri, 19 Mar 2021 18:55:31 +0000 From: James Troup To: Linus Torvalds Cc: David Hildenbrand , Linux Kernel Mailing List , Linux-MM , "Alexander A. Klimov" , Alexander Viro , Alexandre Belloni , Andrew Lunn , Andrew Morton , Andrey Zhizhikin , Arnd Bergmann , Benjamin Herrenschmidt , Brian Cain , Christian Borntraeger , Christophe Leroy , Chris Zankel , Corentin Labbe , "David S. Miller" , "Eric W. Biederman" , Geert Uytterhoeven , Gerald Schaefer , Greentime Hu , Greg Kroah-Hartman , Gregory Clement , Heiko Carstens , Helge Deller , Hillf Danton , huang ying , Ingo Molnar , Ivan Kokshaysky , "James E.J. Bottomley" , Jiaxun Yang , Jonas Bonn , Jonathan Corbet , Kairui Song , Krzysztof Kozlowski , Kuninori Morimoto , Linux API , Liviu Dudau , Lorenzo Pieralisi , Luc Van Oostenryck , Luis Chamberlain , Matthew Wilcox , Matt Turner , Max Filippov , Michael Ellerman , Michal Hocko , Mike Rapoport , Mikulas Patocka , Minchan Kim , Niklas Schnelle , Oleksiy Avramchenko , Palmer Dabbelt , Paul Mackerras , "Pavel Machek \(CIP\)" , Pavel Machek , "Peter Zijlstra \(Intel\)" , Pierre Morel , Randy Dunlap , Richard Henderson , Rich Felker , Robert Richter , Rob Herring , Russell King , Sam Ravnborg , Sebastian Andrzej Siewior , Sebastian Hesselbarth , Stafford Horne , Stefan Kristiansson , Steven Rostedt , Sudeep Holla , Theodore Dubois , Thomas Bogendoerfer , Thomas Gleixner , Vasily Gorbik , Viresh Kumar , William Cohen , Xiaoming Ni , Yoshinori Sato Subject: Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good References: <20210319143452.25948-1-david@redhat.com> Mail-Copies-To: never Date: Fri, 19 Mar 2021 18:55:31 +0000 In-Reply-To: (Linus Torvalds's message of "Fri, 19 Mar 2021 10:14:02 -0700") Message-ID: <875z1n55y4.fsf@canonical.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: > On Fri, Mar 19, 2021 at 7:35 AM David Hildenbrand wrote: >> >> Let's start a discussion if /dev/kmem is worth keeping around and >> fixing/maintaining or if we should just remove it now for good. > > I'll happily do this for the next merge window, but would really want > distros to confirm that they don't enable it. FWIW, it's been disabled in Ubuntu for over 10 years now: https://wiki.ubuntu.com/Security/Features#A.2Fdev.2Fkmem_disabled -- James