svn commit: r285910 - in head: lib/libc/sys sys/kern sys/sys

Alexander Kabaev kabaev at gmail.com
Sun Aug 9 12:55:54 UTC 2015


On Sun, 9 Aug 2015 09:37:13 +0200
Ed Schouten <ed at nuxi.nl> wrote:

> Hi Alexander,
> 
> 2015-08-08 21:05 GMT+02:00 Alexander Kabaev <kabaev at gmail.com>:
> > this commit broke more than just syslogd. rtsol and rtsold both are
> > victims of the change as they are trying to shutdown unconnected
> > raw sockets to make then 'send-only' and fail.
> 
> Good catch! I think that in this case it is safe to omit the call to
> shutdown(), or at least not let the application fail on startup
> because of shutdown() being more strict. After all, this code would
> fail on Linux, OS X, etc. already because of this.
> 
> Could you test the attached patch and let me know whether it makes
> rtsol/rtsold work again?
> 
> Thanks,
> -- 
> Ed Schouten <ed at nuxi.nl>
> Nuxi, 's-Hertogenbosch, the Netherlands
> KvK/VAT number: 62051717

It most definitely does work, this is what I have done to get my
network scripts work again. I wonder if there are other means of
restricting raw sockets that can be used to achieve the result
authors of rtsold had hoped or?  

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150809/4bdb57b8/attachment.bin>


More information about the svn-src-all mailing list