git: kernel - Disallow remote growstack from procfs

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Feb 21 12:37:40 PST 2017


commit 0caf6628778d6ea23ef869606d2baf4ec2d43eef
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Feb 21 12:32:51 2017 -0800

    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).

Summary of changes:
 sys/vm/vm_map.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0caf6628778d6ea23ef869606d2baf4ec2d43eef


-- 
DragonFly BSD source repository


More information about the Commits mailing list