tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Socket reuse policy adaptation to kauth(9)

On Wed, 30 Dec 2009, Elad Efrat wrote:

> It has been tested and reviewed, but just in case I'd like to see if
> someone else has any comments.

+       /* XXX-elad: Make sure this is an IPv4 socket. */

        if (sofamily(so) != AF_INET)
                return result;

(or, you can use sockaddr->sa_family from arg2 ?)


Home | Main Index | Thread Index | Old Index