svn commit: r307791 - stable/11/usr.sbin/bhyve

Conrad Meyer cem at freebsd.org
Sun Oct 23 06:24:25 UTC 2016


On Sat, Oct 22, 2016 at 2:30 PM, Baptiste Daroussin <bapt at freebsd.org> wrote:
> On Sat, Oct 22, 2016 at 11:27:43PM +0200, Ed Schouten wrote:
>> 2016-10-22 22:49 GMT+02:00 Baptiste Daroussin <bapt at freebsd.org>:
>> >   Use accept4 with O_NONBLOCK rather than accept + fcntl
>>
>> Keep in mind that changes like these do reduce the portability of the
>> code. accept4(), SOCK_NONBLOCK, etc. are not part of POSIX.
>>
>
> I entirely forgot that!
>
> Thanks for the heads up, I'll be carefull

On the other hand, Linux and even illumos has them.

Best,
Conrad


More information about the svn-src-all mailing list