"); if (setuid(0) < 0) { - l0g("error setting uid to 0\n"); + l0g("error setting uid to 0: %s\n", strerror(errno)); return; } } else { @@ -151,7 +152,6 @@ setenv("HOME", real_user->pw_dir, 1); setenv("USER", real_user->pw_name, 1); } - misc_dump_id("set_myuid"); } const struct HXproc_ops pmt_dropprivs_ops = {