In a user namespace, sending credentials for an unmapped user return EINVAL instead of EPERM. So handle that case. http://hydra.nixos.org/build/44839000 (cherry picked from commit 1dd0fb6b5a)
1dd0fb6b5a