On Thu, 13 Apr 2023 10:24:31 -0400 Willem de Bruijn wrote: > Probably also relevant is whether/how the approach can be extended > to [gs]etsockopt, as that was another example given, with the same > challenge. I had the same thought, given BPF filtering/integration with *etsockopt is repeatedly giving us grief. The only lesson from that I can think of is that we should perhaps suffer thru the one-by-one conversions for a while. Pulling the cases we inspected out into common code, rather than hope we can cover everything in one fell swoop.