From: Ian Jackson Date: Sat, 27 Sep 2014 12:26:17 +0000 (+0100) Subject: Introduce setnonblock() X-Git-Tag: base.ipv6-polypath-fixes-2.v1~55 X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/commitdiff_plain/f54d5adadd831fd0fa55d70d3aaffe60636818f5?ds=sidebyside;hp=f54d5adadd831fd0fa55d70d3aaffe60636818f5 Introduce setnonblock() This involves reworking setcloexec()'s implementation so that we can reuse it. We now treat a failure to set O_NONBLOCK in udp_make_socket as a fatal, rather than recoverable, error. This is fine. Signed-off-by: Ian Jackson ---