lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250304074512.GC1955273@unreal>
Date: Tue, 4 Mar 2025 09:45:12 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Bjorn Helgaas <helgaas@...nel.org>
Cc: Andrew Lunn <andrew@...n.ch>,
	Krzysztof Wilczyński <kw@...ux.com>,
	linux-pci@...r.kernel.org, Ariel Almog <ariela@...dia.com>,
	Aditya Prabhune <aprabhune@...dia.com>,
	Hannes Reinecke <hare@...e.de>,
	Heiner Kallweit <hkallweit1@...il.com>,
	Arun Easi <aeasi@...vell.com>, Jonathan Chocron <jonnyc@...zon.com>,
	Bert Kenward <bkenward@...arflare.com>,
	Matt Carlson <mcarlson@...adcom.com>,
	Kai-Heng Feng <kai.heng.feng@...onical.com>,
	Jean Delvare <jdelvare@...e.de>,
	Alex Williamson <alex.williamson@...hat.com>,
	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	Jakub Kicinski <kuba@...nel.org>,
	Thomas Weißschuh <linux@...ssschuh.net>,
	Stephen Hemminger <stephen@...workplumber.org>
Subject: Re: [PATCH v4] PCI/sysfs: Change read permissions for VPD attributes

On Mon, Mar 03, 2025 at 03:17:55PM -0600, Bjorn Helgaas wrote:
> On Tue, Feb 25, 2025 at 10:05:49PM +0200, Leon Romanovsky wrote:
> > On Tue, Feb 25, 2025, at 20:59, Andrew Lunn wrote:
> > >> Chmod solution is something that I thought, but for now I'm looking
> > >> for the out of the box solution. Chmod still require from
> > >> administrator to run scripts with root permissions.
> > >
> > > It is more likely to be a udev rule. 
> > 
> > Udev rule is one of the ways to run such script.
> > 
> > > systemd already has lots of examples:
> > >
> > > /lib/udev/rules.d/50-udev-default.rules:KERNEL=="rfkill", MODE="0664"
> 
> Where are we at with this?  Is a udev rule a feasible solution?

We asked customer if this can work for him and still didn't get answer.
I don't know if they have systemd/udev in their hypervisors.

Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ