> That would be great! I think it makes sense to apply the same concept to unix > sockets so insulating changes to the msg_namelen seems like the way to go. Just sent a new version of my patch series with this change, so we'll see how it goes. > This is not yet allowed. We only allow changing the unix sockaddr length at the > moment. Maybe in the future we'd want to allow changing INET6 addr lengths > as well but currently we don't allow this. Ack. Just curious, as I don't think it would be good to, e.g., have a connect4 hook modifying the address length for an IPv4 address.