check privs pids