mirror of
https://github.com/apple/swift-system
synced 2026-11-24 04:38:14 +00:00
mach_port_mod_refs() requires the type of right being modified. So, MACH_PORT_DEAD must be identified as a separate type. As this is something that shouldn't be possible for receive rights, preconditions have also been added to protect against this particular error.