Reference

sockfd_lookup(9) on Linux

The text 5b030db5e9ac, as Debian 8 (Jessie) shipped it.

Go from a file number to its socket slot

sockfd_lookup(9) on Linux now