use from checking the proc's uid to suser(9), and account for the use of privileges. Noted by David Holland in PR kern/31126.