You may want to consider falling through on EINVAL in case libuv is compiled against kernel headers that are newer than the actual kernel.