This is xnu-8019. See this file in:
Directory listing for xnu-8019//tests/rm
pthread_setugid.c