hurd spawni: Fix reauthenticating closed fds
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 5 May 2022 00:14:43 +0000 (02:14 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 5 May 2022 00:14:43 +0000 (02:14 +0200)
commiteff158b75dee466ac0c37a17b2165072ee0b7aeb
treee61ace6dbbca978ddcf75f8f043740eac6b90a67
parentc1b68685d438373efe64e5f076f4215723004dfb
hurd spawni: Fix reauthenticating closed fds

When an fd is closed, the port cell remains, but the port becomes
MACH_PORT_NULL, so we have to guard against it.
sysdeps/mach/hurd/spawni.c