ptree zone handling is broken

Review Request #2465 — Created Nov. 27, 2019 and submitted — Latest diff uploaded

jbk
illumos-gate
12037
general

proc_walk(3PROC) skips SSYS processes, so it never descends into children of zsched, preventing -z from working.

Built new binary + libproc, ran new (and pre-11096 binary of ptree), and compared output -- aside from the pid of the ptree processes themselves, no differences were found.

Then ran both pre-11096 + new binary with -z argument of a running zone and compared output. The output was identical

Loading...