diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-06-02 05:44:28 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-06-02 05:44:28 +0000 |
commit | 1e2018359cc105bc903d017b1eea4a55603eec86 (patch) | |
tree | 523064d961336d608215987137eeb46bdf0c6c65 /sys/kern | |
parent | 19e779357f7cd0f326d00b06db357a45e80d8698 (diff) |
Committed the wrong version (an earlier try) of the KERN_FILE2 vs
rthreads fix. Update to the correct one.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 2f32fd7d352..5e516070140 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sysctl.c,v 1.225 2012/05/30 20:04:52 matthew Exp $ */ +/* $OpenBSD: kern_sysctl.c,v 1.226 2012/06/02 05:44:27 guenther Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */ /*- @@ -1288,7 +1288,7 @@ sysctl_file2(int *name, u_int namelen, char *where, size_t *sizep, * skip system, exiting, embryonic and undead * processes, as well as threads */ - if ((pp->p_flag & (P_SYSTEM | P_WEXIT | P_THREAD)) + if ((pp->p_flag & P_SYSTEM) || (pp->p_flag & P_THREAD) || (pp->p_p->ps_flags & PS_EXITING) || pp->p_stat == SIDL || pp->p_stat == SZOMB) continue; @@ -1320,7 +1320,7 @@ sysctl_file2(int *name, u_int namelen, char *where, size_t *sizep, * skip system, exiting, embryonic and undead * processes, as well as threads */ - if ((pp->p_flag & (P_SYSTEM | P_WEXIT | P_THREAD)) + if ((pp->p_flag & P_SYSTEM) || (pp->p_flag & P_THREAD) || (pp->p_p->ps_flags & PS_EXITING) || pp->p_stat == SIDL || pp->p_stat == SZOMB) continue; |