tech-userlevel archive

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

Re: recvmsg_realloc

On 07/09/2016 13:44, Christos Zoulas wrote:
> Are you planning to change our kernel so that it handles MSG_TRUNC like linux
> does (return the actual length of the buffer instead of ignoring the flag)?

Yes, because it saves on looping.
But I can do that separately from this.

> How about handling MSG_CTRUNC too?

I have not considered this.
I suppose with Joerg's suggestion off-list we could handle it in a
similar fashion - to add a pointer and size argument for any alloced
buffer to the API.


Home | Main Index | Thread Index | Old Index