Fun Linux fact: If you race dup(5) and close(5), the kernel handles that fine, b...

@jann@infosec.exchange

Fun Linux fact: If you race dup(5) and close(5), the kernel handles that fine, but it can lead to the unusual result that dup(5) returns 5.