|
|
Subscribe / Log in / New account

Why oh why …?

Why oh why …?

Posted Nov 7, 2024 20:19 UTC (Thu) by smurf (subscriber, #17840)
Parent article: The trouble with struct sockaddr's fake flexible array

> places in the kernel where struct sockaddr is embedded within another structure, usually not at the end

Well since the subtype of "struct sockaddr" that's actually used in these places is not and never was 14+2 bytes long, why was the option to replace these with the sockaddr type that's actually used there not considered?

Seems like a no-brainer to me.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds