[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100421.222602.211557559.davem@davemloft.net>
Date: Wed, 21 Apr 2010 22:26:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ppergame@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: change recvform to return same address length as
getsockname on unnamed unix sockets
From: Pavel Pergamenshchik <ppergame@...il.com>
Date: Wed, 21 Apr 2010 20:29:25 -0700
> unix_*_recvmsg() returns zero-length sockaddr if the sender is an
> unnamed AF_UNIX socket. Change it to return a two-byte sockaddr with
> just the address family, to be consistent with unix_getname().
>
> Signed-off-by: Pavel Pergamenshchik <ppergame@...il.com>
Since we've behaved this way for at least 10 years, the existing
behavior is the user visible ABI and the risk of breaking things by
making the change is too great.
I'm not applying this, sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists