cvs commit: src/sys/compat/linux linux_socket.c

Maxim Sobolev sobomax at portaone.com
Wed Mar 9 00:32:06 GMT 2005


Alfred Perlstein wrote:
> * Maxim Sobolev <sobomax at portaone.com> [050308 16:10] wrote:
> 
>>Looks fine, though it's hard for me to comment about adding yet another 
>>flag that not present in standards. However, in my pretty 
>>unauthoritative opinion, since Linux has it, while many people and ISVs 
>>out there use it as a sort of reference when developing  free software, 
>>it will probably make sense to support it as well, especially 
>>considering that it's pretty easy to do.
>>
>>In any case, since it's definitelty an API/ABI change (programs that use 
>>MSG_NOSIGNAL won't compile on older systems, while binary programs that 
>>use it may not work correctly on older systems) it also warrants 
>>__FreeBSD_version bump and proper documentation in the Porter's 
>>Handbook. Also the ABI argument probably puts MFC out of question.
> 
> 
> Sorry, so how could it break ABI?  It's just an additional flag...

As I have said the binary program compiled on the newer system that uses 
  this flag in some cases may malfunction when executed on system with 
older kernel due to the fact that that additional flag will become no-op 
the program might get SIGPIPE unexpectedly.

-Maxim


More information about the cvs-src mailing list