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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 26149C2BC73 for ; Wed, 4 Dec 2019 07:40:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBED7207DD for ; Wed, 4 Dec 2019 07:31:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727195AbfLDHbb (ORCPT ); Wed, 4 Dec 2019 02:31:31 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:6747 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725958AbfLDHbb (ORCPT ); Wed, 4 Dec 2019 02:31:31 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 3F60F3216FAD16662644; Wed, 4 Dec 2019 15:31:30 +0800 (CST) Received: from [127.0.0.1] (10.133.216.73) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Wed, 4 Dec 2019 15:31:23 +0800 To: Mike Waychison CC: , wanghaibin 00208455 , Thomas Gleixner , "Greg Kroah-Hartman" From: Guoheyi Subject: firmware: dmi-sysfs: why is the access mode of dmi sysfs entries restricted to 0400? Message-ID: <42bb2db8-66e0-3df4-75b7-98b2b2bcfca8@huawei.com> Date: Wed, 4 Dec 2019 15:31:22 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.133.216.73] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Why is the access mode of dmi sysfs entries restricted to 0400? Is it for security concern? If it is, which information do we consider as privacy? We would like to fetch CPU information from non-root application, is there feasible way to do that? Any advice is appreciated. Thanks, Heyi