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:
 <DM4PR12MB8558BD9B9C6E3F92981B286ABE9FA@DM4PR12MB8558.namprd12.prod.outlook.com>
Date: Tue, 20 May 2025 08:56:04 +0000
From: Wojtek Wasko <wwasko@...dia.com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: "richardcochran@...il.com" <richardcochran@...il.com>,
	"vadim.fedorenko@...ux.dev" <vadim.fedorenko@...ux.dev>, "kuba@...nel.org"
	<kuba@...nel.org>, "andrew@...n.ch" <andrew@...n.ch>,
	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH v2] ptp: Add sysfs attribute to show PTP device is safe to
 open RO

On Mon, May 19, 2025 at 05:56PM, Greg K-H wrote:
> This is not how to use sysfs, sorry.  We do NOT use it for "feature
> flags" like this.
>
> Userspace should do something else to determine if the feature is there
> or not, or just default to "do not allow" if it can not figure it out.
>
> sorry, but this change is not ok.

Thanks for explaining this. I'll find a way to make it work in userspace.

Wojtek

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ