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=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 A3B30C433FF for ; Wed, 31 Jul 2019 13:26:29 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F54520659 for ; Wed, 31 Jul 2019 13:26:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F54520659 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45zDhz1FQrzDqgM for ; Wed, 31 Jul 2019 23:26:27 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45zBQ20XVDzDqfc for ; Wed, 31 Jul 2019 21:43:22 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 45zBQ14ftsz9s00; Wed, 31 Jul 2019 21:43:21 +1000 (AEST) From: Michael Ellerman To: Andrew Donnellan , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v2] powerpc/powernv: Restrict OPAL symbol map to only be readable by root In-Reply-To: <2a934abd-07c0-2741-8f2e-b9224abde005@linux.ibm.com> References: <20190503075253.22798-1-ajd@linux.ibm.com> <2a934abd-07c0-2741-8f2e-b9224abde005@linux.ibm.com> Date: Wed, 31 Jul 2019 21:43:21 +1000 Message-ID: <87h872qvja.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jordan Niethe , stable@vger.kernel.org, Stewart Smith Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Andrew Donnellan writes: > On 3/5/19 5:52 pm, Andrew Donnellan wrote: >> Currently the OPAL symbol map is globally readable, which seems bad as it >> contains physical addresses. >> >> Restrict it to root. >> >> Suggested-by: Michael Ellerman >> Cc: Jordan Niethe >> Cc: Stewart Smith >> Fixes: c8742f85125d ("powerpc/powernv: Expose OPAL firmware symbol map") >> Cc: stable@vger.kernel.org >> Signed-off-by: Andrew Donnellan > > mpe: ping? Picked up for v5.4. cheers