• [$] A struct sockaddr sequel

    From LWN.net@86:200/23 to All on Sat Nov 15 06:40:08 2025
    One of the many objectives of the Linux
    Kernel Self-Protection Project (KSPP), which just completed ten years of
    work, is to ensure that all array references can be bounds-checked,
    even in the case of flexible array members, the size of which is not known
    at compile time. One of the most challenging flexible array members in the kernel is not even declared as such. Almost exactly one year ago, LWN looked at the effort to increase safety around
    the networking subsystem's heavily used sockaddr structure. One
    year later, Kees Cook is still looking for a way to bring this work to a
    close.

    https://lwn.net/Articles/1045453/
    --- SBBSecho 3.29-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (86:200/23)