[PATCH] Set PR_SET_DUMPABLE before switching uid to allow core dumps.