kernel - Disallow remote growstack from procfs
commit0caf6628778d6ea23ef869606d2baf4ec2d43eef
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 21 Feb 2017 20:32:51 +0000 (21 12:32 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 21 Feb 2017 20:37:28 +0000 (21 12:37 -0800)
treec489d525a057a064d3541c383cc24a493f193231
parentb9df5afa9918914904f68f23b99a327a2721df49
kernel - Disallow remote growstack from procfs

* Do not allow procfs operations to grow the stack of a remote process,
  at least for now, because we are not passing in the struct vmspace *
  pointer, for now.

* Fixes trivial panic caused by ps -e due to the recent addition of
  an assertion to test the condition that failed (the assertion is
  correct).
sys/vm/vm_map.c