This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v4 0/3] Fix {recv,send}{m}msg standard compliance (BZ#16919)


Ping.

On 01-04-2016 10:51, Adhemerval Zanella wrote:
> Joseph,
> 
> Besides the comment in first patch from the set do you have any more
> upcoming comments or regards about the changes?
> 
> On 28-03-2016 11:33, Adhemerval Zanella wrote:
>>
>>  1. Current sendmsg fix does not handle larger msg_control neither
>>     pads the cmsghdr associated.  The problem with this approach
>>     is to accomplish a complete fix it will require to allocate
>>     a limited buffer, copying the incoming struct and zero pad.
>>     Although it tend to work it also add some limitation of total
>>     msg_control length.
>>     The general usage for such facily is passing file descriptors
>>     and permissions between processes over unix sockets so it might
>>     be factible to use a large stack allocated buffer (1024, 2048
>>     or large) and return ENOMEM for larger buffers.
> 
> This is the only remaining issue for bz16919 which this patch does
> not address directly, but I am intend to send an upcoming patch to
> get some discussion if the idea is the best approach.
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]