From there: https://github.com/indutny/libuv/blob/6b1227638db48236b7aaf45777826f43c231ae41/src/unix/signal.c#L357