diff options
author | Jason King <jason.king@joyent.com> | 2019-11-27 09:10:37 -0600 |
---|---|---|
committer | Jason King <jason.king@joyent.com> | 2019-12-11 19:05:00 -0600 |
commit | a63fed2a0384be5aa3f2ff7a38aac1153c549e87 (patch) | |
tree | 5a4e25918d5b764a8b0367d90a38e75d2c0351e3 /usr/src/lib/libproc/common/libproc.h | |
parent | 168e1ed4b6c6d87d390ab3eb29cc9e9cb948ef56 (diff) | |
download | illumos-gate-a63fed2a0384be5aa3f2ff7a38aac1153c549e87.tar.gz |
12037 ptree zone handling is broken
Reviewed by: John Levon <john.levon@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libproc/common/libproc.h')
-rw-r--r-- | usr/src/lib/libproc/common/libproc.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 <cneirabustos@gmail.com> * 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(). |