[PATCH 1/9] sysfs: add sysfs_remove_bin_file_self() function

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Oct 7 16:23:33 AEDT 2021


On Wed, Oct 06, 2021 at 05:09:46PM -0700, Zev Weiss wrote:
> This is simply the bin_attribute analog to sysfs_remove_file_self().

No, no binary sysfs file should be triggering a remove.

binary sysfs files are "pass-through-only" from userspace to hardware,
the kernel should not be even knowing what is read/written to them.

What do you think this is needed for?

thanks,

greg k-h


More information about the openbmc mailing list