[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c6b85691acc7864a58e94b99296abd4754fb143a.camel@suse.com>
Date: Fri, 16 Jun 2023 09:47:50 +0000
From: Jean Delvare <jdelvare@...e.com>
To: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"mzxreary@...inter.de" <mzxreary@...inter.de>,
"noodles@...a.com" <noodles@...a.com>,
"kay.sievers@...y.org" <kay.sievers@...y.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] firmware: dmi: Don't restrict access to serial number /
UUID
Hi Jonathan,
On Mon, 2023-06-12 at 09:59 +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.
> (...)
I'll think about it. However, please note that these permissions are
only initial permissions, and nothing prevents user-space from changing
them at run-time. So if a Linux distribution believes there's no reason
to keep these values secret, a simple boot-time script (or maybe just a
couple of udev rules, I'm not sure how powerful these are nowadays)
would solve the problem.
--
Jean Delvare
SUSE L3 Support
Powered by blists - more mailing lists