Re: [PATCH 00/10] HID: constify 'struct bin_attribute'

From: Jiri Kosina
Date: Wed Dec 11 2024 - 09:14:35 EST


On Mon, 2 Dec 2024, Thomas Weißschuh wrote:

> The sysfs core now allows instances of 'struct bin_attribute' to be
> moved into read-only memory. Make use of that to protect them against
> accidental or malicious modifications.
>
> The usage of read_new/write_new/bin_attrs_new is a transition mechanism
> and will be reverted again after the transition is complete.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

Applied to hid.git#for-6.14/constify-bin-attribute, thanks.

--
Jiri Kosina
SUSE Labs