Also, check for overflow on incremented file descriptors. Previously,
we'd trigger a panic if we exceeded the `fd_t` resolution. Now, instead,
we throw an `error.Overflow` to signal that there can be no more
file descriptors available from the runtime. This way we give the user
the ability to still be able to check if their desired preopen exists
in the list or not.
eea7271c4eJakub Konka committed on 7/12/2020, 9:02:33 PM· committed by Andrew Kelleyparente1a5e06