Re: [PATCH net-next] af_unix: preserve position of fd-associated bytes in stream

2019-04-08 Thread David Miller
From: Christopher Monsanto Date: Sat, 6 Apr 2019 12:33:25 -0400 > It is currently impossible for the reader of an AF_UNIX stream socket to > fully reconstruct the data sent in the presence of SCM_RIGHTS, without > reading byte-for-byte. This prevents efficiently proxying or providing a > high-le

[PATCH net-next] af_unix: preserve position of fd-associated bytes in stream

2019-04-06 Thread Christopher Monsanto
It is currently impossible for the reader of an AF_UNIX stream socket to fully reconstruct the data sent in the presence of SCM_RIGHTS, without reading byte-for-byte. This prevents efficiently proxying or providing a high-level buffering interface to these sockets. Unfortunately POSIX does not spe