Re: [PATCH] gpiolib: cdev: add fdinfo output for line request file descriptors

From: Andy Shevchenko
Date: Tue Sep 20 2022 - 13:30:21 EST


On Tue, Sep 20, 2022 at 08:19:25PM +0300, Andy Shevchenko wrote:
> On Tue, Sep 20, 2022 at 03:54:35PM +0200, Bartosz Golaszewski wrote:

...

> Also don't forget that sizes over PAGE_SIZE in sysfs sometimes problematic and
> racy.(the commit 888be6067b97 ("ACPI: sysfs: Fix a buffer overrun problem with
> description_show()") for the reference).

This is not the commit I wanted to point to... But suddenly can't find easily
the one I remembered happened in the kernel.

--
With Best Regards,
Andy Shevchenko