[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250115133148.00001cb6@huawei.com>
Date: Wed, 15 Jan 2025 13:31:48 +0000
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Thomas Weißschuh <linux@...ssschuh.net>
CC: Davidlohr Bueso <dave@...olabs.net>, Dave Jiang <dave.jiang@...el.com>,
Alison Schofield <alison.schofield@...el.com>, Vishal Verma
<vishal.l.verma@...el.com>, Ira Weiny <ira.weiny@...el.com>, Dan Williams
<dan.j.williams@...el.com>, <linux-cxl@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] cxl/port: Constify 'struct bin_attribute'
On Tue, 14 Jan 2025 22:25:14 +0100
Thomas Weißschuh <linux@...ssschuh.net> 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.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
Powered by blists - more mailing lists