[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mafs0bjx294zp.fsf@kernel.org>
Date: Mon, 23 Dec 2024 08:29:46 +0000
From: Pratyush Yadav <pratyush@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Tudor Ambarus <tudor.ambarus@...aro.org>, Pratyush Yadav
<pratyush@...nel.org>, Michael Walle <mwalle@...nel.org>, Miquel Raynal
<miquel.raynal@...tlin.com>, Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: spi-nor: sysfs: constify 'struct bin_attribute'
On Sun, Dec 22 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.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Acked-by: Pratyush Yadav <pratyush@...nel.org>
--
Regards,
Pratyush Yadav
Powered by blists - more mailing lists