On Wed, Jan 21, 2026 at 02:21:17PM +0000, Peter Maydell wrote: > But it looks to me like this is a bug in the Linux headers: > they seem to have changed in a non-backwards compatible way, > and possibly even in a way that makes it not possible for > userspace code to use ifdefs to handle "maybe the header > is the old version or the new version".
Technically Linux doesn't provide an API guarentee, just an ABI guarentee. Ie we don't guarentee all old userspace compiles with the new headers, we just guarentee that once compiled it keeps working.. You need to use something like configure and compile trial tests to figure things out. IMHO this happens rarely enough that what is proposed here as a single patch is the best option. Jason
