From a63fed2a0384be5aa3f2ff7a38aac1153c549e87 Mon Sep 17 00:00:00 2001 From: Jason King Date: Wed, 27 Nov 2019 09:10:37 -0600 Subject: 12037 ptree zone handling is broken Reviewed by: John Levon Reviewed by: Andy Fiddaman Reviewed by: Robert Mustacchi Approved by: Dan McDonald --- usr/src/lib/libproc/common/libproc.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr/src/lib/libproc/common/libproc.h') diff --git a/usr/src/lib/libproc/common/libproc.h b/usr/src/lib/libproc/common/libproc.h index dd7bd9f99b..f783026060 100644 --- a/usr/src/lib/libproc/common/libproc.h +++ b/usr/src/lib/libproc/common/libproc.h @@ -25,7 +25,7 @@ * * Portions Copyright 2007 Chad Mynhier * Copyright 2012 DEY Storage Systems, Inc. All rights reserved. - * Copyright 2018, Joyent, Inc. + * Copyright 2019 Joyent, Inc. * Copyright (c) 2013 by Delphix. All rights reserved. * Copyright 2019, Carlos Neira * Copyright 2019 OmniOS Community Edition (OmniOSce) Association. @@ -464,8 +464,9 @@ extern int Plwp_iter_all(struct ps_prochandle *, proc_lwp_all_f *, void *); typedef int proc_walk_f(psinfo_t *, lwpsinfo_t *, void *); extern int proc_walk(proc_walk_f *, void *, int); -#define PR_WALK_PROC 0 /* walk processes only */ -#define PR_WALK_LWP 1 /* walk all lwps */ +#define PR_WALK_PROC 0 /* walk processes only */ +#define PR_WALK_LWP 1 /* walk all lwps */ +#define PR_WALK_INCLUDE_SYS 0x80000000 /* include SSYS processes */ /* * Determine if an lwp is in a set as returned from proc_arg_xgrab(). -- cgit v1.2.3