• NeilBrown's avatar
    SUNRPC: support abstract unix socket addresses · 4388ce05
    NeilBrown authored
    An "abtract" address for an AF_UNIX socket start with a nul and can
    contain any bytes for the given length, but traditionally doesn't
    contain other nuls.  When reported, the leading nul is replaced by '@'.
    
    sunrpc currently rejects connections to these addresses and reports them
    as an empty string.  To provide support for future use of these
    addresses, allow them for outgoing connections and report them more
    usefully.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
    4388ce05
xprtsock.c 83.9 KB