procfs - Try to workaround issue to fix truss
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 19 Jun 2016 23:56:03 +0000 (16:56 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 19 Jun 2016 23:56:03 +0000 (16:56 -0700)
commit2d20d96b5e3fff69fd5e34e4bef4cebfa9b3a4e5
treeac6fa987e7597162b91f0b5d839e0bf6e96c65a5
parent9f95d10514c0dfee1f98d56be5235f780a848591
procfs - Try to workaround issue to fix truss

* If PIOCWAIT is called and no process stops are present, silently return
  0 rather then EINVAL.

* Appears to fix the truss issue.

Reported-by: tkusumi
sys/vfs/procfs/procfs_vnops.c