Re: [PATCH v2 0/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()
From: Christoph Hellwig <hch@infradead.org>
Date: 2025-01-09 08:23:09
Also in:
bpf, linux-modules, lkml
From: Christoph Hellwig <hch@infradead.org>
Date: 2025-01-09 08:23:09
Also in:
bpf, linux-modules, lkml
On Thu, Jan 09, 2025 at 09:12:03AM +0100, Greg Kroah-Hartman wrote:
quoted
Hey, when I duplicated the method to convert sysfs over to a proper seq_file based approach that avoids buffer overflows you basically came up with the same line that Alexei had here.I did? Sorry about that, I don't remember that.
It's been a while..
As for seq_file for sysfs, is that for binary attributes only, or for all? I can't recall that at all.
Non-binary ones.