CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2014/05/03 17:30:04
Modified files: sys/kern : kern_sysctl.c Log message: If P_ZOMBIE(pr->ps_mainproc) is true, then (pr->ps_flags & PS_EXITING) is, so eliminate the check of the former and instead use the EINVAL error for the latter. Also, consistently check for PS_EXITING before check creds. suggestion to split this from another diff miod@