Re: [PATCH] overflow: Introduce struct_offset() to get offset of member
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-11-28 03:27:20
Also in:
linux-hardening, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-11-28 03:27:20
Also in:
linux-hardening, lkml
On Thu, 27 Nov 2025 18:00:01 -0800 Kees Cook [off-list ref] wrote:
I'd rather it keep the same API style as struct_size() if it's going to share the naming style.
Fair enough. Then I won't change it.
If you have an instance and not a pointer, just slap on a & :)
:-p I guess that would work. Although it will kinda look a bit strange. At least to me. -- Steve