On Wed, Feb 05, 2025 at 07:06:38PM +0800, Anand Jain wrote: > Introduce `verify_sysfs_syntax()` and `_require_fs_sysfs_attr_policy()` to verify > whether a sysfs attribute rejects invalid input arguments during writes. > > Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx> > --- > common/rc | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 136 insertions(+) Can we move all this sysfs specific stuff to a new common/sysfs file? common/rc is already too large and there's more than enough sysfs specific code here to justify it's own file... -Dave. -- Dave Chinner david@xxxxxxxxxxxxx