Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5340403rwd; Mon, 12 Jun 2023 03:49:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QkuQLQUzM/QxZqiMy7ZFODwpmGDC+JSNMBrOxs1CuBYYmYx9b4ROBeX38YZXcWMh+VSmy X-Received: by 2002:a17:902:6b8b:b0:1b1:8ec8:7f67 with SMTP id p11-20020a1709026b8b00b001b18ec87f67mr5129490plk.5.1686566960058; Mon, 12 Jun 2023 03:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686566960; cv=none; d=google.com; s=arc-20160816; b=fQKzizNXk7AHr3cz1hwuigRZIwEP7h9qs+vUfdex1fv7qrElRfpS+MKkvpicdtlQlS E7GdYdv21V6c8S6tYOhVbyLlXdeAt45BHBTAa99Lu5QxwuCjo3Apcp34TpyOMc7JlBMU 72A9ryEQjuI+sQQRjRgdZbZHhwUHd0uqF1W91QGaMPiLdXvvLkOeJrcXYy+HRdFwXSlH HHB0NJWESt5M/8MZc0LBMTqR1n6JqfQJf8xp76kSEJSfzwhZaBKehd20AjZ9NWLFJ2cz K+0T8ajLoKPJnTA0HQJRmXwu1I3u+uJXL91ePdc1rY9oVwx4axa86fw7qThJEOVcQJ8I MRwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LQoHIh3xDPmRnWNWG/Yn8Vsvn7gh4pxI/DIWo+WCgV0=; b=r3TepnbhG4dccMmpldSinTuC4HJ9Betx87WHyVH4utEOimpwQCxofdx/jCWgAXv4/4 BpCcxJ9abS9uF8IS0C4xeJLUuTg+7nRyxMipUggliEDfO5cda8WX8uyE2FZoLFCOsScX 5SXime8ZtKV0bnPFK3rXh0Jw0BYTPb8dKBXxQHbSu0TyKnkfaPt7gYGTU3+ZlI+PUbyx iiBmsr0u7WgPB/tjvYSUiqh5MIgNmFZxOz3HX8HouUslf5VBi2eL3T0kCqcc5t/mkOZ3 vXne1zWOQ8BKK3YbWFn9cZe+ap7RXrerEa59NVXfLGyGvUMGvRDTK7U2numvEbz/rOLM gwow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kaMUAHHv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s6-20020a170902ea0600b001afada38c64si2954747plg.302.2023.06.12.03.49.08; Mon, 12 Jun 2023 03:49:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kaMUAHHv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235016AbjFLKlt (ORCPT + 99 others); Mon, 12 Jun 2023 06:41:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234867AbjFLKlb (ORCPT ); Mon, 12 Jun 2023 06:41:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2ACC319CD for ; Mon, 12 Jun 2023 03:25:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 47ABF615B9 for ; Mon, 12 Jun 2023 10:25:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FF23C433EF; Mon, 12 Jun 2023 10:25:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686565528; bh=jkLBoeKvgVSf1iEiYP2KB3CxUSh6MqVHrDpEPu8ZLL0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kaMUAHHvXf1LUbuyW7bPq0DQ6R26GMRMLqJirt4UYlK5BG7G8cVzlJhiVrWdKn1K8 W8UOcwqG+S8RGcsnPd33yA8RkvPRfjUQDX8Avy3pYY7l+JykiH1dCGPVRFu4eTdqAn alsJCpZoTItJIHh87aWEuto1DNVz1EfTbrq0Lu60= Date: Mon, 12 Jun 2023 12:25:26 +0200 From: Greg Kroah-Hartman To: Jonathan McDowell Cc: Jean Delvare , Lennart Poettering , Kay Sievers , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] firmware: dmi: Don't restrict access to serial number / UUID Message-ID: <2023061252-tapering-shrubs-4dd7@gregkh> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 12, 2023 at 09:59:50AM +0000, Jonathan McDowell wrote: > The /sys/devices/virtual/dmi/id/*_serial + product_uuid files are > currently only readable by root. There's no clear rationale for this; > Windows + OS X both allow regular users to access the information, so > there appears to be no expectation on the manufacturer side that it > should be kept secret. > > Having the information easily available helps with automated tools that > collect system information for the purposes of fault diagnosis/tracking > without requiring the tools have root access. > > (I've tried to look for context on the initial patch submission about > why these were root-only but didn't find any; hopefully Lennart or Kay > can provide details if I'm missing something.) I think it was just generic "let's not expose anything that might be a secret", but if Windows exposes all of this to any user, then vendors are used to it, so it's not a big deal. thanks, greg k-h