switch_ids
if (!switch_ids(0, 0))
extern bool switch_ids(uid_t uid, gid_t gid);
if (!switch_ids(uid, gid))