Thread (9 messages) flat view 9 messages, 3 authors, 2023-02-28

Re: [PATCH net-next] scm: fix MSG_CTRUNC setting condition for SO_PASSSEC

From: Eric Dumazet <edumazet@google.com>
Date: 2023-02-27 10:01:52
Also in: lkml

On Sun, Feb 26, 2023 at 9:17 PM Alexander Mikhalitsyn
[off-list ref] wrote:
Currently, we set MSG_CTRUNC flag is we have no
msg_control buffer provided and SO_PASSCRED is set
or if we have pending SCM_RIGHTS.

For some reason we have no corresponding check for
SO_PASSSEC.
Can you describe what side effects this patch has ?

I think it could break some applications, who might not be able to
recover from MSG_CTRUNC in this case.
This should be documented, in order to avoid a future revert.

In any case, net-next is currently closed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help