[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s7rpos00-6n06-por8-4q77-6736p670qo1s@xreary.bet>
Date: Wed, 11 Dec 2024 15:12:57 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
cc: Benjamin Tissoires <bentiss@...nel.org>,
Stefan Achatz <erazor_de@...rs.sourceforge.net>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/10] HID: constify 'struct bin_attribute'
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@...ssschuh.net>
Applied to hid.git#for-6.14/constify-bin-attribute, thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists